/**
 * BabyTums Brand Design System
 * Modern, playful, and professional baby wellness brand
 * Inspired by LEGO-like modular design with soft pastels
 */

/* ===== BRAND COLOR PALETTE ===== */
:root {
    /* Primary Brand Colors */
    --bt-soft-blue: #c9d9e3;
    --bt-soft-pink: #f9e7eb;
    --bt-soft-green: #d8f6df;
    --bt-soft-beige: #eae9d5;
    --bt-soft-gray: #ebecec;
    
    /* Extended Palette for Depth */
    --bt-white: #ffffff;
    --bt-cream: #fefcf8;
    --bt-light-blue: #e8f2f7;
    --bt-light-pink: #fdf4f6;
    --bt-light-green: #f0faf2;
    --bt-warm-beige: #f7f5f0;
    
    /* Accent Colors */
    --bt-accent-coral: #ff9f9f;
    --bt-accent-mint: #9fdfb0;
    --bt-accent-lavender: #b8b5ff;
    --bt-accent-peach: #ffcba4;
    
    /* Text Colors */
    --bt-text-primary: #2d3748;
    --bt-text-secondary: #4a5568;
    --bt-text-muted: #718096;
    --bt-text-light: #a0aec0;
    
    /* Shadows & Effects */
    --bt-shadow-soft: 0 4px 20px rgba(45, 55, 72, 0.08);
    --bt-shadow-medium: 0 8px 30px rgba(45, 55, 72, 0.12);
    --bt-shadow-large: 0 15px 40px rgba(45, 55, 72, 0.15);
    --bt-shadow-colored: 0 8px 25px rgba(201, 217, 227, 0.3);
    
    /* Gradients */
    --bt-gradient-primary: linear-gradient(135deg, var(--bt-soft-blue), var(--bt-soft-pink));
    --bt-gradient-secondary: linear-gradient(135deg, var(--bt-soft-green), var(--bt-soft-beige));
    --bt-gradient-accent: linear-gradient(135deg, var(--bt-accent-coral), var(--bt-accent-peach));
    --bt-gradient-hero: linear-gradient(135deg, var(--bt-light-blue), var(--bt-light-pink), var(--bt-light-green));
    
    /* Border Radius (LEGO-inspired) */
    --bt-radius-small: 8px;
    --bt-radius-medium: 16px;
    --bt-radius-large: 24px;
    --bt-radius-xl: 32px;
    
    /* Spacing */
    --bt-space-xs: 0.5rem;
    --bt-space-sm: 1rem;
    --bt-space-md: 1.5rem;
    --bt-space-lg: 2rem;
    --bt-space-xl: 3rem;
    --bt-space-xxl: 4rem;
}

/* ===== TYPOGRAPHY SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&family=Comfortaa:wght@300;400;600;700&display=swap');

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--bt-text-primary);
    background-color: var(--bt-white);
}

/* Headings with Brand Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Comfortaa', 'Nunito', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bt-text-primary);
    margin-bottom: var(--bt-space-sm);
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Brand Text Styles */
.bt-text-playful {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 600;
}

.bt-text-soft {
    color: var(--bt-text-secondary);
}

.bt-text-muted {
    color: var(--bt-text-muted);
}

/* ===== LEGO-INSPIRED COMPONENTS ===== */

/* LEGO Block Base */
.bt-block {
    background: var(--bt-white);
    border-radius: var(--bt-radius-medium);
    box-shadow: var(--bt-shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bt-block::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--bt-gradient-primary);
    border-radius: var(--bt-radius-medium);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bt-block:hover::before {
    opacity: 1;
}

.bt-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--bt-shadow-large);
}

/* LEGO Block Variants */
.bt-block--pink {
    background: var(--bt-soft-pink);
}

.bt-block--blue {
    background: var(--bt-soft-blue);
}

.bt-block--green {
    background: var(--bt-soft-green);
}

.bt-block--beige {
    background: var(--bt-soft-beige);
}

.bt-block--gray {
    background: var(--bt-soft-gray);
}

/* LEGO Studs (decorative elements) */
.bt-studs {
    position: relative;
}

.bt-studs::after {
    content: '';
    position: absolute;
    top: var(--bt-space-xs);
    right: var(--bt-space-xs);
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: 
        -20px 0 0 rgba(255, 255, 255, 0.2),
        -40px 0 0 rgba(255, 255, 255, 0.15),
        0 -20px 0 rgba(255, 255, 255, 0.2),
        -20px -20px 0 rgba(255, 255, 255, 0.1);
}

/* ===== MODERN BUTTONS ===== */
.bt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--bt-space-sm) var(--bt-space-lg);
    border: none;
    border-radius: var(--bt-radius-large);
    font-family: 'Comfortaa', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--bt-shadow-soft);
}

.bt-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--bt-shadow-medium);
    text-decoration: none;
}

.bt-btn:active {
    transform: translateY(0);
}

/* Button Variants */
.bt-btn--primary {
    background: var(--bt-gradient-primary);
    color: var(--bt-text-primary);
}

.bt-btn--secondary {
    background: var(--bt-gradient-secondary);
    color: var(--bt-text-primary);
}

.bt-btn--accent {
    background: var(--bt-gradient-accent);
    color: white;
}

.bt-btn--soft {
    background: var(--bt-white);
    color: var(--bt-text-primary);
    border: 2px solid var(--bt-soft-gray);
}

.bt-btn--soft:hover {
    border-color: var(--bt-soft-blue);
    background: var(--bt-light-blue);
}

/* Button Sizes */
.bt-btn--small {
    padding: var(--bt-space-xs) var(--bt-space-md);
    font-size: 0.85rem;
}

.bt-btn--large {
    padding: var(--bt-space-md) var(--bt-space-xl);
    font-size: 1.1rem;
}

/* ===== CARDS & CONTAINERS ===== */
.bt-card {
    background: var(--bt-white);
    border-radius: var(--bt-radius-large);
    box-shadow: var(--bt-shadow-soft);
    padding: var(--bt-space-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bt-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--bt-shadow-large);
}

.bt-card--colored {
    background: var(--bt-gradient-hero);
}

.bt-card--feature {
    text-align: center;
    padding: var(--bt-space-xl);
}

.bt-card--product {
    border-radius: var(--bt-radius-xl);
    overflow: hidden;
}

/* ===== FLOATING ANIMATIONS ===== */
@keyframes bt-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bt-float-slow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes bt-pulse-soft {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.bt-float {
    animation: bt-float 3s ease-in-out infinite;
}

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

.bt-pulse {
    animation: bt-pulse-soft 2s ease-in-out infinite;
}

/* Staggered animations */
.bt-float:nth-child(2) {
    animation-delay: 0.5s;
}

.bt-float:nth-child(3) {
    animation-delay: 1s;
}

.bt-float:nth-child(4) {
    animation-delay: 1.5s;
}

/* ===== HERO SECTION ===== */
.bt-hero {
    background: var(--bt-gradient-hero);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--bt-space-xxl) 0;
}

.bt-hero h1,
.bt-hero h2,
.bt-hero h3,
.bt-hero h4,
.bt-hero h5,
.bt-hero h6,
.bt-hero p,
.bt-hero .lead {
    color: var(--bt-text-primary) !important;
}

.bt-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/bg.jpg') center/cover;
    opacity: 0.05;
    z-index: 1;
}

.bt-hero .container {
    position: relative;
    z-index: 2;
}

/* Floating Cubes in Hero */
.bt-floating-cubes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.bt-cube {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: var(--bt-radius-small);
    box-shadow: var(--bt-shadow-soft);
    opacity: 0.7;
}

.bt-cube--1 {
    background: var(--bt-soft-pink);
    top: 10%;
    left: 10%;
    animation: bt-float 3s ease-in-out infinite;
}

.bt-cube--2 {
    background: var(--bt-soft-blue);
    top: 20%;
    right: 15%;
    animation: bt-float-slow 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

.bt-cube--3 {
    background: var(--bt-soft-green);
    bottom: 30%;
    left: 20%;
    animation: bt-float 3.5s ease-in-out infinite;
    animation-delay: 1s;
}

.bt-cube--4 {
    background: var(--bt-soft-beige);
    bottom: 20%;
    right: 10%;
    animation: bt-float-slow 4.5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.bt-cube--5 {
    background: var(--bt-accent-coral);
    top: 50%;
    left: 5%;
    animation: bt-float 3.2s ease-in-out infinite;
    animation-delay: 2s;
}

.bt-cube--6 {
    background: var(--bt-accent-mint);
    top: 70%;
    right: 25%;
    animation: bt-float-slow 3.8s ease-in-out infinite;
    animation-delay: 2.5s;
}

/* Hero Visual Elements */
.bt-hero-visual {
    text-align: center;
}

.bt-hero-image-container {
    position: relative;
    display: inline-block;
}

.bt-floating-element {
    position: absolute;
    pointer-events: none;
}

.bt-floating-element--1 {
    top: 10%;
    left: -10%;
    animation: bt-float 3s ease-in-out infinite;
}

.bt-floating-element--2 {
    bottom: 20%;
    right: -15%;
    animation: bt-float-slow 4s ease-in-out infinite;
    animation-delay: 1s;
}

.bt-floating-element--3 {
    top: 60%;
    left: -20%;
    animation: bt-float 3.5s ease-in-out infinite;
    animation-delay: 2s;
}

.bt-trust-indicators {
    opacity: 0.8;
}

.bt-trust-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* ===== SCROLL ANIMATIONS ===== */
.bt-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bt-fade-up.bt-visible {
    opacity: 1;
    transform: translateY(0);
}

.bt-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bt-fade-left.bt-visible {
    opacity: 1;
    transform: translateX(0);
}

.bt-fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bt-fade-right.bt-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== MICRO-INTERACTIONS ===== */
.bt-interactive {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bt-interactive:hover {
    transform: scale(1.02);
}

.bt-bounce-hover:hover {
    animation: bt-pulse-soft 0.6s ease-in-out;
}

/* Icon animations */
.bt-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bt-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    :root {
        --bt-space-xl: 2rem;
        --bt-space-xxl: 3rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .bt-hero {
        min-height: 70vh;
        padding: var(--bt-space-xl) 0;
    }
    
    .bt-card {
        padding: var(--bt-space-md);
    }
    
    .bt-cube {
        width: 30px;
        height: 30px;
    }
}

/* ===== NAVBAR STYLES ===== */
.bt-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 217, 227, 0.2);
    box-shadow: var(--bt-shadow-soft);
    padding: var(--bt-space-sm) 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1030;
}

.bt-navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.bt-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bt-brand:hover {
    transform: scale(1.02);
    text-decoration: none;
}

.bt-logo {
    border-radius: var(--bt-radius-small);
    margin-right: var(--bt-space-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bt-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bt-text-primary);
    margin: 0;
}

.bt-navbar-toggle {
    background: none;
    border: none;
    padding: var(--bt-space-xs);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bt-toggle-icon {
    width: 25px;
    height: 3px;
    background: var(--bt-text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bt-navbar-toggle:hover .bt-toggle-icon {
    background: var(--bt-soft-blue);
}

.bt-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--bt-space-sm);
    align-items: center;
}

.bt-nav-item {
    margin: 0;
}

.bt-nav-link {
    display: flex;
    align-items: center;
    padding: var(--bt-space-xs) var(--bt-space-md);
    color: var(--bt-text-secondary);
    text-decoration: none;
    border-radius: var(--bt-radius-medium);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.bt-nav-link:hover {
    color: var(--bt-text-primary);
    background: var(--bt-light-blue);
    text-decoration: none;
    transform: translateY(-1px);
}

.bt-nav-link.active {
    color: var(--bt-text-primary);
    background: var(--bt-soft-blue);
    font-weight: 600;
}

.bt-nav-link .bt-icon {
    font-size: 0.9rem;
    opacity: 0.8;
}

.bt-nav-actions {
    display: flex;
    align-items: center;
}

.bt-language-switcher {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.bt-language-switcher:hover {
    opacity: 1;
}

/* Mobile navbar styles */
@media (max-width: 991.98px) {
    .bt-navbar-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .bt-nav-menu {
        flex-direction: column;
        width: 100%;
        margin-top: var(--bt-space-md);
        gap: var(--bt-space-xs);
    }
    
    .bt-nav-actions {
        justify-content: center;
        margin-top: var(--bt-space-md);
        padding-top: var(--bt-space-md);
        border-top: 1px solid var(--bt-soft-gray);
    }
    
    .bt-nav-link {
        justify-content: center;
        padding: var(--bt-space-sm);
    }
}

/* ===== UTILITY CLASSES ===== */
.bt-text-center {
    text-align: center;
}

.bt-mb-sm {
    margin-bottom: var(--bt-space-sm);
}

.bt-mb-md {
    margin-bottom: var(--bt-space-md);
}

.bt-mb-lg {
    margin-bottom: var(--bt-space-lg);
}

.bt-mb-xl {
    margin-bottom: var(--bt-space-xl);
}

.bt-mt-xl {
    margin-top: var(--bt-space-xl);
}

.bt-p-lg {
    padding: var(--bt-space-lg);
}

.bt-rounded {
    border-radius: var(--bt-radius-medium);
}

.bt-rounded-lg {
    border-radius: var(--bt-radius-large);
}

.bt-shadow {
    box-shadow: var(--bt-shadow-soft);
}

.bt-shadow-lg {
    box-shadow: var(--bt-shadow-large);
}
