/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
:root {
  --primary-color: #c89b6d;
  --primary-hover: #b88755;
  --white: #fff;
  --black: #111;
  --hero-offset: 270px;
  --space-xs: 5px;
  --space-sm: 10px;
  --space-md: 20px;
  --space-lg: 30px;
  --space-xl: 40px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

section {
  padding: 90px 20px;
}

.products,
.quote-section {
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: 34px;
  letter-spacing: 1px;
  text-align: center;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  background: var(--black);
  position: relative;
  z-index: 10;
}

.logo {
  color: var(--white);
  font-size: 22px;
  font-weight: bold;
}

.nav {
  display: flex;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: var(--space-lg);
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary-color);
}

/* ==========================================================================
   ACTIVE NAVIGATION STYLES
   ========================================================================== */
.nav-links a.active {
  color: var(--primary-color);
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

/* ==========================================================================
   MOBILE MENU - CENTERED WITH ROUNDED HIGHLIGHTS
   ========================================================================== */
.menu-toggle {
  display: none; /* Hide hamburger menu completely */
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    padding: var(--space-md);
    justify-content: center;
    text-align: center;
  }

  .logo {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
  }

  .nav {
    width: 100%;
    position: static;
    background: transparent;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 10px;
    margin: 0 auto;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links a {
    color: var(--white);
    font-size: 15px;
    padding: 8px 16px;
    display: inline-block;
    background: #333; /* Dark background for buttons */
    border-radius: 30px; /* Rounded corners */
    transition: all 0.3s ease;
  }

  /* Hover state */
  .nav-links a:hover {
    background: var(--primary-color);
    color: white;
  }

  /* Active state - current page */
  .nav-links a.active {
    background: var(--primary-color);
    color: white;
  }

  /* Remove the old underline */
  .nav-links a.active::after {
    display: none;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    font-size: 14px;
    padding: 6px 12px;
  }
}

/* ==========================================================================
   HERO SECTION (INDEX)
   ========================================================================== */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  padding-top: var(--hero-offset);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/hero/603799320_4622795021280975_3147762570423294780_n.jpg")
    center/cover no-repeat;
  animation: heroZoom 25s ease-in-out infinite alternate;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.65)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 1s ease;
}

.hero h1 {
  font-size: 90px;
  color: var(--white);
  letter-spacing: 4px;
  text-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 24px;
  color: var(--white);
  margin: 12px 0 24px;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.hero-btn {
  padding: 16px 36px;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}

.hero-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

/* ==========================================================================
   QUOTE SECTION
   ========================================================================== */
.quote-section {
  text-align: center;
  font-style: italic;
  font-size: 22px;
  max-width: 900px;
  margin: 0 auto;
  color: #333;
}

.quote-section blockquote {
  quotes: "“" "”";
}

.quote-section blockquote::before {
  content: open-quote;
}

.quote-section blockquote::after {
  content: close-quote;
}

/* ==========================================================================
   PRODUCTS DESCRIPTION SECTION (HOMEPAGE)
   ========================================================================== */
.products-description {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 20px;
  text-align: center;
}

.products-description h2 {
  margin-bottom: 50px;
  font-size: 34px;
}

.description-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.description-item {
  background: #f9f9f9;
  padding: 40px 25px;
  border-radius: 10px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.description-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.description-item i {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.description-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--black);
  font-family: "Playfair Display", serif;
}

.description-item p {
  color: #555;
  line-height: 1.7;
  font-size: 15px;
}

/* Staggered reveal delays for description items - MORE SPECIFIC */
.reveal.description-item:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal.description-item:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal.description-item:nth-child(3) {
  transition-delay: 0.3s;
}

.reveal.description-item:nth-child(4) {
  transition-delay: 0.4s;
}

.reveal.description-item:nth-child(5) {
  transition-delay: 0.5s;
}

.reveal.description-item:nth-child(6) {
  transition-delay: 0.6s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .description-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .description-item {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   GALLERY SLIDER (INDEX)
   ========================================================================== */
.gallery {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  padding: 70px 0;
  background: var(--white);
  overflow: hidden;
}

.gallery-slider {
  overflow: visible;
  width: 100%;
}

.slider-track {
  display: flex;
  gap: var(--space-sm);
  transition: transform 0.4s ease;
}

.slide {
  flex: 0 0 20%;
  overflow: visible;
  position: relative;
}

.slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  display: block;
  z-index: 2;
}

.slide img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

/* Gallery fade edges */
.gallery::before,
.gallery::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.gallery::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.gallery::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

/* ==========================================================================
   GALLERY ARROWS
   ========================================================================== */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 5;
  opacity: 0;
}

.gallery:hover .gallery-arrow {
  opacity: 1;
}

.gallery-arrow:hover {
  background: var(--primary-color);
  color: white;
}

.gallery-arrow.left {
  left: 20px;
}

.gallery-arrow.right {
  right: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 80px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-column h3,
.footer-column h4 {
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
}

.footer-column a {
  color: var(--white);
  text-decoration: none;
  transition: 0.3s;
}

.footer-column a:hover {
  color: var(--primary-color);
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

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

/* ==========================================================================
   ABOUT PAGE - HERO SAME AS HOMEPAGE
   ========================================================================== */
.about-hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/hero/603799320_4622795021280975_3147762570423294780_n.jpg")
    center/cover no-repeat;
  animation: heroZoom 25s ease-in-out infinite alternate;
  z-index: 0;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.65)
  );
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.about-hero h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.about-hero p {
  font-size: 20px;
}

.about-section {
  max-width: 1200px;
  margin: auto;
  padding: 90px 20px;
}

.about-grid {
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  color: #444;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.values-section {
  text-align: center;
  max-width: 1100px;
  margin: auto;
  padding: 90px 20px;
}

.values-grid {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.value-card {
  background: white;
  padding: 30px;
  width: 280px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.value-card h3 {
  margin-bottom: 10px;
}

.about-cta {
  text-align: center;
  max-width: 800px;
  margin: auto;
  padding: 90px 20px;
}

.about-cta p {
  margin: 20px 0;
  color: #444;
}

/* ==========================================================================
   PRODUCTS PAGE - HERO SAME AS HOMEPAGE
   ========================================================================== */
.products-hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.products-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/hero/603799320_4622795021280975_3147762570423294780_n.jpg")
    center/cover no-repeat;
  animation: heroZoom 25s ease-in-out infinite alternate;
  z-index: 0;
}

.products-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.65)
  );
  z-index: 1;
}

.products-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.products-hero h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.products-hero p {
  font-size: 20px;
}

.products-page {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  padding: 90px 20px;
}

.products-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

.product-item {
  width: 320px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: 0.35s;
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-item h3 {
  margin: 15px 0 10px;
}

.product-item p {
  padding: 0 20px 20px;
  color: #444;
}

.products-cta {
  text-align: center;
  max-width: 800px;
  margin: auto;
  padding: 90px 20px;
}

.products-cta p {
  margin: 20px 0;
  color: #444;
}

/* ==========================================================================
   CONTACT PAGE - HERO SAME AS HOMEPAGE
   ========================================================================== */
.contact-hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/hero/603799320_4622795021280975_3147762570423294780_n.jpg")
    center/cover no-repeat;
  animation: heroZoom 25s ease-in-out infinite alternate;
  z-index: 0;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.65)
  );
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.contact-hero h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.contact-hero p {
  font-size: 20px;
}

.contact-section {
  max-width: 1100px;
  margin: auto;
  text-align: center;
  padding: 90px 20px;
}

.contact-container {
  display: flex;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-info {
  max-width: 350px;
  text-align: left;
}

.contact-info p {
  margin-bottom: 20px;
  color: #444;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 350px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
}

.contact-form textarea {
  resize: none;
}

/* ==========================================================================
   MAP SECTION
   ========================================================================== */
.map-section {
  text-align: center;
  max-width: 1200px;
  margin: auto;
  padding: 90px 20px;
}

.map-container {
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 2000;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* ==========================================================================
   WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
  pointer-events: none;
}

.whatsapp-button i {
  font-size: 32px;
}

.whatsapp-button.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}
/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1199px) {
  .slide {
    flex: 0 0 33.3333%;
  }
}

@media (max-width: 899px) {
  .slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: var(--space-md);
  }
  .hero {
    --hero-offset: 40px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero p {
    font-size: 18px;
  }
  .product-grid {
    flex-direction: column;
    align-items: center;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .about-hero h1,
  .products-hero h1,
  .contact-hero h1 {
    font-size: 40px;
  }

  .about-hero p,
  .products-hero p,
  .contact-hero p {
    font-size: 18px;
  }

  .about-grid {
    flex-direction: column;
  }
}

@media (max-width: 599px) {
  .slide {
    flex: 0 0 80%;
    margin: 0 auto;
  }
  .slide img {
    height: 180px;
  }
}

/* ==========================================================================
   MOBILE GALLERY FIX - CENTERED CAROUSEL
   ========================================================================== */
@media (max-width: 768px) {
  .gallery {
    width: 100%;
    left: 0;
    margin-left: 0;
    padding: 40px 0;
    overflow: hidden;
    position: relative;
  }

  .gallery-slider {
    overflow: visible !important;
    width: 100%;
    position: relative;
  }

  .slider-track {
    display: flex !important;
    gap: 16px !important;
    transition: transform 0.4s ease !important;
    will-change: transform !important;
    padding: 0 !important;
  }

  .slide {
    flex: 0 0 80% !important;
    width: 80% !important;
    scroll-snap-align: center;
    margin: 0 !important;
  }

  .slide img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    cursor: pointer;
  }

  .gallery::before,
  .gallery::after {
    display: none !important;
  }

  .gallery-arrow {
    opacity: 0.7 !important;
    width: 36px !important;
    height: 36px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    z-index: 10 !important;
  }

  .gallery-arrow.left {
    left: 5px !important;
  }

  .gallery-arrow.right {
    right: 5px !important;
  }
}

@media (max-width: 480px) {
  .slide {
    flex: 0 0 85% !important;
    width: 85% !important;
  }

  .slide img {
    height: 180px !important;
  }
}
