/* Reset and base styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%; /* Safari */
  -ms-text-size-adjust: 100%;     /* IE */
}
body {
  font-family: 'Helvetica Neue', sans-serif;
  color: #fff;
  background-color: #111;
   overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scroll container */
.scroll-container {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
 background-color: #00000093;
  position: absolute; /* instead of fixed */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}

.logo {
  display: flex;
  align-items: center;
  height: auto;
  max-height: 120px;
  width: auto;
  max-width:200px;
}
.logo-icon {
  height: auto;
  max-height: 120px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}
.main-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}
.main-nav a:hover {
  color: #d4af37;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 100;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -75%;
  width: 75%;
  height: 100vh;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.4s ease;
  z-index: 99;
}
.mobile-nav ul {
  list-style: none;
  text-align: right;
}
.mobile-nav li {
  opacity: 0;
  transform: translateX(50px);
  animation: slideIn 0.4s forwards;
  animation-delay: calc(var(--i) * 0.15s);
}
.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  display: block;
  margin: 20px 0;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .hamburger {
    display: flex;
    position: absolute;
    top: 20px;
    right: 30px;
  }
}

/* Hero Background */
.hero {
  height: 100vh;
  background: url('images/galla/galla36.jpg') center/cover no-repeat;
  
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}

/* Hero Overlay */
.hero-overlay {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.315);
  padding: 120px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.hero-content {
  text-align: center;
  margin-bottom: 100px;
  margin-top: 160px;
}
.hero-content h1,
.hero-content p {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.hero-content.visible h1,
.hero-content.visible p {
  opacity: 1;
  transform: translateY(0);
}
.hero-content h1 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #ffffff;
  margin-bottom: 0px;
  margin-top: -15%;
}
.hero-content p {
  font-size: 1.2rem;
  color: #ffffff;
}


.hero-fade {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000000 100%);
  z-index: 5;
  pointer-events: none;
}




/* Culinary Section */
.culinary-section {
  position: relative;
  z-index: 5;
  padding: 120px 40px 80px;
  background-color: #000;
}

.culinary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: -20%;
}

/* Card structure */
.culinary-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 320px;
}

/* Parallax image wrapper */
.culinary-card .card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* taller for scroll movement */
  overflow: hidden;
}

.culinary-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.6s ease-out;
  will-change: transform;
}

/* Base text initially at bottom */
.card-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* sit at bottom initially */
  align-items: center;
  text-align: center;
  padding: 20px;
  z-index: 3;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.card-text h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
}
.card-text p {
  font-size: 0.95rem;
  color: #fff;
  max-width: 80%;
  margin: 0 auto 15px;
}

/* Button hidden initially (desktop hover only) */
.hover-btn {
  display: inline-block;
  padding: 10px 15px;
  background-color: transparent;
  color: #fff;
  font-weight: bold;
  border-radius: 15px;
  border: 1px solid #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-delay: 0.15s;
  margin-top: 10px;
}

/* On hover: button appears + text shifts to center (desktop only) */
.culinary-card:hover .card-text {
  justify-content: center;
}
.culinary-card:hover .hover-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Overlay for blur/dark tint */
.culinary-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  backdrop-filter: none;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 2;
}
.culinary-card:hover .culinary-overlay {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  opacity: 1;
}

/* Scroll reveal */
.culinary-card.scroll-animate {
  transform: translateY(40px);
  opacity: 0;
}
.culinary-card.scroll-visible {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.3, 1), opacity 0.8s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .culinary-grid {
    grid-template-columns: 1fr;
    margin-top: -50%;
  }
  .culinary-card {
    height: 220px;
  }
  .card-text {
    justify-content: center; /* text always centered on mobile */
  }
  .card-text h3 {
    font-size: 1.3rem;
  }
  .card-text p {
    font-size: 0.85rem;
  }
  .hover-btn {
    padding: 8px 12px;
    font-size: 0.9rem;
    opacity: 1;              /* always visible on mobile */
    transform: translateY(0);
  }
  .culinary-overlay {
    background: rgba(0,0,0,0.4); /* always visible overlay on mobile */
    backdrop-filter: blur(4px);
    opacity: 1;
  }
}
