/* ===== CSS Custom Properties ===== */
:root {
    --color-teal: #1a7a7a;
    --color-teal-dark: #145f5f;
    --color-teal-light: #2a9d9d;
    --color-gold: #d4a843;
    --color-gold-dark: #b8922e;
    --color-gold-light: #e6c06a;
    --color-white: #ffffff;
    --color-sand: #f5f0e8;
    --color-sand-dark: #e8dfd2;
    --color-text: #2c2c2c;
    --color-text-light: #666666;
    --color-overlay: rgba(0, 0, 0, 0.45);

    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);

    --transition: 0.3s ease;
    --transition-slow: 0.6s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ===== Utility ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

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

.section {
    padding: var(--space-2xl) 0;
}

.section-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--color-teal-dark);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.section-description {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 680px;
    margin: 0 auto var(--space-xl);
    line-height: 1.8;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 168, 67, 0.4);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    transition: color var(--transition);
}

.navbar.scrolled .nav-logo {
    color: var(--color-teal-dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 0;
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-white);
}

.navbar.scrolled .nav-link {
    color: var(--color-text);
}

.navbar.scrolled .nav-link:hover {
    color: var(--color-teal);
}

.nav-link--cta {
    background-color: var(--color-gold);
    color: var(--color-white) !important;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background-color: var(--color-gold-dark);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .hamburger span {
    background-color: var(--color-text);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: 0 var(--space-md);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: var(--space-sm);
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* ===== About ===== */
.about {
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    font-size: 1.02rem;
}

.about-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-sand-dark);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-teal);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Accommodations ===== */
.accommodations {
    background-color: var(--color-sand);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.room-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.room-image {
    height: 240px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.room-info {
    padding: var(--space-md);
}

.room-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-teal-dark);
    margin-bottom: var(--space-xs);
}

.room-capacity {
    font-size: 0.9rem;
    color: var(--color-gold-dark);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.room-features {
    margin-bottom: var(--space-md);
}

.room-features li {
    font-size: 0.9rem;
    color: var(--color-text-light);
    padding: 0.25rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.room-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-teal-light);
}

.room-rate {
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-sand);
}

.room-rate a {
    color: var(--color-teal);
    font-weight: 600;
    font-size: 0.9rem;
}

.room-rate a:hover {
    color: var(--color-teal-dark);
}

/* ===== Amenities ===== */
.amenities {
    background-color: var(--color-white);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.amenity-card {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-md);
    background-color: var(--color-sand);
    transition: transform var(--transition), box-shadow var(--transition);
}

.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.amenity-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-sm);
    color: var(--color-teal);
}

.amenity-icon svg {
    width: 100%;
    height: 100%;
}

.amenity-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-teal-dark);
    margin-bottom: var(--space-xs);
}

.amenity-card p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===== Gallery ===== */
.gallery {
    background-color: var(--color-sand);
    padding-bottom: var(--space-2xl);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xs);
    padding: 0 var(--space-xs);
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    cursor: pointer;
}

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

/* ===== Location ===== */
.location {
    background-color: var(--color-white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.location-map iframe {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.location-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-teal-dark);
    margin-bottom: var(--space-md);
}

.direction-card {
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    background-color: var(--color-sand);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-teal);
}

.direction-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-teal-dark);
    margin-bottom: 0.3rem;
}

.direction-card p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.location-details {
    margin-top: var(--space-md);
}

.location-details p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    margin-bottom: 0.3rem;
}

.location-details strong {
    color: var(--color-text);
}

/* ===== Contact ===== */
.contact {
    background: linear-gradient(135deg, var(--color-teal-dark) 0%, var(--color-teal) 100%);
    color: var(--color-white);
}

.contact .section-label {
    color: var(--color-gold-light);
}

.contact .section-title {
    color: var(--color-white);
}

.contact .section-description {
    color: rgba(255, 255, 255, 0.85);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.contact-card {
    display: block;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--transition);
    color: var(--color-white);
}

.contact-card:hover {
    background-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--space-sm);
    color: var(--color-gold-light);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
}

.contact-card p {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.contact-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gold-light);
}

/* ===== Footer ===== */
.footer {
    background-color: #0f2e2e;
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer-links ul li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-gold-light);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all var(--transition);
}

.social-links a svg {
    width: 20px;
    height: 20px;
}

.social-links a:hover {
    background-color: var(--color-teal);
    border-color: var(--color-teal);
    color: var(--color-white);
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
}

/* ===== Fade-in Animation ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

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

@media (max-width: 768px) {
    /* Mobile Nav */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem var(--space-lg) var(--space-lg);
        transition: right var(--transition);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--color-text);
        font-size: 1.05rem;
        padding: 0.8rem 0;
        width: 100%;
    }

    .nav-menu .nav-link:hover {
        color: var(--color-teal);
    }

    .nav-menu .nav-link--cta {
        margin-top: var(--space-sm);
        text-align: center;
        color: var(--color-white) !important;
    }

    /* Mobile hamburger should be dark when menu is open */
    .hamburger.active span {
        background-color: var(--color-text);
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-image img {
        height: 300px;
    }

    .about-stats {
        justify-content: center;
    }

    /* Rooms */
    .rooms-grid {
        grid-template-columns: 1fr;
    }

    /* Amenities */
    .amenities-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .amenity-card {
        padding: var(--space-md) var(--space-sm);
    }

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

    /* Location */
    .location-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

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

    .about-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }
}
