/*
 * Alfaaz & Awaaz - Event Website Stylesheet
 * Elegant, minimalist, warm cafe aesthetic.
 * Fonts: Playfair Display & Inter
 */

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

/* CSS Custom Variables */
:root {
  --color-bg-dark: #120b06;      /* Deep roasted espresso */
  --color-bg-card: #1d120a;      /* Cocoa brown */
  --color-accent-gold: #c7a17a;  /* Muted soft gold */
  --color-accent-gold-rgb: 199, 161, 122;
  --color-text-light: #f5ebe0;   /* Cream */
  --color-text-muted: #d5bdaf;   /* Warm beige */
  --color-text-dark: #2c1e13;    /* Espresso dark */
  --color-bg-light: #fdfbf7;     /* Soft ivory cream */
  --color-bg-cream: #f5ebe0;     /* Beige cream */
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-quick: all 0.2s ease;
  
  --border-glass: rgba(199, 161, 122, 0.15);
  --bg-glass: rgba(29, 18, 10, 0.65);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-quick);
}

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

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

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

.section-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-accent-gold);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.section-title.dark-text {
  color: var(--color-text-dark);
}

/* Glassmorphic Components */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-accent-gold);
  color: var(--color-bg-dark);
  border: 1px solid var(--color-accent-gold);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-accent-gold);
  box-shadow: 0 8px 20px rgba(199, 161, 122, 0.25);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-light);
  border: 1px solid rgba(245, 235, 224, 0.3);
}

.btn-secondary:hover {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
  transform: translateY(-2px);
}

/* Sticky Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
}

header.scrolled {
  padding: 0.8rem 0;
  background: rgba(18, 11, 6, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199, 161, 122, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

.logo span {
  color: var(--color-accent-gold);
}

nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.nav-cta {
  display: inline-block;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-light);
  margin: 5px 0;
  transition: var(--transition-quick);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(18, 11, 6, 0.75), rgba(18, 11, 6, 0.85)), url('../images/hero_bg.png') no-repeat center center/cover;
}

.hero-content {
  max-width: 700px;
  z-index: 10;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--color-accent-gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-subheading {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--color-accent-gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

/* Event Detail Float Card */
.event-details-card {
  position: absolute;
  right: 5%;
  bottom: 10%;
  width: 380px;
  padding: 2.2rem;
  z-index: 10;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(199, 161, 122, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.detail-info h4 {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
  font-family: var(--font-body);
}

.detail-info p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.pricing-info {
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.pricing-title {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-accent-gold);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.price-table {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.price-table .tier {
  color: var(--color-text-muted);
}

.price-table .cost {
  font-weight: 600;
  color: var(--color-text-light);
}

.redeemable-note {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-accent-gold);
  margin-top: 1rem;
  display: block;
  text-align: center;
  opacity: 0.9;
}

/* About Section (Cream Background) */
.about {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-accent-gold);
  border-radius: 20px;
  z-index: -1;
  pointer-events: none;
}

.about-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-dark);
}

.about-text {
  font-size: 1.05rem;
  color: #4a3c31;
  margin-bottom: 2rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.highlight-item i {
  color: var(--color-accent-gold);
  margin-top: 0.2rem;
}

.highlight-item p {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-dark);
}

/* Gallery / Experience Page Styles */
.gallery-intro {
  padding-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(18, 11, 6, 0.85), rgba(18, 11, 6, 0.2));
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.gallery-overlay h4 {
  font-size: 1.4rem;
  color: var(--color-text-light);
  margin-bottom: 0.2rem;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 11, 6, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80vh;
  position: relative;
}

.lightbox-content img {
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid var(--border-glass);
}

.lightbox-caption {
  text-align: center;
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-text-light);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text-light);
  cursor: pointer;
  transition: var(--transition-quick);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.lightbox-close:hover {
  color: var(--color-accent-gold);
  background: rgba(255,255,255,0.1);
}

/* Contact / Reservation Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info-panel h3 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.contact-detail-list {
  margin-bottom: 3rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.contact-detail-item i {
  color: var(--color-accent-gold);
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

.contact-detail-text h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.contact-detail-text p, 
.contact-detail-text a {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.contact-detail-text a:hover {
  color: var(--color-accent-gold);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: var(--color-accent-gold);
  color: var(--color-bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(199, 161, 122, 0.2);
}

/* Reservation Form */
.reservation-form-panel {
  padding: 3rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-quick);
}

.form-control:focus {
  border-color: var(--color-accent-gold);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(199, 161, 122, 0.1);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23c7a17a' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: calc(100% - 12px);
  background-position-y: 50%;
  cursor: pointer;
}

select.form-control option {
  background-color: var(--color-bg-card);
  color: var(--color-text-light);
}

textarea.form-control {
  resize: none;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Map Section */
.map-section {
  padding-top: 0;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  height: 450px;
  filter: grayscale(1) invert(0.9) contrast(1.2); /* elegant dark theme filter */
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.map-container:hover {
  filter: grayscale(0.2) invert(0) contrast(1);
  opacity: 1;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* Footer */
footer {
  background-color: #0b0704;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(199, 161, 122, 0.05);
}

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

.footer-brand h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand h3 span {
  color: var(--color-accent-gold);
}

.footer-brand p {
  color: var(--color-text-muted);
  max-width: 300px;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
  font-family: var(--font-heading);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-accent-gold);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--color-accent-gold);
  margin-top: 0.25rem;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.03);
  padding-top: 2rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-bottom p span {
  color: var(--color-accent-gold);
}

/* Animations / Scroll Reveal (Vanilla) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 8rem 0 6rem;
    flex-direction: column;
    justify-content: center;
  }
  
  .hero .container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-text {
    margin: 0 auto 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .event-details-card {
    position: static;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .about-grid, 
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-image-wrapper {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-content {
    order: 1;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 2;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  header {
    background: rgba(18, 11, 6, 0.95);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(199, 161, 122, 0.08);
  }
  
  .hamburger {
    display: block;
    z-index: 1001;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #120b06;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
    padding: 3rem;
    transition: right 0.4s ease-in-out;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 1000;
  }
  
  nav.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-links a {
    font-size: 1.2rem;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .reservation-form-panel {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}
