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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #000000 100%);
    min-height: 100vh;
    color: white;
}

.page-container {
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 1.5rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(147, 51, 234, 0.2), rgba(59, 130, 246, 0.2), rgba(79, 70, 229, 0.2));
}

.hero-content {
    position: relative;
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e9d5ff, #dbeafe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-divider {
    height: 4px;
    width: 8rem;
    background: linear-gradient(to right, #8b5cf6, #3b82f6);
    margin: 0 auto;
    border-radius: 2px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Category Navigation */
.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
}

.category-btn {
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.category-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.25);
}

.category-btn.active {
    background: linear-gradient(to right, #7c3aed, #8b5cf6);
    color: white;
    box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.25);
    border: none;
}

.category-btn:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.category-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Featured Section */
.featured-section {
    margin-bottom: 5rem;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #9ca3af;
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 72rem;
    margin: 0 auto;
}

.carousel {
    overflow: hidden;
    border-radius: 1rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
    padding: 1rem 0;
}

.carousel-item {
    flex: 0 0 auto;
    width: 300px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.5s ease;
}

.carousel-item:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.carousel-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.carousel-item-content {
    padding: 1.5rem;
}

.carousel-item-title {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.carousel-prev {
    left: -4rem;
}

.carousel-next {
    right: -4rem;
}

/* Gallery Section */
.gallery-section {
    margin-bottom: 5rem;
}

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

.grid-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;
}

.grid-item:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.grid-item-content {
    padding: 1.5rem;
}

.grid-item-title {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    text-align: center;
    transition: color 0.3s ease;
}

.grid-item:hover .grid-item-title {
    color: #c084fc;
}

/* Stats Section */
.stats-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem;
    margin-bottom: 2rem;
}

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

.stat-item {
    text-align: center;
    transition: transform 0.3s ease;
}

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

.stat-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1.5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-icon:hover {
    transform: scale(1.1);
}

.stat-number {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.stat-title {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.stat-subtitle {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Gradients for categories */
.gradient-vinewood { background: linear-gradient(to right, #2563eb, #06b6d4); }
.gradient-plates { background: linear-gradient(to right, #10b981, #14b8a6); }
.gradient-logos { background: linear-gradient(to right, #f59e0b, #f97316); }
.gradient-other { background: linear-gradient(to right, #ec4899, #f43f5e); }
.gradient-signs { background: linear-gradient(to right, #6366f1, #3b82f6); }

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-prev, .carousel-next {
        display: none;
    }
    
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .category-nav {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stats-section {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .carousel-track {
        gap: 0.5rem;
    }
    
    .carousel-item {
        width: 250px;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
}
