/* =========================================================
   GLOBAL / RESET / VARIABLES
   ========================================================= */

:root {
    --gold: #ac9742;
    --purple: #352c56;
    --subtitle: #7a7a7a;

    --tan-bg: #f6e1b8;
    --panel-bg: #f1f0f6;
    --card-bg: #ffffff;

    --nav-bg: grey;
    --nav-link: burlywood;
    --nav-link-hover: bisque;

    --text: #222;
    --muted: #666;
    --text-shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.25);


    --maxw: 1120px;
    --radius: 18px;

    --font-title: "Playfair Display", serif;
    --font-body: "Merriweather Sans", sans-serif;

    /* Section / panel titles */
    --section-title-font: clamp(18px, 2vw, 48px);
    --section-title-weight: 700;
    --section-title-letter-spacing: 0.10em;
    --section-title-transform: uppercase;
    --section-title-color: #1f1f1f;
    --section-title-font-case: small-caps;

    /* Body text */
    --body-font: var(--font-body);
    --body-weight: 300;
    --body-line-height: 1.8;
    --body-color: #2d2d2d;

    --header-stack-height: 160px;
        
}

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

html,
body {
    height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    background-color: var(--tan-bg);
    /* display: flex;

    flex-direction: column; */
    font-family: var(--font-body);
    color: var(--text);
}

img {
    max-width: 100%;
    display: block;
}

main p {
    line-height: 1.75;
}
/* =========================================================
   GLOBAL LINK STYLES
   ========================================================= */

a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover,
a:focus {
    color: var(--nav-link-hover);

}



/* =========================================================
   TOP HEADER BAR 
   ========================================================= */

.stayontop {
    position: fixed;
    top: 0;
    z-index: 50;
    width: 100%;
}

.site-topbar {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.topbar-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* three columns */
.topbar-left,
.topbar-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.topbar-left {
    gap: 10px;
}

.topbar-center {
    flex: 4;
    display: flex;
    justify-content: center;
    text-align: center;
}

/* Title */
.site-title {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(28px, 3.6vw, 52px);
    line-height: 1;
    color: var(--gold);
    text-decoration: none;
    text-shadow: var(--text-shadow-soft);
}

/* Social Icons */
.icon-link {
    color: #000;
    font-size: 1.4rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.icon-link:hover,
.litter-link:hover {
    color: var(--nav-link);
    transform: translateY(-1px);
    transition: transform 0.15s ease-in-out, color 0.15s ease-in-out;
}

/* Star Icon */
.fa-star {
    color: var(--gold);
    font: size 1.5em;
}

/* Right callout */
.topbar-right {
    justify-content: flex-start;
}

.litter-link {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--gold);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    gap: 6px;
    align-items: start;
    text-shadow: var(--text-shadow-soft)
}

.litter-link i {
    color: var(--muted);
    font-size: 0.9rem;

}


.litter-link .emoji {
    margin: 0px 6px;
}

/* Responsive topbar */
@media (max-width: 900px) {
    .topbar-inner {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .topbar-left,
    .topbar-right {
        flex: 1 1 100%;
        justify-content: center;
    }

    .topbar-center {
        order: -1;
        flex: 1 1 100%;
    }

    .litter-link {
        white-space: normal;
        text-align: center;
    }
}

/* =========================================================
   NAV (STICKY)
   ========================================================= */
header {
    position: sticky;
    top: 0;
    z-index: 50;
}

nav {
    margin: 0;
    background-color: var(--nav-bg) !important;

}

nav ul {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Nav list spacing only */
nav ul li {
    margin: 18px 10px;
}

/* Nav links */
.nav-link {
    display: inline-flex;
    align-items: flex-start;
    gap: 0px;

    text-decoration: none;
    color: var(--nav-link);
    text-align: left;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--nav-link-hover);
}

.nav-link i {
    width: 18px;
    margin-right: 6px;
    text-align: center;
    color: #000;
}

/* Mobile nav stack */
@media (max-width: 768px) {
    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        justify-content: flex-start;
        text-align: left;
        padding: 12px 16px;
    }

    .navbar-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

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


/* =========================================================
   PAGE CONTENT WRAPPER
   ========================================================= */

.page-content {
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: var(--header-stack-height);
}



section {
    margin: 0;
}


/* Headings / body */
h1 {
    font-family: var(--font-body);
    font-size: 2rem;
    text-align: center;
    margin: 20px auto;
    font-variant: small-caps;
}

h5 {
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: left;
}

p {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    text-align: left;
    margin: 0;
}

/* =========================================================
   HERO
   ========================================================= */

.hero-image {
    background-image: url("../imgs/puppy-img.jpg");
    height: 300px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* =========================================================
   REUSABLE SITE SECTIONS
   (Tan section → Gray panel → White card)
   ========================================================= */

.site-section {
    background: var(--panel-bg);
    padding: 10px;
    margin-bottom: 5px;
}

/* Aligns with Latest News width */
.section-inner {
    background: var(--card-bg);
    padding: 34px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}



/* White content card */
.site-section .section-card {
    background: var(--card-bg);
    padding: 34px 30px;
    border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* =========================================================
   SECTION HEADINGS & TEXT
   ========================================================= */

.section-title {
    margin: 0 0 14px;
    text-align: center;
    font-weight: var(--section-title-weight);
    font-variant: var(--section-title-font-case);
    color: var(--section-title-color);
    font-size: var(--section-title-font);
    letter-spacing: var(--section-title-letter-spacing);
}

.section-text {
    margin: 0;
    line-height: 1.8;
    color: #2d2d2d;
    font-weight: 300;
}

/* Space between paragraphs */
.section-text+.section-text {
    margin-top: 12px;
}

/* =========================================================
   HOME FEATURE CARDS (Bootstrap grid, site styling)
   ========================================================= */

.site-cards .site-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.site-cards .site-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.site-cards .site-card .card-img-top {

    height: 350px;
    width: 100%;
    object-fit: cover;
    object-position: center 10%;
    /* lifts the crop upward */
}

/* RIGHT CARD IMAGE ONLY */
.site-cards .site-card .card-image-right {
    height: 620px;
    /* controls visible height */
    overflow: hidden;
    /* enables crop */
    border-radius: 18px 18px 0 0;
}

.site-cards .site-card .card-img-right {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    /* lifts crop upward */
    display: block;
}



.site-cards .site-card .card-body {
    padding: 18px 18px 20px;
}

.site-cards .site-card .card-title {
    margin: 0 0 10px;
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--purple);
    font-size: 0.95rem;
}

.site-cards .site-card .card-text {
    margin: 0;
    font-weight: 300;
    line-height: 1.7;
    color: var(--body-color);
}

.site-cards .site-card a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
}

.site-cards .site-card a:hover {
    text-decoration: underline;
}

.site-cards .site-card .card-image-right {
    height: 620px;
    width: 100%;
    object-fit: cover;
    object-position: center 25%;
    /* lifts the crop upward */

}

/* Mobile tweaks */
@media (max-width: 768px) {
    .site-cards .site-card .card-img-top {
        height: 200px;
    }
}

/* =========================================================
   REASONS LIST (PAW BULLETS)
   ========================================================= */

.reasons-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 12px 16px;

}

.reasons-list li {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(53, 44, 86, 0.10);
    border-radius: 12px;
    padding: 12px 14px 12px 44px;
    position: relative;
    line-height: 1.5;
    font-weight: 300;
    text-align: left;
}

.reasons-list li::before {
    content: "🐾";
    position: absolute;
    left: 14px;
    top: 12px;
}

.reasons-list.no-paw li {
    padding-left: 16px;
    /* remove space reserved for paw */
}

.reasons-list.no-paw li::before {
    content: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
    .site-section {
        padding: 20px 12px;

    }

    .section-inner {
        padding: 22px;
        /* tighten the white card too */
    }

    .section-card {
        padding: 22px 20px;
    }


    .site-section .section-card {
        padding: 26px 22px;
    }

    .reasons-list {
        grid-template-columns: 1fr;
        /* back to one column */
    }
}

/* =========================================================
   PURCHASE BUTTONS
   ========================================================= */

.btn-purchase {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    /* soft pill shape */
    background-color: var(--gold);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-purchase:hover {
    background-color: #9a8538;
    /* slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
    text-decoration: none;
    color: #fff;
}

/* Secondary / outline style */
.btn-purchase.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    box-shadow: none;
}

.btn-purchase.btn-outline:hover {
    background: var(--gold);
    color: #fff;
}

/* =========================================================
   FOOTER (NORMAL FLOW, NO OVERLAP)
   ========================================================= */

footer {
    margin-top: auto;
    background-color: var(--nav-bg);
    text-align: center;
    color: bisque;
    padding: 10px 12px;
}

footer a {
    color: var(--nav-link);
    text-decoration: none;
}

footer a:hover {
    color: var(--nav-link-hover);
    text-decoration: underline;
}