/* CREMEGAWDS - Premium Streetwear Theme */
/* Hard. Clean. Houston. */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Brand Colors - Deep Purple + Black */
    --black: #000000;
    --rich-black: #0a0a0a;
    --dark: #111111;
    --purple: #5a3d8a;
    --purple-light: #7c5cad;
    --purple-dark: #3d2860;
    --purple-glow: rgba(90, 61, 138, 0.3);
    --white: #ffffff;
    --gray: #888888;
    --gray-dark: #333333;
    --gray-light: #f5f5f5;

    /* Gradients */
    --gradient-purple: linear-gradient(135deg, #5a3d8a 0%, #3d2860 100%);
    --gradient-dark: linear-gradient(180deg, #000000 0%, #111111 100%);

    /* Shadows */
    --shadow-heavy: 0 30px 60px -20px rgba(0,0,0,0.8);
    --shadow-glow: 0 0 80px rgba(90, 61, 138, 0.2);

    /* Timing */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
}

::selection {
    background: var(--purple);
    color: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
}

h1 { font-size: clamp(4rem, 15vw, 12rem); }
h2 { font-size: clamp(2.5rem, 6vw, 5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--purple);
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--gray-dark);
    overflow: hidden;
}

.loader-bar span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--purple);
    animation: load 1.5s ease-in-out infinite;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-smooth);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

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

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    position: relative;
    padding: 5px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple);
    transition: width 0.3s var(--ease-out);
}

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

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

.cart-btn {
    position: relative;
    color: var(--white);
    padding: 10px;
    transition: color 0.3s ease;
}

.cart-btn:hover {
    color: var(--purple);
}

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

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-tag {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: var(--purple-light);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero h1 {
    margin-bottom: 40px;
}

.hero-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.hero-line:nth-child(1) { animation-delay: 0.6s; }
.hero-line:nth-child(2) { animation-delay: 0.7s; }

.hero-line-accent {
    color: var(--purple);
    -webkit-text-stroke: 2px var(--purple);
    -webkit-text-fill-color: transparent;
}

.hero-definition {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-definition strong {
    color: var(--white);
}

.hero-definition em {
    color: var(--purple-light);
}

.hero-actions {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 1.2s forwards;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--gray);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--purple), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 45px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background: var(--purple-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
    border-color: var(--purple);
    color: var(--purple);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
}

/* Marquee */
.marquee {
    background: var(--purple);
    padding: 15px 0;
    overflow: hidden;
}

.marquee-inner {
    display: flex;
    gap: 50px;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-inner span {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

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

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--purple);
    margin-bottom: 15px;
    display: block;
}

.section-cta {
    text-align: center;
    margin-top: 60px;
}

/* Products / Drops */
.drops {
    padding: 120px 0;
    background: var(--rich-black);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--dark);
    transition: transform 0.5s var(--ease-out);
}

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

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-add {
    background: var(--white);
    color: var(--black);
    border: none;
    padding: 15px 30px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-card:hover .quick-add {
    transform: translateY(0);
}

.quick-add:hover {
    background: var(--purple);
    color: var(--white);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--purple);
    color: var(--white);
    padding: 6px 12px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.product-badge.hot {
    background: #e53935;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.product-price {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--purple-light);
}

/* Culture Section */
.culture {
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}

.culture-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient-purple);
    opacity: 0.1;
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.culture-content h2 {
    margin-bottom: 30px;
}

.culture-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.culture-content blockquote {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--purple-light);
    border-left: 3px solid var(--purple);
    padding-left: 25px;
    margin: 40px 0;
}

.culture-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

.culture-img {
    overflow: hidden;
}

.culture-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.culture-img:hover img {
    transform: scale(1.05);
}

.culture-img-1 {
    aspect-ratio: 3/4;
    transform: translateY(40px);
}

.culture-img-2 {
    aspect-ratio: 3/4;
}

/* About Section */
.about {
    padding: 150px 0;
    background: var(--black);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 30px;
}

.about-lead {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--purple-light);
    margin-bottom: 30px !important;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-values {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-dark);
}

.value-item {
    text-align: center;
}

.value-number {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 8px;
}

.value-label {
    font-size: 0.85rem;
    color: var(--gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

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

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

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--purple) 0%, transparent 60%);
    opacity: 0.3;
    pointer-events: none;
}

/* Instagram */
.instagram {
    padding: 120px 0;
    background: var(--dark);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
}

.instagram-item {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

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

.instagram-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--purple);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item:hover::after {
    opacity: 0.3;
}

/* Newsletter */
.newsletter {
    padding: 100px 0;
    background: var(--purple);
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.newsletter-content h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.newsletter-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 0;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--white);
}

.newsletter-form .btn {
    background: var(--black);
    border: none;
}

.newsletter-form .btn:hover {
    background: var(--white);
    color: var(--black);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--black);
    border-top: 1px solid var(--gray-dark);
}

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

.footer-logo {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.95rem;
    max-width: 300px;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-dark);
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--purple);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links a,
.footer-links p {
    display: block;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--gray-dark);
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .nav {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .culture-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .culture-images {
        order: -1;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-values {
        gap: 30px;
    }

    .value-number {
        font-size: 2.5rem;
    }

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        max-width: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-actions {
        flex-direction: column;
    }

    .about-values {
        flex-direction: column;
        gap: 25px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--purple-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--purple);
}
