/* 
   LUXURY MINIMALIST DESIGN 2026 
   Style: High-End Hotel / AESOP Aesthetic
*/

@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Tenor+Sans&display=swap');

:root {
    color-scheme: light;

    --bg: #FFFFFF;
    --text: #111111;
    --text-muted: #555555;
    --accent: #111111;
    /* Stark Black */

    --line-color: #E5E5E5;

    --font-display: "Italiana", serif;
    --font-body: "Tenor Sans", sans-serif;

    --spacing-unit: 8px;
    --container-width: 1400px;
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0A0A0A;
    --text: #F0F0F0;
    --text-muted: #A0A0A0;
    --accent: #333333;
    /* Dark Charcoal for softer buttons in dark mode */
    --line-color: #333333;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s ease, color 0.3s ease;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* TYPOGRAPHY */
h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 2rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--line-color);
    padding-bottom: 1rem;
}

p {
    max-width: 100%;
    /* Allow full width */
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* UTILITIES */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5vw;
}

/* HEADER - CENTERED LOGO */
.site-header {
    padding: 40px 0;
    border-bottom: 1px solid var(--line-color);
}

.header-top {
    position: relative;
    /* Anchor for absolute actions */
}

.header-top__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

/* BRAND */
.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.brand img {
    width: auto;
    max-width: 200px;
    /* Allow it to be wider */
    height: auto;
    max-height: 120px;
    /* Reasonable height limit */
    object-fit: contain;
    /* Standard appearance */
    transition: transform 0.3s;
}

.brand:hover img {
    transform: scale(1.05);
    /* Slight zoom instead of greyscale toggle */
}

.brand__title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.brand__details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.brand__details a {
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.brand__details a:hover {
    border-color: var(--text-muted);
}

.brand__tag {
    /* Deprecated, but keeping style rule just in case to prevent breakage if present */
    display: none;
}

/* ACTIONS (Theme + Book) */
.header-actions {
    position: absolute;
    top: 20px;
    right: 5vw;
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--line-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--text);
    color: var(--bg);
}

.theme-toggle__label {
    display: none;
}

.button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 1px solid var(--text);
    transition: all 0.3s ease;
}

.button--primary {
    background: var(--text);
    color: var(--bg);
}

[data-theme="dark"] .button--primary {
    background: var(--accent);
    /* Dark Charcoal in Dark Mode */
    color: #FFFFFF;
    border-color: var(--accent);
}

.button--primary:hover {
    background: transparent;
    color: var(--text);
    border-color: var(--text);
}

/* NAVIGATION */
.header-nav {
    margin-top: 40px;
    border-top: 1px solid var(--line-color);
    /* Double border effect */
    padding-top: 20px;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 40px;
}

.nav__link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    padding-bottom: 5px;
    color: var(--text-muted);
}

.nav__link:hover,
.nav__link.is-active {
    color: var(--text);
}

.nav__link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--text);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.is-active::after {
    width: 100%;
}

/* HERO SECTION - VERTICAL STACK (Text Top, Image Bottom) */
.hero {
    border-bottom: 1px solid var(--line-color);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column stack */
}

/* Ensure Text comes first, then Media */
.hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 5vw;
    /* Reduced from 80px */
    text-align: center;
    /* Center align for dramatic effect */
    align-items: center;
}

/* ... existing code ... */

/* CONTENT PAGES */
.page-content {
    padding: 20px 0;
    /* Reduced from 60px */
}

.content-card {
    /* No 'card' look - pure clean text */
    margin-bottom: 40px;
    /* Reduced from 60px */
}

.price-list {
    list-style: none;
    max-width: 800px;
    margin-bottom: 40px;
    /* Reduced from 60px */
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    /* Reduced from 20px */
    border-bottom: 1px solid var(--line-color);
}

.price-list li span:first-child {
    font-family: var(--font-display);
    font-size: 1.5rem;
    flex: 1;
    padding-right: 20px;
}

/* Ensure right column (Price) is strictly right aligned and doesn't wrap weirdly */
.price-list li span:last-of-type {
    text-align: right;
    white-space: nowrap;
    margin-left: auto;
    font-weight: 600;
}

small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    margin-top: 5px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.4;
    white-space: normal;
}

/* SPECIALTIES GRID */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    /* Reduced from 40px */
    margin: 40px 0;
    /* Reduced from 60px */
}

.specialties-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    /* Reduced from 300px */
    border: 1px solid var(--line-color);
    font-family: var(--font-display);
    font-size: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    padding: 30px;
    /* Reduced from 40px */
    background: transparent;
    color: var(--text);
}

/* Dark Mode Logic for Hover & Buttons */
/* In light mode: Black hover. In dark mode: Dark Grey hover (not white) */
.specialties-grid a:hover {
    background: var(--accent);
    color: var(--bg);
    /* In dark mode, this is black (bg #0A0A0A) on dark grey - too low contrast */
    color: #FFFFFF;
    /* Force white text on the accent background for readability */
    border-color: var(--accent);
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 40px 0;
    /* Reduced from 80px */
    border-top: 1px solid var(--line-color);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* RESPONSIVE */
.hero__media {
    order: 2;
    /* Ensure image is below text */
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex !important;
        /* Override desktop hidden */
        flex-direction: column;
        justify-content: space-around;
        width: 35px;
        /* Slightly larger */
        height: 30px;
        /* Slightly larger */
        background: transparent;
        border: none;
        cursor: pointer;
        pointer-events: auto;
        /* Ensure clickable */
        padding: 0;
        z-index: 9999;
        /* Ensure it is top-most */
        position: absolute;
        /* Place strictly */
        top: 25px;
        /* Adjusted alignment */
        right: 5vw;
        /* Match container padding */
    }

    /* Increase hit area */
    .mobile-menu-toggle::after {
        content: '';
        position: absolute;
        top: -10px;
        bottom: -10px;
        left: -10px;
        right: -10px;
    }

    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        /* Thicker bars */
        background: var(--text);
        border-radius: 2px;
        /* Soft edges */
        transition: all 0.3s linear;
        position: relative;
        transform-origin: 1px;
    }

    /* Animation for "X" */
    .mobile-menu-toggle.is-active span:first-child {
        transform: rotate(45deg);
    }

    .mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
        width: 0;
    }

    .mobile-menu-toggle.is-active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .header-actions {
        position: static;
        /* Let it flow naturally in the column */
        margin-top: 20px;
        /* Space it out from the brand info */
        width: 100%;
        /* Mobile: Stack buttons vertically */
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 0 40px;
        /* Add some side padding on mobile so buttons aren't edge-to-edge */
    }

    .header-actions .button {
        width: 100%;
        text-align: center;
        display: block;
    }

    /* HIDE NAV by default on mobile, Show when active */
    .header-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        display: none;
        /* Hidden by default */
        position: fixed;
        inset: 0;
        background: var(--bg);
        z-index: 1000;
        padding: 100px 20px 40px;
        overflow-y: auto;
    }

    .header-nav.is-active {
        display: flex;
    }

    .nav {
        flex-direction: column;
        gap: 25px;
        font-size: 1.2rem;
    }

    .container {
        padding: 0 20px;
    }

    .hero__copy {
        padding: 40px 20px;
    }

    .hero__media {
        height: 40vh;
        min-height: 300px;
    }

    /* .eyebrow removed as it is globally hidden */
}

/* Base style for toggle - hidden on Desktop */
/* Base style for toggle - hidden on Desktop */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
        /* Force hidden on large screens */
    }
}

/* Footer Theme Toggle Styling */
.footer .theme-toggle {
    margin: 20px auto 0 auto;
    /* Top margin, centered */
    display: flex;
}

/* --- NEW SECTIONS (v24 Enhancements) --- */

/* TESTIMONIALS */
.testimonials-section {
    background-color: var(--bg);
    border-top: 1px solid var(--line-color);
    padding: 60px 0;
}

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

.testimonial-card {
    padding: 30px;
    border: 1px solid var(--line-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-stars {
    color: #D4AF37;
    /* Goldish for stars */
    letter-spacing: 5px;
    margin-bottom: 15px;
    display: block;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text);
}

.testimonial-author {
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* MAP SECTION */
.map-section {
    width: 100%;
    height: 450px;
    border-top: 1px solid var(--line-color);
    position: relative;
    background: #f0f0f0;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: contrast(90%) opacity(90%);
    /* Soften the map visuals */
    transition: filter 0.3s;
}

.map-section iframe:hover {
    filter: none;
}

/* BLOG GRID */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    border: 1px solid var(--line-color);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.blog-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--line-color);
}

.blog-card__content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__date {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.blog-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-card__link {
    margin-top: auto;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.blog-card:hover {
    border-color: var(--text);
}

@media (max-width: 768px) {
    .map-section {
        height: 300px;
    }
}

/* PAGE HERO (Sub-pages) */
.page-hero {
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--line-color);
}

.page-hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* SERVICE SHOWCASE (Town Pages) */
.services-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 40px 0;
}

.service-link-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid var(--line-color);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text);
}

.service-link-card h3 {
    font-size: 0.85rem;
    margin: 0;
    border: none;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.service-link-card__arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.service-link-card:hover {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

.service-link-card:hover .service-link-card__arrow {
    transform: translateX(4px);
    color: #FFFFFF;
}

/* CTA BLOCK */
.cta-block {
    margin: 60px 0 40px;
    padding: 50px 40px;
    border: 1px solid var(--line-color);
    text-align: center;
}

.cta-block h2 {
    border: none;
    padding-bottom: 0;
    margin-bottom: 1rem;
}

.cta-block p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-block__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* ENHANCED FOOTER */
.footer--enhanced {
    text-align: center;
    padding: 60px 0 40px;
    border-top: 1px solid var(--line-color);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    padding-bottom: 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 0;
}

.footer-col ul li {
    margin-bottom: 0;
    line-height: 1.8;
}

.footer-col ul li:not(:last-child)::after {
    content: "·";
    margin: 0 10px;
    color: var(--text-muted);
    opacity: 0.5;
}

.footer-col ul li a {
    color: var(--text-muted);
    transition: color 0.3s ease;
    text-transform: none;
    letter-spacing: 0.02em;
}

.footer-col ul li a:hover {
    color: var(--text);
}

/* Book Now button — own line, centered */
.footer-col:last-child ul li:last-child {
    flex-basis: 100%;
    text-align: center;
    margin-top: 10px;
}

.footer-col:last-child ul li:nth-last-child(2)::after {
    display: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--line-color);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Content list styling for new pages */
.content-card ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.content-card ul li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.content-card ul li a {
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s;
}

.content-card ul li a:hover {
    color: var(--text);
}

/* Inline content links */
.content-card p a {
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s;
}

.content-card p a:hover {
    color: var(--text);
}

@media (max-width: 768px) {
    .cta-block {
        padding: 30px 20px;
    }

    .footer-col ul li:not(:last-child)::after {
        margin: 0 6px;
    }
}