/* ================================================
   TOYBLOOMY - WOODEN TOYS WEBSITE
   Inspired by Pure Aura Design
   ================================================ */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8B664C;
    --primary-dark: #6B4E3D;
    --secondary: #D4A574;
    --accent: #D97757;
    --whatsapp: #25D366;
    --dark: #2C1810;
    --text: #333333;
    --light-bg: #FFFAF5;
    --border: #E8D5C4;
    --white: #FFFFFF;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* === TOP BAR === */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

/* === HEADER === */
.header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    font-size: 36px;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.whatsapp-btn {
    background: var(--whatsapp);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* === HERO SLIDER === */
.hero-slider {
    position: relative;
    background: linear-gradient(135deg, #FFF5EB 0%, #FFE8D6 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
}

.slide-content {
    width: 100%;
    padding: 4rem 0;
}

.slide-text {
    max-width: 600px;
}

.slide-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.slide-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20BA5A;
}

.btn-full {
    width: 100%;
}

/* === FEATURES BAR === */
.features-bar {
    background: var(--white);
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    font-size: 48px;
}

.feature-text h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.feature-text p {
    font-size: 14px;
    color: #666;
}

/* === SECTIONS === */
.products-section,
.testimonials,
.about-section,
.contact-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* === PRODUCT GRID === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.product-badge-age {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--secondary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.product-image {
    width: 100%;
    height: 320px;
    background: #f8f8f8;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    min-height: 50px;
}

.product-price {
    margin-bottom: 1rem;
}

.price-current {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
}

.price-original {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

/* === TESTIMONIALS === */
.testimonials {
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.stars {
    color: #FFB800;
    font-size: 18px;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    color: var(--dark);
    font-weight: 600;
}

.testimonial-author span {
    display: block;
    font-size: 14px;
    color: #999;
    margin-top: 0.25rem;
}

/* === ABOUT SECTION === */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    margin-top: 2rem;
}

.benefits-list li {
    padding: 0.75rem 0;
    color: var(--dark);
    font-weight: 500;
}

.about-image img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* === CONTACT SECTION === */
.contact-grid {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 12px;
}

.contact-icon {
    font-size: 40px;
}

.contact-details h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
    margin-bottom: 1rem;
}

/* === FOOTER === */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .nav.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-name {
        font-size: 15px;
        min-height: auto;
    }
    
    .price-current {
        font-size: 18px;
    }
    
    .slide-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease;
}
