/*
Theme Name: Rapper Merch
Theme URI: https://streethustle.eu
Author: Street Hustle
Author URI: https://streethustle.eu
Description: Custom dark urban theme for rappers with merch store
Version: 1.0
License: GPL v2
Text Domain: rapper-merch
*/

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #ff3e3e;
    --primary-dark: #cc3232;
    --secondary: #1a1a1a;
    --dark: #0d0d0d;
    --darker: #080808;
    --light: #ffffff;
    --gray: #888888;
    --gray-dark: #333333;
    --gold: #d4af37;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

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

.gold-text {
    color: var(--gold);
}

.red-text {
    color: var(--primary);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

.btn-outline:hover {
    background: var(--light);
    color: var(--dark);
}

.btn-gold {
    background: var(--gold);
    color: var(--dark);
}

.btn-gold:hover {
    background: #b8962e;
}

/* ===== HEADER & NAV ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

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

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 4px;
    color: var(--light);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--light);
}

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

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

.cart-icon {
    position: relative;
    font-size: 1.3rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 5% 80px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('assets/images/hero-bg.jpg') center/cover no-repeat;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--darker) 100%);
}

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

.hero h1 {
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(255, 62, 62, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== MERCH SECTION ===== */
.merch-section {
    padding: 100px 0;
    background: var(--dark);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 62, 62, 0.1);
}

.product-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    padding: 5px 15px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.product-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.product-price .old-price {
    color: var(--gray);
    text-decoration: line-through;
    margin-left: 10px;
    font-size: 1.1rem;
}

.add-to-cart {
    width: 100%;
    justify-content: center;
}

/* ===== ABOUT/ARTIST SECTION ===== */
.about-section {
    padding: 100px 0;
    background: var(--darker);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--primary);
    border-radius: 8px;
    z-index: -1;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

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

.stats-row {
    display: flex;
    gap: 3rem;
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary);
}

.stat-item p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== MUSIC SECTION ===== */
.music-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.album-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.album-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: var(--transition);
}

.album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.album-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.album-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.album-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1);
}

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

/* ===== TOUR SECTION ===== */
.tour-section {
    padding: 100px 0;
    background: var(--dark);
}

.tour-list {
    max-width: 900px;
    margin: 0 auto;
}

.tour-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.tour-item:hover {
    background: rgba(255,62,62,0.05);
    padding-left: 2rem;
}

.tour-date {
    text-align: center;
}

.tour-date .day {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--primary);
    line-height: 1;
}

.tour-date .month {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tour-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.tour-info p {
    color: var(--gray);
    font-size: 0.95rem;
}

.tour-sold-out {
    background: var(--gray-dark);
    padding: 0.5rem 1.5rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    opacity: 0.5;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--darker);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--gray);
    margin: 1.5rem 0;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.footer h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul a {
    color: var(--gray);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tour-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    .tour-item .btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== WOOCOMMERCE STYLES ===== */
.woocommerce .products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
}

.woocommerce ul.products li.product {
    background: var(--secondary) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    width: 100% !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 62, 62, 0.1);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 1.3rem !important;
    color: var(--light) !important;
    padding: 0 1.5rem !important;
}

.woocommerce ul.products li.product .price {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 1.5rem !important;
    color: var(--gold) !important;
    padding: 0 1.5rem !important;
}

.woocommerce ul.products li.product .button {
    background: var(--primary) !important;
    color: var(--light) !important;
    font-family: 'Bebas Neue', sans-serif !important;
    letter-spacing: 2px !important;
    margin: 0 1.5rem 1.5rem !important;
    border-radius: 0 !important;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--primary-dark) !important;
}
