/*==================================================
 CROOKED D CREAMERY
 Main Stylesheet
==================================================*/

:root {
    --cream: #FFECC8;
    --gold: #FFD486;
    --orange: #D77D18;
    --brown: #703D08;
    --coffee: #66391F;
    --white: #ffffff;
    --radius: 24px;
    --shadow-sm: 0 8px 18px rgba(0,0,0,.08);
    --shadow: 0 18px 45px rgba(0,0,0,.12);
    --transition: .35s ease;
}

/* RESET & GLOBAL */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    background:
        linear-gradient(rgba(255,255,255,.75), rgba(255,255,255,.75)),
        url("../images/background/western-pattern.jpg");
    background-repeat: repeat;
    background-size: 650px;
    background-attachment: fixed;
    max-width: 2500px;
    margin: 0 auto;
}

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

a { text-decoration: none; }

section {
    position: relative;
    padding: 120px 0;
}

.container {
    position: relative;
    z-index: 5;
}

.rounded-5 { border-radius: 30px !important; }

.py-2-5 {
    padding-top: 12px;
    padding-bottom: 12px;
}

/* TYPOGRAPHY */
h1, h2, h3 {
    font-family: "Rye", serif;
    color: var(--brown);
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.05;
}

h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

h3 { font-size: 1.5rem; }

p {
    color: var(--coffee);
    font-size: 1.1rem;
}

.section-label {
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--orange);
    font-size: .9rem;
    font-weight: 700;
}

/* NAVIGATION */
.navbar {
    padding: 20px 0;
    transition: .4s;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(102,57,31,.95);
    backdrop-filter: blur(14px);
    padding: 12px 0;
    box-shadow: var(--shadow);
    max-width: 2500px;
    margin: 0 auto;
}

.navbar-brand img { height: 65px; }

.nav-link {
    color: white !important;
    text-transform: uppercase;
    font-size: .9rem;
    letter-spacing: 2px;
    margin-left: 22px;
    transition: var(--transition);
}

.nav-link:hover { color: var(--gold) !important; }

.nav-link.active { color: var(--gold) !important; }

/* White mobile navbar toggle */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.7);
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.25);
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    min-height: 850px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 110px;
    padding-bottom: 80px;
    background: url("../images/hero.jpeg") center center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(40,20,10,.45), rgba(20,10,5,.55));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    text-align: center;
    color: white;
}

.hero-content h1 {
    color: white;
    margin-bottom: 30px;
    text-shadow: 0 8px 30px rgba(0,0,0,.35);
}

.hero-content p {
    color: white;
    font-size: 1.3rem;
    max-width: 700px;
    margin: auto;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 25px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: .85rem;
    padding-top: 75px;
}

.hero-buttons {
    margin-top: 45px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2.5s infinite;
    z-index: 3;
}

@keyframes bounce {
    0%,20%,50%,80%,100% { transform: translate(-50%,0); }
    40% { transform: translate(-50%,-12px); }
    60% { transform: translate(-50%,-6px); }
}

/* PATTERN */
.pattern {
    background:
        linear-gradient(rgba(255,236,200,.90), rgba(255,236,200,.90)),
        url("../images/background/western-pattern.jpg");
    background-repeat: repeat;
    background-size: 600px;
}

/* INTERIOR HERO */
.internal-hero {
    min-height: 610px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    background:
        linear-gradient(rgba(70,40,20,.65), rgba(70,40,20,.65));
    background-size: cover;
    background-position: center;
}

.internal-hero h1 {
    color: white;
    text-shadow: 0 5px 25px rgba(0,0,0,.4);
}

.internal-hero p {
    color: #fff;
    max-width: 700px;
    margin: auto;
}

/* ABOUT / FEATURE CONTENT */
.feature-card {
    background: rgba(255,255,255,.96);
    border-radius: 28px;
    padding: 45px 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    transition: .35s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,.12);
}

.feature-card i {
    color: var(--orange);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature-card h3 { margin-bottom: 18px; }

.mission-banner {
    background: var(--coffee);
    color: white;
    padding: 120px 0;
}

.mission-banner h2 { color: var(--cream); }

.mission-divider {
    width: 120px;
    margin: 40px auto;
    border: 2px solid rgba(255,255,255,.35);
}

.mission-text {
    max-width: 760px;
    margin: auto;
    font-size: 1.15rem;
}

.quote-box {
    background: var(--cream);
    padding: 50px;
    border-radius: 30px;
    border-left: 8px solid var(--orange);
    box-shadow: 0 20px 45px rgba(0,0,0,.08);
}

.quote-box i { color: var(--orange); }

.quote-box p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-top: 20px;
}

.about-cta {
    background:
        linear-gradient(rgba(102,57,31,.90), rgba(102,57,31,.90)),
        url("../images/background/western-pattern.jpg");
    background-size: 500px;
    color: white;
}

.about-cta h2, .about-cta h3 { color: var(--cream); }
.about-cta p { color: rgba(255,255,255,.92); }
.about-cta .btn-outline-light { border: 2px solid white; }
.about-cta .btn-outline-light:hover { background: white; color: var(--coffee); }

#about img {
    border-radius: 32px;
    box-shadow: var(--shadow);
}

/* FOOTER */
footer {
    background:
        linear-gradient(rgba(102,57,31,.94), rgba(102,57,31,.94)),
        url("../images/background/western-pattern.jpg");
    background-size: 450px;
    color: white;
    padding: 80px 0;
}

footer p {
    color: #f3f3f3;
    margin: 20px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 25px;
}

.social-links a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.12);
    color: white;
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--orange);
    transform: translateY(-5px);
}

/* FLAVORS */
.flavor-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

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

.flavor-card img {
    width: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.flavor-card:hover img { transform: scale(1.08); }

.flavor-card .card-body { padding: 30px; }
.flavor-card h3 { margin-bottom: 10px; }
.flavor-card p { margin-bottom: 0; }

/* SEASONAL FLAVORS */
.seasonal-flavors-section {
    padding: 110px 0;
    color: var(--brown);
    background:
        linear-gradient(rgba(250,246,236,.72), rgba(250,246,236,.72)),
        url("../images/background/western-pattern.jpg");
    background-size: 500px;
    background-repeat: repeat;
}

.seasonal-flavors-section h2 { color: var(--brown); }
.seasonal-flavors-section .section-label { color: var(--brown); }

.seasonal-flavors-section .lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--brown);
}

.seasonal-flavors-section > .container > .row:first-child p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: var(--brown);
}

.season-group {
    margin-top: 70px;
    padding: 38px;
    border-radius: 32px;
    background: color-mix(in srgb, var(--season-backdrop) 78%, transparent);
    border: 3px solid color-mix(in srgb, var(--season-color) 42%, transparent);
    box-shadow: 0 12px 30px rgba(73,42,23,.10);
    backdrop-filter: blur(1px);
}

.season-spring { --season-color: #64844f; --season-backdrop: #dfead5; }
.season-summer { --season-color: #c88716; --season-backdrop: #fff0c7; }
.season-fall { --season-color: #a94f25; --season-backdrop: #f0d0b9; }
.season-winter { --season-color: #4f7189; --season-backdrop: #d7e6ef; }

.season-group-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    color: var(--season-color);
}

.season-group-heading .season-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    border: 3px solid currentColor;
    border-radius: 50%;
    background: rgba(255,255,255,.96);
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.season-group-heading .season-icon i {
    font-size: 1.8rem;
    color: currentColor;
}

.season-group-heading h3 {
    margin: 0;
    color: var(--season-color);
    font-size: 2.35rem;
}

.season-kicker {
    display: block;
    margin-bottom: 3px;
    color: var(--season-color);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.season-flavor-card {
    height: 100%;
    overflow: hidden;
    border: 3px solid var(--season-color);
    border-radius: var(--radius);
    background: var(--cream);
    box-shadow: 0 14px 35px rgba(0,0,0,.22);
    transition: var(--transition);
}

.season-flavor-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(0,0,0,.30);
}

.season-flavor-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.season-flavor-card-body {
    padding: 22px 22px 24px;
    border-top: 6px solid var(--season-color);
}

.season-flavor-card-body h4 {
    margin: 0 0 8px;
    color: var(--brown);
    font-family: "Rye", serif;
    font-size: 1.65rem;
}

.season-flavor-card-body p {
    margin: 0;
    color: var(--brown);
    font-size: 1rem;
    line-height: 1.6;
}

/* =========================================
   MONTHLY ITALIAN ICE
========================================= */
.italian-ice-section {
    padding: 110px 0;
    color: white;
    background:
        linear-gradient(
            rgba(73, 42, 23, .94),
            rgba(73, 42, 23, .94)
        ),
        url("../images/background/western-pattern.jpg");
    background-size: 500px;
    background-repeat: repeat;
}

.italian-ice-section h2 {
    color: white;
}

.italian-ice-section .section-label {
    color: var(--cream);
}

.italian-ice-section .lead {
    margin-top: 8px;
    font-size: 1.35rem;
    font-weight: 600;
    color: white;
}

.italian-ice-section p {
    color: rgba(255,255,255,.92);
    line-height: 1.8;
}

/* IMAGE */
.italian-ice-image {
    overflow: hidden;
    border: 6px solid var(--cream);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0,0,0,.30);
}

.italian-ice-image img {
    width: 100%;
    display: block;
    transition: transform .4s ease;
}

.italian-ice-image:hover img {
    transform: scale(1.02);
}

/* MONTHLY FLAVOR */
.italian-ice-badge {
    display: inline-block;
    margin-bottom: 15px;
    padding: 7px 16px;
    border-radius: 50px;
    background: var(--orange);
    color: white;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.italian-ice-section h3 {
    margin-bottom: 20px;
    color: var(--cream);
    font-size: 2.5rem;
}

.italian-ice-section .btn {
    margin-top: 15px;
}

/* WAFFLE BOWLS */
.waffle-bowls { background: var(--cream); }
.waffle-bowls h2 { margin-bottom: 20px; }

.waffle-bowl-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* RESPONSIVE */
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
    .hero-content { max-width: 900px; }
}

@media (max-width: 1200px) {
    .hero h1 { font-size: 4.5rem; }
    section { padding: 100px 0; }
}

@media (max-width: 992px) {
    .navbar-brand img { height: 55px; }
    .navbar { background: rgba(102,57,31,.95); }
    .hero { min-height: 700px; text-align: center; }
    .hero-content { max-width: 700px; }
    .hero-buttons { justify-content: center; }
    h1 { font-size: 4rem; }
    h2 { font-size: 2.5rem; }
    section { padding: 90px 0; }
    #visit { text-align: center;}
    #visit .btn-brand { margin-bottom: 15px;}
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    .hero {
        min-height: 650px;
        padding-top: 120px;
    }
    .hero h1 { font-size: 3.25rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-brand, .btn-outline-light {
        width: 100%;
        max-width: 320px;
    }
    section { padding: 75px 0; }
    .flavor-card { margin-bottom: 30px; }
    footer { text-align: center; }

    .seasonal-flavors-section { padding: 80px 0; }
    .season-group { margin-top: 55px; }
    .season-group-heading { margin-bottom: 22px; }
    .season-group-heading h3 { font-size: 2rem; }
    .season-group-heading .season-icon {
        width: 58px;
        height: 58px;
    }
    .season-flavor-card-body { padding: 20px; }
}

@media (max-width: 576px) {
    .hero { min-height: 600px; }
    .hero h1 { font-size: 2.6rem; }
    .hero p { font-size: 1rem; }
    .hero-buttons { gap: 15px; }
    .navbar-brand img { height: 45px; }
    section { padding: 60px 0; }
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .flavor-card .card-body { padding: 24px; }
    .hero-buttons .btn { width: 100%; }
}

@media (max-width: 400px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: .95rem; }
    .btn-brand, .btn-outline-light {
        padding: 14px 22px;
        font-size: .85rem;
    }
    .section-label { letter-spacing: 2px; }
    h2 { font-size: 2rem; }
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: var(--orange);
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: .35s;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--brown);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
