
/* ===== NUCLEAR RESET ===== */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

/* ===== BLANK SPACE FIX ===== */
html, body {
  margin: 0;
  padding: 0;
}

/* ===== GLOBAL STYLES ===== */
:root {
  --header-color: #223D36;
  --body-color: #F0F8FF;
  --primary-blue: #1e88e5;
  --dark-blue: #1565c0;
  --white: #ffffff;
  --text-dark: #333333;
  --text-light: #f5f5f5;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --header-height: 70px; /* Added fixed header height */
}

* {
  box-sizing: border-box; /* Added this crucial line */
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--body-color);
  margin: 0;
  min-height: 100vh;
}

/* ===== FIXED HEADER ===== */
.main-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 5% !important;
  height: var(--header-height) !important;
  z-index: 1000 !important;
  
  /* Keep your existing styles below */
  background-color: var(--header-color);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Keep all your existing styles below exactly as they were */
.logo img {
  height: 70px;
  width: auto;
}

.navbar {
  flex: 1; /* Added to allow proper spacing */
  margin: 0 20px; /* Added balanced margins */
  min-width: 0; /* Allows navbar to shrink */
}

.navbar .nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  transition: color 0.3s;
  padding: 5px 0;
}

.nav-links a.active {
  border-bottom: 2px solid var(--white);
}

.nav-links a:hover {
  color: var(--white);
}

.social-media {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
  padding-left: 10px; /* Added left padding */
}

.social-media img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.social-media img:hover {
  transform: scale(1.1);
}

.toggle-menu {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* ===== PERFECT HEADER-SLIDESHOW CONNECTION ===== */
body {
  --header-height: 70px; /* Ensure this matches your header height */
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.hero-slideshow {
  position: relative;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  margin: 0;
  padding: 0;
}

/* ===== HERO SLIDESHOW ===== */
.hero-slideshow {
  position: relative;
  height: 80vh;
  min-height: 500px; /* Fallback for mobile */
  overflow: hidden;
  z-index: 1;
  isolation: isolate; /* Prevents z-index conflicts */
  transform-style: preserve-3d; /* Fixes rendering */
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity; /* Optimizes animations */
  backface-visibility: hidden; /* Prevents flickering */
  pointer-events: none; /* Allows clicks through inactive slides */
  top: 0;
  left: 0;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.slide img {
  position: absolute;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  top: 0;
  left: 0;
}

.slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  max-width: 90%;
  z-index: 3;
}

.slide-text h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 10px;
}

.slide-text h3 {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 300;
}

/* Navigation Arrows */
.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-nav:hover {
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.1);
}

.slide-nav.prev { left: 20px; }
.slide-nav.next { right: 20px; }

/* Indicators */
.slide-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slide-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.slide-indicator.active {
  background: var(--white);
  transform: scale(1.2);
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 60px 5%;
  max-width: 1000px;
  margin: 0 auto;
}

.services h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: var(--text-dark);
}

.service-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.service-card {
  background:#F5F5DC
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  width: calc(33.333% - 20px);
  min-width: 250px;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card .price {
  font-weight: bold;
  color: var(--primary-blue);
  padding: 0 15px;
  margin: 10px 0;
}

.service-name {
  display: block;
  padding: 0 15px 15px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
}

.service-name:hover {
  color: var(--primary-blue);
}

/* ===== RESERVATION PAGE ===== */
.room-showcase {
  padding: 60px 5% 0;
  max-width: 1200px;
  margin: 0 auto;
}

.room-grid {
  display: flex; /* Changed from grid to flex */
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  justify-content: space-between; /* Spaces items evenly */
  gap: 30px;
}

.room-card {
  flex: 1; /* Each card will take equal space */
  min-width: 300px; /* Minimum width before wrapping */
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.room-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.room-info {
  padding: 20px;
}

.room-info h3 {
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.price {
  font-weight: bold;
  margin: 10px 0;
}

.amenities {
  list-style-position: inside;
  margin: 15px 0;
}

.book-jump-btn {
  background: #223D36;
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s;
}

.book-jump-btn:hover {
  background: var(--dark-blue);
}

/* ===== BOOKING FORM STYLES ===== */
.booking-section {
  padding: 40px 5%;
  background: #F0F8FF;
}

.booking-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booking-form h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-blue);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.submit-btn {
  background: #223D36;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: var(--dark-blue);
}

/* ===== FOOTER ===== */
.main-footer {
  background: var(--header-color);
  color: var(--text-light);
  padding: 40px 5%;
  text-align: center;
}

.main-footer p {
  margin-bottom: 10px;
}

.contacts {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

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

.contacts a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.map-container {
  margin-top: 35px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .navbar {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: var(--header-color);
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    transition: left 0.3s;
    flex-direction: column;
    padding: 20px;
  }

  .navbar.active {
    left: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
  }

  .social-media {
    margin-top: 20px;
  }

  .toggle-menu {
    display: block;
  }

  .hero-slideshow {
    height: 50vh;
  }

  .slide-text h2 {
    font-size: 2rem;
  }

  .slide-text h3 {
    font-size: 1.2rem;
  }

  .service-row {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 100%;
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .contacts {
    flex-direction: column;
    gap: 10px;
  }

  .room-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Form fixes */
  .booking-container { padding: 20px; }
  .form-row { flex-direction: column; gap: 15px; }
  
  /* Input fixes */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 14px;
  }
  
  /* Room grid */
  .room-grid { grid-template-columns: 1fr; }
  
  /* Map */
  .map-container iframe { height: 200px; }
}

} 

/* ===== GUARANTEED LIGHTBOX FIX ===== */
.lightbox {
  position: fixed;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0,0,0,0.95) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 99999 !important; /* Extreme high value */
  cursor: zoom-out;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 999999 !important; /* Even higher */
}

.lightbox-content img {
  max-height: 80vh;
  max-width: 90vw;
  border: 3px solid var(--white);
  border-radius: 5px;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.close-lightbox {
  position: absolute;
  top: -25px;
  right: -25px;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 25px;
  cursor: pointer;
  z-index: 9999999 !important; /* Highest possible */
}

/* ===== NUCLEAR OPTION ===== */
body > .lightbox {
  position: fixed !important;
  z-index: 2147483647 !important;
}

/* ===== LAST RESORT FIX ===== */
body > .main-header {
  top: -1px !important;
  margin-top: 0 !important;
}

/* ===== GUARANTEED FOOTER FIX ===== */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.main-content {
  flex: 1 0 auto;
}

.main-footer {
  flex-shrink: 0;
  background: var(--header-color);
  padding: 40px 5%;
  margin-top: 40px; /* Space above footer */
  position: relative;
  z-index: 100;
  
/* NUCLEAR GAP ELIMINATOR */
body > .hero-slideshow {
  top: var(--header-height) !important;
  margin-top: 0 !important;
  transform: translateY(0) !important;
  height: calc(100vh - var(--header-height)) !important;
}  

/* ===== RESTAURANT PAGE ===== */
.restaurant-hero {
    height: 60vh;
    background: url('../images/restaurant-hero.jpg') center/cover no-repeat;
    position: relative;
    margin-top: 80px; /* Adjust based on header height */
}

.hero-overlay {
    background: rgba(0,0,0,0.5);
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.restaurant-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

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

.menu-category h3 {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.menu-items li {
    margin-bottom: 25px;
    list-style: none;
}

.item-name {
    font-weight: bold;
    display: block;
}

.item-price {
    float: right;
    color: var(--primary-blue);
}

.item-desc {
    color: #666;
    margin-top: 5px;
    font-size: 0.9em;
}

.dining-experience {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 80px 0;
    align-items: center;
}

.experience-text {
    flex: 1;
    min-width: 300px;
}

.experience-image {
    flex: 1;
    min-width: 300px;
}

.experience-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .restaurant-hero {
        height: 50vh;
        margin-top: 70px;
    }
    
    .dining-experience {
        flex-direction: column;
    }


/* Temporary Restaurant Banner */
.temp-restaurant-banner {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), 
                url('../images/kitchen-background.jpg') center/cover;
    color: white;
    padding: 100px 20px;
    text-align: center;
    margin-top: 80px;
    position: relative;
}

.bell-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    animation: ring 2s infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

.temp-restaurant-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #FFD700;
}

.service-highlight {
    background: var(--primary-blue);
    color: white;
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1.3rem;
    margin: 20px 0;
    font-weight: bold;
}

.service-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 800px;
    margin: 40px auto 0;
}

.detail-box {
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 8px;
    min-width: 250px;
    color: #333;
}

.detail-box img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.detail-box p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.detail-box strong {
    color: var(--primary-blue);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background: #25D366;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: bold;
}

.whatsapp-btn img {
    width: 20px;
    margin-right: 8px;
}

@media (max-width: 600px) {
    .temp-restaurant-banner {
        padding: 70px 15px;
    }
    
    .service-highlight {
        font-size: 1.1rem;
    }
}