/* filename: styles.css */
/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --red: #c0392b;
    --slate: #788998;
    --slate-dark: #5a6a78;
    --slate-light: #a8b8c8;
    --white: #ffffff;
    --off-white: #f8f6f3;
    --text-dark: #1a1a1a;
    --text-mid: #444;
    --border: #e0e0e0;
    --gold: #f1c40f;
    --font-display: 'DM Serif Text', 'Lora', serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
}

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

.red { color: var(--red); }


/* =====================
   HEADER / NAV
   ===================== */
.nav-bar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2.5rem;
    gap: 1rem;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-dark);
}

.title a { color: inherit; }

.right-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, box-shadow 0.2s;
    color: var(--text-dark);
    background: transparent;
    border: none;
    cursor: pointer;
}

.icon-link:hover {
    background: var(--off-white);
    box-shadow: 0 0 0 1px var(--border);
}

.icon-circle {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    background: #f1f1f1;
    font-size: 1rem;
}

.icon-circle:hover {
    background: var(--slate-light);
    color: var(--white);
}

/* Dropdown Sub-menu styles */
.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.15);
    border: 1px solid var(--border);
    border-radius: 0.4rem;
    padding: 0.8rem 1rem;
    z-index: 1200;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    color: var(--red);
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    text-align: center;
    word-break: break-all;
}

.dropdown-content a:hover {
    text-decoration: underline;
}

/* Mobile menu toggle */
.menu-toggle { display: none; }
.menu-icon {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 1100;
    padding: 0.4rem;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -280px;
    height: 100%;
    width: 260px;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 5rem 2rem 2rem;
    transition: right 0.35s ease;
    z-index: 1050;
}

.side-menu-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.side-menu a {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.side-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    border: none;
    background: none;
}

.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1040;
}

.menu-toggle:checked ~ .side-menu  { right: 0; }
.menu-toggle:checked ~ .menu-overlay { display: block; }


/* =====================
   HERO
   ===================== */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('image.jpeg') center center / cover no-repeat;
    z-index: 0;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.05) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    padding: 4rem 5rem;
    color: var(--white);
}

.hero-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-headline em {
    font-style: italic;
    color: #f0c8c0;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap; /* Allows buttons to cleanly wrap into multiple even lines on small device screens */
    max-width: 900px; /* Keeps the grouping neat and balanced on widescreen desktops */
    margin-left: auto;
    margin-right: auto;
}

.btn-secondary i {
    font-size: 0.95rem;
    opacity: 0.95;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1.8rem;
    border-radius: 0.3rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border: 2px solid var(--red);
}

.btn-primary:hover {
    background: #a93226;
    border-color: #a93226;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
}


/* =====================
   TRUST BAR
   ===================== */
.trust-bar {
    background: var(--slate);
    color: var(--white);
    display: flex;
    justify-content: center;
    gap: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.trust-item:last-child { border-right: none; }
.trust-item i { font-size: 1rem; opacity: 0.85; }


/* =====================
   PRICES SECTION
   ===================== */
.prices-section {
    background: var(--off-white);
    padding: 5rem 2.5rem;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

.section-sub {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-mid);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.price-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
}

.price-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--red);
}

.price-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.price-card li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.88rem;
    color: var(--text-mid);
    gap: 0.5rem;
}

.price-card li span:last-child {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.price-note {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: var(--slate);
    font-style: italic;
}


/* =====================
   LOCATION & HOURS
   ===================== */
.location-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    background: var(--white);
}

.location-text {
    padding: 4rem 3.5rem;
}

.location-text h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

.location-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-mid);
    margin-bottom: 0.6rem;
}

.info-blocks-container {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.location-details, .hours-details {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--slate-dark);
}

.location-details h3, .hours-details h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.location-details p, .hours-details p {
    margin-bottom: 0 !important;
}

.location-details a {
    color: var(--slate-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.location-details a:hover { color: var(--red); }

.map {
    width: 100%;
    height: 460px;
    display: block;
    border: none;
}


/* ========================================================
   UPDATED CAROUSEL REVIEWS STYLES (THEMED + SHADOWED BORDER)
   ======================================================== */
.reviews-section {
    background: var(--off-white);
    padding: 5rem 2.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reviews-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--slate-dark); /* Timeless matching slate accent */
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.decorative-dots {
    width: 60px;
    height: 2px;
    margin: 1rem auto;
}

/* Slider window */
.reviews-carousel-container {
    width: 100%;
    max-width: 1160px;
    overflow: hidden;
    margin: 2rem auto 1.5rem;
    padding: 1.5rem 0.5rem; /* Slightly padded so shadows don't clip */
}

.reviews-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

/* Individual Card Blocks with Shadowed Borders */
.reviews-track .review-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 300px;
    background: var(--white);
    
    /* Premium Shadowed Border look */
    border: 1px solid rgba(120, 137, 152, 0.15); /* Soft slate tint border */
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.06), 0 1px 3px rgba(26, 26, 26, 0.02); 
    
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Lift card slightly on hover */
.reviews-track .review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(26, 26, 26, 0.1);
}

.card-top {
    display: flex;
    align-items: center;
    position: relative;
    gap: 1rem;
    width: 100%;
}

/* Profile Initials (Using website theme colors) */
.user-profile {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}
.bg-red { background: var(--red); }          /* Crimson Red */
.bg-slate { background: var(--slate); }      /* Slate Grey */
.bg-dark { background: var(--text-dark); }    /* Deep Charcoal */

.user-meta h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.stars-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.15rem;
}

.stars-date .stars {
    color: var(--gold);
    font-size: 0.75rem;
    display: flex;
    gap: 0.05rem;
}

.stars-date .date {
    font-size: 0.75rem;
    color: var(--slate-dark);
}

/* Google Badge Icon colored in Slate Light to stay understated */
.google-brand-icon {
    position: absolute;
    right: 0;
    top: 5px;
    font-size: 1.05rem;
    color: var(--slate-light);
}

.review-body {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-mid);
    font-style: italic;
    flex-grow: 1;
}

/* Embedded Card Pill */
.view-on-google-btn {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--slate-dark);
    padding: 0.45rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 2rem;
    background: var(--white);
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.view-on-google-btn i {
    font-size: 0.8rem;
    color: var(--slate);
}

.view-on-google-btn:hover {
    background: var(--off-white);
    border-color: var(--slate-light);
    color: var(--red);
}

/* Pagination Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.carousel-dots .dot {
    width: 24px;
    height: 6px;
    border-radius: 4px;
    background: var(--border);
    transition: background 0.3s, width 0.3s;
}

.carousel-dots .dot.active {
    background: var(--red); /* Active navigation bar matches red */
    width: 32px;
}

/* Actions Footer Link Group */
.reviews-actions-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    margin-top: 0.5rem;
}

.action-see-all {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s, transform 0.2s;
}

.action-see-all i:first-child {
    color: var(--slate);
}

.action-see-all:hover {
    color: var(--red);
    transform: translateX(3px);
}

/* Primary Action Callout (Switched from Orange to your Crimson Red) */
.action-write-review {
    background: var(--red);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.8rem;
    border-radius: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(192, 57, 43, 0.25); /* Themed shadow glow */
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.action-write-review:hover {
    background: #a93226; /* Darker red hover state */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.35);
}

/* Layout Responsiveness overrides */
@media (max-width: 1024px) {
    .reviews-track .review-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .reviews-carousel-container { padding: 0.5rem 0; }
    .reviews-track .review-card {
        flex: 0 0 100%;
    }
    .reviews-actions-footer {
        flex-direction: column;
        gap: 1.5rem;
    }
}


/* =====================
   FAQS
   ===================== */
.faqs-section {
    background: var(--slate);
    padding: 5rem 2.5rem;
}

.faqs-section .section-header { margin-bottom: 3rem; }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 0.5rem;
    padding: 1.8rem;
    color: var(--white);
}

.faq-item h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.faq-item p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.8);
}


/* =====================
   FOOTER
   ===================== */
.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.6);
    padding: 2.5rem 2.5rem 1.5rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.footer-brand p {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.footer-address {
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
    color: rgba(255,255,255,0.5) !important;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    transition: background 0.2s, color 0.2s;
}

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

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.2rem;
    text-align: center;
}


/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
    .price-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .trust-bar { flex-wrap: wrap; }
    .trust-item { flex: 1 1 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
}

@media (max-width: 768px) {
    /* Nav */
    .right-header { display: none; }
    .menu-icon { display: block; }

    /* Hero */
    .hero { min-height: 70vh; }
    .hero-content { padding: 3rem 1.5rem; }
    .hero-headline { font-size: 2.2rem; }
    .hero-sub { font-size: 0.95rem; }

    /* Trust */
    .trust-item { flex: 1 1 100%; justify-content: center; }

    /* Prices */
    .prices-section { padding: 3rem 1.2rem; }
    .price-grid { grid-template-columns: 1fr; }

    /* Location */
    .location-section { grid-template-columns: 1fr; }
    .location-text { padding: 2.5rem 1.5rem; }
    .info-blocks-container { flex-direction: column; gap: 1.5rem; }
    .map { height: 300px; }

    /* Reviews */
    .reviews-section { padding: 3rem 1.2rem; }

    /* FAQs */
    .faqs-section { padding: 3rem 1.2rem; }

    /* Footer */
    .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}

/* Update these at the very bottom of your styles.css */
@media (max-width: 1024px) {
    .reviews-track .review-card {
        /* This ensures 2 cards display cleanly on tablet screens */
        flex: 0 0 calc(50% - 0.75rem); 
    }
}

@media (max-width: 768px) {
    .reviews-carousel-container { padding: 0.5rem 0; }
    
    .reviews-track .review-card {
        /* This forces 1 card at a time on mobile phones */
        flex: 0 0 100%; 
    }
    
    .reviews-actions-footer {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ========================================================
   FLOATING SCROLL PROMPT ARROW
   ======================================================== */
.scroll-prompt {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--white);
    font-size: 1.8rem;
    opacity: 0.75;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    animation: bouncePrompt 2s infinite;
}

.scroll-prompt:hover {
    opacity: 1;
    color: var(--red);
}

/* Class applied by JavaScript to permanently fade out */
.scroll-prompt.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Gentle bouncing animation loop */
@keyframes bouncePrompt {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive adjustment for mobile screens */
@media (max-width: 768px) {
    .scroll-prompt {
        bottom: 1.5rem;
        font-size: 1.5rem;
    }
}

/* ========================================================
   HERO SECONDARY SHORTCUT PILLS
   ======================================================== */
.hero-shortcut-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.8rem;
    flex-wrap: wrap; /* Allows wrap adjustments on tighter screens */
}

.shortcut-pill {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.6rem 1.4rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(4px); /* Premium glassy look */
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.shortcut-pill i {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Hover highlights change elements seamlessly to theme accents */
.shortcut-pill:hover {
    background: var(--white);
    color: var(--text-dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Targets the star shortcut specifically for an optional gold tint glow */
.shortcut-pill:hover .fa-star {
    color: var(--gold);
}

/* Responsiveness alignment for mobile phones */
@media (max-width: 576px) {
    .hero-shortcut-bar {
        gap: 0.6rem;
        margin-top: 1.5rem;
    }
    .shortcut-pill {
        flex: 1 1 calc(50% - 0.4rem); /* Displays two balanced rows on tiny screens */
        justify-content: center;
        font-size: 0.82rem;
        padding: 0.55rem 1rem;
    }
}

/* Hide review pagination dots on mobile screens */
@media (max-width: 768px) {
    .carousel-dots {
        display: none !important;
    }
}