/* ================================================================
   SONNY KALIS — SITE STYLES
   Bootstrap handles layout/components. This file contains the
   custom visual identity and page-specific styles.
   ================================================================ */
/* ================================================================
   1. SITE VARIABLES / GLOBAL STYLES
   ================================================================ */
:root {
    --sk-ink: #263431;
    --sk-text: #4d5956;
    --sk-primary: #526f67;
    --sk-primary-dark: #3e5851;
    --sk-soft: #f4f1ea;
    --sk-page-soft: #f7f5f0;
    --sk-accent-soft: #edf1ee;
    --sk-warm: #e5ddd0;
    --sk-white: #ffffff;
    --sk-line: rgba(38, 52, 49, 0.13);
    --sk-shadow: 0 18px 50px rgba(38, 52, 49, 0.12);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    color: var(--sk-ink);
    background: var(--sk-white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

h1,
h2,
h3,
.navbar-brand .brand-name {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -0.02em;
}

a {
    color: var(--sk-primary-dark);
}

a:hover {
    color: var(--sk-primary);
}

.py-lg-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.section-padding {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

.bg-soft {
    background: var(--sk-soft);
}

.eyebrow {
    color: var(--sk-primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.15;
}

/* ================================================================
   2. NAVIGATION
   ================================================================ */
.site-navbar {
    border-bottom: 1px solid var(--sk-line);
    box-shadow: 0 4px 18px rgba(38, 52, 49, 0.035);
}

.navbar-brand {
    color: var(--sk-ink);
}

.brand-name {
    font-size: 1.55rem;
    font-weight: 700;
}

.brand-subtitle {
    color: var(--sk-text);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-link {
    color: var(--sk-ink);
    font-weight: 600;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--sk-primary-dark) !important;
}

.dropdown-menu {
    border: 1px solid var(--sk-line);
    border-radius: 0.8rem;
    box-shadow: var(--sk-shadow);
    padding: 0.65rem;
}

.dropdown-item {
    border-radius: 0.5rem;
    padding: 0.6rem 0.8rem;
}

.dropdown-item:active {
    background: var(--sk-primary);
}

/* ================================================================
   3. BUTTONS
   ================================================================ */
.btn {
    border-radius: 999px;
    font-weight: 700;
}

.btn-primary {
    --bs-btn-bg: var(--sk-primary);
    --bs-btn-border-color: var(--sk-primary);
    --bs-btn-hover-bg: var(--sk-primary-dark);
    --bs-btn-hover-border-color: var(--sk-primary-dark);
    --bs-btn-active-bg: var(--sk-primary-dark);
    --bs-btn-active-border-color: var(--sk-primary-dark);
}

.btn-outline-secondary {
    --bs-btn-color: var(--sk-ink);
    --bs-btn-border-color: rgba(38, 52, 49, 0.35);
    --bs-btn-hover-bg: var(--sk-ink);
    --bs-btn-hover-border-color: var(--sk-ink);
}

/* ================================================================
   4. HOMEPAGE HERO
   ================================================================ */
.hero-section {
    overflow: hidden;
    background: radial-gradient(
            circle at 90% 10%,
            rgba(229, 221, 208, 0.72),
            transparent 35%
        ),
        linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
}

.hero-section h1 {
    font-size: clamp(2.7rem, 6vw, 4.8rem);
    line-height: 1.02;
}

.hero-lead {
    color: var(--sk-text);
    max-width: 44rem;
}

.credential-line {
    color: var(--sk-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-photo-wrap {
    position: relative;
    padding: 1rem;
}

.hero-photo-wrap::before {
    position: absolute;
    inset: 0 2.5rem 2rem 0;
    border-radius: 2rem;
    background: var(--sk-warm);
    content: "";
}

.hero-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: var(--sk-shadow);
}

/* ================================================================
   5. HOMEPAGE SERVICE CARDS
   ================================================================ */
.service-card {
    position: relative;
    border: 1px solid var(--sk-line);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.88);
    transition: transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.service-card::before {
    display: block;
    width: 2.6rem;
    height: 3px;
    margin-bottom: 1.2rem;
    border-radius: 2px;
    background: var(--sk-primary);
    content: "";
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(82, 111, 103, 0.32);
    box-shadow: 0 16px 35px rgba(38, 52, 49, 0.08);
}

.service-card p {
    color: var(--sk-text);
}

/* ================================================================
   6. HOMEPAGE ABOUT SONNY
   ================================================================ */
.about-home {
    padding: 4rem 0;
    background: var(--sk-page-soft);
}

.about-photo {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 18px;
}

.about-text {
    margin-bottom: 1.5rem;
    color: #394541;
    font-size: 1.15rem;
    line-height: 1.7;
}

.about-link {
    color: #45685f;
    font-weight: 600;
    text-decoration: none;
}

.about-link:hover {
    text-decoration: underline;
}

/* ================================================================
   7. HOMEPAGE ROTATING REVIEWS
   ================================================================ */
.reviews-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(
            rgba(39, 67, 61, 0.86),
            rgba(39, 67, 61, 0.86)
        ),
        url("../images/reviews-background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.reviews-section .eyebrow {
    color: rgba(255, 255, 255, 0.80);
    letter-spacing: 0.15em;
}

.reviews-section .section-title {
    color: #ffffff;
}

.review-carousel {
    padding-inline: 4.5rem;
}

.reviews-section .review-card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 850px;
    min-height: 220px;
    padding: 2.5rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    text-align: center;
}

.reviews-section .review-text {
    margin: 0;
    color: #33413d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.3rem, 2vw, 1.9rem);
    line-height: 1.5;
    text-align: center;
}

.review-control {
    width: 3.4rem;
    opacity: 1;
}

.review-arrow {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    font-size: 2.2rem;
    line-height: 1;
}

.review-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.6rem;
    color: #ffffff;
    border: 2px solid rgba(245, 237, 220, 0.9);
    border-radius: 999px;
    background: rgba(35, 67, 59, 0.25);
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    transition: background-color 0.2s ease,
        transform 0.2s ease;
}

.review-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

/* ================================================================
   8. ABOUT PAGE
   ================================================================ */
.about-page-hero {
    background: var(--sk-page-soft);
}

.about-page-photo {
    width: 100%;
    max-width: 390px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
}

.about-trust {
    background: #ffffff;
}

.about-copy {
    font-size: 1.15rem;
    line-height: 1.8;
}

.about-credentials {
    background: var(--sk-page-soft);
}

.credential-card {
    padding: 2rem;
    background: #ffffff;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.credential-card h3 {
    color: #45685f;
    font-weight: 600;
}

.about-method {
    background: #ffffff;
}

.about-method p {
    font-size: 1.075rem;
    line-height: 1.8;
}

/* ================================================================
   9. SERVICES PAGE
   ================================================================ */
/* Page hero */
.services-page-hero {
    padding: 5rem 0 4rem;
    background: var(--sk-page-soft);
}

.services-page-hero .lead {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: #5d6965;
    line-height: 1.7;
}

/* Jump navigation */
.services-jump-section {
    padding: 0 0 4.5rem;
    background: var(--sk-page-soft);
}

.service-jump-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem;
    background: #ffffff;
    border: 1px solid rgba(69, 104, 95, 0.16);
    border-radius: 16px;
    color: #2f403a;
    text-decoration: none;
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.service-jump-card:hover {
    color: #2f403a;
    transform: translateY(-4px);
    border-color: rgba(69, 104, 95, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
}

.service-jump-number {
    margin-bottom: 0.75rem;
    color: #789188;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.service-jump-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    line-height: 1.35;
}

/* Service detail sections */
.service-detail {
    padding: 5.5rem 0;
    scroll-margin-top: 100px;
}

.service-detail-light {
    background: #ffffff;
}

.service-detail-soft {
    background: var(--sk-accent-soft);
}

.service-detail-image {
    width: 100%;
    min-height: 360px;
    max-height: 430px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.09);
}

.service-detail p:not(.eyebrow) {
    color: #45524e;
    font-size: 1.075rem;
    line-height: 1.8;
}

.service-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: #45685f;
    font-weight: 600;
    text-decoration: none;
}

.service-text-link:hover {
    color: #334f48;
    text-decoration: underline;
}

/* ================================================================
   10. REAL CLIENT REVIEWS PAGE
   ================================================================ */
/* Photo hero */
.reviews-page-hero {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(
            rgba(35, 67, 59, 0.72),
            rgba(35, 67, 59, 0.72)
        ),
        url("../images/testimonials-page.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.reviews-page-hero .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.reviews-page-hero h1 {
    color: #ffffff;
}

.reviews-page-hero .lead {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
}

/* Full review area */
.reviews-page-content {
    padding: 5rem 0;
    background: #ffffff;
}

.full-review-card {
    position: relative;
    margin-bottom: 2rem;
    padding: 2.75rem 3rem 2.5rem;
    background: var(--sk-page-soft);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.quote-mark {
    height: 45px;
    color: #82968f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.5rem;
    line-height: 1;
    opacity: 0.65;
}

.full-review-text {
    color: #394541;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    line-height: 1.8;
}

.full-review-text p:last-child {
    margin-bottom: 0;
}

.full-review-author {
    margin-top: 1.5rem;
    margin-bottom: 0;
    color: #45685f;
    font-size: 1rem;
    font-weight: 600;
}

/* ================================================================
   11. SHARED CTA / CONTACT / FOOTER
   ================================================================ */
.page-cta {
    padding: 4.5rem 0;
    background: var(--sk-accent-soft);
}

.cta-section {
    background: var(--sk-warm);
}

.cta-link {
    font-weight: 800;
    letter-spacing: 0.05em;
    text-underline-offset: 4px;
}

.contact-details a {
    color: var(--sk-ink);
    font-weight: 700;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer {
    color: #dae1df;
    background: #1c2825;
    font-size: 0.9rem;
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.6rem 0.9rem;
    border-radius: 0.4rem;
    background: #ffffff;
}

/* ================================================================
   CONTACT FORM
   ================================================================ */
.contact-form-section {
    padding: 5rem 0;
    background: #ffffff;
}

.contact-form-card {
    padding: 3rem;
    background: var(--sk-page-soft);
    border-radius: 20px;
    box-shadow: 0 10px 32px rgba(38, 52, 49, 0.08);
}

.contact-form-intro {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--sk-text);
}

/* Labels */
.contact-form .form-label {
    color: var(--sk-ink);
    font-weight: 700;
}

.form-optional {
    color: var(--sk-text);
    font-size: 0.85rem;
    font-weight: 400;
}

/* Inputs */
.contact-form .form-control,
.contact-form .form-select {
    min-height: 50px;
    border: 1px solid rgba(38, 52, 49, 0.20);
    border-radius: 10px;
    background: #ffffff;
    color: var(--sk-ink);
}

.contact-form textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

/* Focus */
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--sk-primary);
    box-shadow: 0 0 0 0.2rem rgba(82, 111, 103, 0.15);
}

/* Privacy message */
.contact-privacy-note {
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--sk-primary);
    background: rgba(82, 111, 103, 0.07);
    color: var(--sk-text);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Honeypot field */
.contact-hp {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

/* ---------- Closing quote ---------- */
.contact-closing {
    padding: 4rem 1rem;
    background: var(--sk-primary-dark);
    text-align: center;
}

.contact-quote {
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-style: italic;
    line-height: 1.4;
}

/* ================================================================
   CONTACT OFFICE PHOTO CAROUSEL
   ================================================================ */
.contact-photo-carousel {
    overflow: hidden;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.10);
}

/* Give every slide the same portrait shape */
.contact-photo-carousel .carousel-item {
    aspect-ratio: 4 / 5;
    background: var(--sk-page-soft);
}

/* Fill the portrait frame without distortion */
.contact-photo-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Caption */
.contact-photo-carousel .carousel-caption {
    right: auto;
    bottom: 1rem;
    left: 1rem;
    padding: 0;
}

.contact-photo-carousel .carousel-caption span {
    display: inline-block;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(35, 67, 59, 0.75);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ================================================================
   12. RESPONSIVE STYLES
   ================================================================ */
@media (max-width: 991.98px) {
    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .navbar-collapse {
        padding: 1rem 0 0.5rem;
    }

    .hero-photo {
        min-height: 0;
    }

    .service-detail {
        padding: 4rem 0;
    }

    .service-detail-image {
        min-height: 300px;
        max-height: 380px;
    }
}

@media (max-width: 767.98px) {
    /* Homepage about */
    .about-home {
        padding: 3rem 0;
        text-align: center;
    }

    .about-photo {
        max-width: 240px;
    }

    /* Homepage rotating reviews */
    .review-carousel {
        padding-inline: 2.75rem;
    }

    .reviews-section .review-card {
        min-height: 200px;
        padding: 2.25rem 1.5rem;
    }

    .review-control {
        width: 2.5rem;
    }

    .review-arrow {
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1.8rem;
    }

    /* Services page */
    .services-page-hero {
        padding: 3.5rem 0 3rem;
    }

    .services-jump-section {
        padding-bottom: 3rem;
    }

    .service-detail {
        padding: 3.5rem 0;
    }

    .service-detail-image {
        min-height: 250px;
        max-height: 320px;
    }

    .service-jump-card {
        padding: 1.4rem;
    }

    /* Reviews page */
    .reviews-page-hero {
        padding: 4rem 0;
        background-position: center;
    }

    .reviews-page-content {
        padding: 3rem 0;
    }

    .full-review-card {
        padding: 2rem 1.5rem;
    }

    .full-review-text {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    /* Contact page */
    .contact-page-hero {
        padding: 3.5rem 0 3rem;
    }

    .contact-main,
    .contact-fees,
    .contact-emergency,
    .contact-appointment {
        padding: 3.5rem 0;
    }

    .contact-info-card {
        padding: 2rem 1.5rem;
    }

    .emergency-card {
        padding: 2rem 1.5rem;
    }

    .contact-closing {
        padding: 3rem 0;
    }

    .contact-form-section {
        padding: 3.5rem 0;
    }

    .contact-form-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .reviews-section {
        padding: 4rem 0 3.5rem;
    }

    .review-link {
        padding: 0.8rem 1.25rem;
        font-size: 1rem;
    }
}

/* Desktop / laptop */
@media (min-width: 768px) {
    .contact-photo-carousel {
        max-width: 460px;
    }

    .contact-photo-carousel .carousel-item {
        aspect-ratio: auto;
        height: min(70vh, 560px);
    }

    .contact-photo-carousel .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* ================================================================
   13. ACCESSIBILITY / REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .service-card,
    .service-jump-card,
    .review-link {
        transition: none;
    }
}
