/* ===== CANDY FRUIT - GLOBAL STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --green: #2c5f3a;
  --green2: #3d7a4f;
  --green3: #e8f2eb;
  --gold: #b8892a;
  --gold2: #d4a843;
  --gold3: #fdf5e6;
  --dark: #1a1a1a;
  --dark2: #111;
  --cream: #f9f5ee;
  --white: #ffffff;
  --text: #2d2d2d;
  --muted: #717171;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.14);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 68px;
  background: transparent;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.nav-logo em {
  color: var(--gold2);
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 400;
  padding: 8px 14px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--gold2);
  background: rgba(255, 255, 255, 0.07);
}

.nav-links a.active {
  color: var(--gold2);
}

.nav-cta {
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  margin-left: 1rem;
}

.nav-cta:hover {
  background: var(--gold2);
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: none;
  transition: var(--transition);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}

.btn-gold:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 137, 42, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-green:hover {
  background: var(--green2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 11px;
}

/* ===== SECTION LABELS ===== */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.sec-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.5vw, 56px);
  color: var(--dark);
  line-height: 1.08;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.sec-title em {
  color: var(--gold);
  font-style: italic;
}

.sec-title.light {
  color: #fff;
}

.sec-title.light em {
  color: var(--gold2);
}

.sec-desc {
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

/* ===== CARDS ===== */
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ===== BADGES ===== */
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-gold {
  background: var(--gold3);
  color: var(--gold);
  border: 1px solid rgba(184, 137, 42, 0.2);
}

.badge-green {
  background: var(--green3);
  color: var(--green2);
  border: 1px solid rgba(44, 95, 58, 0.15);
}

.badge-red {
  background: #fde8e8;
  color: #c0392b;
  border: 1px solid rgba(192, 57, 43, 0.15);
}

.badge-dark {
  background: var(--dark);
  color: #fff;
}

/* ===== GRID SYSTEM ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section {
  padding: 7rem 0;
}

.section-sm {
  padding: 4.5rem 0;
}

/* ===== LOADER ===== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 2rem;
}

.loader-logo em {
  color: var(--gold2);
  font-style: italic;
}

.loader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: var(--gold2);
  border-radius: 2px;
  animation: loadFill 1.4s ease forwards;
}

@keyframes loadFill {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* ===== INSTAGRAM GRID ===== */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.insta-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--dark);
  cursor: pointer;
}

.insta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insta-item:hover .insta-img {
  transform: scale(1.08);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

.insta-overlay .title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.insta-overlay .tag {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 3px;
}

/* ===== FOOTER ===== */
footer {
  background: #0d1f14;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.f-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.f-logo em {
  color: var(--gold2);
  font-style: italic;
}

.f-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  font-weight: 300;
  max-width: 260px;
}

.f-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
}

.f-col ul {
  list-style: none;
}

.f-col li {
  margin-bottom: 0.75rem;
}

.f-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  transition: color 0.2s;
}

.f-col a:hover {
  color: var(--gold2);
}

.f-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.f-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

.f-social {
  display: flex;
  gap: 12px;
}

.f-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  transition: var(--transition);
}

.f-social a:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* ===== MOBILE NAV ===== */
.mobile-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 17, 17, 0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-size: 22px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
}

.mobile-menu a:hover {
  color: var(--gold2);
}

/* ===== PAGE TRANSITION ===== */
.page-transition {
  animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 5rem 0;
  }

  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom Responsive PNG Logo Framework */
.header-logo-png {
  height: 58px;
  /* Fits the logo visually inside your 68px header height */
  width: auto;
  /* Maintains true aspect ratio without stretching */
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* INTERACTIVE: Subtle lift when hovered */
.nav-logo:hover .header-logo-png {
  transform: scale(1.02);
}

/* THE FIX: Changing colors when scrolling down (#navbar gets the .scrolled class) */
#navbar.scrolled .header-logo-png {
  /* This advanced CSS filter converts a white PNG layout into a dark, elegant 
    brand charcoal-green color when it sits over your scrolled white background.
  */
  filter: brightness(0.12) sepia(1) hue-rotate(90deg) saturate(0.8);
}

/* ===== LOGO VISIBILITY FIX ===== */

/* Hide the text logo — use image only */
.nav-logo span,
.nav-logo-text {
  display: none;
}

/* PNG logo sizing */
.header-logo-png {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: all 0.3s ease;
  /* Brighten the image so it's always visible */
  filter: brightness(1.2) contrast(1.1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

/* On hover */
.nav-logo:hover .header-logo-png {
  transform: scale(1.03);
}

/* After scrolling — keep image bright, don't darken it */
#navbar.scrolled .header-logo-png {
  filter: brightness(1.4) contrast(1.1) drop-shadow(0 1px 4px rgba(0, 0, 0, 0.3));
}