/* ============================================
   Smooth Tony's Juice & Smoothie Bar
   Custom Styles — Terracotta + Sand Palette
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: #e85530;
    color: #FFF8F0;
}

/* ── Geometric Background Shapes ── */
.geo-shapes {
    z-index: 0;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    pointer-events: none;
}

.geo-circle--1 {
    width: 400px;
    height: 400px;
    background: #e85530;
    top: -100px;
    right: -100px;
}

.geo-circle--2 {
    width: 250px;
    height: 250px;
    background: #e3aa42;
    bottom: 20%;
    left: -60px;
}

.geo-square {
    position: absolute;
    opacity: 0.05;
    pointer-events: none;
    background: #e85530;
    border-radius: 20px;
    transform: rotate(45deg);
}

.geo-square--1 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 5%;
}

.geo-triangle {
    position: absolute;
    opacity: 0.04;
    pointer-events: none;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 100px 60px;
    border-color: transparent transparent #e3aa42 transparent;
}

.geo-triangle--1 {
    top: 60%;
    left: 8%;
    transform: rotate(-15deg);
}

.geo-dots {
    position: absolute;
    pointer-events: none;
    opacity: 0.08;
    background-image: radial-gradient(circle, #e85530 1.5px, transparent 1.5px);
    background-size: 20px 20px;
}

.geo-dots--1 {
    width: 150px;
    height: 150px;
    top: 15%;
    left: 50%;
}

/* ── Navigation ── */
.nav {
    background: rgba(255, 248, 240, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(232, 85, 48, 0.1);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 4px 30px rgba(26, 18, 16, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e85530;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

/* ── Mobile Menu ── */
.mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: block;
}

.mobile-link:hover {
    padding-left: 12px;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #e85530;
    color: #FFF8F0;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 85, 48, 0.3);
}

.btn-primary:hover {
    background: #dc3d1e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 85, 48, 0.4);
    color: #FFF8F0;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #1A1210;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid rgba(26, 18, 16, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #e85530;
    color: #e85530;
    transform: translateY(-2px);
}

.btn-light {
    display: inline-flex;
    align-items: center;
    background: white;
    color: #1A1210;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #1A1210;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: white;
}

/* ── Badges ── */
.badge-terracotta {
    display: inline-block;
    background: rgba(232, 85, 48, 0.1);
    color: #b82e16;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-light {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #f5e19a;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ── Hero Section ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-shapes {
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.hero-blob--1 {
    width: 500px;
    height: 500px;
    background: #e85530;
    top: -100px;
    right: 20%;
}

.hero-blob--2 {
    width: 350px;
    height: 350px;
    background: #e3aa42;
    bottom: -50px;
    left: 10%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-image-container {
    position: relative;
    z-index: 1;
}

.hero-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.hero-img {
    display: block;
    box-shadow: 0 25px 60px rgba(26, 18, 16, 0.2);
}

.hero-deco {
    position: absolute;
    pointer-events: none;
}

.hero-deco--1 {
    width: 80px;
    height: 80px;
    background: #e85530;
    border-radius: 20px;
    top: -20px;
    right: -20px;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.hero-deco--2 {
    width: 50px;
    height: 50px;
    background: #e3aa42;
    border-radius: 50%;
    bottom: 40px;
    left: -25px;
    opacity: 0.3;
    animation: float 5s ease-in-out infinite reverse;
}

.hero-deco--3 {
    width: 30px;
    height: 30px;
    background: #e85530;
    border-radius: 8px;
    transform: rotate(45deg);
    bottom: -15px;
    right: 60px;
    opacity: 0.25;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* ── Floating Stat Cards ── */
.floating-cards {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(26, 18, 16, 0.08);
    border: 1px solid rgba(232, 85, 48, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(26, 18, 16, 0.12);
}

.stat-card--1 { animation: floatCard 5s ease-in-out infinite; }
.stat-card--2 { animation: floatCard 5s ease-in-out infinite 0.5s; }
.stat-card--3 { animation: floatCard 5s ease-in-out infinite 1s; }

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

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(232, 85, 48, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e85530;
    flex-shrink: 0;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1A1210;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: #1A1210;
    opacity: 0.5;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(26, 18, 16, 0.2);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: #e85530;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

/* ── Sections ── */
.section {
    position: relative;
    z-index: 1;
}

/* ── Menu Cards ── */
.menu-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 18, 16, 0.06);
    border: 1px solid rgba(232, 85, 48, 0.06);
    transition: all 0.4s ease;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26, 18, 16, 0.12);
}

.menu-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.menu-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #e85530;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.menu-card-badge.badge-green {
    background: #16a34a;
}

.menu-card-badge.badge-dark {
    background: #1A1210;
}

.menu-card-content {
    padding: 24px;
}

.menu-card-header h3 {
    font-family: 'Space Grotesk', sans-serif;
}

.menu-card-list li {
    line-height: 1.5;
}

/* ── About Section ── */
.about-section {
    position: relative;
}

.about-bg {
    z-index: 0;
}

.about-pattern {
    z-index: 0;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

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

.about-img-accent {
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.about-deco-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    top: -40px;
    left: -40px;
    pointer-events: none;
}

.about-feature {
    transition: transform 0.3s ease;
}

.about-feature:hover {
    transform: translateX(4px);
}

/* ── Testimonials ── */
.testimonials-section {
    background: rgba(232, 85, 48, 0.03);
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(26, 18, 16, 0.06);
    border: 1px solid rgba(232, 85, 48, 0.06);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(26, 18, 16, 0.1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #fce4da;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Location Section ── */
.location-map {
    box-shadow: 0 4px 20px rgba(26, 18, 16, 0.08);
}

.location-map iframe {
    border-radius: 24px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(26, 18, 16, 0.05);
    border: 1px solid rgba(232, 85, 48, 0.06);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(26, 18, 16, 0.08);
    border-color: rgba(232, 85, 48, 0.15);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(232, 85, 48, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e85530;
    flex-shrink: 0;
}

/* ── CTA Banner ── */
.cta-banner {
    position: relative;
    overflow: hidden;
}

.cta-bg {
    z-index: 0;
}

.cta-pattern {
    z-index: 0;
}

.cta-geo {
    position: absolute;
    pointer-events: none;
}

.cta-geo--1 {
    width: 300px;
    height: 300px;
    background: #e85530;
    border-radius: 50%;
    opacity: 0.08;
    top: -100px;
    left: -80px;
}

.cta-geo--2 {
    width: 200px;
    height: 200px;
    background: #e3aa42;
    border-radius: 50%;
    opacity: 0.06;
    bottom: -60px;
    right: -40px;
}

/* ── Footer ── */
.footer {
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e85530, #e3aa42, #e85530);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .floating-cards {
        justify-content: center;
    }

    .hero-image-container {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .stat-card {
        flex: 1;
        min-width: 140px;
    }

    .about-img-accent {
        display: none;
    }

    .about-deco-circle {
        width: 120px;
        height: 120px;
        top: -20px;
        left: -20px;
    }

    .section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .menu-card-content {
        padding: 20px;
    }

    .testimonial-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.875rem;
    }

    .floating-cards {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        width: 100%;
        max-width: 240px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ── Focus Styles ── */
a:focus-visible, button:focus-visible {
    outline: 2px solid #e85530;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Scroll Reveal (progressive enhancement) ── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

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