/* ============================================
   Zim Zam Ice Shop — Editorial Style
   Forest Green + Off-White Palette
   ============================================ */

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

:root {
    --forest: #1B4332;
    --forest-deep: #0E2B1F;
    --forest-light: #2D6A4F;
    --forest-muted: #40916C;
    --cream: #F5F0E8;
    --cream-light: #FAF7F2;
    --cream-dark: #E8E0D0;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --accent: #D4A843;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', Georgia, serif;
}

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

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

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

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 240, 232, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(245, 240, 232, 0.95);
    box-shadow: 0 4px 30px rgba(27, 67, 50, 0.08);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--forest);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__logo-icon {
    color: var(--forest);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--forest);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--forest);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--forest);
    color: var(--cream-light) !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 600;
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--forest-light);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle span {
    width: 22px;
    height: 2px;
    background: var(--forest);
    transition: var(--transition);
    border-radius: 2px;
}

.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);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mobile-menu__link {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--forest);
    transition: var(--transition);
}

.mobile-menu__link:hover {
    color: var(--forest-muted);
}

.mobile-menu__link--cta {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: var(--forest);
    color: var(--cream-light);
    padding: 14px 36px;
    border-radius: 100px;
    display: inline-block;
}

.mobile-menu__contact {
    margin-top: 16px;
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.8;
}

.mobile-menu__contact a {
    color: var(--forest);
    font-weight: 600;
}

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 24px 60px;
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(27, 67, 50, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 106, 79, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero__card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 60px rgba(27, 67, 50, 0.08), 0 1px 3px rgba(27, 67, 50, 0.04);
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.hero__card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}

.hero__content {
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--forest-muted);
    margin-bottom: 28px;
}

.hero__eyebrow-line {
    width: 32px;
    height: 2px;
    background: var(--forest-muted);
    border-radius: 2px;
}

.hero__headline {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--forest-deep);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__headline--accent {
    color: var(--forest-muted);
    font-style: italic;
    font-weight: 400;
}

.hero__subheadline {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 40px;
    max-width: 440px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn--primary {
    background: var(--forest);
    color: var(--cream-light);
}

.btn--primary:hover {
    background: var(--forest-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.25);
}

.btn--ghost {
    background: transparent;
    color: var(--forest);
    border: 1.5px solid var(--forest);
}

.btn--ghost:hover {
    background: var(--forest);
    color: var(--cream-light);
}

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

/* Hero Image */
.hero__image-wrap {
    position: relative;
}

.hero__image-frame {
    width: 100%;
    height: 100%;
    min-height: 560px;
    overflow: hidden;
}

.hero__image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Stat Cards */
.hero__float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: 0 8px 32px rgba(27, 67, 50, 0.15);
    animation: float 4s ease-in-out infinite;
}

.hero__float-card--1 {
    bottom: 40px;
    left: -30px;
    animation-delay: 0s;
}

.hero__float-card--2 {
    top: 40px;
    right: -20px;
    animation-delay: 2s;
}

.float-card__number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--forest);
}

.float-card__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-top: 2px;
}

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

/* Scroll Indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--forest-muted), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- Section Header ---- */
.section-header {
    margin-bottom: 64px;
}

.section-header--centered {
    text-align: center;
}

.section-header__eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--forest-muted);
    margin-bottom: 16px;
}

.section-header__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--forest-deep);
    letter-spacing: -0.02em;
}

.section-header__title--light {
    color: var(--cream-light);
}

.section-header__title em {
    font-style: italic;
    font-weight: 400;
    color: var(--forest-muted);
}

.section-header__title--light em {
    color: var(--cream-dark);
}

/* ---- Products ---- */
.products {
    padding: 100px 24px;
    background: var(--cream);
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(27, 67, 50, 0.04);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(27, 67, 50, 0.12);
}

.product-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--forest);
    color: var(--cream-light);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 100px;
}

.product-card__body {
    padding: 28px;
}

.product-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--forest-deep);
    margin-bottom: 10px;
}

.product-card__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-mid);
}

/* ---- Divider ---- */
.divider {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.divider__line {
    flex: 1;
    height: 1px;
    background: var(--cream-dark);
}

.divider__mark {
    color: var(--forest-muted);
    flex-shrink: 0;
}

/* ---- About ---- */
.about {
    padding: 100px 24px;
    background: var(--forest);
}

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

.about__images {
    position: relative;
}

.about__img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about__img-main img {
    width: 100%;
    height: 620px;
    object-fit: cover;
}

.about__img-secondary {
    position: absolute;
    bottom: -32px;
    right: -32px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid var(--forest);
}

.about__img-secondary img {
    width: 400px;
    height: 300px;
    object-fit: cover;
}

.about__content {
    padding: 20px 0;
}

.about__text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(245, 240, 232, 0.75);
    margin-bottom: 20px;
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-item__icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream-dark);
    flex-shrink: 0;
}

.value-item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--cream-light);
    margin-bottom: 4px;
}

.value-item span {
    font-size: 0.875rem;
    color: rgba(245, 240, 232, 0.6);
    line-height: 1.6;
}

/* ---- Quote Section ---- */
.quote-section {
    padding: 100px 24px;
    background: var(--cream);
}

.quote-section__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

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

.quote-section__text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--forest-deep);
    margin-bottom: 32px;
}

.quote-section__attribution {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quote-section__name {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.quote-section__location {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ---- Location ---- */
.location {
    padding: 100px 24px;
    background: var(--cream-light);
}

.location__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

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

.location__card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--white);
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(27, 67, 50, 0.04);
    transition: var(--transition);
}

.location__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(27, 67, 50, 0.1);
}

.location__card-icon {
    width: 48px;
    height: 48px;
    background: var(--forest);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream-light);
    flex-shrink: 0;
}

.location__card strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--forest-deep);
    margin-bottom: 6px;
}

.location__card p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.location__card a {
    color: var(--forest-muted);
    transition: var(--transition);
}

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

.location__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(27, 67, 50, 0.1);
    min-height: 400px;
}

/* ---- Contact ---- */
.contact {
    padding: 100px 24px;
    background: var(--forest);
}

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

.contact__text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(245, 240, 232, 0.7);
    margin-bottom: 36px;
}

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

.contact__detail-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cream-light);
    transition: var(--transition);
}

.contact__detail-link:hover {
    color: var(--accent);
}

.contact__detail-link svg {
    color: var(--forest-muted);
}

/* Form */
.contact__form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

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

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--cream-light);
    transition: var(--transition);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--forest);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(27, 67, 50, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(27, 67, 50, 0.06);
    border-radius: var(--radius);
    color: var(--forest);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success svg {
    color: var(--forest);
    flex-shrink: 0;
}

/* ---- Footer ---- */
.footer {
    background: var(--forest-deep);
    padding: 64px 24px 32px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cream-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__logo-icon {
    color: var(--cream-dark);
}

.footer__tagline {
    font-size: 0.875rem;
    color: rgba(245, 240, 232, 0.5);
    margin-top: 8px;
    max-width: 260px;
}

.footer__links {
    display: flex;
    gap: 32px;
}

.footer__links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(245, 240, 232, 0.6);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--cream-light);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.35);
}

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

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero__card-inner {
        grid-template-columns: 1fr;
    }
    
    .hero__image-wrap {
        display: none;
    }
    
    .hero__content {
        padding: 48px 36px;
    }
    
    .about__img-secondary {
        right: -16px;
        bottom: -16px;
    }
    
    .about__img-main img {
        height: 480px;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero__content {
        padding: 36px 28px;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
    
    .products__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about__img-main img {
        height: 360px;
    }
    
    .about__img-secondary {
        width: 200px;
        height: 150px;
        bottom: -16px;
        right: -8px;
    }
    
    .about__img-secondary img {
        width: 200px;
        height: 150px;
    }
    
    .location__grid {
        grid-template-columns: 1fr;
    }
    
    .location__map {
        min-height: 280px;
    }
    
    .contact__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact__form-wrap {
        padding: 28px;
    }
    
    .footer__top {
        flex-direction: column;
        gap: 28px;
    }
    
    .footer__links {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__headline {
        font-size: 2rem;
    }
    
    .section-header__title {
        font-size: 1.8rem;
    }
    
    .product-card__body {
        padding: 20px;
    }
}
