/* ===== VIZZO CREATIVE STUDIO - DARK THEME ===== */
/* Based on official Vizzo brand identity */

/* Vizzo Brand Colors - Extracted from Logo */
:root {
    /* Primary Brand Colors */
    --vizzo-pink: #E91E63;
    --vizzo-blue: #2196F3;
    --vizzo-primary-gradient: linear-gradient(135deg, #E91E63, #2196F3);
    
    /* Dark Theme Backgrounds */
    --vizzo-bg-primary: #0B1426;    /* Main dark background */
    --vizzo-bg-secondary: #1A1B3A;  /* Secondary dark background */
    --vizzo-bg-card: #1E293B;       /* Card backgrounds */
    --vizzo-bg-elevated: #334155;   /* Elevated elements */
    
    /* Text Colors */
    --vizzo-text-primary: #FFFFFF;
    --vizzo-text-secondary: #B0BEC5;
    --vizzo-text-muted: #64748B;
    
    /* Accent Colors */
    --vizzo-accent-pink: #E91E63;
    --vizzo-accent-blue: #2196F3;
    --vizzo-accent-cyan: #00BFFF;
    
    /* Utility Colors */
    --vizzo-border: rgba(233, 30, 99, 0.15);
    --vizzo-border-light: rgba(255, 255, 255, 0.1);
    --vizzo-hover: rgba(233, 30, 99, 0.08);
    --vizzo-shadow: rgba(0, 0, 0, 0.5);
    --vizzo-glow: rgba(233, 30, 99, 0.3);
}

/* ===== GLOBAL STYLES ===== */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--vizzo-accent-pink) var(--vizzo-bg-secondary);
}

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

*::-webkit-scrollbar-track {
    background: var(--vizzo-bg-secondary);
}

*::-webkit-scrollbar-thumb {
    background: var(--vizzo-primary-gradient);
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #C2185B, #1976D2);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--vizzo-bg-primary) !important;
    color: var(--vizzo-text-primary) !important;
    font-family: 'Poppins', sans-serif;
}

/* ===== TAILWIND OVERRIDES ===== */
/* Background Colors */
.bg-gray-50 { 
    background: var(--vizzo-bg-secondary) !important; 
}

.bg-white { 
    background: var(--vizzo-bg-card) !important;
    border: 1px solid var(--vizzo-border-light);
}

.bg-gray-900 {
    background: var(--vizzo-bg-primary) !important;
}

.bg-gray-100 {
    background: var(--vizzo-bg-elevated) !important;
}

/* Text Colors */
.text-gray-800 { 
    color: var(--vizzo-text-primary) !important; 
}

.text-gray-600, .text-gray-700 { 
    color: var(--vizzo-text-secondary) !important; 
}

.text-gray-400, .text-gray-500 {
    color: var(--vizzo-text-muted) !important;
}

/* ===== COMPONENT STYLES ===== */

/* Header */
header {
    background: rgba(11, 20, 38, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--vizzo-border);
}

/* Navigation */
nav a:hover {
    color: var(--vizzo-accent-pink) !important;
}

/* Logo */
.logo-gradient {
    background: var(--vizzo-primary-gradient);
}

/* Cards */
.bg-white, .shadow-lg, .shadow-xl {
    background: var(--vizzo-bg-card) !important;
    border: 1px solid var(--vizzo-border-light);
    box-shadow: 0 25px 50px -12px var(--vizzo-shadow) !important;
}

.hover\:shadow-2xl:hover {
    box-shadow: 0 25px 50px -12px var(--vizzo-glow) !important;
    transform: translateY(-5px);
}

/* Buttons and Gradients */
.bg-gradient-to-r.from-purple-600.to-pink-600 {
    background: var(--vizzo-primary-gradient) !important;
}

.bg-gradient-to-r.from-blue-600.to-purple-600 {
    background: linear-gradient(135deg, var(--vizzo-blue), #9C27B0) !important;
}

.bg-gradient-to-r.from-pink-600.to-red-600 {
    background: linear-gradient(135deg, var(--vizzo-pink), #F44336) !important;
}

.bg-gradient-to-r.from-green-600.to-blue-600 {
    background: linear-gradient(135deg, #4CAF50, var(--vizzo-blue)) !important;
}

/* Hero Sections */
.bg-gradient-to-br.from-purple-900.via-blue-900.to-pink-900 {
    background: linear-gradient(135deg, #1A1B3A, var(--vizzo-bg-primary), #2D1B69) !important;
}

/* Form Elements */
input, textarea, select {
    background: var(--vizzo-bg-card) !important;
    border: 1px solid var(--vizzo-border-light) !important;
    color: var(--vizzo-text-primary) !important;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--vizzo-accent-pink) !important;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15) !important;
    outline: none !important;
}

input::placeholder, textarea::placeholder {
    color: var(--vizzo-text-muted) !important;
}

/* Borders */
.border-gray-200, .border-gray-300 {
    border-color: var(--vizzo-border-light) !important;
}

.divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
    border-color: var(--vizzo-border-light) !important;
}

/* Hover States */
.hover\:bg-gray-50:hover, .hover\:bg-gray-100:hover {
    background: var(--vizzo-hover) !important;
}

.hover\:bg-gray-300:hover {
    background: var(--vizzo-bg-elevated) !important;
}

/* FAQ and Accordions */
.faq-button:hover {
    background: var(--vizzo-hover) !important;
}

/* Footer */
footer {
    background: var(--vizzo-bg-primary) !important;
    border-top: 1px solid var(--vizzo-border);
}

/* Mobile Menu */
#mobile-menu {
    background: var(--vizzo-bg-card) !important;
    border-color: var(--vizzo-border) !important;
}

/* Tables */
table {
    background: var(--vizzo-bg-card) !important;
}

thead {
    background: var(--vizzo-bg-elevated) !important;
}

.bg-purple-50 {
    background: rgba(233, 30, 99, 0.1) !important;
}

/* Special Effects */
.text-transparent.bg-clip-text.bg-gradient-to-r.from-yellow-400.to-orange-400 {
    background: linear-gradient(135deg, #FFD700, #FF8C00) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.text-transparent.bg-clip-text.bg-gradient-to-r.from-purple-600.to-pink-600 {
    background: var(--vizzo-primary-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Custom animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

/* Hero section custom styles */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.hero-swiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--vizzo-primary-gradient);
}

/* Portfolio filter styles */
.portfolio-filter.active, .pack-filter.active {
    background: var(--vizzo-primary-gradient) !important;
    color: white;
}

/* Counter animation */
.counter {
    transition: all 0.3s ease;
}

/* Loading animation for form submission */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }
    
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-7xl {
        font-size: 3.5rem;
    }
}

/* Hover effects for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradient text animation */
.gradient-text {
    background: var(--vizzo-primary-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Portfolio item animations */
.portfolio-item, .pack-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

.portfolio-item.hidden, .pack-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Success and error message styles */
.success-message {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
}

.error-message {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.show {
    max-height: 300px;
}

/* Intersection Observer animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

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

/* Vizzo Glow Effect */
@keyframes vizzo-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(233, 30, 99, 0.3); }
    50% { box-shadow: 0 0 30px rgba(233, 30, 99, 0.5); }
}

.vizzo-glow {
    animation: vizzo-glow 2s ease-in-out infinite;
}