/*
Theme Name: Nuovara
Author: Abdul Fatha
Description: A clean, custom base theme with full HTML flexibility.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: #
*/

:root {
    /* Brand: deep plum + gold on white */
    --plum: #26122C;          /* primary accent + dark anchor */
    --plum-deep: #1B0C20;     /* deepest plum, footer */
    --plum-soft: #5E3C66;     /* lifted plum for hovers */
    --plum-tint: #F4ECF5;     /* pale plum surface */
    --plum-pale: #FAF6FB;     /* faintest plum wash */
    --gold: #B68F22;          /* gold, readable on white */
    --gold-bright: #D1AD3E;   /* brand gold, for dark grounds + accents */
    --gold-soft: #E4CE8C;     /* soft gold for dark sections */
    --gold-pale: #FBF6EA;     /* faint warm wash */
    --ink: #261726;           /* near-plum body ink */
    --ink-soft: #6E6270;      /* warm muted */
    --ink-light: #9C92A0;     /* lightest text */
    --line: #ECE7EE;          /* warm hairline */
    --line-soft: #F5F1F6;
    --bg: #FFFFFF;
    --bg-soft: #FBF9FB;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
  }
  h1, h2, h3, h4, .serif {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-variation-settings: "opsz" 96;
    letter-spacing: -0.015em;
  }
  .accent { font-style: italic; font-weight: 300; font-variation-settings: "opsz" 96; }

  .pill {
    display: inline-flex; align-items: center;
    padding: 0.4rem 0.95rem;
    background: var(--bg); border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.78rem; font-weight: 500; color: var(--ink-soft);
    letter-spacing: 0.01em;
  }

  /* ============ NAV ============ */
  nav.top {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    max-width: 1320px; margin: 0 auto; padding: 1.1rem 2rem;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem;
  }
  .nav-links-left, .nav-links-right { display: flex; gap: 2rem; align-items: center; }
  .nav-links-right { justify-content: flex-end; }
  .nav-links-left a, .nav-links-right a {
    color: var(--ink); text-decoration: none; font-size: 0.88rem; font-weight: 500;
    transition: color 0.2s ease;
  }
  .nav-links-left a:hover, .nav-links-right a:hover { color: var(--plum-soft); }
  .nav-dropdown { position: relative; }
  .nav-dropdown > button {
    background: none; border: none; padding: 0; color: var(--ink);
    font-family: inherit; font-size: 0.88rem; font-weight: 500; cursor: pointer;
    display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.2s ease;
  }
  .nav-dropdown > button:hover { color: var(--plum-soft); }
  .nav-dropdown > button svg { width: 10px; height: 10px; transition: transform 0.25s ease; }
  .nav-dropdown:hover > button svg, .nav-dropdown.open > button svg { transform: rotate(180deg); }
  .dropdown-menu {
    position: absolute; top: calc(100% + 0.85rem); left: 50%;
    transform: translateX(0%) translateY(-8px);
    min-width: 240px; background: var(--bg); border: 1px solid var(--line);
    border-radius: 8px; box-shadow: 0 18px 40px -16px rgba(38,18,44,0.14);
    padding: 0.75rem; opacity: 0; visibility: hidden; transition: all 0.25s ease; z-index: 110;
  }
  .nav-dropdown:hover .dropdown-menu, .nav-dropdown.open .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateX(0%) translateY(0);
  }
  .dropdown-menu::before {
    content: ""; position: absolute; top: -6px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px; height: 12px; background: var(--bg);
    border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  }
  .dropdown-menu a {
    display: block; padding: 0.7rem 1rem; color: var(--ink) !important;
    font-size: 0.9rem !important; font-weight: 500 !important; border-radius: 4px;
    transition: all 0.18s ease;
  }
  .dropdown-menu a:hover { background: var(--plum-pale); color: var(--plum) !important; }
  .dropdown-label {
    display: block; padding: 0.5rem 1rem; font-size: 0.7rem !important; font-weight: 600 !important;
    letter-spacing: 0.12em !important; text-transform: uppercase; color: var(--ink-light) !important;
  }

  .wordmark { text-align: center; text-decoration: none; }
  .wordmark .row1 {
    font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 500;
    letter-spacing: 0.01em; line-height: 1; color: var(--plum);
  }
  .wordmark .row2 {
    font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 500;
    letter-spacing: 0.42em; color: var(--gold); margin-top: 0.32rem; text-transform: uppercase;
  }

  .wordmark img{
      width: 100px;
    }
  .nav-cta {
    display: inline-block; padding: 0.65rem 1.4rem; background: var(--plum);
    color: var(--bg) !important; border-radius: 999px; font-size: 0.82rem !important;
    font-weight: 600 !important; transition: background 0.2s ease;
  }
  .nav-cta:hover { background: var(--plum-soft) !important; }
  .mobile-toggle { display: none; }

  /* ============ FOOTER ============ */
  footer { background: var(--plum-deep); color: rgba(255,255,255,0.65); padding: 5rem 2rem 2rem; }
  .footer-inner { max-width: 1280px; margin: 0 auto; }
  .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .footer-brand .wordmark { text-align: left; display: block; margin-bottom: 1.5rem; }
  .footer-brand .wordmark .row1 { color: var(--bg); }
  .footer-brand .wordmark .row2 { color: var(--gold-soft); }
  .footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 340px; }
  .footer-col h5 { font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bg); margin-bottom: 1.25rem; }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 0.7rem; }
  .footer-col a, .footer-col span { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; transition: color 0.2s ease; }
  .footer-col a:hover { color: var(--gold-soft); }
  .footer-bottom { padding-top: 2rem; }
  .footer-bottom .disclaimer { font-size: 0.78rem; line-height: 1.7; color: rgba(255,255,255,0.45); margin-bottom: 1.5rem; }
  .footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; font-size: 0.82rem; }
  .footer-legal span { color: rgba(255,255,255,0.45); }
  .footer-legal a { color: rgba(255,255,255,0.6); text-decoration: none; }
  .footer-legal a:hover { color: var(--gold-soft); }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 1080px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  }
  @media (max-width: 900px) {
    .nav-inner { grid-template-columns: auto 1fr; }
    .nav-links-left {
      position: fixed; top: 70px; left: 0; right: 0; background: var(--bg);
      flex-direction: column; align-items: flex-start; gap: 0; padding: 1rem 2rem;
      border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform 0.3s ease; z-index: 90;
    }
    .nav-links-left.mobile-open { transform: translateY(0); }
    .nav-links-left > * { padding: 0.85rem 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
    .nav-dropdown .dropdown-menu { position: static; transform: none; box-shadow: none; border: none; padding: 0.5rem 0 0.5rem 1rem; opacity: 1; visibility: visible; min-width: 0; }
    .nav-dropdown .dropdown-menu::before { display: none; }
    .nav-dropdown:not(.open) .dropdown-menu { display: none; }
    .wordmark { justify-self: start; }

    .wordmark img{
      width: 70px;
    }
    .nav-links-right .nav-cta { display: none; }
    .mobile-toggle { display: inline-flex; background: none; border: none; cursor: pointer; color: var(--plum); }
    .mobile-toggle svg { width: 24px; height: 24px; }
  }
 
 