/* --- Variables & Reset --- */
:root {
    --color-terracotta: #C05838;
    --color-terracotta-dark: #9A4428;
    --color-sand: #E6DCCF;
    --color-sand-light: #F4EFE8;
    --color-sand-dark: #C8B8A6;
    --color-text-dark: #2C2420;
    --color-text-light: #5C504A;
    --color-white: #FFFFFF;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    
    --spacing-section: 5rem;
    --spacing-container: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    background-color: var(--color-sand-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

.section-tag {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-terracotta);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Layout Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

.section {
    padding: var(--spacing-section) 0;
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-terracotta);
    color: var(--color-white);
    border: 2px solid var(--color-terracotta);
}

.btn-primary:hover {
    background-color: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
}

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

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-text-dark);
}

.btn-dark {
    background-color: var(--color-text-dark);
    color: var(--color-white);
    border: 2px solid var(--color-text-dark);
}

.btn-dark:hover {
    background-color: transparent;
    color: var(--color-text-dark);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(244, 239, 232, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: padding 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    letter-spacing: -0.02em;
}

.logo-sub {
    font-weight: 400;
    font-style: italic;
    color: var(--color-terracotta);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-dark);
    position: relative;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--color-terracotta);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-terracotta);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    background-color: transparent;
    border: 1px solid var(--color-text-dark);
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

.btn-nav:hover {
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-dark);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-sand-light);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-text-dark);
}

.mobile-link:hover {
    color: var(--color-terracotta);
}

.btn-mobile-book {
    margin-top: 1rem;
    background-color: var(--color-terracotta);
    color: var(--color-white);
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 1rem;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://images.pexels.com/photos/18587954/pexels-photo-18587954.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(44, 36, 32, 0.4), rgba(44, 36, 32, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-terracotta);
    z-index: -1;
}

.about-image-wrapper img {
    width: 100%;
    border-radius: 2px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-content .lead {
    font-size: 1.2rem;
    color: var(--color-terracotta);
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

.features-list {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.features-list svg {
    color: var(--color-terracotta);
}

/* --- Rooms Section --- */
.rooms {
    background-color: var(--color-sand);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.room-card {
    background-color: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

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

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

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

.room-info {
    padding: 2rem;
}

.room-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-dark);
}

.room-info p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.amenities {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.amenities span {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    background-color: var(--color-sand-light);
    color: var(--color-text-dark);
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Location Section --- */
.location-strip {
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.location-text p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-sand);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

.link-arrow:hover {
    color: var(--color-terracotta);
}

.map-img {
    width: 100%;
    border-radius: 4px;
    opacity: 0.9;
    filter: grayscale(20%);
}

/* --- Footer --- */
.footer {
    background-color: var(--color-sand-light);
    border-top: 1px solid var(--color-sand-dark);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--color-terracotta);
    font-style: italic;
}

.footer-contact h4, .footer-hours h4 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--color-terracotta);
}

.footer-contact p, .footer-hours p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.phone-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.phone-link:hover {
    color: var(--color-terracotta);
}

.footer-bottom {
    border-top: 1px solid var(--color-sand-dark);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* --- Animations (Progressive Enhancement) --- */
/* Default state is visible to ensure content renders even if JS fails */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transition: all 0.8s ease-out;
}

.reveal-up { transform: translateY(0); }
.reveal-left { transform: translateX(0); }
.reveal-right { transform: translateX(0); }

/* Animation classes applied by JS */
.animated.reveal-up { transform: translateY(30px); }
.animated.reveal-left { transform: translateX(-30px); }
.animated.reveal-right { transform: translateX(30px); }

/* Reduced motion preference - stop animations */
@media (prefers-reduced-motion: reduce) {
    .animated.reveal-up,
    .animated.reveal-left,
    .animated.reveal-right {
        transform: none;
        opacity: 1;
    }
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .about-grid, .location-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image-wrapper {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}
