:root {
    --primary-color: #166534;
    --text-dark: #333333;
    --accent-wood: #E3DCC8;
    --accent-slate: #8D9191;
    --bg-light: #F9F9F9;
    --white: #FFFFFF;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light {
    background-color: var(--bg-light);
}

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: var(--accent-slate);
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.2);
}

.btn-large {
    padding: 15px 32px;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    margin-top: 10px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    max-height: 70px;
    width: auto;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    padding: 10px 15px;
    border-radius: 4px;
}

nav a:hover {
    color: var(--primary-color);
    background-color: rgba(22, 101, 52, 0.05);
}

.hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 20px;
    margin-top: 40px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 75%; 
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 2;
}

.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 3;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-content h1 {
    font-size: 52px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 35px;
}

.hero-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-icons-group {
    display: flex;
    gap: 15px;
}

.hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition);
    cursor: default;
}

.hero-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(22, 101, 52, 0.2);
    background-color: var(--primary-color);
    color: var(--white);
}

.hero-slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.hero-dot.active, .hero-dot:hover {
    background: #ffffff;
    transform: scale(1.2);
}

.about-section {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 80px 20px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    text-align: left;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.rooms-section {
    padding: 80px 20px;
}

.common-info-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    border-radius: 4px;
}

.info-item {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item i {
    color: var(--primary-color);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 900px;
    margin: 0 auto; 
    gap: 40px;
    position: relative;
}

.room-card {
    background: #f4f8f5;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-dark);
}

.room-card:nth-child(even) {
    background-color: rgba(22, 101, 52, 0.06);
    border: 1px solid rgba(22, 101, 52, 0.1);
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.room-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.room-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 230px;
}

.room-content p {
    color: var(--accent-slate);
    margin-bottom: 20px;
    flex-grow: 1;
}

.room-features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.room-detail-main {
    padding-top: 40px;
    padding-bottom: 60px;
}

.room-title {
    color: #135731;
    margin-bottom: 30px;
    font-weight: 700;
}

.room-intro-row {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 30px;
}

.room-row-reverse {
    flex-direction: row-reverse;
}

.room-detail-left-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-detail-text h2 {
    color: #135731;
    margin-bottom: 15px;
}

.room-detail-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.room-features-box-short {
    background: #f8f9fa;
    border-left: 4px solid #135731;
    border-radius: 4px;
    padding: 20px;
    margin-top: 25px;
}

.room-features-box-short h3 {
    color: #135731;
    font-size: 18px;
    margin-bottom: 15px;
}

.features-grid-short {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-grid-short li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.features-grid-short li i {
    color: #135731;
    width: 16px;
    font-size: 14px;
}

.room-main-image-box {
    flex: 0 0 380px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.room-slide {
    display: none;
    width: 100%;
}

.room-slide.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

.room-portrait-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.room-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.room-slider-btn:hover {
    background: rgba(0, 0, 0, 0.65);
}

.room-slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn { left: 12px; }
.next-btn { right: 12px; }

.room-action-row {
    margin-top: 20px;
}

.btn-booking {
    display: block;
    text-align: center;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gnext, .gprev {
    background: rgba(0, 0, 0, 0.25) !important;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

.gnext:hover, .gprev:hover {
    background: rgba(0, 0, 0, 0.6) !important;
    transform: scale(1.05);
}

.gnext svg, .gprev svg {
    color: #ffffff !important;
    width: 28px;
    height: 28px;
}

.amenities-section {
    padding: 80px 0;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.amenity {
    padding: 30px 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.amenity:nth-child(even) {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.amenity:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.amenity i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.reservation-section {
    padding: 80px 0;
}

.reservation-widget-container {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reservation-widget-container iframe {
    width: 100%;
    border: none;
    min-height: 400px;
}

.widget-placeholder {
    color: var(--accent-slate);
    text-align: center;
    border: 2px dashed #ccc;
    padding: 40px;
    width: 100%;
    border-radius: 8px;
}
.btn-map-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--accent-wood);
    border: 1px solid var(--accent-wood);
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.95rem;
    margin-top: 15px;
    transition: var(--transition);
}

.btn-map-contact:hover {
    background-color: var(--accent-wood);
    color: var(--text-dark);
}

.creator-link {
    color: var(--accent-wood);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.creator-link:hover {
    color: var(--white);
    text-decoration: underline;
}

footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding-top: 60px;
}

.footer-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-info-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.footer-col h3, .footer-form-wrapper h3 {
    color: var(--accent-wood);
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-col i {
    margin-right: 10px;
    color: var(--accent-wood);
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-wood);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #222;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #333;
}

.contact-form .btn {
    align-self: flex-start;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 300px; 
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
    border-radius: 8px; 
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.copyright {
    text-align: center;
    padding: 20px;
    background-color: #1a1a1a;
    font-size: 0.9rem;
    color: #888;
}

.btn-nav-hero {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 12px 28px;
    font-size: 1.1rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-nav-hero:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(22, 101, 52, 0.4);
}

.room-price {
    font-size: 1.15rem;
    color: var(--primary-color);
    background: rgba(22, 101, 52, 0.06);
    padding: 12px 18px;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    margin-top: 25px !important;
    display: inline-block;
}

.room-price i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.footer-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.btn-footer-contact {
    background-color: transparent;
    color: #ccc;
    border: 1px solid #555;
    padding: 8px 15px;
    font-size: 0.95rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-footer-contact:hover {
    background-color: #333;
    color: var(--white);
    border-color: var(--accent-wood);
}

@media (min-width: 880px) {
    .rooms-grid::before {
        content: '';
        position: absolute;
        top: 2%;
        bottom: 2%;
        left: 50%;
        width: 1px;
        background-color: rgba(22, 101, 52, 0.85);
        transform: translateX(-50%);
        z-index: 0;
    }
    
    .rooms-grid::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 2%;
        right: 2%;
        height: 1px;
        background-color: rgba(22, 101, 52, 0.85);
        transform: translateY(-50%);
        z-index: 0;
    }
}
@media (max-width: 768px) {
    html {
        scroll-padding-top: 40px;
    }

    header {
        height: 160px;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .nav-container {
        position: absolute; 
        top: 0;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 15px 20px 25px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    
    .logo {
        margin-bottom: 20px; 
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hamburger {
        display: block;
        width: 180px; 
        text-align: center;
        padding: 10px;
        background: var(--bg-light);
        border: 1px solid #eee;
        border-radius: 8px;
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    #nav-menu {
        display: none;
        width: 100%;
        margin-top: 25px;
    }

    #nav-menu.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav a {
        display: block;
        padding: 18px;
        border-bottom: 1px solid #eee;
        font-size: 1.1rem;
    }

    .header-btn {
        display: none;
        width: 100%;
        margin-top: 35px; 
        margin-bottom: 10px;
    }

    .header-btn.active {
        display: block;
    }
    
    .hero {
        min-height: 500px;
        padding: 40px 20px;
        margin-top: 20px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .hero-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .room-intro-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .room-row-reverse {
        flex-direction: column;
    }
    
    .room-main-image-box {
        width: 100%;
        flex: none;
    }
    
    .room-portrait-img {
        height: 400px;
        min-height: auto;
    }

    .room-card img {
        height: 200px;
    }
    
    .gnext, .gprev {
        width: 42px;
        height: 42px;
        background: rgba(0, 0, 0, 0.15) !important;
    }
    
    .gnext svg, .gprev svg {
        width: 20px;
        height: 20px;
    }

    .reservation-widget-container {
        padding: 15px;
    }

    .footer-grid {
        text-align: center;
    }

    .footer-col i {
        margin-right: 5px;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-info-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact-buttons {
        align-items: center;
    }

    .footer-form-wrapper h3 {
        text-align: center;
    }

    .contact-form .btn {
        align-self: center;
        width: 100%;
    }
    header {
        transition: height 0.3s ease-in-out;
    }

    header.scrolled {
        height: 70px; 
    }

    header.scrolled .logo {
        opacity: 0;
        visibility: hidden;
        height: 0;
        margin: 0;
        padding: 0;
        pointer-events: none;
        transition: opacity 0.2s ease-in-out, height 0.2s ease-in-out;
    }

    header.scrolled .nav-container {
        padding: 10px 20px;
    }

    header.scrolled #nav-menu {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .features-grid-short {
        grid-template-columns: 1fr;
    }
}