/* ============================================
   Jackson Voice Studio — Global Styles
   css/global.css
   Shared across ALL pages: nav, footer, 
   fonts, variables, utility classes
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
   :root {
    --navy:   #1F2533;
    --accent: #E7481D;
    --orange: #FF8000;
    --white:  #FFFFFF;
    --light:  #F7F6F2;
    --gray:   #5C5C6E;
    --border: #E0DED8;
    --radius: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.12);
  }
  
  /* ============================================
     RESET
     ============================================ */
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html { scroll-behavior: smooth; }
  
  body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    color: var(--navy);
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
  }
  
  img { max-width: 100%; display: block; }
  a { text-decoration: none; }
  
  /* ============================================
     NAVIGATION
     ============================================ */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--navy);
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 14px;
  }
  
  .nav-home-icon {
    height: 28px;
    width: auto;
    flex-shrink: 0;
  }

  .nav-logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    letter-spacing: 0.01em;
  }

  .nav-logo-text span {
    color: #fc5f34;
  }

  .nav-logo-studio {
    color: var(--white) !important;
  }
  
  .nav-divider {
    color: rgba(255,255,255,0.15);
    font-size: 20px;
    font-weight: 100;
    line-height: 1;
    flex-shrink: 0;
  }
  
  .nav-phone {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.03em;
    white-space: nowrap;
  }
  
  .nav-phone span {
    color: rgba(255,255,255,0.25);
    font-size: 10px;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    margin-left: auto;
    align-items: center;
  }
  
  .nav-links a {
    color: rgba(255,255,255,0.68);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  
  .nav-links a:hover { color: var(--orange); }
  
  .nav-links .nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background 0.2s !important;
  }
  
  .nav-links .nav-cta:hover {
    background: #c93d18 !important;
  }
  
  /* Hamburger */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: auto;
    background: none;
    border: none;
    padding: 4px;
  }
  
  .nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255,255,255,0.75);
    border-radius: 2px;
    transition: all 0.3s;
  }
  
  /* Mobile dropdown */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--navy);
    z-index: 99;
    padding: 20px 24px 28px;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  
  .mobile-menu.open { display: block; }
  
  .mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .mobile-menu ul li a {
    display: block;
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    font-weight: 500;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    letter-spacing: 0.02em;
  }
  
  .mobile-cta {
    display: block;
    background: var(--accent);
    color: white !important;
    text-align: center;
    padding: 14px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    margin-top: 16px;
  }
  
  /* ============================================
     FOOTER
     ============================================ */
  footer {
    background: var(--navy);
    padding: 52px 24px 32px;
  }
  
  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  
  .footer-logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
  }
  
  .footer-logo-text span { color: var(--accent); }
  
  .footer-brand p {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.7;
    margin-top: 14px;
    max-width: 320px;
  }
  
  .footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    margin-bottom: 16px;
  }
  
  .footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-col ul li a {
    color: rgba(255,255,255,0.52);
    font-size: 0.9rem;
    transition: color 0.2s;
  }
  
  .footer-col ul li a:hover { color: var(--orange); }
  
  .footer-note {
    color: rgba(255,255,255,0.2);
    font-size: 11px;
    margin-top: 14px;
    line-height: 1.6;
  }
  
  .footer-bottom {
    max-width: 1100px;
    margin: 28px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.2);
  }
  
  .footer-bottom a {
    color: rgba(255,255,255,0.28);
    font-size: 12px;
    transition: color 0.2s;
  }
  
  .footer-bottom a:hover { color: rgba(255,255,255,0.55); }
  
  /* ============================================
     SHARED SECTION UTILITIES
     ============================================ */
  .section { padding: 80px 24px; }
  
  .section-inner {
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
  }
  
  .section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 16px;
  }
  
  .section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.65;
    max-width: 640px;
  }
  
  /* ============================================
     SHARED BUTTON STYLES
     ============================================ */
  .btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.02em;
    text-align: center;
  }
  
  .btn-primary:hover {
    background: #c93d18;
    transform: translateY(-1px);
  }
  
  .btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.28);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 13px 28px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
  }
  
  .btn-outline:hover {
    border-color: rgba(255,255,255,0.65);
    background: rgba(255,255,255,0.05);
  }
  
  /* ============================================
     SHARED LINK STYLE
     ============================================ */
  .arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.2s;
  }
  
  .arrow-link:hover { gap: 14px; }
  
  /* ============================================
     SCROLL FADE-UP ANIMATION
     ============================================ */
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* ============================================
     CENTERED LINK ROW
     ============================================ */
  .center-link {
    text-align: center;
    margin-top: 32px;
  }
  
  /* Mobile CTA — always visible alongside hamburger */
  .nav-cta-mobile {
    display: none;
    background: var(--accent);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.2s;
    margin-left: auto;
  }

  .nav-cta-mobile:hover {
    background: #c93d18;
  }

  /* ============================================
     RESPONSIVE — NAV
     ============================================ */
  @media (max-width: 1080px) {
    .nav-links    { display: none; }
    .nav-hamburger { display: flex; margin-left: 15px; }
    .nav-cta-mobile { display: inline-block; }
  }

  @media (max-width: 640px) {
    .nav-phone    { display: none; }
    .nav-divider  { display: none; }
  }

  @media (max-width: 430px) {
    .nav-logo-text { font-size: 0.9rem; }
    .nav-cta-mobile { font-size: 10px; padding: 7px 12px; }
  }

  @media (max-width: 370px) {
    .nav-logo-studio { display: none; }
  }

  @media (max-width: 768px) {
    .section      { padding: 60px 20px; }
  }
  
  /* ============================================
     RESPONSIVE — FOOTER
     ============================================ */
  @media (max-width: 900px) {
    .footer-inner {
      grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 768px) {
    footer {
      padding-left: 32px;
      padding-right: 32px;
    }
  }
  
  @media (max-width: 600px) {
    .footer-inner {
      grid-template-columns: 1fr;
    }
    .footer-brand { grid-column: auto; }
    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
    }
  }