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

:root {
    --primary-color: #c9a961;
    --secondary-color: #8b6f47;
    --dark-color: #2c2c2c;
    --light-color: #f5f5f5;
    --white: #ffffff;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --gradient-primary: linear-gradient(135deg, #c9a961 0%, #8b6f47 100%);
    --gradient-light: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.logo a {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img[src=""],
.logo img:not([src]) {
    display: none;
}

.logo:has(img[src=""]) .logo-text,
.logo:has(img:not([src])) .logo-text,
.logo:not(:has(img[src])) .logo-text {
    display: inline-block !important;
}

.header-contact {
    display: flex;
    gap: 10px;
    align-items: center;
}

.contact-btn, .whatsapp-btn {
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
    white-space: nowrap;
}

.whatsapp-btn {
    background: #25D366;
}

.contact-btn:hover, .whatsapp-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    padding: 15px 0;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    display: block;
    padding: 5px 0;
}

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

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

/* Sub-menu Styles */
.nav-menu > li {
    position: relative;
}

.nav-menu > li.has-submenu > a::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s;
    display: inline-block;
}

.nav-menu > li.has-submenu:hover > a::after,
.nav-menu > li.has-submenu.active > a::after {
    transform: rotate(180deg);
}

.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    list-style: none;
    padding: 10px 0;
    min-width: 250px;
    margin-top: 8px;
    border-radius: 8px;
    z-index: 1001;
}

/* Show submenu on hover - for desktop */
@media (min-width: 769px) {
    .nav-menu > li:hover .sub-menu {
        display: block;
    }
    
    /* Keep submenu visible when hovering directly over it */
    .nav-menu > li .sub-menu:hover {
        display: block;
    }
}

/* Show submenu when active - for mobile and general use */
.nav-menu > li.active > .sub-menu {
    display: block;
}

.nav-menu .sub-menu li {
    margin: 0;
    white-space: nowrap;
}

.nav-menu .sub-menu a {
    padding: 12px 20px;
    display: block;
    color: var(--text-color);
    transition: all 0.3s;
    border-left: 3px solid transparent;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu a.active {
    background: #f8f8f5;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 25px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide img[src=""],
.hero-slide img:not([src]) {
    display: none;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

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

.hero-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.hero-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--text-color);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.btn-link:hover {
    color: var(--secondary-color);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 40px;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 20px;
}

/* Welcome Section */
.welcome-section {
    background: var(--light-color);
    position: relative;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.welcome-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.welcome-text h3 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 15px;
    margin-top: 30px;
    font-weight: 600;
}

.welcome-text h3:first-child {
    margin-top: 0;
}

.feature-list {
    list-style: none;
    margin: 30px 0;
}

.feature-list li {
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-color);
}

.welcome-image {
    position: relative;
    min-height: 400px;
    background: var(--light-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.welcome-image img[src=""],
.welcome-image img:not([src]) {
    display: none;
}

.welcome-image::before {
    content: "🏡";
    font-size: 80px;
    position: absolute;
    opacity: 0.3;
    display: none;
}

.welcome-image img[src=""] ~ .welcome-image::before,
.welcome-image:not(:has(img[src]))::before {
    display: block;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Activities Section */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.activity-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.activity-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--light-color);
}

.activity-card img[src=""],
.activity-card img:not([src]) {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-card img[src=""]::after,
.activity-card img:not([src])::after {
    content: "📸";
    font-size: 60px;
    opacity: 0.5;
}

.activity-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.activity-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.activity-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.activity-content .btn-link {
    margin-top: auto;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

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

.cta-contact {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.cta-contact a {
    color: var(--white);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.contact-info li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    padding: 8px 15px;
    background: var(--primary-color);
    border-radius: 5px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .welcome-content {
        grid-template-columns: 1fr;
    }
    
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
        align-items: stretch;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu > li > a {
        padding: 15px 20px;
        display: block;
        width: 100%;
        cursor: pointer;
    }

    .nav-menu > li.has-submenu > a::after {
        float: right;
        margin-left: 10px;
    }

    .nav-menu > li.has-submenu.active > a::after {
        transform: rotate(180deg);
    }

    .nav-menu .sub-menu {
        position: static;
        display: none !important;
        box-shadow: none;
        background: #f0f0f0;
        margin: 0;
        padding: 0;
        border-radius: 0;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: auto;
    }

    .nav-menu > li.active .sub-menu {
        display: block !important;
    }

    .nav-menu .sub-menu li {
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-menu .sub-menu a {
        padding: 12px 40px;
        display: block;
        width: 100%;
    }

    .nav-menu .sub-menu a:hover {
        padding-left: 45px;
    }
    
    .header-contact {
        flex-direction: column;
        gap: 5px;
    }
    
    .contact-btn, .whatsapp-btn {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 500px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    section {
        padding: 50px 0;
    }
}

/* Image Placeholder Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fallback for missing images */
img[src=""],
img:not([src]) {
    background: var(--light-color);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo fallback */
.logo img[src=""],
.logo img:not([src]) {
    display: none;
}

.logo a:not(:has(img[src])) {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Room Cards */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.room-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

.room-content {
    padding: 25px;
}

.room-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.room-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.room-features {
    list-style: none;
    margin-bottom: 20px;
}

.room-features li {
    padding: 5px 0;
    color: var(--text-color);
}

.room-features li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
}

