/* Merch Mafia - Clean, Professional, Edgy */

:root {
    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-accent: #000000;
    --text-primary: #0a0a0a;
    --text-secondary: #666666;
    --text-inverse: #ffffff;
    --border-color: #e0e0e0;
    --accent-color: #ff3366;
    --accent-hover: #ff1a4d;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] {
    /* Dark Mode Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #151515;
    --bg-accent: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-inverse: #0a0a0a;
    --border-color: #2a2a2a;
    --accent-color: #ff3366;
    --accent-hover: #ff1a4d;
    --shadow: rgba(255, 255, 255, 0.05);
    --shadow-strong: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 2px 20px var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.cta-button {
    background: var(--accent-color);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.3);
}

.cta-button::after {
    display: none;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--bg-accent);
    border-color: var(--bg-accent);
    transform: rotate(180deg);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: var(--text-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-text .accent {
    color: var(--accent-color);
    display: block;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

.btn-primary {
    background: var(--bg-accent);
    color: var(--text-inverse);
    padding: 1rem 2.5rem;
    border: 2px solid var(--bg-accent);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--shadow-strong);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

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

.hero-visual {
    position: relative;
    height: 600px;
    border-radius: 16px;
    overflow: hidden;
}

.hero-visual img,
.hero-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-accent);
    color: var(--text-inverse);
    padding: 2.5rem 2rem;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

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

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
    letter-spacing: 0.02em;
}

/* Section Styles */
section {
    padding: 6rem 2rem;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Services Grid */
.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Gallery Section - Carousel */
.gallery-section {
    background: var(--bg-secondary);
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 4rem;
}

.carousel-track {
    position: relative;
    width: 100%;
    min-height: 700px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.carousel-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.carousel-slide.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    z-index: 1;
}

.carousel-slide img {
    max-width: calc(100% - 3rem);
    max-height: calc(100% - 3rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 48px var(--shadow-strong);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    padding: 1.5rem;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.carousel-slide img:hover {
    transform: scale(1.02);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    transition: stroke 0.3s ease;
}

.carousel-btn:hover svg {
    stroke: white;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator:hover {
    background: var(--text-secondary);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: white;
    color: black;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
    background: var(--accent-color);
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile Carousel Adjustments */
@media (max-width: 768px) {
    .carousel-container {
        padding: 0 2.5rem;
    }

    .carousel-track {
        min-height: 500px;
        max-height: 650px;
    }

    .carousel-slide {
        padding: 0;
        width: 100%;
        height: 100%;
    }

    .carousel-slide img {
        max-width: calc(100% - 1rem);
        max-height: calc(100% - 1rem);
        width: auto;
        height: auto;
        padding: 0.5rem;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
    }

    .carousel-btn.prev {
        left: 0.25rem;
    }

    .carousel-btn.next {
        right: 0.25rem;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    .indicator {
        width: 16px;
        height: 16px;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 0 2rem;
    }

    .carousel-track {
        min-height: 450px;
        max-height: 550px;
    }
}

/* Brands Section */
.brands-section {
    padding: 4rem 2rem;
    background: var(--bg-primary);
    overflow: hidden;
}

.brands-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.brand-logo {
    filter: grayscale(100%) opacity(0.4);
    transition: all 0.4s ease;
    max-height: 50px;
    width: auto;
    animation: float 3s ease-in-out infinite;
}

.brand-logo:nth-child(1) {
    animation-delay: 0s;
}

.brand-logo:nth-child(2) {
    animation-delay: 0.5s;
}

.brand-logo:nth-child(3) {
    animation-delay: 1s;
}

.brand-logo:nth-child(4) {
    animation-delay: 1.5s;
}

.brand-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.15) translateY(-5px);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Contact Form */
.contact-section {
    background: var(--bg-secondary);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 968px) {
    .contact-info {
        text-align: center;
    }
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.875rem 1.125rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-end;
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.3);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
footer {
    background: var(--bg-accent);
    color: var(--text-inverse);
    padding: 6rem 2rem 3rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.footer-logo-image {
    height: 80px;
    width: auto;
}

.footer-logo-light {
    display: block;
}

.footer-logo-dark {
    display: none;
}

[data-theme="dark"] .footer-logo-light {
    display: none;
}

[data-theme="dark"] .footer-logo-dark {
    display: block;
}

.footer-tagline-image {
    height: 24px;
    width: auto;
    opacity: 0.9;
}

.footer-tagline-light {
    display: block;
}

.footer-tagline-dark {
    display: none;
}

[data-theme="dark"] .footer-tagline-light {
    display: none;
}

[data-theme="dark"] .footer-tagline-dark {
    display: block;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.6;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.2);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        height: 400px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        box-shadow: -5px 0 15px var(--shadow);
        transition: right 0.3s ease;
        z-index: 999;
        gap: 1.5rem;
    }

    .nav-links li:has(.theme-toggle) {
        position: fixed;
        top: 1.25rem;
        right: 5.5rem;
        z-index: 1001;
    }

    .theme-toggle {
        width: 38px;
        height: 38px;
    }

    .theme-toggle svg {
        width: 18px;
        height: 18px;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 1000;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

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

    .submit-btn {
        align-self: stretch;
        width: 100%;
    }

    .contact-container {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

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

    .btn-primary,
    .btn-secondary {
        text-align: center;
    }
}

@media (max-width: 400px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .nav-links {
        width: 75%;
    }
}
