:root {
    /* 70% Primary Background */
    --cream: #F2E1C3;

    /* 20% Secondary Color */
    --brown: #874537;

    /* 10% Accent Colors */
    --teal: #54A498;
    --pink: #D37F7F;
    --dark-green: #105446;

    /* System specific */
    --bg-dark: #1a0f0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--brown);
    background-color: var(--cream);
    overflow-x: hidden;
    overflow-y: hidden;
}

body.ready {
    overflow-y: auto;
}

h1,
h2,
h3,
h4,
.title,
.footer-heading {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--brown);
}

.text-primary {
    color: var(--brown) !important;
}

.text-white {
    color: #4f1f13 !important;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--teal);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 3rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(84, 164, 152, 0.3);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(16, 84, 70, 0.4);
}

.btn-secondary {
    background-color: var(--pink);
    color: #fff;
}

/* HERO SECTION */
.hero-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
}

#hero-bg {
    background-image: url('homestay-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 10;
    transform: scale(1);
    transition: transform 6s ease-out;
}

#hero-bg.zoom {
    transform: scale(1.1);
}

#hero-content {
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    opacity: 0;
    transition: opacity 2s ease-in-out;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

#hero-content.show {
    opacity: 1;
    pointer-events: auto;
}

.logo {
    width: 190px;
    margin-bottom: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 1.5s ease-out, opacity 1.5s ease-out;
}

.title {
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 1.5s ease-out 0.3s, opacity 1.5s ease-out 0.3s;
    color: #5A1E1E;
}

.subtitle {
    font-size:20px;
    letter-spacing: 1px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 1.5s ease-out 0.6s, opacity 1.5s ease-out 0.6s;
    font-weight: 300;
    color: #F5F0E6;
    font-weight: 500;
}

#hero-content.animate-text .logo,
#hero-content.animate-text .title,
#hero-content.animate-text .subtitle {
    transform: translateY(0);
    opacity: 1;
}

#door-container {
    z-index: 30;
    background-color: var(--bg-dark);
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

#door-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#door-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* MAIN CONTENT */
#main-content {
    position: relative;
    z-index: 40;
    margin-top: 100vh;
    background-color: var(--cream);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.scroll-section {
    padding: 6rem 0;
}

h2 {
    font-size: 3rem;
    color: var(--brown);
    margin-bottom: 3rem;
}

/* Zoom Image Parallax container */
.zoom-img-container {
    overflow: hidden;
    position: relative;
}

.zoom-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 1.2s ease-out;
}

.zoom-img-container.visible .zoom-img {
    transform: scale(1);
}

/* About Section */
.about-layout {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--brown);
}

.about-image {
    flex: 1;
    min-width: 300px;
    min-height: 400px;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(135, 69, 55, 0.15);
    background-color: #eee;
}

.about-image .zoom-img {
    border-radius: 8px;
}

/* Rooms Section */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.room-card {
    background: #fff;
    border-radius: 8px;
    border-bottom: 4px solid var(--teal);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(135, 69, 55, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(135, 69, 55, 0.2);
    border-bottom: 4px solid var(--dark-green);
}

.room-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.room-card:hover .room-img {
    transform: scale(1.05);
}

.room-info {
    padding: 1.5rem;
    text-align: center;
}

.room-info h3 {
    color: var(--brown);
    font-size: 1.5rem;
}

/* Experience Section */
.full-width {
    width: 100%;
}

#experience {
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
}

#experience h2 {
    color: var(--cream);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#experience p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: var(--cream);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(135, 69, 55, 0.5);
    z-index: 1;
}

.experience-text {
    position: relative;
    z-index: 2;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(135, 69, 55, 0.25);
}

/* Location Section */
.location-layout {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    flex-wrap: wrap;
}

.location-card,
.location-map {
    flex: 1;
    min-width: 300px;
}

.location-card {
    background: #fff;
    border-top: 4px solid var(--pink);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(135, 69, 55, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.loc-icon {
    width: 32px;
    height: 32px;
    fill: var(--pink);
    flex-shrink: 0;
    margin-top: 2px;
}

.loc-info strong {
    display: block;
    color: var(--brown);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.loc-info span {
    color: var(--brown);
    opacity: 0.8;
    font-size: 1rem;
}

.location-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(135, 69, 55, 0.1);
    min-height: 350px;
}

.location-map iframe {
    display: block;
}

/* Contact & Booking Section */
.cb-section {
    background-color: var(--cream);
    padding: 6rem 0;
}

.divider-accent {
    width: 60px;
    height: 3px;
    background-color: var(--pink);
    margin: 0 auto;
    border-radius: 2px;
}

.contact-booking-layout {
    display: flex;
    gap: 3rem;
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
}

.cb-card {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(135, 69, 55, 0.1);
    border-top: 4px solid var(--teal);
    display: flex;
    flex-direction: column;
}

.booking-card {
    border-top: 4px solid var(--pink);
}

.cb-card h3 {
    font-size: 1.8rem;
    border-bottom: 1px solid rgba(135, 69, 55, 0.1);
    padding-bottom: 1rem;
    color: var(--brown);
}

.contact-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--brown);
    font-size: 1.1rem;
    line-height: 1.6;
}

.cb-icon {
    width: 24px;
    height: 24px;
    fill: var(--teal);
    flex-shrink: 0;
    margin-top: 4px;
}

.cb-multi-line span {
    display: block;
}

.social-connect {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    fill: var(--teal);
    transition: fill 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    fill: var(--dark-green);
    transform: scale(1.1);
}




/* WhatsApp Float */
.whatsapp-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.whatsapp-container.show-whatsapp {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.wa-bubble {
    background-color: #fff;
    color: var(--brown);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    border: 1px solid #eaeaea;
}

.wa-bubble.show {
    opacity: 1;
    transform: translateX(0);
}

.wa-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse-wa 2.5s infinite;
    text-decoration: none;
}

.wa-icon {
    width: 36px;
    height: 36px;
    fill: #fff;
}

.wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    animation: none;
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Scroll Anim */
.fade-in-bottom {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-bottom.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.parallax-bg .zoom-img {
    background-attachment: fixed;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
        text-align: center;
    }

    .subtitle {
        font-size: 1.2rem;
        text-align: center;
    }

    .about-layout {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        height: 300px;
    }

    h2 {
        font-size: 2.5rem;
    }

    .parallax-bg .zoom-img {
        background-attachment: scroll;
    }

    .whatsapp-container {
        bottom: 20px;
        right: 20px;
    }

    .wa-btn {
        width: 50px;
        height: 50px;
    }

    .wa-icon {
        width: 28px;
        height: 28px;
    }

    .wa-bubble {
        display: none;
    }
}