/* Global Styles */
:root {
    --color-dark: #1a1a1a;
    --color-light: #fdfaf6;
    --color-gold: #c0a070;
    --color-text: #555;
    --font-heading: 'Lora', serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: var(--font-heading);
    color: var(--color-dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: var(--color-gold);
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.section-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.section-intro .subtitle {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-intro h2 {
    font-size: 2.5rem;
    margin-top: 0.5rem;
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav li {
    margin-left: 2rem;
}

header nav a {
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

header nav a:hover {
    color: var(--color-gold);
}

/* Hamburger Button */
.hamburger {
    display: none; /* Desktop hidden */
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff; /* white lines */
    display: block;
    border-radius: 2px;
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .mobile-nav {
        display: none;
    }
    .hamburger {
        display: flex; /* show hamburger */
    }
}

/* Mobile nav (initially hidden) */
.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-nav {
        display: block;
        position: absolute;
        top: 70px;
        right: 0;
        background: #111;
        width: 100%;
        padding: 20px 0;
        text-align: center;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s ease;
    }

    .mobile-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    /* Hide CTA button when menu open (optional) */
    .mobile-nav.active + .cta-button {
        display: none;
    }
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
.hamburger span {
    transition: 0.3s;
}


.cta-button {
    background-color: var(--color-gold);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #a08050;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/111480\(1\).jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--color-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

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

.feature-item img {
    margin-bottom: 1rem;
    width: 80px;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Quote Section */
.quote {
    padding: 6rem 0;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/7361\(1\).jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.quote p {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Accommodation Section */
.accommodation {
    padding: 6rem 0;
    background-color: var(--color-light);
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.room-card {
    text-align: center;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 150px 150px 0 0;
}

.room-card .room-image-arch {
    overflow: hidden;
    /* This creates the arch effect from the design */
    border-radius: 150px 150px 0 0;
    line-height: 0; /* Fixes image gap */
}

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

.room-card h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.5rem 0;
}

.room-card p {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Facilities Section */
.facilities {
    padding: 6rem 0;
}

.facilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.facility-card {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    color: #fff;
}

.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
}

.facility-content {
    position: relative; /* Ensure content is above the overlay */
    z-index: 2;
}

.facility-content h3 {
    color: #fff;
    font-size: 2rem;
}

.facility-content p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Social Section */
.social {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--color-light);
}

.social a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-dark);
    font-style: italic;
}

/* Footer */
footer {
    background-color: var(--color-dark);
    color: #aab;
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 4rem;
}

.footer-col .logo {
    color: #fff;
    font-size: 2rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #aab;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col address {
    font-style: normal;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.75rem;
    border: 1px solid #444;
    background: #333;
    color: #fff;
    border-radius: 5px 0 0 5px;
}

.newsletter-form button {
    background: var(--color-gold);
    color: #fff;
    border: none;
    padding: 0 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #fff;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .room-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
/* Desktop always show menu */
@media (min-width: 769px) {
    .mobile-nav {
        display: block !important;
    }

    .mobile-nav ul {
        display: flex !important;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        position: relative;
        background: var(--color-dark);
    }
    header .container {
        flex-direction: row;        /* ❗保持横排 */
        justify-content: space-between;
        align-items: center;
    }
    header nav {
        margin: 1rem 0;
    }
    header nav li {
        margin: 0 0.5rem;
    }
        header .logo {
        order: 1;
    }

    /* 中：Book Now */
    .cta-button {
        order: 2;
        margin-left: auto;
        margin-right: auto;
    }

    /* 右：Hamburger */
    .hamburger {
        order: 3;
    }
    .hero {
        height: 70vh;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    .room-grid {
        grid-template-columns: 1fr;
    }
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .newsletter-form {
        justify-content: center;
    }
}