/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f4f;
    --secondary-color: #8b7355;
    --accent-color: #d4a574;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f8f6f3;
    --border-color: #e0ddd9;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-size: cover;
    background-position: center 65%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.45;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(44, 95, 79, 0.6), rgba(44, 95, 79, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 2rem;
    font-style: italic;
}

.about p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    text-align: justify;
}

/* Experience Section */
.experience {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(44, 95, 79, 0.05), rgba(139, 115, 85, 0.05));
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.experience-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.experience-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.experience-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.experience-card p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Villa Details Section */
.villa-details {
    padding: 6rem 0;
    background: var(--white);
}

.details-content {
    max-width: 1100px;
    margin: 3rem auto 0;
}

.detail-block {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 2.5rem;
    border-left: 5px solid var(--accent-color);
}

.detail-block h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.detail-block p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.9;
}

.rooms-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.room-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.room-item strong {
    display: block;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.room-item p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Amenities Full Section */
.amenities-full {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(44, 95, 79, 0.05), rgba(139, 115, 85, 0.05));
}

.amenities-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.amenity-group {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.amenity-group h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-color);
}

.amenity-group ul {
    list-style: none;
}

.amenity-group ul li {
    padding: 0.8rem 0;
    color: var(--text-light);
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 2rem;
}

.amenity-group ul li:last-child {
    border-bottom: none;
}

.amenity-group ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: var(--white);
}

.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 1rem;
    background: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(44, 95, 79, 0.3);
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 600px;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--primary-color);
}

.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/* Navigation Arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(44, 95, 79, 0.7);
    text-decoration: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: var(--accent-color);
}

/* Slide Counter */
.slide-counter {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin: 1rem 0 2rem;
}

.current-slide {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Thumbnail Gallery */
.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    margin-top: 2rem;
    padding: 1rem 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.thumbnail-container::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 4px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.thumbnail-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.thumbnail {
    width: 120px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    flex-shrink: 0;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    opacity: 1;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(44, 95, 79, 0.3);
}

/* Amenities Section */
.amenities {
    padding: 6rem 0;
    background: var(--light-bg);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.amenity-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.amenity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.amenity-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenity-icon svg {
    stroke: var(--white);
}

.amenity-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.amenity-card p {
    color: var(--text-light);
}

/* Attractions Section */
.attractions {
    padding: 6rem 0;
    background: var(--white);
}

.subsection-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin: 3rem 0 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.beaches-section,
.cultural-section,
.activities-section {
    margin-bottom: 4rem;
}

/* Sections with Background Images */
.section-with-bg {
    position: relative;
    padding: 4rem 2rem;
    margin-bottom: 4rem;
    border-radius: 20px;
    overflow: hidden;
}

.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.section-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 95, 79, 0.65), rgba(139, 115, 85, 0.65));
    z-index: 1;
}

.section-content {
    position: relative;
    z-index: 2;
}

.section-with-bg .subsection-title {
    color: var(--white);
    border-bottom-color: var(--accent-color);
}

.section-with-bg .attraction-card,
.section-with-bg .attraction-card.highlight {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.section-with-bg .attraction-card:hover,
.section-with-bg .attraction-card.highlight:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-5px);
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.attraction-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.attraction-card.highlight {
    background: linear-gradient(135deg, rgba(44, 95, 79, 0.05), rgba(212, 165, 116, 0.1));
    border-left: 5px solid var(--primary-color);
}

.attraction-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.attraction-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.distance {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: block;
}

.attraction-card p:last-child {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.transport-info {
    margin: 4rem 0 2rem;
}

.transport-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
}

.transport-card strong {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 1rem;
}

.transport-card p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.distance-note {
    margin-top: 3rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-item svg {
    flex-shrink: 0;
    stroke: var(--primary-color);
    margin-top: 0.3rem;
}

.info-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-light);
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.submit-button:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

/* Form Messages */
.form-message {
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease;
}

.form-message-success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #28a745;
}

.form-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #dc3545;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about h2 {
        font-size: 2rem;
    }

    .amenities-grid,
    .attractions-grid,
    .experience-grid,
    .amenities-detailed {
        grid-template-columns: 1fr;
    }

    .about h2 {
        font-size: 2.5rem;
    }

    .intro-text {
        font-size: 1.2rem;
    }

    .subsection-title {
        font-size: 1.7rem;
    }

    .detail-block {
        padding: 2rem;
    }

    .section-with-bg {
        padding: 3rem 1.5rem;
    }

    .section-bg-overlay {
        background: linear-gradient(135deg, rgba(44, 95, 79, 0.75), rgba(139, 115, 85, 0.75));
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .slide {
        height: 400px;
    }

    .thumbnail {
        width: 100px;
        height: 65px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-location {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .slide {
        height: 300px;
    }

    .thumbnail {
        width: 80px;
        height: 55px;
    }

    .prev, .next {
        padding: 12px;
        font-size: 18px;
    }

    .section-with-bg {
        padding: 2.5rem 1rem;
        border-radius: 15px;
    }

    .section-bg-overlay {
        background: linear-gradient(135deg, rgba(44, 95, 79, 0.8), rgba(139, 115, 85, 0.8));
    }

    .section-with-bg .attraction-card {
        padding: 1.5rem;
    }
}