/* ============================================
   Kristy's Sweet Treats & Edible Creations
   Classic & Elegant — Forest Green + Off-White
   ============================================ */

/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --forest: #1a4d2e;
    --forest-deep: #0f3419;
    --forest-light: #2d6a4f;
    --forest-muted: #40916c;
    --cream: #faf8f4;
    --cream-dark: #f0ece4;
    --warm-white: #fffef9;
    --gold: #c9a84c;
    --gold-light: #e0c97b;
    --text-dark: #1a1a1a;
    --text-body: #3d3d3d;
    --text-muted: #6b6b6b;
    --text-light: #9a9a9a;
    --border: #e5e0d8;
    --shadow-sm: 0 2px 8px rgba(26, 77, 46, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 77, 46, 0.10);
    --shadow-lg: 0 20px 60px rgba(26, 77, 46, 0.14);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Segoe UI', system-ui, sans-serif;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--forest);
    line-height: 1.2;
    font-weight: 500;
}

em {
    font-style: italic;
    color: var(--forest-light);
}

/* ── Section Labels ── */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--forest-muted);
    margin-bottom: 16px;
    position: relative;
    padding-left: 28px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1.5px;
    background: var(--forest-muted);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.8;
}

.center {
    text-align: center;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--forest);
    color: #fff;
    border-color: var(--forest);
}

.btn-primary:hover {
    background: var(--forest-deep);
    border-color: var(--forest-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--forest);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-large {
    padding: 18px 40px;
    font-size: 0.9rem;
}

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(250, 248, 244, 0.97);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    transition: color var(--transition);
}

.logo-icon {
    color: var(--gold-light);
}

.site-header.scrolled .logo {
    color: var(--forest);
}

.site-header.scrolled .logo-icon {
    color: var(--forest-muted);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
}

.main-nav a {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    transition: color var(--transition);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold-light);
    transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover {
    color: #fff;
}

.site-header.scrolled .main-nav a {
    color: var(--text-muted);
}

.site-header.scrolled .main-nav a::after {
    background: var(--forest);
}

.site-header.scrolled .main-nav a:hover {
    color: var(--forest);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

.site-header.scrolled .nav-toggle span {
    background: var(--forest);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(15, 52, 25, 0.82) 0%,
        rgba(26, 77, 46, 0.65) 50%,
        rgba(45, 106, 79, 0.50) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 28px;
    padding: 8px 20px;
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 50px;
    backdrop-filter: blur(4px);
    background: rgba(201, 168, 76, 0.08);
}

.hero-headline {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-headline em {
    color: var(--gold-light);
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ── About ── */
.about {
    padding: 120px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7.5;
}

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--cream);
}

.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

.about-seal {
    position: absolute;
    top: -20px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--forest);
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    box-shadow: var(--shadow-md);
}

.about-seal svg {
    color: var(--gold-light);
}

.about-content {
    padding: 20px 0;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 20px;
    line-height: 1.85;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

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

.value-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-dark);
    border-radius: var(--radius-sm);
    color: var(--forest-muted);
    flex-shrink: 0;
}

/* ── Creations ── */
.creations {
    padding: 120px 0;
    background: var(--warm-white);
}

.section-header {
    margin-bottom: 64px;
}

.creations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.creation-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.creation-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.creation-img {
    overflow: hidden;
    aspect-ratio: 5/6;
}

.creation-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.creation-card:hover .creation-img img {
    transform: scale(1.06);
}

.creation-body {
    padding: 32px 28px;
}

.creation-body h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--forest);
}

.creation-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ── Cakes Feature ── */
.cakes-feature {
    padding: 120px 0;
    background: var(--forest);
    color: #fff;
}

.cakes-feature .section-label {
    color: var(--gold-light);
}

.cakes-feature .section-label::before {
    background: var(--gold-light);
}

.cakes-feature .section-title {
    color: #fff;
}

.cakes-feature .section-title em {
    color: var(--gold-light);
}

.cakes-feature p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 32px;
}

.cakes-list {
    list-style: none;
    margin-bottom: 40px;
}

.cakes-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.cakes-list-icon {
    color: var(--gold-light);
    flex-shrink: 0;
}

.cakes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cakes-gallery {
    position: relative;
}

.cakes-gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cakes-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7;
}

.cakes-gallery-side {
    position: absolute;
    bottom: -30px;
    left: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--forest);
}

.cakes-gallery-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* ── Gifts ── */
.gifts {
    padding: 120px 0;
    background: var(--cream);
}

.gifts-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.gifts-content p {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 32px;
}

.gifts-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gift-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--forest);
}

.gift-feature svg {
    color: var(--forest-muted);
    flex-shrink: 0;
}

.gifts-images {
    position: relative;
}

.gift-img-1 {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.gift-img-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 9/11;
}

.gift-img-2 {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--cream);
}

.gift-img-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 9/7;
}

/* ── Testimonial ── */
.testimonial {
    padding: 100px 0;
    background: var(--cream-dark);
}

.testimonial-inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--forest);
}

.testimonial blockquote p {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-style: italic;
    color: var(--forest);
    line-height: 1.6;
    margin-bottom: 28px;
}

.testimonial cite {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-style: normal;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.testimonial cite span:last-child {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-light);
}

/* ── Contact ── */
.contact {
    padding: 120px 0;
    background: var(--warm-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info p {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail dt {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: var(--radius-sm);
    color: var(--forest-muted);
    flex-shrink: 0;
}

.contact-detail dd {
    font-size: 1rem;
    line-height: 1.7;
}

.contact-detail a {
    color: var(--text-body);
    transition: color var(--transition);
}

.contact-detail a:hover {
    color: var(--forest);
}

/* Form */
.contact-form-wrap {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--forest);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--warm-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest-muted);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    background: var(--cream-dark);
    border-radius: var(--radius-md);
    text-align: center;
    margin-top: 20px;
}

.form-success svg {
    color: var(--forest-muted);
}

.form-success p {
    font-size: 0.95rem;
    color: var(--forest);
    font-weight: 600;
}

/* ── Location Banner ── */
.location-banner {
    background: var(--forest-deep);
    padding: 48px 0;
}

.location-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.location-text h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 6px;
}

.location-text p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

/* ── Footer ── */
.site-footer {
    background: var(--forest-deep);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 0;
}

.logo-light {
    color: #fff;
    margin-bottom: 16px;
    display: inline-block;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.85;
}

.footer-contact a {
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 28px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

/* ── Mobile Nav Overlay ── */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 52, 25, 0.97);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.main-nav-mobile ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.main-nav-mobile a {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #fff;
    transition: color var(--transition);
}

.main-nav-mobile a:hover {
    color: var(--gold-light);
}

/* ── Scroll Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .about-grid,
    .cakes-grid,
    .gifts-inner,
    .contact-grid {
        gap: 48px;
    }

    .about-image-accent {
        right: -20px;
        bottom: -20px;
    }

    .cakes-gallery-side {
        left: -16px;
        bottom: -16px;
    }

    .gift-img-2 {
        right: -16px;
        bottom: -16px;
    }
}

@media (max-width: 900px) {
    .about-grid,
    .cakes-grid,
    .gifts-inner,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .creations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .about-image-wrap {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-image-accent {
        width: 50%;
        right: -10px;
        bottom: -16px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .creations-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

    .location-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .about,
    .creations,
    .cakes-feature,
    .gifts,
    .contact {
        padding: 80px 0;
    }

    .hero-badge {
        font-size: 0.7rem;
    }
}
