/* ============================================
   ST CHARLES-MULLER'S HOTEL
   Warm & Friendly · Terracotta + Sand Palette
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-terracotta: #B56546;
    --color-terracotta-dark: #964E34;
    --color-terracotta-light: #D4916F;
    --color-sand: #F5E6D3;
    --color-sand-light: #FBF6F0;
    --color-sand-dark: #E8D5C0;
    --color-cream: #FFF9F4;
    --color-text: #3D2B1F;
    --color-text-light: #6B5344;
    --color-text-muted: #8C7060;
    --color-white: #FFFFFF;
    --color-dark: #2C1810;
    
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 2px 8px rgba(61, 43, 31, 0.08);
    --shadow-md: 0 4px 20px rgba(61, 43, 31, 0.10);
    --shadow-lg: 0 8px 40px rgba(61, 43, 31, 0.12);
    --shadow-xl: 0 16px 60px rgba(61, 43, 31, 0.14);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--color-terracotta-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-terracotta);
    color: var(--color-white);
    border-color: var(--color-terracotta);
    box-shadow: 0 4px 16px rgba(181, 101, 70, 0.3);
}

.btn-primary:hover {
    background: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(181, 101, 70, 0.4);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-terracotta);
    border-color: var(--color-white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-terracotta);
    border-color: var(--color-terracotta);
}

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

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

/* --- Section Shared --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    background: rgba(181, 101, 70, 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- Reveal Animation (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 249, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(181, 101, 70, 0.1);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-terracotta);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-light {
    color: var(--color-white);
}

.logo-icon {
    color: var(--color-terracotta);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    font-weight: 600;
    font-size: 15px;
    color: var(--color-text);
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

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

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.pexels.com/photos/29299050/pexels-photo-29299050.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    background-color: var(--color-terracotta-dark);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 24, 16, 0.72) 0%,
        rgba(181, 101, 70, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-sand);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: clamp(32px, 5.5vw, 64px);
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.trust-item svg {
    color: var(--color-sand);
}

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

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

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

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

.room-image {
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.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: 28px;
}

.room-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.room-info > p {
    color: var(--color-text-light);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.room-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.room-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.room-features li svg {
    color: var(--color-terracotta);
    flex-shrink: 0;
}

.room-info .btn {
    width: 100%;
    justify-content: center;
}

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

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.amenity-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(181, 101, 70, 0.06);
}

.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(181, 101, 70, 0.15);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--color-terracotta);
}

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

.amenity-card p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- Location --- */
.location {
    background: var(--color-sand-light);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.location-detail {
    display: flex;
    gap: 16px;
}

.location-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(181, 101, 70, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-terracotta);
    flex-shrink: 0;
}

.location-detail strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--color-text);
}

.location-detail p,
.location-detail a {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.location-detail a:hover {
    color: var(--color-terracotta);
}

.location-highlights {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
}

.location-highlights h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--color-terracotta);
}

.location-highlights ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--color-text-light);
}

.location-highlights li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-terracotta);
    border-radius: 50%;
    flex-shrink: 0;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    box-shadow: var(--shadow-md);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* --- Testimonial --- */
.testimonial {
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-terracotta-dark) 100%);
    padding: 80px 0;
}

.testimonial-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    position: relative;
}

.testimonial-quote svg.quote-mark {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
}

.testimonial-quote p {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 24px);
    font-style: italic;
    color: var(--color-white);
    line-height: 1.7;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-terracotta);
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
    color: var(--color-white);
}

.testimonial-author span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* --- CTA --- */
.cta {
    background: var(--color-sand);
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-content {
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.cta-content .section-tag {
    align-self: flex-start;
}

.cta-content h2 {
    font-size: clamp(26px, 3.5vw, 38px);
}

.cta-content > p {
    font-size: 17px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-image {
    overflow: hidden;
    min-height: 400px;
}

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

/* --- Footer --- */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-sand);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-terracotta-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
    color: var(--color-sand);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        min-height: 320px;
    }
    
    .cta-card {
        grid-template-columns: 1fr;
    }
    
    .cta-image {
        min-height: 280px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 249, 244, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(181, 101, 70, 0.1);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        padding: 40px 28px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 56px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .room-info {
        padding: 20px;
    }
}
