/* ===== Custom Styles for Haze Craze Smoke & Vape Shop ===== */

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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ===== Navigation ===== */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF7F50;
    border-radius: 1px;
    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-nav-link {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===== Buttons ===== */
.btn-primary {
    background: linear-gradient(135deg, #FF7F50 0%, #E06030 100%);
    color: white;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 127, 80, 0.45);
    color: white;
}

.btn-secondary {
    background: white;
    color: #2D2D2D;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #2D2D2D;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-white {
    background: white;
    color: #FF7F50;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #E06030;
}

/* ===== Hero Section ===== */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: white;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: white;
    top: 60%;
    right: -3%;
    animation-delay: 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: #FFD700;
    bottom: 15%;
    left: 10%;
    animation-delay: 2s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: white;
    top: 20%;
    right: 15%;
    animation-delay: 3s;
}

.shape-5 {
    width: 250px;
    height: 250px;
    background: #FF6B35;
    bottom: -5%;
    right: 20%;
    animation-delay: 1.5s;
}

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

.scroll-indicator {
    opacity: 0.6;
}

/* ===== Product Cards ===== */
.product-card {
    background: white;
    border-radius: 24px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.card-image-wrapper {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.card-image {
    transition: transform 0.6s ease;
}

.product-card:hover .card-image {
    transform: scale(1.08);
}

/* ===== Feature Cards ===== */
.feature-card {
    padding: 8px;
    transition: all 0.3s ease;
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .hero-shape {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .font-heading.text-5xl,
    .font-heading.text-6xl {
        font-size: 2.75rem;
    }
    
    .card-image-wrapper {
        height: 180px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .card-image-wrapper {
        height: 200px;
    }
}

@media (min-width: 1024px) {
    .card-image-wrapper {
        height: 240px;
    }
}
