/* ============================================
   Bobas Cuz — Custom Styles
   ============================================ */

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

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

body {
    min-height: 100vh;
}

/* Selection */
::selection {
    background: #831443;
    color: #fef3c7;
}

/* ============================================
   Navigation
   ============================================ */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(131, 20, 67, 0.08);
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(131, 20, 67, 0.08);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-shape-1 {
    animation: float-slow 8s ease-in-out infinite;
}

.hero-shape-2 {
    animation: float-medium 6s ease-in-out infinite;
}

.hero-shape-3 {
    animation: float-fast 5s ease-in-out infinite;
}

.hero-shape-4 {
    animation: float-medium 7s ease-in-out infinite reverse;
}

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

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

@keyframes float-fast {
    0%, 100% { transform: translate(0, 0) rotate(12deg); }
    50% { transform: translate(10px, -15px) rotate(18deg); }
}

/* Floating card animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* ============================================
   Product Cards
   ============================================ */
.product-card {
    background: #fffbeb;
    border-radius: 1.5rem;
    padding: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(131, 20, 67, 0.06);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(131, 20, 67, 0.12);
    border-color: rgba(131, 20, 67, 0.12);
}

/* ============================================
   Testimonial Cards
   ============================================ */
.testimonial-card {
    border: 1px solid rgba(131, 20, 67, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(131, 20, 67, 0.10);
}

/* ============================================
   About Section Shapes
   ============================================ */
.about-shape-1 {
    animation: pulse-slow 6s ease-in-out infinite;
}

.about-shape-2 {
    animation: rotate-slow 20s linear infinite;
}

.about-shape-3 {
    animation: pulse-medium 4s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

@keyframes rotate-slow {
    from { transform: rotate(12deg); }
    to { transform: rotate(372deg); }
}

@keyframes pulse-medium {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.3); opacity: 0.05; }
}

/* ============================================
   CTA Section Shapes
   ============================================ */
.cta-shape-1 {
    animation: float-slow 7s ease-in-out infinite;
}

.cta-shape-2 {
    animation: float-medium 9s ease-in-out infinite;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-link {
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: #be185d;
}

/* ============================================
   Form Styles
   ============================================ */
input:focus,
select:focus,
textarea:focus {
    border-color: #be185d !important;
    box-shadow: 0 0 0 4px rgba(190, 24, 93, 0.08) !important;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 767px) {
    .product-card {
        padding: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .product-card {
        padding: 1.25rem;
    }
}

/* ============================================
   Focus Visible for Accessibility
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    #navbar,
    .animate-float,
    .hero-shape-1,
    .hero-shape-2,
    .hero-shape-3,
    .hero-shape-4 {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
