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

@tailwind base;
@tailwind components;
@tailwind utilities;

/* ===========================
   CUSTOM VARIABLES
   =========================== */
:root {
    --primary: #ffb4a8;
    --primary-container: #ff5540;
    --secondary: #adc7ff;
    --secondary-container: #4a8eff;
    --surface: #131313;
    --surface-variant: #353534;
    --on-surface: #e5e2e1;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
body {
    font-family: 'Inter', sans-serif;
    background-color: #131313;
    color: #e5e2e1;
}

h1, h2, h3, h4, h5, h6,
.font-display,
.font-headline {
    font-family: 'Space Grotesk', sans-serif;
}

/* ===========================
   MATERIAL ICONS
   =========================== */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.technical-grid {
    background-image: radial-gradient(rgba(255, 85, 64, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
}

.form-glass {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
    position: relative;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 19, 19, 0.3);
    z-index: 2;
}

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

/* ===========================
   HOVER EFFECTS
   =========================== */
.glow-red {
    transition: box-shadow 0.3s ease;
}

.glow-red:hover {
    box-shadow: 0 0 20px rgba(255, 85, 64, 0.2);
}

.glow-blue {
    transition: box-shadow 0.3s ease;
}

.glow-blue:hover {
    box-shadow: 0 0 20px rgba(74, 142, 255, 0.2);
}

/* ===========================
   BUTTONS & INTERACTIONS
   =========================== */
button, a {
    transition: all 0.3s ease;
}

button:active {
    transform: scale(0.98);
}

/* ===========================
   FORM ELEMENTS
   =========================== */
input, select, textarea {
    background-color: rgba(32, 31, 31, 1);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-container);
    outline: none;
}

input::placeholder, textarea::placeholder {
    color: rgba(229, 226, 225, 0.5);
}

/* ===========================
   SCROLLBAR STYLING
   =========================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #131313;
}

::-webkit-scrollbar-thumb {
    background: #353534;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #603e39;
}

/* ===========================
   ACCESSIBILITY
   =========================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: light) {
    body {
        background-color: #f5f5f5;
        color: #1a1a1a;
    }
}

/* ===========================
   REVIEWS CAROUSEL
   =========================== */
#reviews-container {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

#reviews-container::-webkit-scrollbar {
    display: none;
}

#reviews-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===========================
   MODAL STYLES
   =========================== */
#modal-container.hidden {
    display: none;
}

#modal-container {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

#modal-content {
    animation: slideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    #reviews-container {
        flex-wrap: nowrap;
    }
}
