/* CSS RESET & VARIABLES */
:root {
    --primary-forest: #1F3A36;
    --warm-beige: #E7DCCB;
    --soft-ivory: #F8F5F0;
    --charcoal: #2A2A2A;
    --muted-gold: #B89B72;
    --white: #FFFFFF;
    --overlay: rgba(31, 58, 54, 0.4);
    --card-shadow: 0 10px 30px rgba(42, 42, 42, 0.05);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--soft-ivory);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary-forest);
    line-height: 1.25;
}

p {
    font-size: 1rem;
    font-weight: 300;
    color: #555555;
}

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

/* NAVIGATION BAR */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 8%;
    transition: var(--transition);
}

.navbar.scrolled {
    position: fixed;
    background-color: rgba(248, 245, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 8%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(231, 220, 203, 0.4);
}

.navbar.scrolled .logo-text, 
.navbar.scrolled .nav-links a {
    color: var(--primary-forest);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--muted-gold);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--muted-gold);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--muted-gold);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-forest);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    border: 1px solid var(--primary-forest);
    color: var(--primary-forest);
}

.btn-outline-dark:hover {
    background-color: var(--primary-forest);
    color: var(--white);
    transform: translateY(-2px);
}

/* HERO SECTION - HIGH-CONTRAST BRAND GRADIENT */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(to bottom, rgba(31, 58, 54, 0.75) 0%, rgba(15, 32, 29, 0.6) 50%, rgba(31, 58, 54, 0.8) 100%), 
         url('../assets/hero.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 850px;
    color: var(--white);
    animation: fadeIn 1.2s ease-out;
}

.hero h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 24px;
    font-weight: 400;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* SECTION UTILITIES */
.section-padding {
    padding: 120px 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.section-header span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--muted-gold);
    font-weight: 500;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.6rem;
}

/* ABOUT SECTION */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background-color: var(--soft-ivory);
}

.about-content {
    padding-right: 20px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(31, 58, 54, 0.05);
    color: var(--primary-forest);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.about-section h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.about-section p {
    margin-bottom: 35px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-image-container {
    position: relative;
}

.about-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
}

/* FEATURED ROOMS SECTION */
.rooms-section {
    background-color: var(--white);
}

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

.room-card {
    background-color: var(--soft-ivory);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(231, 220, 203, 0.3);
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(42, 42, 42, 0.08);
}

.room-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

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

.room-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--white);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-forest);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.room-content {
    padding: 30px;
}

.room-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.room-desc {
    font-size: 0.95rem;
    margin-bottom: 25px;
    color: #666;
}

.room-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(231, 220, 203, 0.5);
    padding-top: 20px;
    margin-bottom: 25px;
}

.room-amenities {
    display: flex;
    gap: 15px;
    color: var(--muted-gold);
    font-size: 0.95rem;
}

.room-price {
    font-size: 1.15rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-forest);
    font-weight: 600;
}

.room-price span {
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: #777;
}

.room-card .btn {
    width: 100%;
    text-align: center;
}

/* AMENITIES SECTION */
.amenities-section {
    background-color: var(--soft-ivory);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.amenities-image-wrapper {
    height: 650px;
}

.amenities-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
}

.amenities-right h2 {
    font-size: 2.6rem;
    margin-bottom: 40px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.amenity-card {
    background-color: var(--warm-beige);
    padding: 30px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.4);
}

.amenity-card:hover {
    background-color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.amenity-icon {
    font-size: 1.6rem;
    color: var(--primary-forest);
    margin-bottom: 16px;
}

.amenity-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.amenity-card p {
    font-size: 0.9rem;
    color: #5A5A5A;
}

/* GALLERY SECTION */
.gallery-section {
    background-color: var(--white);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 58, 54, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    padding: 20px;
    text-align: center;
}

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

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

.gallery-item.tall {
    grid-row: span 2;
}
.gallery-item.wide {
    grid-column: span 1;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    background-color: var(--soft-ivory);
}

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

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(231, 220, 203, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: var(--muted-gold);
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1rem;
    color: #4A4A4A;
    margin-bottom: 30px;
    line-height: 1.7;
}

.guest-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.guest-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-forest);
}

.guest-info span {
    font-size: 0.8rem;
    color: #888;
}

/* BOOKING CTA SECTION */
.booking-cta-section {
    background-color: var(--white);
    padding-bottom: 120px;
}

.cta-banner {
    background-color: var(--primary-forest);
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    box-shadow: 0 20px 50px rgba(31, 58, 54, 0.15);
}

.cta-left {
    padding: 80px;
    color: var(--white);
}

.cta-left h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-left p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 500px;
}

.cta-right {
    height: 100%;
    min-height: 450px;
}

.cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FOOTER */
footer {
    background-color: #142623;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 8% 30px 8%;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo-text {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--muted-gold);
    color: var(--primary-forest);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-col ul li a:hover {
    color: var(--muted-gold);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.contact-info i {
    color: var(--muted-gold);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-section, .amenities-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .amenities-image-wrapper {
        height: 450px;
    }
    .cta-banner {
        grid-template-columns: 1fr;
    }
    .cta-right {
        height: 350px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 5%;
    }
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .rooms-grid, .testimonials-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-auto-rows: 280px;
    }
    .gallery-item.tall {
        grid-row: span 1;
    }
    .section-padding {
        padding: 80px 5%;
    }
    .cta-left {
        padding: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
