/* ========================================
   Little Rox's Ice Cream Shop
   Classic & Elegant — Terracotta + Sand
   ======================================== */

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

:root {
    --terracotta: #C0603C;
    --terracotta-dark: #A04E2E;
    --terracotta-light: #D4856A;
    --sand: #F5EDE3;
    --sand-light: #FAF6F1;
    --sand-dark: #E8DDD0;
    --cream: #FFFDF9;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --warm-gray: #7A6E66;
    --warm-gray-light: #A89B93;
    --gold: #C9A84C;
    --gold-light: #E0C878;
    --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.06);
    --shadow-md: 0 4px 20px rgba(44, 36, 32, 0.08);
    --shadow-lg: 0 8px 40px rgba(44, 36, 32, 0.12);
    --radius-sm: 8px;
    --radius-md: 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: 'Lato', sans-serif;
    font-weight: 400;
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

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

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

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: var(--charcoal);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--warm-gray);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-label {
    padding-left: 0;
}

.section-header .section-label::before {
    display: none;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

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

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 96, 60, 0.3);
}

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

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

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

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

.navbar.scrolled {
    background: rgba(255, 253, 249, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .nav-logo {
    color: var(--charcoal);
}

.navbar.scrolled .nav-link {
    color: var(--charcoal-light);
}

.navbar.scrolled .nav-link:hover {
    color: var(--terracotta);
}

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

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.03em;
    transition: color var(--transition);
}

.nav-link:hover {
    color: #fff;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--terracotta);
    color: #fff !important;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

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

.navbar.scrolled .nav-toggle-bar {
    background: var(--charcoal);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(192, 96, 60, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(201, 168, 76, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(160, 78, 46, 0.5) 0%, transparent 70%),
        linear-gradient(160deg, #8B4513 0%, #C0603C 30%, #D4856A 55%, #E8A87C 75%, #F5C898 100%);
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(255, 253, 249, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(201, 168, 76, 0.2) 0%, transparent 40%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 36, 32, 0.25);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
    padding: 0 24px;
}

.hero-tagline {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(44, 36, 32, 0.3);
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: bounce 2s ease-in-out infinite;
}

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

/* --- About --- */
.section {
    padding: 100px 0;
}

.about {
    background: var(--cream);
}

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

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

.about-image-wrapper img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--terracotta);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.2;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--sand-dark);
}

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--terracotta);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--warm-gray);
    line-height: 1.4;
}

/* --- Flavors --- */
.flavors {
    background: var(--sand-light);
}

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

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

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

.flavor-card-image {
    height: 220px;
    overflow: hidden;
}

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

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

.flavor-card-body {
    padding: 28px;
}

.flavor-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    background: rgba(192, 96, 60, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.flavor-name {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.flavor-desc {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.flavors-note {
    text-align: center;
    margin-top: 48px;
    padding: 24px 32px;
    background: var(--cream);
    border-radius: var(--radius-md);
    border: 1px solid var(--sand-dark);
}

.flavors-note p {
    font-size: 0.95rem;
    color: var(--warm-gray);
}

.flavors-note strong {
    color: var(--terracotta);
}

/* --- Experience --- */
.experience {
    background: var(--charcoal);
}

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

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

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

.experience-item {
    text-align: center;
}

.experience-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 50%;
    color: var(--gold-light);
}

.experience-item h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 10px;
}

.experience-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* --- Visit --- */
.visit {
    background: var(--cream);
}

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

.visit-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.visit-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sand);
    border-radius: var(--radius-sm);
    color: var(--terracotta);
}

.visit-detail strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--charcoal);
}

.visit-detail p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.visit-detail a {
    color: var(--terracotta);
}

.visit-detail a:hover {
    color: var(--terracotta-dark);
    text-decoration: underline;
}

.btn-map {
    margin-top: 12px;
}

.visit-map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 7/5;
}

.visit-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--cream);
    color: var(--charcoal);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.map-overlay-btn:hover {
    background: var(--terracotta);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Testimonial --- */
.testimonial {
    background: linear-gradient(135deg, var(--sand) 0%, var(--sand-light) 100%);
    padding: 80px 0;
}

.testimonial-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    color: var(--terracotta);
    margin-bottom: 24px;
}

.testimonial blockquote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.6;
    margin-bottom: 24px;
}

.testimonial-source {
    font-size: 0.9rem;
    color: var(--warm-gray);
    font-style: normal;
}

/* --- Contact --- */
.contact {
    background: var(--sand-light);
}

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

.contact-text {
    font-size: 1.05rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--cream);
    border-radius: var(--radius-md);
    border: 1px solid var(--sand-dark);
    transition: all var(--transition);
}

.contact-method:hover {
    border-color: var(--terracotta);
    transform: translateX(4px);
}

.contact-method-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 96, 60, 0.1);
    border-radius: var(--radius-sm);
    color: var(--terracotta);
    flex-shrink: 0;
}

.contact-method span {
    font-size: 0.95rem;
    color: var(--charcoal);
    font-weight: 500;
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--sand-dark);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--sand-light);
    border: 1px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    outline: none;
    transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(192, 96, 60, 0.1);
}

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

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(192, 96, 60, 0.08);
    border-radius: var(--radius-sm);
    color: var(--terracotta);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    flex-shrink: 0;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

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

.footer-brand .footer-logo {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
}

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

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

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

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

.footer-links li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a:hover {
    color: var(--gold-light);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

/* --- Mobile Menu --- */
@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right var(--transition);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 1rem;
    }

    .nav-link:hover {
        color: #fff !important;
    }

    .nav-cta {
        color: #fff !important;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.show {
        display: block;
    }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .about-grid,
    .visit-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        order: -1;
    }

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

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

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

@media (max-width: 600px) {
    .section {
        padding: 72px 0;
    }

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

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

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

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

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}
