/* ===== Reset & Body ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #111;
  color: #fff;
}

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

/* ===== Navbar ===== */
header.navbar {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 2rem;
  background: linear-gradient(
    90deg,
    #3a1d12 0%,   
    #8b4e30 50%,  
    #3a1d12 100%  
  );
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
}

/* ===== Logo overlapping navbar ===== */
header.navbar img.logo {
  position: absolute;
  top: 10px;        
  left: 20px;       
  height: 120px;    
  z-index: 1001;    
  object-fit: contain;
}

/* ===== Nav Links ===== */
nav.nav-links {
  display: flex; /* visible on desktop */
  gap: 2rem;
  font-weight: 700;
  align-items: center;
  height: 100%;
}

/* Hide nav links by default on mobile */
@media (max-width: 768px) {
  nav.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; /* below navbar */
    right: 2rem;
    background: rgba(0,0,0,0.9);
    padding: 1rem;
    border-radius: 8px;
  }

  nav.nav-links.show {
    display: flex; /* visible when toggled */
  }

  .hamburger {
    display: flex; /* show hamburger on mobile */
  }
}

/* ===== Hamburger Button ===== */
.hamburger {
  display: none; /* hide by default */
  width: 30px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002; /* above navbar */
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff; /* color of the bars */
  border-radius: 2px;
}

/* Show hamburger only on mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav.nav-links {
    display: none; /* hide nav links on mobile by default */
  }

  nav.nav-links.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; /* below navbar */
    right: 2rem;
    background: rgba(0,0,0,0.9);
    padding: 1rem;
    border-radius: 8px;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh; /* full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* ===== Hero Slides (Images) ===== */
.hero-slides {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

.hero-slides img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: -1; /* behind content */
}

.hero-slides img.active {
  opacity: 1;
}

/* ===== Hero Content (Text over images) ===== */
.hero-content {
  position: relative;
  z-index: 1; /* above images */
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ===== Call-to-action Buttons ===== */
.btn {
  display: inline-block;
  background: #f0c040;
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 700;
  transition: background 0.3s;
}

.btn:hover {
  background: #ffc759;
}

.btn.small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* ===== Info Panels Overlay (on top of hero images) ===== */
.info-panels.overlay {
  position: absolute;
  bottom: 2rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.4); /* semi-transparent */
  border-radius: 10px;
  z-index: 2; /* above hero images */
}

.info-panels.overlay .panel {
  background: rgba(255, 255, 255, 0.05); /* subtle panel */
  color: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
}

.info-panels.overlay .panel h2 {
  margin-bottom: 1rem;
}

.info-panels.overlay .panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-panels.overlay .panel ul li {
  margin-bottom: 0.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .info-panels.overlay {
    flex-direction: column;
    bottom: 1rem;
    gap: 1rem;
    padding: 0.5rem 1rem;
  }
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #000;
  color: #888;
}

/* ===== Photorealistic Velvet Curtains ===== */
.curtains {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  z-index: 2000;
  pointer-events: none;
  perspective: 1000px; /* for subtle 3D depth */
}

.curtain {
  flex: 1;
  position: relative;
  background: linear-gradient(120deg,
      #5a0000 0%,
      #800000 25%,
      #6b0000 50%,
      #900000 75%,
      #4b0000 100%);
  box-shadow: inset -10px 0 40px rgba(0,0,0,0.6),
              inset 10px 0 25px rgba(255,255,255,0.05);
  transition: transform 1.5s ease;
  overflow: hidden;
}

/* Vertical folds */
.curtain::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.05) 4px,
    rgba(255,255,255,0.02) 8px,
    rgba(255,255,255,0.02) 12px
  );
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Velvet shimmer / pile */
.curtain::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-radial-gradient(
      circle at 20% 30%, rgba(255,255,255,0.02), transparent 3px
    ),
    repeating-radial-gradient(
      circle at 70% 70%, rgba(255,255,255,0.01), transparent 3px
    );
  opacity: 0.3;
  animation: velvetShimmer 5s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Additional pile texture for subtle plush effect */
.curtain-texture {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.02) 1px, transparent 2px),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.015) 1px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.25;
  pointer-events: none;
}

/* Shimmer animation */
@keyframes velvetShimmer {
  0% { background-position: 0 0, 0 0; }
  25% { background-position: 10px 5px, -5px 10px; }
  50% { background-position: 20px 0, 10px -5px; }
  75% { background-position: 10px -5px, -10px 5px; }
  100% { background-position: 0 0, 0 0; }
}

/* Curtain open/close animations */
.curtains.hidden .left { transform: translateX(-100%) rotateY(-2deg); }
.curtains.hidden .right { transform: translateX(100%) rotateY(2deg); }

/* Responsive tweaks for smaller screens */
@media (max-width: 768px) {
  .curtains {
    flex-direction: column;
  }
  .curtains.hidden .left { transform: translateY(-100%) rotateX(-2deg); }
  .curtains.hidden .right { transform: translateY(100%) rotateX(2deg); }
}
