/* ===== FONT IMPORTLARI ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== ROOT VARIABLES ===== */
:root {
    /* Color Palette */
    --primary-red: #E63946;
    --dark-blue: #1D3557;
    --light-bg: #F1FAEE;
    --dark-bg: #0A0A0A;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --accent-blue: #A8DADC;
    
    /* Typography - YENİLƏNİB */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 
                   'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 
                   'Helvetica Neue', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 
                 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 
                 'Droid Sans', 'Helvetica Neue', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.2);
    --shadow-lg: 0 8px 32px rgba(230, 57, 70, 0.3);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== FONT OPTİMİZASİYASI ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Font optimizasiyası */
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    /* Font yüklənənə qədər backup font istifadəsi */
    font-display: swap;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    /* Responsive font ölçüləri */
    font-size: clamp(1.5rem, 4vw, 4rem);
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h4 {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
}

/* Azərbaycan xüsusi hərfləri üçün */
.azeri-text, 
[lang="az"], 
[lang="az-AZ"] {
    font-family: var(--font-body);
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.01em;
    word-spacing: 0.05em;
}

.text-red {
    color: var(--primary-red);
}

.title-underline {
    position: relative;
    display: inline-block;
}

.title-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

/* Responsive paragraph */
p, li, span, a {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-red), #FF6B6B);
    color: white;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-light);
    padding: 16px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--primary-red);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(230, 57, 70, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.logo-icon {
    color: var(--primary-red);
    animation: pulse 2s infinite;
}

.logo-red {
    color: var(--primary-red);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-rotating {
    display: inline-block;
    position: relative;
    height: 1.2em;
    overflow: hidden;
}

.rotating-text {
    display: block;
    animation: rotateWords 9s infinite;
    opacity: 0;
    position: absolute;
}

@keyframes rotateWords {
    0%, 25% {
        opacity: 1;
        transform: translateY(0);
    }
    30%, 55% {
        opacity: 0;
        transform: translateY(-30px);
    }
    60%, 85% {
        opacity: 1;
        transform: translateY(0);
    }
    90%, 100% {
        opacity: 0;
        transform: translateY(30px);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.security-animation {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(29, 53, 87, 0.2));
    overflow: hidden;
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(230, 57, 70, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230, 57, 70, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translateY(0) translateX(0);
    }
    100% {
        transform: translateY(30px) translateX(30px);
    }
}

.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(230, 57, 70, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-red);
    border: 2px solid rgba(230, 57, 70, 0.3);
}

.element-1 {
    top: 20%;
    left: 20%;
    animation: float 6s ease-in-out infinite;
}

.element-2 {
    top: 60%;
    right: 20%;
    animation: float 8s ease-in-out infinite 1s;
}

.element-3 {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation: float 7s ease-in-out infinite 0.5s;
}

.pulse-radar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    animation: radarPulse 3s infinite;
}

@keyframes radarPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: var(--space-xl) 0;
    background: rgba(10, 10, 10, 0.9);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-title {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
    padding: 0 2rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: var(--space-lg);
}

.loading-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(230, 57, 70, 0.1);
    border-top-color: var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== PRODUCT CARD ===== */
.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(230, 57, 70, 0.1) 0%,
        transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 
        0 20px 40px rgba(230, 57, 70, 0.2),
        inset 0 0 0 1px rgba(230, 57, 70, 0.3);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid rgba(230, 57, 70, 0.2);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    display: inline-block;
    background: rgba(230, 57, 70, 0.2);
    color: var(--primary-red);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-details {
    flex: 1;
    background: transparent;
    color: var(--primary-red);
    border: 1px solid var(--primary-red);
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-details:hover {
    background: var(--primary-red);
    color: white;
}

.btn-quote {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-quote:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

.loading-animation {
    text-align: center;
}

.pulse-circle {
    width: 80px;
    height: 80px;
    border: 4px solid var(--primary-red);
    border-radius: 50%;
    margin: 0 auto 1rem;
    position: relative;
    animation: pulse 2s infinite;
}

.loading-text {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--primary-red);
}

/* ===== CURSOR TRAIL ===== */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-red), transparent);
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-red);
    border-radius: 15px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0.5;
    }
}
/* ===== FONT FALLBACK SİSTEMİ ===== */
.font-fallback {
    font-family: 
        -apple-system,      /* iOS & macOS */
        BlinkMacSystemFont, /* Chrome macOS */
        'Segoe UI',         /* Windows */
        'Roboto',           /* Android & ChromeOS */
        'Oxygen',           /* KDE */
        'Ubuntu',           /* Ubuntu */
        'Cantarell',        /* GNOME */
        'Fira Sans',        /* Firefox OS */
        'Droid Sans',       /* Older Android */
        'Helvetica Neue',   /* Classic */
        sans-serif;         /* Fallback */
}

/* Font yüklənmədiyini aşkar etmək üçün */
.no-font-loaded h1,
.no-font-loaded h2,
.no-font-loaded h3,
.no-font-loaded h4 {
    font-family: 
        'Arial Black', 
        'Arial', 
        sans-serif;
}

.no-font-loaded body {
    font-family: 
        'Arial', 
        'Helvetica', 
        sans-serif;
}

/* ===== SPEED LINES ===== */
.speed-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-red), 
        transparent);
    opacity: 0.2;
}

.line:nth-child(1) {
    top: 20%;
    animation: speedLine 20s linear infinite;
}

.line:nth-child(2) {
    top: 50%;
    animation: speedLine 15s linear infinite 5s;
}

.line:nth-child(3) {
    top: 80%;
    animation: speedLine 25s linear infinite 10s;
}

@keyframes speedLine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ===== PULSE ANIMATION ===== */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(230, 57, 70, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===== FLOAT ANIMATION ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-5deg);
    }
}
/* ===== CONTACT INFO STYLES ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Contact Info - Horizontal Layout */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 57, 70, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-red);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--primary-red);
    color: white;
    transform: scale(1.1);
}

.contact-details h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.contact-details p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0.2rem 0;
}

/* Contact Form Container */
.contact-form-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--primary-red),
        #FF6B6B,
        var(--primary-red));
    animation: borderFlow 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        padding: 1.2rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .contact-details {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 0 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-details h4 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes borderFlow {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

/* Optional: Add subtle background pattern */
.contact-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, 
            rgba(230, 57, 70, 0.03) 0%, 
            transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.contact-item:hover::after {
    opacity: 1;
}
/* ===== FOOTER STYLES ===== */
.footer {
    background: linear-gradient(180deg, #0A0A0A 0%, #050505 100%);
    border-top: 1px solid rgba(230, 57, 70, 0.1);
    margin-top: 5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-red), 
        transparent);
    animation: borderFlow 3s ease-in-out infinite;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

/* Logo Section */
.footer-section:first-child {
    max-width: 300px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary-red);
    animation: pulse 2s infinite;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.logo-red {
    color: var(--primary-red);
}

.footer-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

/* Footer Sections */
.footer-section {
    padding: 0 1rem;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-contact i {
    color: var(--primary-red);
    font-size: 1rem;
    margin-top: 0.2rem;
    width: 20px;
    text-align: center;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-red);
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #FF6B6B;
    transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes borderFlow {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .footer-section:first-child {
        max-width: 100%;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        bottom: 80px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 1.5rem 1rem;
    }
    
    .footer-section {
        padding: 0;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 15px;
        right: 15px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 70px;
        right: 15px;
    }
}

/* ===== DARK/LIGHT MODE SUPPORT ===== */
@media (prefers-color-scheme: light) {
    .footer {
        background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .footer-section h3 {
        color: #333;
    }
    
    .footer-description,
    .footer-links a,
    .footer-contact li,
    .footer-bottom p,
    .footer-bottom-links a {
        color: #666;
    }
    
    .footer-social a {
        background: rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.1);
        color: #333;
    }
    
    .footer-bottom {
        background: rgba(0, 0, 0, 0.05);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .footer {
        display: none;
    }
    
    .whatsapp-float,
    .back-to-top {
        display: none;
    }
}
/* ===== ABOUT SECTION STYLES ===== */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, 
        rgba(10, 10, 10, 0.9) 0%,
        rgba(15, 15, 15, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-red), 
        transparent);
    animation: borderFlow 3s ease-in-out infinite;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* About Content */
.about-content h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.about-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 2px;
}

.about-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 500px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 57, 70, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    display: block;
}

/* About Image */
.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 30px 60px rgba(230, 57, 70, 0.2);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(230, 57, 70, 0.1) 0%,
        transparent 50%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-image:hover::before {
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-content > p {
        max-width: 600px;
        margin: 0 auto 3rem;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
        transform: none;
    }
    
    .about-image:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 300px;
        margin: 3rem auto 0;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .about-image img {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 3rem 0;
    }
    
    .about-container {
        padding: 0 1rem;
    }
    
    .about-content h3 {
        font-size: 2rem;
    }
    
    .about-content > p {
        font-size: 1rem;
    }
    
    .about-image img {
        height: 300px;
    }
}

/* Animation for numbers */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item.animated .stat-number {
    animation: countUp 0.5s ease forwards;
}

/* Optional: Add decorative elements */
.stat-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.stat-item:hover::after {
    opacity: 1;
    transform: scale(1.5);
}
/* ===== PROJECTS SECTION STYLES ===== */
.projects-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0.95) 0%,
        rgba(20, 20, 20, 0.98) 100%);
    position: relative;
    overflow: hidden;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-red), 
        transparent);
    animation: borderFlow 3s ease-in-out infinite;
}

.projects-container {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Project Card */
.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(230, 57, 70, 0.1) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 
        0 25px 50px rgba(230, 57, 70, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(230, 57, 70, 0.3);
}

.project-card:hover::before {
    opacity: 1;
}

/* Project Image */
.project-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    transform-origin: center;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

/* Project Overlay */
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        transparent,
        rgba(10, 10, 10, 0.95)
    );
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.project-overlay h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-red);
    border-radius: 50%;
}

.project-overlay p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

/* Project Badge */
.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.project-card:hover .project-badge {
    transform: translateY(0);
    opacity: 1;
}

/* Project Info */
.project-info {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-tag {
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-red);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Projects Navigation */
.projects-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 0 2rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

/* Projects Counter */
.projects-counter {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .projects-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .project-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 3rem 0;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .project-card {
        max-width: 100%;
    }
    
    .project-overlay {
        transform: translateY(0);
        opacity: 1;
        background: rgba(10, 10, 10, 0.8);
    }
    
    .project-info {
        transform: translateY(0);
        opacity: 1;
    }
    
    .project-badge {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .projects-container {
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-overlay {
        padding: 1.5rem;
    }
    
    .project-overlay h3 {
        font-size: 1.3rem;
    }
    
    .project-info {
        padding: 1rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--index) * 0.1s);
    opacity: 0;
}

/* Dark/Light Mode Support */
@media (prefers-color-scheme: light) {
    .projects-section {
        background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    }
    
    .project-card {
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(0, 0, 0, 0.1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
    
    .project-card:hover {
        box-shadow: 
            0 20px 40px rgba(230, 57, 70, 0.15),
            inset 0 1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .project-overlay {
        background: linear-gradient(
            transparent,
            rgba(255, 255, 255, 0.9)
        );
    }
    
    .project-overlay h3 {
        color: #333;
    }
    
    .project-overlay p {
        color: #666;
    }
    
    .nav-btn {
        background: rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.1);
        color: #333;
    }
}