/* Custom styles for Tobacco 2Go and Vape Smoke Shop */

/* Base */
html {
    scroll-behavior: smooth;
}

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

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

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid #fbbf24;
    border-radius: 50%;
    top: 10%;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: #fbbf24;
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #fbbf24;
    top: 40%;
    left: 8%;
    animation: rotate 12s linear infinite;
}

.geo-square {
    width: 100px;
    height: 100px;
    border: 3px solid #f472b6;
    top: 20%;
    left: 15%;
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
}

.geo-ring {
    width: 150px;
    height: 150px;
    border: 4px solid #fbbf24;
    border-radius: 50%;
    bottom: 25%;
    right: 15%;
    animation: pulse-ring 3s ease-in-out infinite;
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.08; }
    50% { transform: scale(1.1); opacity: 0.15; }
}

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

.scroll-reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

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

/* Navbar */
#navbar.scrolled {
    background: rgba(45, 4, 20, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

/* 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;
    }
    
    .scroll-reveal[data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

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

::-webkit-scrollbar-track {
    background: #2d0414;
}

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

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