/* ============================================
   STEPHANIE3D - POPLIGHT INSPIRED DESIGN
   Complete Redesign 2026
   ============================================ */

/* CSS VARIABLES - Poplight Color Palette */
:root {
    /* Colors - Clean & Modern */
    --primary-color: #574cd5;
    --primary-dark: #3d35a8;
    --accent-pink: #ff1493;
    --accent-cyan: #00bfff;
    
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6b6b6b;
    
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #f0f0f0;
    
    --border-light: #e5e5e5;
    --border-medium: #d0d0d0;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* Effects */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

/* ============================================
   ANNOUNCEMENT BAR (Top Scrolling Banner)
   ============================================ */

.announcement-bar {
    background: var(--primary-color);
    color: white;
    padding: var(--space-sm) 0;
    text-align: center;
    font-size: var(--text-sm);
    font-weight: 600;
    overflow: hidden;
    position: relative;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    animation: scroll 20s linear infinite;
}

.announcement-item {
    white-space: nowrap;
    padding: 0 var(--space-lg);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */

.language-bar {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-xs) 0;
}

.language-selector {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.lang-btn {
    padding: var(--space-xs) var(--space-sm);
    background: transparent;
    color: var(--text-medium);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.lang-btn:hover {
    background: var(--bg-white);
    color: var(--text-dark);
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
}

.logo-image {
    height: 40px;
    width: auto;
    transition: var(--transition-fast);
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: var(--text-base);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(87, 76, 213, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(87, 76, 213, 0.1);
    color: var(--primary-color);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-medium);
    margin-bottom: var(--space-xl);
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-size: var(--text-lg);
    font-weight: 700;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-medium);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-medium);
    font-size: var(--text-sm);
    font-weight: 600;
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   CATEGORY FILTERS
   ============================================ */

.product-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    font-size: var(--text-base);
    border-radius: var(--radius-full);
    border: 2px solid var(--border-light);
    transition: var(--transition-base);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

/* ============================================
   PRODUCT GRID
   ============================================ */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--border-light);
}

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

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-gray);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

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

.product-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.product-info {
    padding: var(--space-lg);
}

.product-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.product-description {
    font-size: var(--text-sm);
    color: var(--text-medium);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
}

.product-price {
    font-size: var(--text-2xl);
    font-weight: 900;
    color: var(--primary-color);
}

.btn-cart {
    padding: var(--space-sm) var(--space-lg);
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
}

.btn-cart:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ============================================
   GALLERY SECTIONS
   ============================================ */

.gallery-section {
    grid-column: 1 / -1;
    margin-bottom: var(--space-2xl);
    background: var(--bg-light);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
}

.gallery-title {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   TESTIMONIALS / REVIEWS
   ============================================ */

.testimonials {
    background: var(--bg-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
}

.testimonial-text {
    font-size: var(--text-base);
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.testimonial-author {
    font-weight: 700;
    color: var(--text-dark);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-image {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-xl);
    box-shadow: var(--shadow-lg);
}

.about-text {
    font-size: var(--text-lg);
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    text-align: center;
}

.contact-item {
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
}

.contact-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--text-lg);
}

.contact-link:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--text-dark);
    color: #a0a0a0;
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-section h3 {
    color: white;
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-link {
    color: #a0a0a0;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--text-lg);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
    color: #808080;
    font-size: var(--text-sm);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

@media (max-width: 768px) {
    :root {
        --text-5xl: 2.25rem;
        --text-4xl: 1.875rem;
        --text-3xl: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--space-lg);
    }
    
    .hero {
        padding: var(--space-2xl) 0;
    }
    
    section {
        padding: var(--space-2xl) 0;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}