/*
Theme Name: Drammis Autoricambi - Light Theme
Theme URI: https://drammisautoricambi.it
Description: Tema chiaro per Drammis Autoricambi - Compatibile con Elementor (stile CATI)
Author: Drammis Team
Author URI: https://drammisautoricambi.it
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drammis-light
Template: hello-elementor
*/

/* ============================================
   DRAMMIS AUTORICAMBI - LIGHT THEME
   Colori principali:
   - Rosso: #E30613
   - Sfondo bianco: #FFFFFF
   - Sfondo grigio: #F9FAFB
   - Testo: #111827
   - Testo secondario: #6B7280
   ============================================ */

/* Root Variables */
:root {
    --drammis-red: #E30613;
    --drammis-red-hover: #FF1A25;
    --drammis-red-light: #FEF2F2;
    --drammis-white: #FFFFFF;
    --drammis-gray-50: #F9FAFB;
    --drammis-gray-100: #F3F4F6;
    --drammis-gray-200: #E5E7EB;
    --drammis-gray-300: #D1D5DB;
    --drammis-gray-600: #6B7280;
    --drammis-gray-700: #374151;
    --drammis-gray-900: #111827;
    --drammis-dark: #0A0A0A;
}

/* Base Styles */
body {
    background-color: var(--drammis-white);
    color: var(--drammis-gray-900);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header Styles */
.drammis-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--drammis-gray-200);
}

.drammis-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.drammis-nav a {
    color: var(--drammis-gray-700);
    transition: color 0.3s ease;
}

.drammis-nav a:hover {
    color: var(--drammis-red);
}

/* Hero Section */
.drammis-hero {
    background: linear-gradient(180deg, var(--drammis-gray-50) 0%, var(--drammis-white) 100%);
    position: relative;
}

.drammis-hero-alt {
    background: linear-gradient(135deg, var(--drammis-red) 0%, #C00510 50%, #90030C 100%);
    position: relative;
    color: white;
}

.drammis-hero-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.1) 1px, transparent 0);
    background-size: 32px 32px;
}

/* Buttons */
.drammis-btn-primary {
    background: var(--drammis-red);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.drammis-btn-primary:hover {
    background: var(--drammis-red-hover);
    transform: translateY(-2px);
}

.drammis-btn-outline {
    background: transparent;
    color: var(--drammis-gray-700);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--drammis-gray-300);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.drammis-btn-outline:hover {
    background: var(--drammis-gray-50);
    border-color: var(--drammis-gray-400);
}

.drammis-btn-outline-light {
    background: transparent;
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.drammis-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Cards */
.drammis-card {
    background: var(--drammis-white);
    border: 1px solid var(--drammis-gray-200);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.drammis-card:hover {
    border-color: rgba(227, 6, 19, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.drammis-card-icon {
    width: 64px;
    height: 64px;
    background: var(--drammis-red-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.drammis-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--drammis-red);
}

/* Section Title */
.drammis-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--drammis-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.drammis-section-title::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--drammis-red);
}

/* Stats Counter */
.drammis-stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--drammis-red);
    line-height: 1;
}

.drammis-stat-label {
    color: var(--drammis-gray-600);
    font-size: 14px;
    margin-top: 8px;
}

/* Partner Logo Grid */
.drammis-partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 24px;
    align-items: center;
}

.drammis-partner-logo {
    background: var(--drammis-white);
    border: 1px solid var(--drammis-gray-200);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.drammis-partner-logo:hover {
    border-color: rgba(227, 6, 19, 0.3);
    filter: grayscale(0%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Newsletter Section */
.drammis-newsletter {
    background: linear-gradient(135deg, #E30613 0%, #C00510 50%, #90030C 100%);
    position: relative;
    overflow: hidden;
}

.drammis-newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.1) 1px, transparent 0);
    background-size: 32px 32px;
}

/* Form Inputs Light */
.drammis-input {
    background: var(--drammis-white);
    border: 1px solid var(--drammis-gray-200);
    color: var(--drammis-gray-900);
    padding: 14px 18px;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.drammis-input:focus {
    outline: none;
    border-color: var(--drammis-red);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.drammis-input::placeholder {
    color: var(--drammis-gray-400);
}

/* Footer */
.drammis-footer {
    background: var(--drammis-dark);
    border-top: 1px solid var(--drammis-gray-200);
    color: var(--drammis-gray-300);
}

.drammis-footer a {
    color: var(--drammis-gray-400);
    transition: color 0.3s ease;
}

.drammis-footer a:hover {
    color: var(--drammis-red);
}

.drammis-footer h4 {
    color: var(--drammis-white);
}

/* Mobile Menu */
.drammis-mobile-menu {
    background: var(--drammis-white);
    border: 1px solid var(--drammis-gray-200);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Section Backgrounds */
.drammis-section-white {
    background-color: var(--drammis-white);
}

.drammis-section-gray {
    background-color: var(--drammis-gray-50);
}

.drammis-section-dark {
    background-color: var(--drammis-dark);
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.drammis-animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .drammis-stat-number {
        font-size: 36px;
    }
    
    .drammis-card {
        padding: 24px;
    }
}
