:root {
    /* Color Palette */
    --color-primary-green: #3f481a;
    --color-primary-green-alt: #416326;
    --color-primary-brown: #604224;
    --color-primary-brown-light: #5a5240;
    --color-secondary-tan: #e8e2d2;
    --color-secondary-tan-dark: #cec4a6;
    --color-secondary-green: #bcd576;
    
    --color-text-main: #000000;
    --color-text-muted: #5a5240;
    --color-white: #ffffff;

    /* Typography */
    --font-heading: 'Fraunces', serif;
    --font-body: 'Jost', sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

/* --- Utilities --- */
.container {
    padding: 0 120px;
}

.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    color: var(--color-primary-brown);
    display: block;
    margin-bottom: 16px;
}
.eyebrow-light {
    color: var(--color-secondary-green);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary-green-alt);
    color: var(--color-white);
    border: 1px solid var(--color-primary-brown);
}

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

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

.btn-secondary:hover {
    background-color: #a8bf6a;
    transform: translateY(-2px);
}

/* --- Navbar --- */
.navbar {
    width: 100%;
    padding: 0 0 24px 0;
    background-color: var(--color-white);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 76px 0 62px; /* Logo starts at exactly X=62 */
}

.nav-logo img {
    max-height: 320px;
    width: auto;
}

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

.nav-links a:not(.btn) {
    font-size: 13.1px;
    letter-spacing: 1.57px;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--color-text-main);
}

/* --- Hero Section --- */
.hero-text {
    padding: 0px 76px 60px 71px; /* H1 starts at exactly X=71 */
}

.hero-text-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: center;
    gap: 50px;
    margin: 0 auto;
}

.hero-text-grid h1 {
    font-size: 70px;
    line-height: 1.1;
    letter-spacing: -0.8px;
    color: var(--color-text-main);
    text-align: left; /* Force left alignment */
    margin-top: 0;
    margin-left: 0;
    padding-left: 0;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 16.8px;
    line-height: 27.7px;
    color: var(--color-primary-green-alt);
    font-weight: 400;
    letter-spacing: 0.34px;
    font-style: italic;
    max-width: 520px;
    margin-left: auto;
}

.hero-subtitle p {
    margin-bottom: 15px;
}

.hero-subtitle p:last-child {
    margin-bottom: 0;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Arrow buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-size: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.25s, transform 0.2s;
    line-height: 1;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.38);
    transform: translateY(-50%) scale(1.08);
}

.slider-prev { left: 28px; }
.slider-next { right: 28px; }

/* Dot indicators */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.2s;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.25);
}

/* Caption bar below slider */
.slider-caption-bar {
    background-color: var(--color-secondary-tan);
    border-bottom: 1px solid var(--color-secondary-tan-dark);
    padding: 12px 120px;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.slider-caption {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
    align-items: baseline;
    margin: 0;
    font-family: var(--font-body);
    font-size: 12.5px;
    color: var(--color-primary-brown-light);
    letter-spacing: 0.2px;
    min-height: 1.4em; /* reserve space so bar height is stable */
}

.caption-title {
    font-weight: 500;
    color: var(--color-primary-brown);
}

.caption-credit {
    font-weight: 300;
    font-style: italic;
}

/* Caption fade transition */
.slider-caption.fade-out {
    opacity: 0;
    transition: opacity 0.25s ease;
}

.slider-caption.fade-in {
    opacity: 1;
    transition: opacity 0.25s ease;
}

/* --- Intro Section --- */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.intro-heading h2 {
    font-size: 38px;
    line-height: 1.1;
    color: var(--color-primary-green);
    margin-bottom: 24px;
}
.intro-body {
    background-color: var(--color-secondary-tan);
    padding: 40px;
    border-radius: 8px;
}

.intro-body h2 {
    font-size: 38px;
    color: var(--color-primary-green);
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-body p {
    font-size: 17px;
    color: var(--color-primary-brown-light);
    margin-bottom: 20px;
}

.snapshot-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 16px;
    color: var(--color-primary-brown-light);
}

.snapshot-table th,
.snapshot-table td {
    padding: 16px 0;
    border-bottom: 1px solid rgba(63, 72, 26, 0.15);
    text-align: left;
    vertical-align: top;
}

.snapshot-table th {
    font-weight: 600;
    color: var(--color-primary-green);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    padding-top: 0;
}

.snapshot-table td:first-child {
    width: 35%;
    color: var(--color-primary-green);
    padding-right: 20px;
}

/* --- Snapshot Section --- */
.snapshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 60px;
    padding-bottom: 100px;
}

.snapshot-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 40px;
    background-color: var(--color-white);
}

.card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-secondary-green);
    border-radius: 24px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.snapshot-card h3 {
    font-size: 20px;
    color: var(--color-primary-brown);
    margin-bottom: 16px;
}

.snapshot-card ul li {
    font-size: 15px;
    color: #6a6250;
    margin-bottom: 8px;
}

.snapshot-card p {
    font-size: 15px;
    color: #6a6250;
}

/* --- Hotels Section --- */
.hotels {
    background-color: var(--color-secondary-tan);
}

.hotels-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.hotels-header h2 {
    font-size: 48px;
    color: var(--color-primary-green);
    max-width: 500px;
    line-height: 1.1;
    margin-top: 0;
}

.hotels-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-primary-brown);
}

.hotels-intro {
    font-size: 18px;
    color: var(--color-primary-brown-light);
    max-width: 1200px;
    margin-bottom: 50px;
}

.hotels-intro a {
    color: var(--color-primary-green);
    text-decoration: underline;
}

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

.hotel-card {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    aspect-ratio: 389.33 / 300;
}

.hotel-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: var(--hover-img);
    opacity: 0;
    transition: opacity 0.45s ease;
    border-radius: 8px;
}

.hotel-card:hover::after {
    opacity: 1;
}

.card-tall {
    grid-row: span 2;
    aspect-ratio: auto;
    height: 100%;
}

.hotel-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(36,30,18,0.8), rgba(36,30,18,0));
    color: var(--color-white);
    z-index: 1;
}

.hotel-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.hotel-info p {
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

/* --- FAQ Section --- */
.faq h2 {
    font-size: 38px;
    color: var(--color-primary-green);
    margin-bottom: 40px;
}

.faq-accordion details {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 20px 0;
}

.faq-accordion summary {
    font-size: 20px;
    font-family: var(--font-heading);
    color: var(--color-primary-brown);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-accordion summary h3 {
    font-size: 20px;
    font-weight: 300;
    margin: 0;
    color: inherit;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary::after {
    content: '+';
    font-size: 24px;
}

.faq-accordion details[open] summary::after {
    content: '-';
}

.faq-accordion p {
    padding-top: 15px;
    color: var(--color-primary-brown-light);
    font-size: 16px;
}

/* --- CTA Section --- */
.cta {
    background: linear-gradient(to bottom, rgba(67,45,24,0.78), rgba(63,72,26,0.85)), url('../Melvyns at Ingleside estate PS Historical society.jpg');
    background-size: cover;
    background-position: center;
    min-height: 585px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    text-align: center;
}

.cta h2 {
    font-size: 58px;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

/* --- Footer --- */
.footer {
    background-color: #432d18;
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 60px;
    margin-bottom: 30px;
}

.footer-brand img {
    height: 120px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    max-width: 300px;
}

.footer-links h4 {
    font-family: var(--font-body);
    color: var(--color-secondary-green);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}

/* --- Newsletter --- */
.newsletter-section {
    background-color: var(--color-secondary-tan);
    padding: 60px 0;
    text-align: center;
}
.newsletter-section h2 {
    font-size: 32px;
    color: var(--color-primary-green);
    margin-top: 0;
    margin-bottom: 20px;
}
.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.newsletter-form input[type="email"] {
    padding: 12px 20px;
    border: 1px solid var(--color-primary-brown-light);
    border-radius: 30px;
    width: 300px;
    font-family: var(--font-body);
    font-size: 16px;
}

/* --- Partner Logos --- */
.partner-logos-section {
    padding: 0 0 100px;
    text-align: center;
    background-color: var(--color-white);
}
.partner-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
}
.partner-logos-grid img {
    max-height: 80px;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
}
.partner-logos-grid img:hover {
    filter: grayscale(0%);
}

/* --- Content Accordion (Photography Page) --- */
.content-accordion details {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 20px 30px;
    background-color: #f7f5f0;
    margin-bottom: 15px;
    border-radius: 8px;
}
.content-accordion summary {
    font-size: 26px;
    font-weight: 500;
    font-family: var(--font-heading);
    color: var(--color-primary-green);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.content-accordion summary::-webkit-details-marker {
    display: none;
}
.content-accordion summary::after {
    content: '↓';
    font-size: 24px;
}
.content-accordion details[open] summary::after {
    content: '↑';
}
.content-accordion .content-body {
    padding-top: 20px;
}

/* --- Mailchimp Form Messages --- */
.mc-message {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
}

.mc-message.success {
    color: var(--color-primary-green);
}

.mc-message.error {
    color: #d9534f;
}

.footer-links .mc-message {
    font-size: 15px;
}

.footer-links .mc-message.success {
    color: var(--color-white);
}

/* --- Responsive & Utilities --- */
.intro-text-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Base class for mobile menu toggle (hidden on desktop) */
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 1024px) {
    .container { padding-left: 40px; padding-right: 40px; }
    .hero { padding-left: 40px; }
    .intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .snapshot-grid { grid-template-columns: 1fr; }
    .hotels-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .hero { padding-left: 20px; }
    .navbar { padding: 20px; position: relative; }
    
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 28px;
        color: var(--color-primary-green);
        cursor: pointer;
        padding: 5px;
        margin-left: auto;
    }
    .nav-links { 
        display: none; 
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--color-white);
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 100;
        gap: 20px;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-container { padding: 0 20px; }
    .nav-logo img { max-height: 230px; }

    /* Hero Slider */
    .hero-slider { height: 40vh; min-height: 250px; }

    /* Layout paddings */
    .section-padding { padding-top: 60px; padding-bottom: 60px; }
    .hero-text { padding: 0 20px 40px 20px; }
    .slider-caption-bar { padding: 12px 20px; }
    
    /* Intro Text Cols */
    .intro-text-cols { grid-template-columns: 1fr; gap: 30px; }

    /* Hero Text */
    .hero-text-grid { grid-template-columns: 1fr; gap: 20px; }
    .hero-text-grid h1 { 
        font-size: 40px; 
        white-space: normal; 
    }
    .hero-subtitle { margin-left: 0; }
    
    /* Override embedded page-header h1 nowrap */
    .page-header h1 { white-space: normal !important; }

    /* Hotels Grid */
    .hotels-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .hotels-grid { grid-template-columns: 1fr; grid-auto-rows: min-content; }
    .hotel-card { aspect-ratio: 4 / 3; }
    .card-tall { grid-row: span 1; height: auto; }

    /* Forms & Elements */
    .desktop-only { display: none; }
    .cta { min-height: auto; padding: 40px 20px; }
    .cta h2 { font-size: 36px; }
    .cta p { margin-bottom: 20px; }
    .cta-content div { flex-wrap: wrap; }
    
    .hotels-section { padding-bottom: 30px; }
    
    .newsletter-section { padding: 40px 0; }
    .newsletter-section h2 { font-size: 26px; margin-bottom: 24px; }
    .newsletter-form { flex-direction: column; align-items: center; gap: 16px; }
    .newsletter-form input[type="email"] { width: 100%; max-width: 360px; }
    .partner-logos-grid { gap: 30px; }
    
    /* Footer Mobile Enhancements */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-brand, .footer-links:last-child { grid-column: span 2; }
    .footer-brand img { height: 80px; }
    
    .footer .newsletter-form { 
        flex-direction: row !important; 
        gap: 8px !important; 
        align-items: stretch;
    }
    .footer .newsletter-form input[type="email"] {
        flex: 1;
        min-width: 0;
        padding: 10px 12px !important;
        font-size: 14px !important;
    }
    .footer .newsletter-form button {
        padding: 10px 16px !important;
        white-space: nowrap;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .nav-logo img { max-height: 173px; }
}
