/* ===== Mocha Palette =====
   --espresso:   #3B2314
   --coffee:     #6B4226
   --caramel:    #C68B59
   --caramel-dk: #A5703B
   --cream:      #FDF6EE
   --latte:      #FFFAF5
   --mocha-text: #5C4033
   --muted:      #9E8E78
   --border:     #E8DDD0
============================= */

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    color: #5C4033;
    background-color: #FDF6EE;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== Navigation ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 40px;
    background-color: rgba(59, 35, 20, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

nav.scrolled {
    background-color: rgba(59, 35, 20, 0.97);
    box-shadow: 0 4px 30px rgba(59, 35, 20, 0.3);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 4px;
}

.nav-links a {
    color: rgba(253, 246, 238, 0.75);
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    color: #FDF6EE;
    background-color: rgba(198, 139, 89, 0.25);
}

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #FDF6EE;
    background: none;
    border: none;
    padding: 4px;
}

#closeBtn {
    display: none;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FDF6EE;
    overflow: hidden;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(59, 35, 20, 0.7) 0%,
        rgba(59, 35, 20, 0.3) 40%,
        rgba(59, 35, 20, 0.6) 100%
    );
    z-index: 1;
}

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

.hero-welcome {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #C68B59;
    margin-bottom: 12px;
}

.hero-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.05;
    text-shadow: 0 2px 20px rgba(59, 35, 20, 0.3);
    color: #FDF6EE;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 300;
    color: rgba(253, 246, 238, 0.85);
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background-color: #C68B59;
    color: #FDF6EE;
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(198, 139, 89, 0.35);
}

.cta-button:hover {
    background-color: #A5703B;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(198, 139, 89, 0.45);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2.5s infinite;
    opacity: 0.6;
}

.scroll-hint svg {
    width: 28px;
    height: 28px;
    stroke: #FDF6EE;
    fill: none;
    stroke-width: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== Sections (shared) ===== */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C68B59;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: #3B2314;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: #9E8E78;
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

/* ===== Rooms ===== */
.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.room-card {
    background: #FFFAF5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(59, 35, 20, 0.05);
    border: 1px solid #E8DDD0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(59, 35, 20, 0.1);
}

.room-card-img {
    overflow: hidden;
}

.room-card-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.room-card-body {
    padding: 28px;
}

.room-card-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    margin-bottom: 10px;
    color: #3B2314;
}

.room-card-body p {
    color: #9E8E78;
    font-size: 15px;
    line-height: 1.7;
}

/* ===== Facilities ===== */
.facilities-section {
    background: #FFFAF5;
    border-top: 1px solid #E8DDD0;
    border-bottom: 1px solid #E8DDD0;
}

.facilities-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.facility-item {
    padding: 36px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.facility-item:hover {
    background-color: #FDF6EE;
    border-color: #E8DDD0;
    box-shadow: 0 4px 20px rgba(59, 35, 20, 0.05);
}

.facility-icon {
    font-size: 40px;
    margin-bottom: 18px;
}

.facility-item h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #3B2314;
}

.facility-item p {
    color: #9E8E78;
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Gallery ===== */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 10px 24px;
    border: 1px solid #E8DDD0;
    border-radius: 50px;
    background: transparent;
    color: #9E8E78;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-tab:hover {
    border-color: #C68B59;
    color: #C68B59;
}

.gallery-tab.active {
    background: #C68B59;
    border-color: #C68B59;
    color: #FDF6EE;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

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

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(59, 35, 20, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 16px;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Make first two images in gallery larger */
.gallery-item:nth-child(1) {
    grid-column: span 2;
}

.gallery-item:nth-child(1) img {
    height: 340px;
}

/* ===== Contact ===== */
.contact-section {
    background: linear-gradient(to bottom, #FFFAF5, #FDF6EE);
    border-top: 1px solid #E8DDD0;
}

.contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 20px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    text-align: center;
    padding: 40px 28px;
    border-radius: 20px;
    background: #FFFAF5;
    border: 1px solid #E8DDD0;
    transition: all 0.3s ease;
    cursor: default;
}

a.contact-card {
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(59, 35, 20, 0.08);
    border-color: #C68B59;
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(198, 139, 89, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: #C68B59;
    fill: none;
    stroke-width: 2;
}

.contact-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    color: #3B2314;
    margin-bottom: 8px;
}

.contact-card p {
    color: #5C4033;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
}

.contact-card-hint {
    color: #9E8E78;
    font-size: 13px;
}

/* ===== Map ===== */
.contact-map {
    margin-top: 50px;
    position: relative;
    padding-bottom: 45%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(59, 35, 20, 0.08);
    border: 1px solid #E8DDD0;
}

.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== Footer ===== */
footer {
    background-color: #3B2314;
    color: rgba(253, 246, 238, 0.5);
    text-align: center;
    padding: 28px 20px;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.footer-credit {
    margin-top: 6px;
    font-size: 12px;
    color: rgba(253, 246, 238, 0.35);
}

.footer-credit a {
    color: #C68B59;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: #e0a96e;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .room-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
    }

    .hero-content h1 {
        font-size: 54px;
    }

    .section-title {
        font-size: 34px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 10px 20px;
    }

    .logo img {
        height: 34px;
    }

    .menu-toggle {
        display: block;
    }

    #closeBtn {
        display: block;
        text-align: center;
        padding: 12px;
        cursor: pointer;
        color: rgba(253, 246, 238, 0.5);
        font-size: 13px;
        border-top: 1px solid rgba(198, 139, 89, 0.15);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        flex-direction: column;
        background-color: rgba(59, 35, 20, 0.97);
        backdrop-filter: blur(16px);
        border-radius: 0 0 20px 20px;
        padding: 8px 0;
        display: none;
        box-shadow: 0 12px 30px rgba(59, 35, 20, 0.4);
    }

    .nav-links a {
        padding: 14px 24px;
        text-align: center;
        border-radius: 0;
    }

    nav.active .nav-links {
        display: flex;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero {
        background-attachment: scroll;
    }

    .room-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .facilities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 1;
    }

    .gallery-item:nth-child(1) img,
    .gallery-item img {
        height: 200px;
    }

    section {
        padding: 70px 20px;
    }

    .facilities-wrapper {
        padding: 70px 20px;
    }

    .contact-wrapper {
        padding: 70px 20px;
    }

    .section-title {
        font-size: 30px;
    }

    .contact-map {
        padding-bottom: 60%;
        border-radius: 16px;
    }
}

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

    .hero-welcome {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 14px;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img,
    .gallery-item:nth-child(1) img {
        height: 220px;
    }

    .logo img {
        height: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .contact-map {
        padding-bottom: 75%;
        border-radius: 12px;
        margin-top: 36px;
    }
}
