@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ============================================================
   VARIABLES
============================================================ */
:root{
  --accent:#2b6b5a;
  --accent-dark:#1e4f42;
  --accent-light:#e8f2ef;

  --warm-bg:#f8f5f0;
  --warm-surface:#fff;
  --warm-border:#ede8e0;
  --warm-muted:#a09282;

  --text-primary:#1a1f1e;
  --text-secondary:#5a6360;

  --amber:#c97a2a;

  --radius-md:10px;
  --radius-lg:16px;
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar-photo{
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  overflow: visible;

  background: linear-gradient(
    90deg,
    rgba(12, 30, 26, 0.96) 0%,
    rgba(28, 54, 46, 0.94) 55%,
    rgba(56, 69, 57, 0.92) 100%
  );

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    0 2px 8px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* subtle top sheen */
.navbar-photo::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0)
  );
}

.navbar-photo {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.dropdown-menu {
  z-index: 2000 !important;
}

/* ============================================================
   BRAND
============================================================ */
.navbar-brand-custom{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  min-width:0;
  color:#fff !important;
}

.brand-text-wrap{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand-text{
  font-family:'Playfair Display',serif;
  font-size:1.35rem;
  font-weight:700;
  letter-spacing:-0.02em;
  white-space:nowrap;
  color:#fff;
}

/* ============================================================
   NAV LINKS
============================================================ */
.navbar-photo .nav-link{
  color: rgba(255,255,255,0.92) !important;
  font-size:0.95rem;
  font-weight:600;
  padding:8px 14px !important;
  border-radius:10px;
  text-decoration:none;
  transition: all 0.2s ease;
  display:flex;
  align-items:center;
  gap:10px;
}

.navbar-photo .nav-link:hover,
.navbar-photo .nav-link:focus{
  background:rgba(255,255,255,0.10);
  color:#fff !important;
  transform:translateY(-1px);
}

.nav-link-icon{
  width:18px;
  height:18px;
  display:none;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.nav-link-icon svg{
  width:18px;
  height:18px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.nav-link-label{
  display:block;
}

/* ============================================================
   PROFILE / AVATAR
============================================================ */
.navbar-profile-dropdown{
  display:flex;
  align-items:center;
}

.navbar-profile-btn{
  border:none;
  border-radius:999px;
  padding:0;
  background:transparent !important;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow:none !important;
}

.navbar-profile-btn::after{
  display:none;
}

.navbar-profile-avatar{
  width:42px;
  height:42px;
  border-radius:999px;
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.18);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.95rem;
  font-weight:700;
  transition: all 0.2s ease;
}

.navbar-profile-avatar svg{
  width:18px;
  height:18px;
}

.navbar-profile-copy{
  display:none;
}

.navbar-profile-title{
  display:block;
  color:#fff;
  font-size:.94rem;
  font-weight:700;
  line-height:1.15;
}

.navbar-profile-sub{
  display:block;
  margin-top:2px;
  color:rgba(255,255,255,.56);
  font-size:.76rem;
  font-weight:500;
  line-height:1.2;
}

.navbar-profile-btn:hover .navbar-profile-avatar{
  transform:translateY(-1px);
  background:rgba(255,255,255,0.18);
  border-color:rgba(255,255,255,0.24);
}

/* ============================================================
   DROPDOWN
============================================================ */
.navbar-profile-menu{
  min-width:240px;
  margin-top:12px !important;
  border:none;
  border-radius:16px;
  padding:10px;
  background:rgba(20,30,27,0.96);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  box-shadow:0 18px 42px rgba(0,0,0,0.24);
}

.dropdown-user-summary{
  padding:10px 12px 8px;
}

.dropdown-user-name{
  font-size:0.95rem;
  font-weight:700;
  color:#fff;
}

.dropdown-user-sub{
  font-size:0.78rem;
  color:rgba(255,255,255,0.52);
  margin-top:2px;
}

.navbar-profile-menu .dropdown-divider{
  border-color:rgba(255,255,255,0.08);
  margin:8px 0;
}

.navbar-profile-menu .dropdown-item{
  color:rgba(255,255,255,0.84);
  border-radius:10px;
  font-size:0.92rem;
  font-weight:500;
  padding:10px 12px;
  transition: all 0.2s ease;
}

.navbar-profile-menu .dropdown-item:hover{
  background:rgba(255,255,255,0.08);
  color:#fff;
}

.dropdown-item-signout{
  background:none;
  border:none;
  width:100%;
  text-align:left;
}

.premium-navbar-toggler{
  padding:0 !important;
}

.premium-toggler-box{
  width:52px;
  height:52px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 10px 24px rgba(0,0,0,.16);
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}

.premium-toggler-line{
  width:22px;
  height:2px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  transition:transform .2s ease,opacity .2s ease;
}

.premium-navbar-toggler:hover .premium-toggler-box,
.premium-navbar-toggler:focus .premium-toggler-box{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.24);
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
}

.navbar-menu-shell{
  width:auto;
}

.navbar-menu-intro{
  display:none;
}

.navbar-profile-dropdown-mobile{
  display:none;
}

.navbar-profile-dropdown-desktop{
  display:flex;
}

/* ============================================================
   HERO + GLOBAL POLISH
============================================================ */
.hero .container{
  position: relative;
  z-index: 2;
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10,20,18,0.75) 0%,
    rgba(10,20,18,0.55) 35%,
    rgba(10,20,18,0.25) 60%,
    rgba(10,20,18,0) 100%
  );
  z-index: 1;
}

.hero h1{
  line-height:1.05;
  letter-spacing:-0.02em;
}

.hero h1 span{
  color:#6fd1b3;
}

/* ============================================================
   FEATURE STRIP
============================================================ */
.hero-features{
  border-top:1px solid rgba(255,255,255,0.08);
}

.feature-icon{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-success{
  background: linear-gradient(135deg, #2b6b5a, #3f8a74);
  border:none;
  box-shadow:0 6px 18px rgba(43,107,90,0.25);
  transition: all 0.2s ease;
}

.btn-success:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(43,107,90,0.35);
}

/* ============================================================
   GLOBAL SPACING
============================================================ */
section{
  padding:80px 0;
}

/* ============================================================
   MOBILE
============================================================ */
@media (max-width: 991.98px){

  .navbar-photo{
    padding:10px 0;
  }

  .brand-text{
    font-size:1.22rem;
  }

  .premium-toggler-box{
    width:50px;
    height:50px;
    border-radius:17px;
  }

  .navbar-photo .navbar-collapse{
    margin-top:12px;
    padding:18px;
    border-radius:26px;
    background:
      radial-gradient(circle at top right, rgba(110,207,173,.10), transparent 32%),
      linear-gradient(180deg, rgba(10,22,18,.96), rgba(9,19,16,.98));
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:
      0 18px 42px rgba(0,0,0,.26),
      inset 0 1px 0 rgba(255,255,255,.04);
  }

  .navbar-menu-shell{
    width:100%;
  }

  .navbar-menu-intro{
    display:block;
    margin-bottom:14px;
    padding:0 2px 10px;
    border-bottom:1px solid rgba(255,255,255,.06);
  }

  .navbar-menu-intro-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
  }

  .navbar-menu-kicker{
    display:inline-flex;
    align-items:center;
    padding:6px 11px;
    border-radius:999px;
    background:rgba(201,122,42,.16);
    border:1px solid rgba(201,122,42,.22);
    color:#f5c87a;
    font-size:.72rem;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
  }

  .navbar-menu-copy{
    margin-top:10px;
    color:rgba(255,255,255,.58);
    font-size:.84rem;
    line-height:1.55;
    max-width:calc(100% - 4px);
  }

  .navbar-menu-links{
    display:grid !important;
    gap:10px !important;
  }

  .navbar-photo .nav-link{
    width:100%;
    min-height:62px;
    padding:14px 16px !important;
    border-radius:18px;
    background:rgba(255,255,255,.03);
    border:1px solid transparent;
    font-size:1rem;
    font-weight:700;
    letter-spacing:-.01em;
  }

  .nav-link-icon{
    display:flex;
    width:38px;
    height:38px;
    border-radius:12px;
    background:rgba(255,255,255,.06);
    color:#8fe0be;
  }

  .navbar-photo .nav-link:hover,
  .navbar-photo .nav-link:focus{
    background:rgba(255,255,255,.06);
    border-color:rgba(255,255,255,.07);
    transform:none;
  }

  .navbar-photo .nav-link.active{
    background:linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.09));
    border-color:rgba(255,255,255,.08);
    color:#fff !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  }

  .navbar-profile-dropdown{
    margin-top:6px;
    justify-content:flex-start;
    width:100%;
  }

  .navbar-profile-dropdown-mobile{
    display:flex;
    width:auto;
    margin-top:0;
    justify-content:flex-end;
    flex-shrink:0;
  }

  .navbar-profile-dropdown-desktop{
    display:none;
  }

  .navbar-profile-btn{
    width:100%;
    min-height:68px;
    justify-content:flex-start;
    padding:12px 14px;
    border-radius:22px;
    background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)) !important;
    border:1px solid rgba(255,255,255,.06);
  }

  .navbar-profile-copy{
    display:block;
    text-align:left;
  }

  .navbar-profile-btn-mobile{
    width:54px;
    min-width:54px;
    min-height:54px;
    height:54px;
    padding:0;
    justify-content:center;
    border-radius:18px;
    background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04)) !important;
  }

  .navbar-profile-btn-mobile .navbar-profile-avatar{
    width:40px;
    height:40px;
  }

  .navbar-profile-btn-mobile .navbar-profile-copy{
    display:none;
  }

  .navbar-profile-btn-mobile::after{
    display:none;
  }

  .navbar-profile-menu{
    min-width:100%;
    margin-top:10px !important;
    border-radius:20px;
    padding:12px;
    background:rgba(16,25,22,.98);
    border:1px solid rgba(255,255,255,.06);
  }

  .navbar-profile-menu .dropdown-item{
    padding:12px 14px;
    border-radius:14px;
    font-weight:600;
  }

  .dropdown-user-summary{
    padding:12px 14px 10px;
  }

  .navbar-profile-menu-mobile{
    min-width:260px;
    width:min(260px, calc(100vw - 64px));
    margin-top:12px !important;
  }
}

.navbar-photo .nav-link.active{
  background: rgba(255,255,255,0.14);
  color: #fff !important;
}
