/* ============================================
   OH TASTE AND SEE DESSERT CAFE
   Custom Styles
   ============================================ */

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

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

body {
    margin: 0;
    line-height: 1.6;
}

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

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(254, 253, 248, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.geo-circle-2 {
    width: 250px;
    height: 250px;
    border: 3px solid rgba(254, 253, 248, 0.3);
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
}

.geo-circle-3 {
    width: 150px;
    height: 150px;
    background: rgba(254, 253, 248, 0.2);
    border-radius: 50%;
    top: 40%;
    right: 10%;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(254, 253, 248, 0.2);
    top: 25%;
    left: 8%;
    transform: rotate(-15deg);
}

.geo-square-1 {
    width: 100px;
    height: 100px;
    background: rgba(254, 253, 248, 0.15);
    border-radius: 16px;
    bottom: 15%;
    right: 8%;
    transform: rotate(45deg);
}

.geo-dots {
    background-image: radial-gradient(rgba(254, 253, 248, 0.3) 2px, transparent 2px);
    background-size: 30px 30px;
    width: 200px;
    height: 200px;
    top: 60%;
    left: 15%;
}

.geo-circle-4 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(254, 253, 248, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.geo-square-2 {
    width: 120px;
    height: 120px;
    border: 3px solid rgba(254, 253, 248, 0.15);
    border-radius: 20px;
    bottom: 10%;
    left: 5%;
    transform: rotate(30deg);
}

.geo-circle-5 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(254, 253, 248, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

.geo-triangle-2 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(254, 253, 248, 0.15);
    top: 20%;
    right: 10%;
    transform: rotate(20deg);
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f0e1 0%, #fefce8 100%);
    color: #064e3b;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(6, 78, 59, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 78, 59, 0.3);
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254, 253, 248, 0.3);
}

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

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

/* --- Navbar --- */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(6, 78, 59, 0.1);
}

.nav-link {
    position: relative;
}

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

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

/* --- Mobile Menu --- */
#mobile-menu {
    top: 80px;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

/* --- Accessibility: Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .geo-shape {
        animation: none;
    }
    
    .animate-bounce {
        animation: none;
    }
    
    .geo-circle-1,
    .geo-circle-2,
    .geo-circle-3,
    .geo-triangle-1,
    .geo-square-1,
    .geo-dots,
    .geo-circle-4,
    .geo-square-2,
    .geo-circle-5,
    .geo-triangle-2 {
        animation: none;
        opacity: 0.15;
    }
}

/* --- Focus Styles --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Selection --- */
::selection {
    background: #059669;
    color: #fefce8;
}
