/* --- Base Styling & Variables (Option 2: Fresh & Coastal Spa) --- */
:root {
    --primary-bg: #f0f7fa;       /* Soft ice blue background tint */
    --secondary-bg: #ffffff;     /* Pure clean white for cards/blocks */
    --accent-dark: #2b353a;      /* Deep slate blue for high-contrast text and footers */
    --text-main: #2b353a;        /* Main body copy */
    --text-muted: #5c6b73;       /* Softer slate for secondary text */
    --logo-blue: #64c5fa;        /* Bright Sky Blue from your logo */
    --logo-coral: #f06a5d;       /* Vibrant Coral/Terracotta Pink from your logo */
    --font-heading: 'Playfair Display', 'Didot', 'Georgia', serif;
    --font-body: 'Avenir', 'Helvetica Neue', 'Arial', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--secondary-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Header & Nav --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e2edf2;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    height: 45px;
    width: 45px;
    object-fit: contain;
    border-radius: 50%;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-dark);
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 20px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--logo-coral);
}

.btn-book {
    background-color: var(--logo-coral); /* Coral highlight action */
    color: #fff;
    padding: 10px 24px;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-book:hover {
    background-color: #d65549;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--accent-dark);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 75vh;
    background-image: url('https://images.unsplash.com/photo-1610992015732-2449b76344bc?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8OHx8bmFpbCUyMHNhbG9ufGVufDB8MHwwfHx8MA%3D%3D'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 53, 58, 0.65); /* Deep slate translucent overlay */
    z-index: 1;
}

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

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--logo-coral);
    color: #fff;
    padding: 12px 35px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #fff;
    color: var(--accent-dark);
}

/* --- Services Card Section --- */
.services-section {
    padding: 100px 20px;
    background-color: var(--secondary-bg);
    text-align: center;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 60px;
    color: var(--accent-dark);
}

.services-grid {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 30px;
    scrollbar-width: thin;
    justify-content: center;
}

.service-card {
    min-width: 240px;
    flex: 1;
    max-width: 260px;
    text-align: center;
    background: var(--secondary-bg);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.service-img-wrapper {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-bottom: 3px solid var(--logo-blue); /* Subtle nod to logo sky blue */
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 400;
    color: var(--accent-dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0 10px;
}

/* --- Reviews Section --- */
.reviews-section {
    background-color: var(--primary-bg);
    padding: 80px 20px;
    text-align: center;
}

.review-stars-summary {
    margin-bottom: 40px;
    color: var(--logo-coral);
}

.review-stars-summary i {
    margin: 0 2px;
    font-size: 0.9rem;
}

.review-stars-summary p {
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-main);
}

.reviews-slider {
    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.review-card {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
}

.review-card .stars {
    color: var(--logo-coral);
    margin-bottom: 15px;
    font-size: 0.8rem;
}

.review-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.review-author {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* --- Editorial / Brand Copy Section --- */
.editorial-section {
    background-color: var(--secondary-bg);
    padding: 120px 40px;
    text-align: center;
}

.editorial-container {
    max-width: 900px;
    margin: 0 auto;
}

.editorial-text {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    line-height: 1.7;
    color: var(--text-main);
    font-weight: 300;
}

/* --- Visual Graphic Split Images --- */
.splits-section {
    display: flex;
    min-height: 55vh;
}

.split-box {
    flex: 1;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.split-left {
    background-image: url('images/2148766572.jpg'); 
}

.split-right {
    background-image: url('https://images.unsplash.com/photo-1519014816548-bf5fe059798b?q=80&w=1000&auto=format&fit=crop'); 
}

.split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 53, 58, 0.5);
    z-index: 1;
}

.split-content {
    position: relative;
    z-index: 2;
}

.split-content span {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #eee;
}

.split-content h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 300;
    margin: 15px 0;
}

/* --- Details / Why Us / Hours Split --- */
.details-section {
    background-color: var(--secondary-bg);
    border-top: 1px solid #f0f0f0;
}

.details-grid {
    display: flex;
    flex-wrap: wrap;
}

.details-block {
    flex: 1;
    min-width: 300px;
    padding: 100px 60px;
}

.why-block {
    background-color: var(--primary-bg);
}

.hours-block {
    background-color: var(--secondary-bg);
}

.details-block h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--accent-dark);
}

.perks-list {
    list-style: none;
}

.perks-list li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkmark {
    color: var(--logo-coral);
    font-weight: bold;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 15px 0;
    border-bottom: 1px solid #e2edf2;
    font-size: 1.05rem;
}

.hours-table tr td:last-child {
    text-align: right;
    color: var(--text-muted);
}

/* --- Photo Gallery Section (Option 2 Compliant) --- */
.gallery-section {
    background-color: var(--secondary-bg);
    padding: 100px 20px;
    text-align: center;
    border-top: 1px solid #e2edf2;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 10px;
    color: var(--accent-dark);
}

.gallery-subtitle {
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1rem;
}

/* Responsive Auto-Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 320px;
    overflow: hidden;
    background-color: var(--primary-bg);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.3s ease;
}

/* Hover Effects matching editorial vibe */
.gallery-item:hover {
    border-bottom-color: var(--logo-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(43, 53, 58, 0.08);
}

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

/* --- Gallery Show/Hide Utilities & Button (Option 2 Compliant) --- */
.gallery-item.hidden {
    display: none;
    opacity: 0;
}

/* Dynamic smooth fade class triggered via JS */
.gallery-item.fade-in {
    display: block;
    animation: fadeInFrame 0.5s ease forwards;
}

.btn-gallery-toggle {
    display: inline-block;
    background: transparent;
    color: var(--accent-dark);
    border: 2px solid var(--accent-dark);
    padding: 12px 40px;
    margin-top: 40px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gallery-toggle:hover {
    background-color: var(--logo-coral);
    color: #ffffff;
    border-color: var(--logo-coral);
}

@keyframes fadeInFrame {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for smaller mobile screens */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
        gap: 15px;
    }
    .gallery-item {
        height: 280px;
    }
}

/* --- CTA Location Features --- */
.cta-feature-section {
    background-color: var(--primary-bg);
    padding: 80px 40px;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.cta-card {
    flex: 1;
    background: var(--secondary-bg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(100,197,250,0.08); /* Soft blue shadow tint */
}

.cta-card h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.cta-card .btn-dark{
    margin-top: 1rem;
}

.location-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.location-text i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--logo-blue);
}

.btn-dark {
    display: inline-block;
    background-color: var(--accent-dark);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: background-color 0.3s;
    

}

.btn-dark:hover {
    background-color: var(--logo-coral);
}

/* --- Community Signup --- */
.community-section {
    padding: 100px 20px;
    text-align: center;
    background-color: var(--secondary-bg);
}

.community-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 15px;
}

.community-section p {
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.signup-form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    border-bottom: 1px solid var(--accent-dark);
    padding-bottom: 8px;
}

.signup-form input {
    border: none;
    outline: none;
    flex: 1;
    padding: 10px;
    font-size: 1rem;
    background: transparent;
}

.btn-submit {
    background: none;
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    color: var(--accent-dark);
    transition: color 0.3s;
}

.btn-submit:hover {
    color: var(--logo-coral);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--accent-dark); /* Sophisticated dark slate baseline ground */
    color: #ffffff;
    padding: 80px 40px 40px 40px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 400;
    color: var(--logo-blue); /* Sky blue column headings */
}

.footer-col a, .footer-col p {
    display: block;
    color: #ccd6db;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--logo-coral);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid #3d4a51;
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #9aaec4;
}

/* --- Footer Logo Alignment Layout Styles --- */
.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 50%;
    background-color: transparent; 
}

/* Resets margin on heading so it lines up with logo center line */
.footer-logo-col h4 {
    margin-bottom: 0 !important;
}

/* Ensures layout stays centered gracefully on standard mobile viewports */
@media (max-width: 768px) {
    .footer-logo-wrapper {
        justify-content: center;
    }
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .editorial-text {
        font-size: 1.5rem;
    }
    .cta-container {
        flex-direction: column;
    }
    .services-grid {
        justify-content: flex-start;
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; 
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .header-actions {
        display: none;
    }
    .splits-section {
        flex-direction: column;
    }
    .details-block {
        padding: 60px 30px;
    }
}