/*
Theme Name: Maya Bracelet
Theme URI: https://mayabracelet.ro
Author: Maya Bracelet
Author URI: https://mayabracelet.ro
Description: Fun, colorful landing page for handmade slime and bracelets — Slime & Brățări handmade 🎨
Version: 1.0.0
Text Domain: mayabracelet
*/

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    --pink: #FF6B9D;
    --purple: #C084FC;
    --yellow: #FBBF24;
    --mint: #6EE7B7;
    --blue: #60A5FA;
    --dark: #1e1b4b;
    --light: #faf5ff;
    --white: #ffffff;
    --whatsapp: #25D366;
    --font-heading: 'Fredoka', cursive;
    --font-body: 'Quicksand', sans-serif;
    --shadow-sm: 0 2px 8px rgba(30, 27, 75, 0.08);
    --shadow-md: 0 4px 16px rgba(30, 27, 75, 0.12);
    --shadow-lg: 0 8px 32px rgba(30, 27, 75, 0.16);
    --radius: 16px;
    --radius-sm: 12px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logo span {
    font-size: 1.4rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 50px;
    transition: background 0.2s, color 0.2s;
}

.main-nav a:hover {
    background: var(--light);
    color: var(--purple);
}

.nav-whatsapp {
    background: var(--whatsapp) !important;
    color: var(--white) !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-whatsapp:hover {
    background: #1fba59 !important;
    color: var(--white) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
    padding: 100px 0 120px;
    text-align: center;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

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

.hero h1 {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Hero blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero-blob-1 {
    width: 300px;
    height: 300px;
    background: var(--yellow);
    top: -50px;
    left: -80px;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 200px;
    height: 200px;
    background: var(--mint);
    top: 60%;
    right: -40px;
    animation-delay: 2s;
}

.hero-blob-3 {
    width: 250px;
    height: 250px;
    background: var(--pink);
    bottom: -60px;
    left: 40%;
    animation-delay: 4s;
}

.hero-blob-4 {
    width: 180px;
    height: 180px;
    background: var(--blue);
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

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

/* ========================================
   WAVE DIVIDERS
   ======================================== */
.wave-divider {
    line-height: 0;
    margin-top: -1px;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.wave-divider-flip {
    transform: rotate(180deg);
    margin-bottom: -1px;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.section-header p {
    font-size: 1.1rem;
    color: #6b6497;
    font-weight: 500;
}

/* Slime section */
.section-slime {
    background: #fff5f8;
}

/* Bracelet section */
.section-bracelets {
    background: #f0fdf8;
}

/* About section */
.section-about {
    background: var(--light);
}

/* ========================================
   PRODUCT GRID
   ======================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.product-card.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.product-image-wrap {
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin: 12px;
    aspect-ratio: 1 / 1;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: transform 0.4s;
}

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

/* Placeholder gradient when no image */
.product-placeholder {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.placeholder-slime {
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

.placeholder-bracelet {
    background: linear-gradient(135deg, var(--mint), var(--blue));
}

.product-info {
    padding: 8px 16px 16px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--dark);
}

.product-desc {
    font-size: 0.9rem;
    color: #8b82b0;
    margin-bottom: 14px;
    font-weight: 500;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--whatsapp);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
    justify-content: center;
}

.btn-whatsapp:hover {
    background: #1fba59;
    transform: translateY(-1px);
}

.btn-whatsapp svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    color: #4a4570;
    margin-bottom: 16px;
    line-height: 1.8;
    font-weight: 500;
}

.about-emojis {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.about-cta {
    margin-top: 32px;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
    cursor: pointer;
    transition: transform 0.2s;
}

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

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 40px 0;
}

.site-footer p {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.site-footer a {
    color: var(--mint);
    font-weight: 600;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--white);
}

.footer-heart {
    color: var(--pink);
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet */
@media (max-width: 960px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.9rem;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero {
        padding: 70px 0 90px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    /* Mobile nav */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 90px 32px 32px;
        gap: 4px;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav a {
        width: 100%;
        text-align: left;
        padding: 12px 16px;
        font-size: 1.05rem;
    }

    .nav-whatsapp {
        margin-top: 16px;
        justify-content: center;
        text-align: center !important;
    }

    .hamburger {
        display: flex;
    }

    /* Mobile overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .header-inner {
        height: 60px;
    }

    .about-emojis {
        font-size: 2rem;
    }
}
