/* ============================================
   De Corazon Coffee Bar — Custom Styles
   ============================================ */

/* Base & Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    min-height: 100vh;
}

/* ============================================
   Geometric Blob Backgrounds
   ============================================ */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #c6d8ad;
    top: 10%;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #e3ecd3;
    bottom: 20%;
    left: -50px;
    animation-delay: -7s;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: #9bbf7a;
    top: 50%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

/* ============================================
   Diagonal Clip for About Section
   ============================================ */
.clip-diagonal {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
}

/* ============================================
   Scroll Reveal Animations
   (Progressive Enhancement — only when JS runs)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ============================================
   Mobile Menu Transitions
   ============================================ */
#mobile-menu {
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

#mobile-menu.open {
    transform: translateX(0);
}

/* ============================================
   Navbar Active State
   ============================================ */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ============================================
   Custom Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #faf6ee;
}

::-webkit-scrollbar-thumb {
    background: #9bbf7a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #76a052;
}

/* ============================================
   Selection Color
   ============================================ */
::selection {
    background: #c6d8ad;
    color: #213416;
}

/* ============================================
   Focus Styles for Accessibility
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #76a052;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   Image Loading
   ============================================ */
img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Button Hover Effects
   ============================================ */
a[href]:hover {
    cursor: pointer;
}

/* ============================================
   Form Focus States
   ============================================ */
input:focus,
textarea:focus {
    background-color: #fdfbf7;
}
