/* BerniePeterArt - Core Styles */
/* Experimental Art Lighting Design Studio */

/* CSS Variables */
:root {
    --primary: #1a1a2e;
    --secondary: #e94560;
    --accent: #f4d03f;
    --background: #f8f9fa;
    --text-dark: #1a1a2e;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow: rgba(26, 26, 46, 0.1);
    --glow: rgba(233, 69, 96, 0.3);
}

/* Font Face - Space Grotesk */
@font-face {
    font-family: 'Space Grotesk';
    src: url('https://fonts.gstatic.com/s/spacegrotesk/v16/V8mQoQDjQSkFtoMM3T6r8E7mF71Q-gOoraIAEj7oUXskPMBBSSJLm2E.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

/* Font Face - Inter */
@font-face {
    font-family: 'Inter';
    src: url('https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiJ-Ek-_EeA.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header - H6 Style: Hamburger + Fullscreen Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a2e;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1002;
}

.logo span {
    color: var(--secondary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 1002;
}

.currency-switcher {
    position: relative;
}

.currency-switcher select {
    background: var(--primary);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    padding-right: 30px;
}

.currency-switcher select option {
    background: var(--primary);
    color: var(--white);
}

.currency-switcher::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 10px;
    pointer-events: none;
}

.cart-icon {
    position: relative;
    color: var(--white);
    font-size: 20px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger Menu */
.hamburger {
    width: 44px;
    height: 44px;
    position: relative;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 30px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 11px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 31px; }

.hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

/* Fullscreen Navigation */
.fullscreen-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.nav-close {
    position: absolute;
    top: 24px;
    right: 40px;
    color: var(--white);
    cursor: pointer;
    z-index: 1003;
    padding: 10px;
    transition: all 0.3s ease;
}

.nav-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.fullscreen-nav.active {
    opacity: 1;
    visibility: visible;
}

.nav-links {
    text-align: center;
}

.nav-links a {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--white);
    padding: 16px 0;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--secondary);
}

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

/* Hero Section with Dynamic Light Effect */
.hero {
    min-height: 100vh;
    background: var(--primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero h1 {
    font-size: 72px;
    color: var(--white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 8px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 18px 48px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--glow);
}

.btn-primary:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244, 208, 63, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 16px 46px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--white);
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-left: 16px;
}

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

/* Floating Products in Hero */
.hero-products {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-product {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}

.floating-product:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-product:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-product:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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

.floating-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.section-title span {
    color: var(--secondary);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
}

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

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

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

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

.product-info {
    padding: 24px;
}

.product-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
}

.product-price .original {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 8px;
}

/* Footer - F7 Style: Card Grid */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.footer-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.footer-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.footer-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-card p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
    line-height: 1.8;
}

.footer-card a {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.footer-card a:hover {
    color: var(--accent);
}

.footer-terms {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-terms a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 4px 8px;
}

.footer-terms a:hover {
    color: var(--secondary);
}

.terms-separator {
    color: rgba(255,255,255,0.3);
    margin: 0 8px;
    font-size: 12px;
}

.footer-bottom {
    border-top: none;
    padding-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-copy {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero h1 {
        font-size: 56px;
    }
    
    .nav-links a {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
        background: #1a1a2e;
        flex-wrap: nowrap;
        min-height: 60px;
    }
    
    .logo {
        font-size: 18px;
        letter-spacing: 1px;
        flex-shrink: 0;
        max-width: 50%;
    }
    
    .header-actions {
        gap: 8px;
        flex-shrink: 0;
    }
    
    .currency-switcher select {
        padding: 6px 8px;
        font-size: 12px;
        padding-right: 20px;
        min-width: 60px;
    }
    
    .currency-switcher::after {
        right: 8px;
        font-size: 8px;
    }
    
    .cart-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .cart-count {
        width: 16px;
        height: 16px;
        font-size: 10px;
        top: -6px;
        right: -6px;
    }
    
    .hamburger {
        width: 36px;
        height: 36px;
        margin-left: 4px;
    }
    
    .hamburger span {
        width: 18px;
    }
    
    .hamburger span:nth-child(1) { top: 10px; }
    .hamburger span:nth-child(2) { top: 17px; }
    .hamburger span:nth-child(3) { top: 24px; }
    
    /* Features Grid - Mobile */
    .features-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
    }
    
    .features-grid > div {
        padding: 0 8px;
    }
    
    .features-grid h3 {
        font-size: 16px !important;
    }
    
    .features-grid p {
        font-size: 13px !important;
    }
    
    /* Stats Row - Mobile */
    .stats-row {
        flex-direction: column !important;
        gap: 24px !important;
    }
    
    .stat-item {
        padding: 16px;
        background: rgba(255,255,255,0.05);
        border-radius: 8px;
    }
    
    .stat-item > div:first-child {
        font-size: 36px !important;
    }
    
    .stat-item > div:last-child {
        font-size: 12px !important;
    }
    
    /* Product Detail - Mobile */
    .product-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    .product-images {
        order: -1;
    }
    
    .product-main-image {
        margin: 0 -16px 16px !important;
        border-radius: 0 !important;
    }
    
    .product-main-image img {
        aspect-ratio: 4/3 !important;
    }
    
    .product-thumbs {
        padding: 0 16px;
    }
    
    .hero h1 {
        font-size: 40px;
        letter-spacing: 4px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 16px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-product {
        display: none;
    }
    
    .nav-links a {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .footer-terms {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .footer-terms a {
        font-size: 12px;
    }
    
    .terms-separator {
        display: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}
