/* ============================================
   Kenny's Kookie Dough — Custom Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Geometric Background Shapes
   ============================================ */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(250, 218, 221, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 15%;
    right: -5%;
}

.circle-2 {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(128, 0, 32, 0.1);
    border-radius: 50%;
    bottom: 20%;
    left: -3%;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(128, 0, 32, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: 45%;
    right: 10%;
}

.blob {
    width: 250px;
    height: 250px;
    background: rgba(250, 218, 221, 0.2);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    top: 60%;
    left: 5%;
    animation: blobFloat 8s ease-in-out infinite;
}

.square {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(128, 0, 32, 0.12);
    border-radius: 16px;
    top: 30%;
    left: 8%;
    transform: rotate(15deg);
    animation: squareFloat 6s ease-in-out infinite;
}

@keyframes blobFloat {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

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

/* ============================================
   Hero Decorative Elements
   ============================================ */
.hero-deco {
    position: absolute;
    pointer-events: none;
}

.circle-deco-1 {
    width: 500px;
    height: 500px;
    border: 2px solid rgba(250, 218, 221, 0.08);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: heroPulse 6s ease-in-out infinite;
}

.circle-deco-2 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(250, 218, 221, 0.1);
    border-radius: 50%;
    bottom: 10%;
    left: -50px;
    animation: heroPulse 8s ease-in-out infinite reverse;
}

.circle-deco-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(250, 218, 221, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    left: 15%;
    animation: heroPulse 5s ease-in-out infinite;
}

.dot-pattern {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(250, 218, 221, 0.2) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    top: 30%;
    right: 10%;
    animation: heroPulse 7s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.08); opacity: 1; }
}

/* ============================================
   Flavor Card Hover
   ============================================ */
.flavor-card {
    will-change: transform;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

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

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-link {
    transition: padding-left 0.2s ease;
}

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 640px) {
    .geo-shape {
        display: none;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .geo-shape {
        opacity: 0.4;
    }
}

/* ============================================
   Selection Color
   ============================================ */
::selection {
    background: rgba(128, 0, 32, 0.2);
    color: #800020;
}

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