/* Custom styles for East Coast Organic Coffee Bar */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Geometric background decorations */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    pointer-events: none;
}

.circle-1 {
    width: 600px;
    height: 600px;
    background: #d95235;
    top: -200px;
    right: -200px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: #e2a850;
    bottom: 10%;
    left: -100px;
}

.geo-square {
    position: absolute;
    opacity: 0.04;
    pointer-events: none;
    background: #d95235;
    transform: rotate(45deg);
}

.square-1 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 5%;
}

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

.triangle-1 {
    top: 60%;
    left: 3%;
}

/* Navigation */
.nav-link {
    position: relative;
}

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

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

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

.mobile-link {
    position: relative;
    padding-left: 0;
}

.mobile-link::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #d95235;
    transition: width 0.3s ease;
}

.mobile-link:hover::before {
    width: 8px;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: ensure content is visible even if JS is disabled */
@supports not (animation-name: reveal) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Geometric accent shapes */
.geo-accent {
    position: absolute;
    pointer-events: none;
}

.geo-accent-circle {
    border-radius: 50%;
}

.geo-accent-square {
    transform: rotate(45deg);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #c43e25;
}

/* Print styles */
@media print {
    .geo-circle,
    .geo-square,
    .geo-triangle,
    .fixed {
        display: none;
    }
}
