/**
 * Julius Yale Web - Core Styles
 * Style: Experimental Streetwear
 * Primary: #FF3366 (Electric Pink)
 * Secondary: #00D4AA (Teal)
 * Accent: #FFD700 (Gold)
 * Background: #0A0A0F (Deep Black)
 */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Font Face Fallback */
@font-face {
    font-family: 'Bebas Neue';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/bebasneue/v14/JTUSjIg69CK48gW7PXooxW5rygbi49c.woff2) format('woff2');
}

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

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

:root {
    --primary: #FF3366;
    --primary-dark: #E6295C;
    --primary-light: #FF5C85;
    --secondary: #00D4AA;
    --secondary-dark: #00B894;
    --accent: #FFD700;
    --accent-dark: #E6C200;
    --bg-main: #0A0A0F;
    --bg-alt: #141419;
    --bg-card: #1E1E26;
    --text-main: #FFFFFF;
    --text-muted: #888888;
    --text-dim: #555555;
    --border: #2A2A35;
    --border-light: #3A3A45;
    
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    --transition-fast: all 0.2s ease;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

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

a:hover {
    color: var(--primary-light);
}

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

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: var(--text-main);
    padding: 8px 0;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Header */
.site-header {
    background: var(--bg-main);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

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

.logo-wrap {
    flex: 0 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-main);
    letter-spacing: 0.1em;
}

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

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-main);
    transition: var(--transition);
    position: relative;
}

.action-btn:hover {
    color: var(--primary);
}

.cart-btn .cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--primary);
    color: var(--text-main);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Currency Dropdown */
.currency-dropdown {
    position: relative;
}

.currency-trigger {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 6px 12px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.currency-trigger:hover {
    border-color: var(--primary);
}

.currency-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    min-width: 120px;
    display: none;
    z-index: 100;
}

.currency-dropdown:hover .currency-menu {
    display: block;
}

.currency-option {
    display: block;
    padding: 10px 16px;
    color: var(--text-main);
    font-size: 0.85rem;
    transition: var(--transition);
}

.currency-option:hover {
    background: var(--primary);
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 51, 102, 0.3);
}

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

.btn-secondary:hover {
    background: var(--text-main);
    color: var(--bg-main);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-main);
}

/* Size Selector */
.size-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size-option {
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.size-option:hover,
.size-option.active {
    border-color: var(--primary);
    background: var(--primary);
}

.size-option:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Product Cards */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.product-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}

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

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

.product-info {
    padding: 20px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.product-price {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.product-price .original {
    color: var(--text-dim);
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

/* Footer */
.site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-contact {
    margin-top: 20px;
    font-size: 0.85rem;
    line-height: 1.8;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

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

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .main-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 60px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.hidden { display: none !important; }
