/* ============================================
   BEE's Blooms — Custom Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

::selection {
    background-color: rgba(22, 101, 52, 0.2);
    color: #052e16;
}

/* --- Navigation --- */
.nav-scrolled #navbar {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(20, 83, 45, 0.08);
}

.nav-link {
    position: relative;
}

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

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

/* Mobile menu */
.mobile-menu {
    box-shadow: 0 20px 40px rgba(5, 46, 22, 0.15);
}

.mobile-link {
    position: relative;
}

/* --- Hero --- */
.hero {
    background: linear-gradient(160deg, #fefdf8 0%, #f0fdf4 50%, #dcfce7 100%);
    position: relative;
}

/* Floating blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #bbf7d0;
    top: -100px;
    right: -100px;
    animation: float-blob 8s ease-in-out infinite;
}

.blob-2 {
    width: 350px;
    height: 300px;
    background: #86efac;
    bottom: 10%;
    left: -50px;
    animation: float-blob 10s ease-in-out infinite reverse;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: #4ade80;
    top: 40%;
    right: 15%;
    animation: float-blob 6s ease-in-out infinite;
}

@keyframes float-blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Scroll indicator */
.scroll-line {
    width: 1px;
    height: 48px;
    background: rgba(20, 83, 45, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: -8px;
    left: -1px;
    width: 3px;
    height: 16px;
    background: #166534;
    border-radius: 2px;
    animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
    0% { top: -16px; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 48px; opacity: 0; }
}

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #166534;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(22, 101, 52, 0.15);
}

/* --- Section Headings --- */
.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #052e16;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 3.25rem;
    }
}

@media (min-width: 1024px) {
    .section-heading {
        font-size: 3.75rem;
    }
}

/* --- Divider --- */
.divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #bbf7d0, #166534, #bbf7d0, transparent);
    margin: 0;
}

/* --- Buttons --- */
.btn-primary {
    box-shadow: 0 4px 14px rgba(20, 83, 45, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(20, 83, 45, 0.3);
}

.btn-secondary:hover {
    background: rgba(22, 101, 52, 0.05);
}

.btn-cta:hover {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* --- Service Cards --- */
.service-card {
    cursor: default;
}

/* --- Gallery --- */
.gallery-item {
    cursor: pointer;
}

/* --- Testimonial Cards --- */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* --- Contact Items --- */
.contact-item {
    transition: transform 0.2s ease;
}

.contact-item:hover {
    transform: translateX(4px);
}

/* --- Scroll Reveal Animations --- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(0);
}

/* Reduced motion: keep everything visible */
@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-blob {
        animation: none;
    }
    
    .scroll-dot {
        animation: none;
    }
    
    .gallery-item img {
        transition: none;
    }
    
    .service-card,
    .testimonial-card {
        transition: none;
    }
}
