/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

nav {
    margin-top: 1rem;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.booking-btn {
    background-color: var(--accent-color);
    font-weight: bold;
}

.booking-btn:hover {
    background-color: #c0392b;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('villa001.jpg') no-repeat center top/cover;
    display: flex;
    align-items: flex-start;
    padding-top: 15vh;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
.hero-content h2 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); /* Strong shadow for headings */
}

.hero-content p {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); /* Slightly lighter for paragraphs */
}

.hero-content .btn {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); /* Subtle shadow for button */
}
.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: var(--primary-color);
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-features {
    flex: 1;
    min-width: 300px;
}

.about-features ul {
    list-style: none;
}

.about-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.about-features i {
    margin-right: 0.8rem;
    color: var(--secondary-color);
    width: 1.5rem;
    text-align: center;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

.video-container {
    text-align: center;
    margin-top: 3rem;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

video {
    width: 100%;
    display: block;
}

/* Amenities Section */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.amenity-category {
    background-color: white;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.amenity-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.amenity-category i {
    margin-right: 0.8rem;
    color: var(--secondary-color);
}

.amenity-category ul {
    list-style-position: inside;
}

.amenity-category li {
    margin-bottom: 0.5rem;
}

/* Location Section */
.location-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.location-text {
    flex: 1;
    min-width: 300px;
}

.location-text ul {
    margin: 1rem 0 1rem 1.5rem;
}

.location-map {
    flex: 1;
    min-width: 300px;
}

.location-map iframe {
    width: 100%;
    min-height: 400px;
    border: none;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Booking Section */
.booking-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.booking-text {
    flex: 1;
    min-width: 300px;
}

.booking-text p {
    margin-bottom: 1.5rem;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 0.8rem;
    color: var(--secondary-color);
    width: 1.5rem;
}

.booking-image {
    flex: 1;
    min-width: 300px;
}

.booking-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p, .footer-section a {
    color: var(--light-color);
    margin-bottom: 0.8rem;
    display: block;
}

.footer-section a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section i {
    margin-right: 0.8rem;
    width: 1.2rem;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    nav ul li {
        margin: 0.3rem;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
    }
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0 10px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
}

.lightbox-open {
    overflow: hidden;
}

/* Gallery image cursor */
.gallery-img {
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.gallery-img:hover {
    transform: scale(1.02);
}

/* Thin Header Styles */
.thin-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #000; /* changed from rgba(255, 255, 255, 0.96) */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: transform 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* optional */
}

.header-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff; /* changed from #2c3e50 */
  letter-spacing: 0.5px;
}

/* Hamburger Menu */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  display: none; /* Hidden on desktop */
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Navigation Menu */
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #e74c3c;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e74c3c;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hide/Show on Scroll */
.header-hidden {
  transform: translateY(-100%);
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 60px);
    background: #000; /* Black background */
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu ul {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 0; /* no gap, since we're using borders and padding for spacing */
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    width: 100%;
    padding: 1rem 0;
    color: #fff; /* White text */
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Optional divider */
    text-decoration: none;
    font-size: 1rem;
  }

  .nav-menu a:hover {
    color: #e74c3c;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

html {
  scroll-behavior: smooth;
}