/* 
  Brand: Brush Stories by Anam
  Theme: Black & Cream — Luxury, minimal, feminine, artistic
*/

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

/* ==============================
   ROOT VARIABLES — BLACK & CREAM
   ============================== */
:root {
  --cream:           #EEEEEE;
  --cream-dark:      #E0E0E0;
  --cream-deeper:    #D0D0D0;
  --black:           #0E0E0E;
  --black-soft:      #1A1A1A;
  --gold-accent:     #C9A84C;
  --gold-light:      #E2C060;
  --text-body:       #2A2A2A;
  --text-muted:      #6A6A6A;
  --ivory-white:     #FAF9F6;

  /* Aliases for backward compatibility */
  --nude-blush:      var(--cream-dark);
  --champagne-beige: var(--cream-deeper);
  --deep-black:      var(--black);

  --font-heading: 'Cormorant Garamond', serif;
  --font-body:    'Montserrat', sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft:  0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.15);
  --border-radius: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==============================
   TYPOGRAPHY
   ============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--black);
  line-height: 1.15;
}

h1 { font-size: 4rem; }
h2 { font-size: 3rem;   margin-bottom: 1rem; }
h3 { font-size: 2rem;   margin-bottom: 0.5rem; }

p { color: var(--text-muted); font-weight: 300; }

a { text-decoration: none; }

.text-gold   { color: var(--gold-accent); }
.text-center { text-align: center; }

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border-radius: 0;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--black);
  color: var(--cream);
}
.btn-primary:hover {
  background-color: var(--gold-accent);
  color: var(--black);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--black);
  color: var(--black);
}
.btn-outline:hover {
  background-color: var(--black);
  color: var(--cream);
}

/* ==============================
   NAVBAR
   ============================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition-smooth);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(14, 14, 14, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 25px rgba(0, 0, 0, 0.4);
  padding: 0.75rem 5%;
}

/* Logo image */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  /* Show gold logo white-ified on transparent dark hero */
  filter: brightness(0) invert(1);
  transition: var(--transition-smooth);
}

/* On solid dark navbar: show full-colour gold logo */
.navbar.scrolled .logo-img {
  filter: none;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: rgba(245, 240, 232, 0.9);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  position: relative;
  transition: var(--transition-smooth);
}

.navbar.scrolled .nav-links a {
  color: rgba(245, 240, 232, 0.85);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -5px;
  left: 0;
  background-color: var(--gold-accent);
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold-accent); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--cream);
  background: none;
  border: none;
  z-index: 1001;
}

/* ==============================
   HERO
   ============================== */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--black);
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.hero-video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: subtleZoom 22s ease-in-out infinite alternate;
}

@keyframes subtleZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.4s;
}

.hero-content h1 {
  color: var(--cream);
  font-size: 4.5rem;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-content p {
  color: var(--gold-accent);
  font-size: 0.85rem;
  margin-bottom: 2.8rem;
  letter-spacing: 5px;
  font-family: var(--font-body);
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btns .btn-primary {
  background: var(--cream);
  color: var(--black);
  border-color: var(--cream);
}
.hero-btns .btn-primary:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: var(--black);
}

.hero-btns .btn-outline {
  border-color: rgba(245, 240, 232, 0.7);
  color: var(--cream);
}
.hero-btns .btn-outline:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--black);
}

/* ==============================
   ANIMATIONS
   ============================== */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   SECTIONS
   ============================== */
section { padding: 6rem 5%; }

.section-cream  { background-color: var(--cream); }
.section-black  { background-color: var(--black); }
.section-cream2 { background-color: var(--cream-dark); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.6rem;
  display: inline-block;
  position: relative;
  padding-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 48px;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--gold-accent);
}

/* Dark section text overrides */
.section-black .section-header h2,
.section-black h2,
.section-black h3 { color: var(--cream); }
.section-black p   { color: #999; }
.section-black .section-header h2::after { background: var(--gold-accent); }

/* ==============================
   CAROUSEL — GENERAL
   ============================== */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
}

.carousel-track {
  display: flex;
  gap: 1.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 4% 1.5rem;
  scroll-behavior: smooth;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--black);
  border: 1px solid var(--gold-accent);
  color: var(--gold-accent);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.carousel-btn:hover {
  background: var(--gold-accent);
  color: var(--black);
}
.carousel-btn.prev { left: 0.5rem; }
.carousel-btn.next { right: 0.5rem; }

/* ==============================
   FEATURED BRIDE CARDS
   ============================== */
.featured-section { background-color: var(--cream); }

.featured-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  border: 3px solid var(--gold-accent);
  box-shadow: 0 0 0 3px var(--black);
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, transparent 55%);
  z-index: 1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  z-index: 2;
  transform: translateY(16px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.featured-card:hover img        { transform: scale(1.05); }
.featured-card:hover::before    { opacity: 1; }
.featured-card:hover .featured-overlay { opacity: 1; transform: translateY(0); }

.featured-overlay h3 {
  color: var(--cream);
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}
.featured-overlay p {
  color: var(--gold-accent);
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 2px;
}

/* ==============================
   SERVICE CARDS
   ============================== */
.services-section { background-color: var(--cream-dark); }

.service-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--black);
  border-radius: var(--border-radius);
  padding: 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border: 1px solid #242424;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-accent);
}
.service-card h3 { color: var(--cream); font-size: 1.4rem; margin-bottom: 0.8rem; }
.service-card p  { color: #999; font-size: 0.88rem; margin-bottom: 1.5rem; }

.service-img-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 2px solid var(--gold-accent);
  padding: 3px;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.btn-link {
  color: var(--gold-accent);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}
.btn-link:hover {
  color: var(--cream);
  border-bottom-color: var(--gold-accent);
}

/* ==============================
   TESTIMONIALS
   ============================== */
.testimonials-section {
  background-color: var(--black);
}

.testimonial-card {
  flex: 0 0 460px;
  scroll-snap-align: center;
  background: #141414;
  border: 1px solid #242424;
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition-smooth);
}
.testimonial-card:hover { border-color: var(--gold-accent); }

.quote-icon {
  font-size: 1.8rem;
  color: var(--gold-accent);
  opacity: 0.35;
  margin-bottom: 1.5rem;
  display: block;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--cream);
  line-height: 1.7;
}

.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.client-details h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cream);
  margin-bottom: 0.25rem;
}
.client-details .stars { color: var(--gold-accent); font-size: 0.75rem; }

/* ==============================
   FOOTER
   ============================== */
footer {
  background-color: #060606;
  color: var(--cream);
  padding: 5rem 5% 2rem;
}

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

.footer-logo-img {
  height: 58px;
  width: auto;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-brand p { color: #777; max-width: 300px; font-size: 0.9rem; }

.footer-links h3,
.footer-contact h3 {
  color: #ccc;
  font-family: var(--font-body);
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
}

.footer-links ul  { list-style: none; }
.footer-links li  { margin-bottom: 0.8rem; }
.footer-links a   { color: #666; font-size: 0.9rem; transition: var(--transition-smooth); }
.footer-links a:hover { color: var(--gold-accent); }

.footer-contact p {
  color: #666;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.88rem;
}
.footer-contact i { color: var(--gold-accent); margin-top: 3px; flex-shrink: 0; }

.social-links { display: flex; gap: 0.8rem; margin-top: 1.5rem; }
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.social-links a:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: var(--black);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #161616;
  color: #444;
  font-size: 0.82rem;
}

/* ==============================
   FLOATING WHATSAPP
   ============================== */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition-smooth);
  text-decoration: none;
}
.floating-wa:hover { transform: scale(1.12); }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }

  .hamburger { display: block; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    z-index: 1000;
  }
  .nav-links.active { right: 0; }
  .nav-links li { margin: 1.4rem 0; }
  .nav-links a  { font-size: 1rem; color: var(--cream); }

  .hero-content h1 { font-size: 2.8rem; }
  .hero-btns { flex-direction: column; align-items: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: auto; }

  .featured-card    { flex: 0 0 260px; }
  .service-card     { flex: 0 0 260px; }
  .testimonial-card { flex: 0 0 290px; padding: 2rem; }
}

@media (max-width: 480px) {
  section { padding: 4rem 5%; }
  .hero-content h1 { font-size: 2.2rem; }
}
