/* 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);
    background: #f7f4ef;
}

.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:
        linear-gradient(rgba(8, 12, 18, 0.42), rgba(8, 12, 18, 0.52)),
        url('villa001.jpg') no-repeat center top/cover;
    display: flex;
    align-items: center;
    padding-top: 60px;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    width: min(760px, 92%);
    padding: 2rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5.4rem);
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    margin: 0 auto 2rem;
    max-width: 680px;
}

.hero-content h1 {
  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 */
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-highlights span {
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    font-size: 0.95rem;
}

.btn {
    display: inline-block;
    background-color: #9d6b3a;
    color: white;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #86572b;
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.2rem;
    color: var(--primary-color);
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--text-light);
}

.intro-section {
    padding-top: 0;
    margin-top: -4rem;
    position: relative;
    z-index: 2;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.intro-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(44, 62, 80, 0.08);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 18px 40px rgba(35, 44, 58, 0.08);
}

.intro-card h2 {
    text-align: left;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: start;
}

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

.about-text p {
    margin-bottom: 1rem;
}

.about-features {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(35, 44, 58, 0.08);
}

.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-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(35, 44, 58, 0.1);
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    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 14px 32px rgba(35, 44, 58, 0.12);
    border-radius: 14px;
    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: 14px;
    box-shadow: 0 12px 28px rgba(35, 44, 58, 0.08);
}

.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: 14px;
    box-shadow: 0 12px 28px rgba(35, 44, 58, 0.08);
}

/* 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-section .booking-text {
    background: #fff;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(35, 44, 58, 0.08);
}

.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: 18px;
    box-shadow: 0 14px 32px rgba(35, 44, 58, 0.12);
}

/* 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 h1 {
        font-size: 2.6rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }

    .intro-section {
        margin-top: -2rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .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 {
        padding: 1.25rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-lead {
        font-size: 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;
}
