/* ========================================
   Qualco Kennels and Cattery
   Fun, friendly, trustworthy
   ======================================== */

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

:root {
    --blue: #6BAED6;
    --blue-dark: #5298C0;
    --blue-light: #E3F0F8;
    --blue-pale: #F0F7FC;
    --amber: #D4A853;
    --amber-light: #F5E6C8;
    --coral: #C67B5C;
    --cream: #FAF8F2;
    --brown: #3D2E1F;
    --brown-light: #6B5B4E;
    --white: #fff;
    --shadow: 0 4px 20px rgba(61, 46, 31, 0.08);
    --shadow-hover: 0 8px 30px rgba(61, 46, 31, 0.14);
    --radius: 16px;
    --radius-sm: 10px;
    --max-width: 1000px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Quicksand', Arial, sans-serif;
    color: var(--brown);
    line-height: 1.75;
    background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--coral); }

/* ========================================
   Header
   ======================================== */

.site-header {
    padding: 15px 20px 0;
    background: var(--white);
    position: relative;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.header-logo img {
    max-height: 170px;
    transition: transform 0.3s;
}

.header-logo:hover img {
    transform: scale(1.03);
}

.header-info {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--brown-light);
    text-align: left;
}

.header-contact {
    font-size: 0.95rem;
    color: var(--brown);
    font-weight: 600;
}

.header-contact a {
    color: var(--blue);
    font-weight: 600;
    border-bottom: 2px dotted var(--blue-light);
    padding-bottom: 1px;
}

.header-contact a:hover {
    color: var(--coral);
    border-color: var(--coral);
}

.header-info .hours {
    font-size: 0.82rem;
    color: var(--brown-light);
    margin-top: 4px;
}

/* Header divider */
.header-divider {
    width: 360px;
    height: 2px;
    background: var(--blue);
    margin: 4px auto 0;
}

/* Navigation */
.site-nav {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    padding: 14px 0;
}

.site-nav a {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brown-light);
    padding: 7px 16px;
    border-radius: 25px;
    transition: all 0.25s;
    letter-spacing: 0.3px;
}

.site-nav a:hover {
    color: var(--white);
    background: var(--blue);
}

.site-nav a.active {
    color: var(--white);
    background: var(--blue);
}

/* ========================================
   Hero
   ======================================== */

.hero {
    position: relative;
    overflow: hidden;
    border-top: 1px solid #000;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 2;
}

.hero-alt-bg::after {
    background: var(--blue-pale);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    padding: 20px 8% 20px 20px;
}

.hero-overlay h1 {
    font-family: 'Chelsea Market', cursive;
    color: var(--white);
    font-size: 2.6rem;
    max-width: 650px;
    line-height: 1.3;
}

.hero-overlay p {
    color: var(--white);
    font-size: 1.1rem;
    margin-top: 10px;
    font-weight: 600;
}

/* ========================================
   Trust Strip
   ======================================== */

.trust-strip {
    background: #89C4E1;
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

.trust-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 0%);
    z-index: 1;
}

.trust-strip::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 1;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: var(--max-width);
    margin: 0 auto;
}

.trust-item {
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item span.icon {
    font-size: 1.3rem;
}

/* ========================================
   Sections
   ======================================== */

.section {
    padding: 55px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

h2 {
    font-family: 'Chelsea Market', cursive;
    color: #89C4E1;
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.3;
}

h3 {
    font-family: 'Chelsea Market', cursive;
    color: var(--blue);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.section > p,
.section-text {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 16px;
    color: var(--brown-light);
    font-family: 'Chelsea Market', cursive;
    font-size: 1rem;
}

p.left {
    text-align: center;
    max-width: none;
    font-family: 'Chelsea Market', cursive;
    font-size: 0.95rem;
    color: var(--brown-light);
}

/* Section icon (cat image under headings) */
.section-icon {
    width: 60px;
    height: auto;
    margin: 10px auto;
}

/* ========================================
   Intro Cards (Homepage)
   ======================================== */

.intro-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.intro-card {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-card .btn-blue {
    margin-top: auto;
}

.intro-card .card-icon {
    margin-bottom: 15px;
}

.intro-card .card-icon svg {
    width: 70px;
    height: 70px;
}

.intro-card h3 {
    text-align: center;
    margin-bottom: 12px;
    color: #89C4E1;
    font-size: 1.4rem;
}

.intro-card p {
    font-size: 0.95rem;
    color: var(--brown-light);
    font-family: 'Chelsea Market', cursive;
    margin-bottom: 18px;
}

.btn-blue {
    display: inline-block;
    padding: 10px 28px;
    background: #89C4E1;
    color: var(--white);
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.btn-blue:hover {
    background: var(--blue-dark);
    color: var(--white);
    transform: translateY(-3px);
}

/* ========================================
   Service Cards
   ======================================== */

.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 10px;
}

.service-card {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-card h3 {
    text-align: center;
    color: #89C4E1;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--brown-light);
    font-family: 'Chelsea Market', cursive;
    margin-bottom: 18px;
}

/* ========================================
   Two Column (Kennels/Cattery)
   ======================================== */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 25px;
}

.two-col > div {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.two-col > div .btn-blue {
    margin-top: auto;
}

.two-col .card-icon {
    margin-bottom: 15px;
}

.two-col .card-icon svg {
    width: 70px;
    height: 70px;
}

.two-col h3 {
    text-align: center;
    color: #89C4E1;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 9px 0;
    position: relative;
    font-size: 0.95rem;
    color: var(--brown-light);
    border-bottom: 1px dashed var(--blue-light);
    font-family: 'Chelsea Market', cursive;
    text-align: center;
    list-style: none;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '\1F43E';
    font-size: 0.9rem;
    margin-right: 6px;
}

/* ========================================
   Reviews
   ======================================== */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.review-stars {
    color: #F5B731;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.review-text {
    font-family: 'Chelsea Market', cursive;
    font-size: 0.9rem;
    color: var(--brown-light);
    line-height: 1.7;
    flex: 1;
    text-align: left;
    max-width: none;
    margin: 0;
}

.review-author {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--blue-dark);
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px dashed var(--blue-light);
    text-align: left;
    max-width: none;
}

/* ========================================
   Gallery
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-grid img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    transition: transform 0.35s, box-shadow 0.35s;
}

.gallery-grid img:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: var(--shadow-hover);
}

/* ========================================
   Team
   ======================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 25px;
}

.team-card {
    text-align: center;
    padding: 20px;
}

.team-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 5px solid var(--blue-light);
    transition: border-color 0.3s;
}

.team-card:hover img {
    border-color: var(--amber);
}

.team-card h3 {
    text-align: center;
    margin-bottom: 0;
    color: var(--blue-dark);
}

/* ========================================
   CTA
   ======================================== */

.cta {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    position: relative;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 6px;
    font-size: 2rem;
}

.cta p {
    color: rgba(255,255,255,0.85);
    margin: 4px auto;
    font-weight: 600;
}

.cta .phone {
    font-family: 'Chelsea Market', cursive;
    font-size: 1.6rem;
    margin-top: 8px;
}

.cta .phone a {
    color: var(--amber-light);
    border-bottom: 3px dotted rgba(255,255,255,0.3);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.cta .phone a:hover {
    color: var(--white);
    border-color: var(--white);
}

/* Paw prints decoration */
.cta::before {
    content: '\1F43E  \1F43E  \1F43E';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    opacity: 0.2;
    letter-spacing: 20px;
}

/* ========================================
   Contact Page
   ======================================== */

.contact-info {
    text-align: center;
    margin-bottom: 25px;
}

.contact-info .phone {
    font-family: 'Chelsea Market', cursive;
    font-size: 1.4rem;
}

.contact-info .phone a {
    color: var(--blue);
}

.map-container {
    margin-top: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 3px solid var(--blue-light);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
    background: #89C4E1;
    color: var(--white);
    text-align: center;
    padding: 55px 20px 20px;
    font-size: 0.85rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 0%);
    z-index: 1;
}

.site-footer h2 {
    color: var(--white);
    margin-bottom: 6px;
    font-size: 2.6rem;
}

.site-footer p {
    color: rgba(255,255,255,0.85);
    margin: 4px auto;
    font-weight: 600;
}

.site-footer .phone {
    font-family: 'Chelsea Market', cursive;
    font-size: 1.6rem;
    margin-top: 8px;
}

.site-footer .phone a {
    color: var(--white);
}

.site-footer .phone a:hover {
    border-color: var(--white);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-address {
    margin-bottom: 12px;
    color: rgba(255,255,255,0.85);
}

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

.footer-address a:hover {
    color: var(--amber-light);
}

.footer-credit {
    margin-top: 12px;
    font-size: 0.78rem;
    opacity: 0.6;
}

.footer-credit a {
    color: var(--white);
    opacity: 1;
    border-bottom: 1px dotted rgba(255,255,255,0.4);
}

/* Footer nav */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.footer-nav a {
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.25s;
}

.footer-nav a:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

/* ========================================
   Floating Call Button (mobile)
   ======================================== */

.float-call {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(107, 174, 214, 0.5);
    animation: pulse-ring 2s infinite;
}

.float-call svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 4px 20px rgba(107, 174, 214, 0.5); }
    50% { box-shadow: 0 4px 30px rgba(107, 174, 214, 0.8), 0 0 0 8px rgba(107, 174, 214, 0.15); }
    100% { box-shadow: 0 4px 20px rgba(107, 174, 214, 0.5); }
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    .header-info { text-align: center; }
    .header-logo img { max-height: 120px; margin: 0 auto; }
    .header-contact { font-size: 0.82rem; }
    .hours { font-size: 0.75rem; }
    .header-divider { margin: 6px auto; }

    /* Remove all curves on mobile */
    .hero::after,
    .trust-strip::before,
    .trust-strip::after,
    .site-footer::before { display: none; }

    /* Hero - let images show naturally, just cap the really tall ones */
    .hero { border-top: none; }
    .hero img { max-height: 300px; object-fit: cover; object-position: center 30%; }

    .hero-overlay {
        padding-left: 5% !important;
        padding-right: 5% !important;
        padding-top: 5% !important;
    }
    .hero-overlay h1 { font-size: 1.8rem !important; }
    .hero-overlay p { font-size: 0.9rem !important; }

    /* Homepage - push text to bottom with gradient */
    .hero-text-bottom {
        align-items: flex-end !important;
        justify-content: center !important;
        text-align: center !important;
        padding-bottom: 20px !important;
        background: linear-gradient(to bottom, transparent 40%, rgba(137, 196, 225, 0.6)) !important;
    }

    /* Kennels - keep right-aligned but push text to top, clear of the dog */
    .hero-text-top {
        align-items: flex-start !important;
        padding-top: 10px !important;
    }

    /* Hide trust strip on mobile - doesn't work on small screens */
    .trust-strip { display: none; }

    .site-footer {
        padding: 25px 15px 15px;
    }
    .site-footer h2 { font-size: 2rem; }

    .site-nav { gap: 2px; flex-wrap: wrap; justify-content: center; }
    .site-nav a { padding: 5px 8px; font-size: 0.75rem; }

    h2 { font-size: 1.5rem; }
    .two-col h3 { font-size: 1.3rem; }

    .intro-cards,
    .service-cards,
    .two-col,
    .team-grid,
    .reviews-grid { grid-template-columns: 1fr; }

    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
    .gallery-grid img { height: 150px; }

    .section { padding: 30px 15px; }
    .section-icon { width: 40px; height: 40px; }
    .cta { padding: 30px 15px; }

    .float-call { display: flex; }

    .two-col > div { padding: 22px; }

    .contact-info { gap: 20px !important; }
    .contact-info .phone { font-size: 1.5rem !important; }
    .contact-info svg { width: 30px !important; height: 30px !important; }
}

@media (max-width: 480px) {
    .header-logo img { max-height: 100px; }
    .header-contact { font-size: 0.75rem; }
    .hours { font-size: 0.7rem; }
    .hero img { max-height: 250px; }
    .hero-overlay h1 { font-size: 1.5rem !important; }
    .hero-overlay p { font-size: 0.8rem !important; }
    .site-nav a { padding: 4px 6px; font-size: 0.7rem; }
    .gallery-grid img { height: 120px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
