* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global paragraph size */
p {
    font-size: 16px !important;
}

:root {
    --primary-color: #d4a574;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --text-color: #333;
    --border-color: #e0e0e0;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant', serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.navbar.visible {
    transform: translateY(0);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 20px;
    position: relative;
}

.nav-brand {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
    font-size: 16px;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    gap: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('images/2.jpg') center/contain no-repeat fixed;
    background-attachment: fixed;
    background-size: 100% 110%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 100px;
    margin-bottom: 1rem;
    color: var(--white);
    line-height: 0.91;
    font-weight: 700;
}

.hero-content h3 {
    font-size: 30px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #c49060;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.hero-image {
    display: none;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
    z-index: 2;
    margin-top: 100vh;
}

.features .container h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 100%;
    height: 140px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    display: flex;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* Villa Details Section */
.villa-details {
    padding: 80px 0;
    background: url('images/31.jpg') center/cover;
    position: relative;
    z-index: 10;
}

.villa-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.villa-details h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.detail-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.detail-item-full {
    grid-column: 1 / -1;
}

.detail-label {
    display: block;
    font-size: 20px;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.detail-value {
    display: block;
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
}

.amenities-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    text-align: left;
}

.amenities-list li {
    font-size: 16px;
    color: var(--text-color);
    padding-left: 1.5rem;
    position: relative;
}

.amenities-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
    z-index: 10;
}

.gallery h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
    auto-rows: 140px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Masonry effect - middle column taller */
.gallery-item:nth-child(3n+1) {
    grid-row: span 2;
}

.gallery-item:nth-child(3n+2) {
    grid-row: span 3;
}

.gallery-item:nth-child(3n) {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gallery-hidden {
    display: none;
}

.gallery-load-more {
    text-align: center;
    margin-top: 2rem;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    box-sizing: border-box;
}

.lightbox-prev,
.lightbox-next {
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background-color: var(--light-color);
    position: relative;
    z-index: 10;
}

.reviews h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.carousel-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.carousel-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.carousel-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: #c49060;
    transform: scale(1.1);
}

.carousel-buttons {
    display: none;
    grid-column: 1 / -1;
    justify-content: center;
    gap: 1rem;
}

.carousel-wrapper {
    overflow: hidden;
}

.reviews-carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.review-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    flex: 0 0 calc((100% - 4rem) / 3);
    min-width: calc((100% - 4rem) / 3);
}

.review-text {
    color: #666;
    margin-bottom: 0.5rem;
    font-style: italic;
    line-height: 1.8;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author h4 {
    margin: 0;
    color: var(--dark-color);
}

.review-author p {
    margin: 0;
    font-size: 12px;
    color: #999;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* Activities Section */
.activities {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
    z-index: 10;
}

.activities h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.activity-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--light-color);
}

.activity-card:hover {
    background-color: #f0ebe0;
    transform: translateY(-5px);
}

.activity-icon {
    font-size: 40px;
    margin-bottom: 1rem;
}

.activity-card h3 {
    font-size: 18px;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.activity-card p {
    color: #666;
    font-size: 14px;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background-color: var(--light-color);
    position: relative;
    z-index: 10;
}

.blog h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--dark-color);
    font-size: 18px;
}

.blog-card p {
    padding: 0.5rem 1.5rem;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    padding: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #c49060;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
    z-index: 10;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 22px;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #666;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--light-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-map {
    margin-top: 3rem;
    width: 100%;
}

.contact-map iframe {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.contact-form button {
    align-self: flex-start;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 40px 0 20px;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 40px 0;
        min-height: 110vh;
    }

    .hero-content h1 {
        font-size: 82px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-image img {
        height: 300px;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-menu li {
        border-bottom: 1px solid #eee;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 20px;
    }

    .hamburger {
        display: flex;
    }

    .feature-icon {
        height: 220px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info h3 {
        text-align: center;
    }

    .info-item {
        text-align: center;
    }

    .features-grid,
    .reviews-grid,
    .activities-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .amenities-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .amenities-list li {
        font-size: 14px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-container {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }

    .carousel-buttons {
        display: none;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    section {
        padding: 40px 0;
    }

    .features h2,
    .gallery h2,
    .reviews h2,
    .activities h2,
    .blog h2,
    .contact h2,
    .villa-details h2 {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-content > .footer-section:first-child {
        order: -1;
    }

    .footer-content > .footer-section:nth-child(2),
    .footer-content > .footer-section:nth-child(3) {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    @supports (display: grid) {
        .footer-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto auto;
        }

        .footer-content > .footer-section:first-child {
            grid-column: 1 / -1;
            margin-bottom: 1rem;
        }

        .footer-content > .footer-section:nth-child(2),
        .footer-content > .footer-section:nth-child(3) {
            text-align: center;
            display: block;
        }
    }
}

/* Booking Form Popup */
.booking-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.booking-popup.active {
    display: flex;
}

.booking-popup-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.booking-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.booking-popup-close:hover {
    color: var(--primary-color);
}

.booking-popup-content h2 {
    margin-bottom: 2rem;
    color: var(--dark-color);
    text-align: center;
    font-size: 32px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.booking-form input,
.booking-form textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.booking-form input:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.booking-form button {
    width: 100%;
}

.booking-form-section {
    transition: opacity 0.3s ease;
}

.booking-thank-you {
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.booking-thank-you h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 32px;
}

.booking-thank-you p {
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 16px;
}

.contact-form-wrapper {
    position: relative;
}

.contact-thank-you {
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.contact-thank-you h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 28px;
}

.contact-thank-you p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .reviews .container {
        padding: 0;
    }

    .reviews h2 {
        padding: 0 20px;
    }

    .carousel-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .carousel-container > .carousel-prev,
    .carousel-container > .carousel-next {
        display: none !important;
    }

    .carousel-buttons {
        display: flex !important;
        justify-content: center;
        gap: 1rem;
        grid-column: 1 / -1;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .carousel-wrapper {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        grid-column: 1 / -1;
        padding: 0;
        overflow: hidden;
    }

    .reviews-carousel {
        gap: 0 !important;
        width: 100%;
    }

    .review-card {
        flex: 0 0 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        padding: 2rem 20px !important;
    }

    .reviews h2 {
        font-size: 24px;
        margin-bottom: 2rem;
    }

    .review-text {
        font-size: 14px;
    }

    .review-author {
        gap: 0.5rem;
    }

    .review-author img {
        width: 40px;
        height: 40px;
    }

    .review-author h4 {
        font-size: 14px;
    }

    .review-author p {
        font-size: 11px;
    }
}
