/* ===== CSS Variables ===== */
:root {
    --water-blue: #7ba5b3;
    --soft-blue: #a8c5d1;
    --deep-teal: #5a8897;
    --sand: #e8e4da;
    --stone: #4a5759;
    --white: #ffffff;
    --light-gray: #f5f7f8;
    --text-dark: #2d3e42;
}

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

body {
    font-family: 'Lora', Georgia, serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Philosopher', Georgia, serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* ===== Skip Link ===== */
.skip-link {
    position: absolute;
    top: -50px;
    left: 10px;
    background: var(--deep-teal);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 10px;
}

/* ===== Focus Indicators ===== */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--water-blue);
    outline-offset: 3px;
}

/* ===== Header ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(123, 165, 179, 0.15);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

nav ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Philosopher', serif;
    padding: 0.5rem 0.75rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

nav ul li a.active {
    color: var(--deep-teal);
    font-weight: 700;
}

nav ul a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.75rem;
    width: 0;
    height: 2px;
    background: var(--water-blue);
    transition: width 0.3s ease;
}

nav ul a:hover::after,
nav ul a.active::after {
    width: calc(100% - 1.5rem);
}

/* ===== Mobile Menu ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--stone);
    transition: all 0.3s ease;
}

.menu-toggle:active {
    opacity: 0.7;
}

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

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

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

/* ===== Hero Section (Home Page) ===== */
.hero {
    margin-top: 80px;
    position: relative;
    min-height: 600px;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(123, 165, 179, 0.3) 0%, rgba(168, 197, 209, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-logo-img {
    max-width: 400px;
    width: 80%;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(2px 2px 12px rgba(0, 0, 0, 0.2));
}

.hero-tagline {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Philosopher', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.cta-button,
.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--white);
    color: var(--deep-teal);
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-family: 'Philosopher', serif;
    font-weight: 500;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border: none;
    cursor: pointer;
}

.cta-button:hover,
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    background: var(--sand);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--deep-teal);
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 50px;
    border: 2px solid var(--deep-teal);
    transition: all 0.3s ease;
    font-family: 'Philosopher', serif;
    font-weight: 500;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.btn-secondary:hover {
    background: var(--deep-teal);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== Sections ===== */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--stone);
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--water-blue);
    margin: 1.5rem auto 0;
}

/* ===== Intro Section (Home) ===== */
.intro {
    background: var(--light-gray);
}

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

.intro-content h1 {
    font-size: 3rem;
    color: var(--deep-teal);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.4rem;
    color: var(--stone);
    margin-bottom: 2rem;
    font-style: italic;
}

.intro-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.intro-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* ===== Specialties Grid (Home) ===== */
.specialties {
    background: var(--white);
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.specialty-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.specialty-card h3 {
    font-size: 1.5rem;
    color: var(--deep-teal);
    margin-bottom: 1rem;
    white-space: nowrap;
}

/* ===== Page Header ===== */
.page-header {
    margin-top: 80px;
    padding: 4rem 2rem 3rem;
    background: linear-gradient(135deg, var(--soft-blue) 0%, var(--water-blue) 100%);
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.3rem;
    font-style: italic;
    opacity: 0.95;
}

/* ===== About Page ===== */
.about-main {
    background: var(--white);
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text {
    font-size: 1.1rem;
}

.intro-text {
    font-size: 1.25rem;
    color: var(--deep-teal);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.credentials-box {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--water-blue);
}

.credentials-box h2 {
    font-size: 1.5rem;
    color: var(--deep-teal);
    margin-bottom: 1rem;
    text-align: left;
}

.credentials-box h2::after {
    display: none;
}

.credentials-list {
    list-style: none;
    margin-bottom: 2rem;
}

.credentials-list li {
    padding: 0.6rem 0 0.6rem 1.8rem;
    position: relative;
}

.credentials-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--water-blue);
    font-weight: bold;
}

.experience {
    background: var(--light-gray);
}

.experience-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section {
    text-align: center;
    background: var(--white);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===== Services Page ===== */
.services-section {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-top: 4px solid var(--water-blue);
}

.service-card.featured {
    border-top-color: var(--deep-teal);
    background: linear-gradient(135deg, rgba(123, 165, 179, 0.1) 0%, rgba(168, 197, 209, 0.05) 100%);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--deep-teal);
    text-align: left;
}

.service-card h2::after {
    display: none;
}

.service-subtitle {
    font-style: italic;
    color: var(--stone);
    margin-bottom: 1rem;
}

.service-description {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.price-list {
    background: var(--sand);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(123, 165, 179, 0.2);
}

.price-item:last-child {
    border-bottom: none;
}

.price-duration {
    color: var(--stone);
    font-size: 0.95rem;
}

.price-amount {
    font-weight: 600;
    color: var(--deep-teal);
    font-size: 1.1rem;
}

.service-info {
    background: var(--light-gray);
}

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

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
}

.info-card h3 {
    color: var(--deep-teal);
    margin-bottom: 1rem;
}

.insurance-info {
    background: var(--sand);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.insurance-info h2::after {
    display: none;
}

/* ===== Contact Page ===== */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.contact-info-card,
.booking-info-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 12px;
}

.contact-info-card h2,
.booking-info-card h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--deep-teal);
    text-align: left;
}

.contact-info-card h2::after,
.booking-info-card h2::after {
    display: none;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--water-blue);
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--deep-teal);
}

.contact-item a {
    color: var(--deep-teal);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.7;
}

.reveal-btn {
    background: var(--sand);
    border: 2px solid var(--water-blue);
    color: var(--deep-teal);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Lora', Georgia, serif;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
}

.reveal-btn.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.reveal-btn:hover {
    background: var(--water-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.booking-button-group {
    margin: 2rem 0;
    text-align: center;
}

.booking-note {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--water-blue);
    font-style: italic;
    margin: 2rem 0;
}

.booking-info-card h3 {
    color: var(--deep-teal);
    margin: 2rem 0 1rem;
}

/* ===== Footer ===== */
footer {
    background: var(--stone);
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem;
}

footer a {
    color: var(--soft-blue);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.25rem 0.5rem;
}

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

.footer-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links span {
    color: var(--soft-blue);
}

.footer-location {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 500px;
        height: 70vh;
    }

    .hero-tagline {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    section h2 {
        font-size: 2.2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .intro-content h1 {
        font-size: 2.2rem;
    }

    .intro-ctas {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 450px;
        height: 60vh;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .logo-img {
        height: 50px;
    }

    .hero-tagline {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }

    .cta-button,
    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}
