/* ==========================================================================
   GLOBAL STYLES - Shared across all pages
   ========================================================================== */

/* CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* CSS Variables */
:root {
  --color-bg: #151417;
  --color-bg-card: #111111;
  --color-bg-card-hover: #000000;
  --color-primary:  #3737FF;
  --color-primary-light: #9f00e3;
  --color-primary-dark: #5e0086;
  --color-primary-darker: #2e0042;
  --color-accent: #7eb89a;
  --color-text: #ffffff;
  --color-text-muted: #d0d0d0;
  --color-success: #9f00e3;
  --color-paypal: #0070ba;
  --font-display: 'BBH Bogle', sans-serif;
  --font-display-transform: uppercase;
  --font-body: 'Cardo', serif;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  font-size:17px
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

/* ==========================================================================
   HEADER - Expanded State
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 5rem 2.5rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  transition: padding 0.4s ease;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,1);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  transition: all 0.4s ease;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  transition: gap 0.4s ease;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.4s ease;
}

.logo img {
  height: 200px;
  width: auto;
  transition: all 0.4s ease;
  opacity: 0.9;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  justify-content: flex-end;
  transition: gap 0.4s ease;
}

.nav-link {
  font-family:  var(--font-display);
  font-size: 1rem;
  color: var(--color-text);
  transition: color 0.2s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-primary-light);
}

.nav-link.active {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icons a {
  color: var(--color-text);
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
}

.social-icons a:hover {
  color: var(--color-primary-light);
  transform: scale(1.1);
}

.social-icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   HEADER - Scrolled/Collapsed State
   ========================================================================== */
.header.scrolled {
  padding: 1rem 2.5rem;
  box-shadow: 0 0px 40px rgba(0, 0, 255, 0.2);
}

.header.scrolled::before {
  opacity: 1;
}

.header.scrolled .logo img {
  padding-top: 5px;
  height: 60px;
}

/* ==========================================================================
   MOBILE MENU BUTTON
   ========================================================================== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: all 0.3s;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   MOBILE SLIDE-OUT MENU
   ========================================================================== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: var(--color-bg-card);
  z-index: 100;
  padding: 5rem 2rem 2rem;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu .nav-link {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid #222;
}

.mobile-menu .social-icons {
  margin-top: 2rem;
  justify-content: center;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
}

.mobile-menu-close:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--color-bg);
  padding: 3rem 2rem;
  border-top: 1px solid #222;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 60px;
  opacity: 0.8;
}

.footer p {
  color: var(--color-text);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-social a {
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--color-primary);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   RESPONSIVE - Smaller Screen (shared header/footer/mobile rules)
   ========================================================================== */
@media (max-width: 1125px) {
  .header {
    padding: 3rem 2.5rem;
  }
  .logo img {
    max-height: 100px;
  }
}

/* Responsive - Tablet */
@media (max-width: 950px) {
  .nav-left {
    gap: 2rem;
  }
  .header {
    padding: 2rem 2rem;
  }
  .logo img {
    max-height: 70px;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .header {
    padding: 0.5rem 1rem;
  }

  .nav-left, .nav-right {
    display: none;
  }

  .logo {
    position: relative;
    left: auto;
    transform: none;
  }

  .logo img {
    height: 45px;
  }

  .header.scrolled .logo img {
    height: 45px;
    padding-top: 0;
  }

  .header.scrolled {
    padding: 0.5rem 1rem;
  }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .mobile-menu-overlay {
    display: block;
  }
}
