/* ==========================================================================
   ARIM AUTOMOTIVE - STYLE.CSS (Versiunea Premium 2026 Refăcută & Curățată)
   ========================================================================== */
:root {
    --primary-red: #D60000;
    --dark-red: #b30000;
    --primary-black: #111111;
    --secondary-black: #1a1a1a;
    --pure-white: #ffffff;
    --light-gray: #f4f6f8;
    
    /* 2026 Premium Variables */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 15px 35px rgba(0,0,0,0.06);
    --shadow-hover: 0 25px 50px rgba(214, 0, 0, 0.15);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); color: var(--primary-black); background-color: var(--pure-white); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-red { color: var(--primary-red); }
.text-black { color: var(--primary-black); }
.text-white { color: var(--pure-white); }
.text-white-subtitle { font-size: 1.1rem; color: #ffffff; }
.text-center { text-align: center; }
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--light-gray); }
.mt-2 { margin-top: 24px; }
.mb-2 { margin-bottom: 24px; }
.font-weight-bold { font-weight: 700; }
.w-100 { width: 100%; display: block; }
.shadow-lg { box-shadow: var(--shadow-soft); }
.overflow-hidden { overflow: hidden; }
.bolt-green { color: #25D366; font-weight: 800; }
.asigurari-box { max-width: 650px; margin: 0 auto; }

/* Typography */
.section-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.section-title { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; position: relative; }
.section-description { font-size: 1.1rem; color: #444; font-family: var(--font-body); margin-top: 10px; }
.lead { font-size: 1.2rem; line-height: 1.8; color: #444; }

/* Navigation - Glassmorphism */
.navbar {
    background-color: transparent;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0; left: 0;
    z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--glass-border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }

/* Logo Styles */
.logo { font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.5px; color: var(--pure-white); transition: var(--transition); }
.navbar.scrolled .logo { color: var(--primary-black); }

/* Menu Links */
.nav-menu ul { display: flex; gap: 25px; align-items: center; }
.nav-menu a { font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; position: relative; color: var(--pure-white); }
.nav-menu a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 50%; transform: translateX(-50%); background-color: var(--primary-red); transition: var(--transition); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a.btn-contact::after { display: none; }

/* Highlight Red/Bold Helper Class */
.nav-menu li a.text-rosu-bold { color: var(--primary-red) !important; font-weight: 800 !important; }

/* Scrolled State for Menu Links */
.navbar.scrolled .nav-menu a { color: var(--primary-black); }
.navbar.scrolled .nav-menu a:hover, .navbar.scrolled .nav-menu a.active { color: var(--primary-red); }
.navbar.scrolled .nav-menu li a.text-rosu-bold { color: var(--primary-red) !important; }

/* Contact Navbar Button */
.nav-menu a.btn-contact {
    background-color: var(--primary-red);
    padding: 10px 24px;
    border-radius: 8px;
    color: var(--pure-white) !important;
    border: 2px solid var(--primary-red);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    animation: pulse-red 2s infinite;
}
.nav-menu a.btn-contact:hover {
    background-color: var(--pure-white) !important;
    color: var(--primary-red) !important;
    border: 2px solid var(--primary-red);
}

/* Generic Buttons */
.btn-main, .btn-outline { 
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 32px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; border-radius: 50px; transition: var(--transition);
    font-size: 0.95rem; border: 2px solid var(--primary-red);
}
.btn-main { background: var(--primary-red); color: var(--pure-white); box-shadow: 0 10px 20px rgba(214,0,0,0.2); }
.btn-main:hover { background: var(--dark-red); border-color: var(--dark-red); transform: translateY(-3px); box-shadow: 0 15px 25px rgba(214,0,0,0.3); }
.btn-outline { background: transparent; color: var(--primary-red); }
.btn-outline:hover { background: var(--primary-red); color: var(--pure-white); transform: translateY(-3px); }

/* Buttons in Hero */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
    width: 100%;
}

.btn-hero-outline {
    background: var(--pure-white);
    border-color: var(--pure-white);
    color: var(--primary-red);
}
.btn-hero-outline:hover {
    background: var(--primary-red);
    color: var(--pure-white);
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(214,0,0,0.3);
}

/* Pulse Animations */
.pulse-btn { animation: pulse-red 2s infinite; }
.btn-whatsapp { background: #25D366; border-color: #25D366; animation: pulse-green 2s infinite; }
.btn-whatsapp:hover { background: #fff; color: #25D366; border-color: #fff; }
.btn-phone { background: var(--primary-black); border-color: var(--primary-black); animation: pulse-dark 2s infinite; }
.btn-phone:hover { background: #fff; color: var(--primary-black); border-color: #fff; }
.btn-email { background: transparent; border-color: #fff; color: #fff; animation: pulse-white 2s infinite; }
.btn-email:hover { background: #fff; color: var(--primary-red); }

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(214,0,0,0.5); }
    70% { box-shadow: 0 0 0 15px rgba(214,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(214,0,0,0); }
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes pulse-dark {
    0% { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(17, 17, 17, 0); }
    100% { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0); }
}
@keyframes pulse-white {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Header / Hero */
.page-header {
    position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
    color: var(--pure-white); background-size: cover; background-position: center; background-attachment: fixed;
    height: 100vh;
}
.header-scoala { background-image: url('header.png'); }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(17,17,17,0.85) 0%, rgba(214,0,0,0.25) 100%); z-index: 1; }
.header-content { position: relative; z-index: 2; width: 100%; padding: 0 20px; margin-top: 60px; }
.header-content h1 { font-family: var(--font-heading); font-size: 4rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; text-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.premium-subtitle { font-size: 1.3rem; max-width: 700px; margin: 0 auto 30px; font-weight: 400; opacity: 0.95; }

/* Grid System & Cards */
.services-grid { display: grid; gap: 30px; }
.courses-grid { grid-template-columns: repeat(2, 1fr); max-width: 1200px; margin: 0 auto; }
.extra-grid { grid-template-columns: repeat(3, 1fr); max-width: 1200px; margin: 0 auto; }
.extra-grid-4 { grid-template-columns: repeat(4, 1fr); max-width: 1200px; margin: 0 auto; }

.modern-card { 
    background: var(--pure-white); padding: 40px 30px; 
    border-radius: 20px; box-shadow: var(--shadow-soft); 
    transition: var(--transition); display: flex; flex-direction: column; 
    position: relative; z-index: 1; border: 1px solid rgba(0,0,0,0.03);
}
.modern-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(214,0,0,0.02));
    border-radius: 20px; z-index: -1; opacity: 0; transition: var(--transition);
}
.modern-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: rgba(214,0,0,0.1); }
.modern-card:hover::before { opacity: 1; }

.icon-box { font-size: 2.5rem; color: var(--primary-red); margin-bottom: 20px; transition: var(--transition); }
.modern-card:hover .icon-box { transform: scale(1.1) rotate(5deg); }

.modern-card h3 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 5px; }
.subtitle-card { color: #666; font-size: 0.95rem; }

/* Featured Card Badge */
.featured-card { border: 2px solid var(--primary-red); transform: scale(1.02); overflow: hidden; }
.featured-card:hover { transform: scale(1.02) translateY(-10px); }
.badge {
    position: absolute;
    top: 25px;
    right: -45px;
    width: 180px;
    text-align: center;
    background: var(--primary-red);
    color: white;
    padding: 8px 0;
    transform: rotate(45deg);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(214,0,0,0.3);
    z-index: 10;
}

/* Custom Lists styling */
.custom-list li { position: relative; padding-left: 30px; margin-bottom: 12px; text-align: left; font-size: 0.95rem; }
.custom-list li::before { 
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; 
    position: absolute; left: 0; top: 2px; color: var(--primary-red); 
    background: rgba(214,0,0,0.1); width: 20px; height: 20px; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; font-size: 0.65rem;
}
.card-footer { margin-top: auto; padding-top: 20px; }
.price { font-size: 1.5rem; }
.price-tag { font-size: 1.4rem; font-weight: 800; color: var(--primary-red); margin-top: 15px; }

/* Review Cards */
.review-card { background-color: #f9f9f9; border-color: #eaeaea; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.star-rating { font-size: 1.2rem; display: flex; gap: 5px; margin-bottom: 20px; }
.review-text { font-style: italic; color: #444; font-size: 0.95rem; }

/* Split Container sections */
.split-container { display: flex; align-items: center; gap: 60px; }
.split-text { flex: 1; }
.split-image { flex: 1; }
.image-wrapper { position: relative; border-radius: 20px; padding: 15px; background: var(--pure-white); box-shadow: var(--shadow-soft); }
.image-wrapper::before {
    content: ''; position: absolute; top: -10px; right: -10px; bottom: 20px; left: 20px;
    background: var(--primary-red); border-radius: 20px; z-index: -1; opacity: 0.1;
}
.rounded-image { border-radius: 15px; width: 100%; height: auto; object-fit: cover; }

.modern-quote { font-size: 1.3rem; font-style: italic; border-left: 4px solid var(--primary-red); margin: 30px 0; background: rgba(214,0,0,0.02); padding: 20px; border-radius: 0 15px 15px 0; }
.quote-author { display: block; margin-top: 15px; font-size: 1rem; color: #555; font-style: normal; }
.feature-list li { font-size: 1.1rem; font-weight: 500; }

/* Fleet Project Cards */
.project-card { padding: 0; overflow: hidden; }
.image-zoom-wrapper { overflow: hidden; width: 100%; height: 250px; }
.project-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .project-img { transform: scale(1.08); }
.project-content { padding: 25px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.tag { background: #eee; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; color: #333; }
.tag-red { background: rgba(214,0,0,0.1); color: var(--primary-red); }

/* Contact Section CTA */
.gradient-bg { background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%); position: relative; }
.contact-info-box { background: rgba(255,255,255,0.1); padding: 20px; border-radius: 15px; display: inline-block; backdrop-filter: blur(5px); margin-bottom: 30px; }
.action-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* Social Media Channels */
.comunitate-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}
.social-btn {
    flex: 1;
    max-width: 250px;
    padding: 12px 25px; 
    border-radius: 50px; 
    font-weight: 700; 
    letter-spacing: 1px;
    background: var(--pure-white); 
    color: var(--primary-black); 
    display: flex; 
    justify-content: center;
    align-items: center; 
    gap: 10px; 
    border: 1px solid #eee;
    transition: var(--transition);
    animation: pulse-red 2s infinite; 
}
.social-btn:hover { 
    transform: translateY(-5px); 
    color: var(--pure-white); 
    border-color: transparent; 
}
.social-btn.facebook:hover { background: #1877F2; box-shadow: 0 10px 20px rgba(24,119,242,0.3); }
.social-btn.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); box-shadow: 0 10px 20px rgba(220,39,67,0.3); }
.social-btn.tiktok:hover { background: #000; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.social-btn.youtube:hover { background: #FF0000; box-shadow: 0 10px 20px rgba(255,0,0,0.3); }

/* Footer */
footer { background: var(--primary-black); color: #999; padding: 80px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-col h4 { color: var(--pure-white); margin-bottom: 25px; font-family: var(--font-heading); font-weight: 700; }
.footer-col { text-align: left; }
.footer-col p { font-size: 0.9rem; text-transform: uppercase; margin-top: 8px; }
.footer-links li, .contact-list li { margin-bottom: 10px; text-align: left; }
.footer-links a, .contact-list a { transition: var(--transition); display: inline-block; }
.footer-links a:hover, .contact-list a:hover { color: var(--primary-red); padding-left: 5px; }
.contact-list li i, .footer-links li a i { margin-right: 10px; color: var(--primary-red); width: 20px; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; text-align: center; font-size: 0.9rem; }

/* Mobile Menu Hamburger */
.hamburger { display: none; cursor: pointer; background: transparent; border: none; z-index: 1001; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--primary-red); transition: var(--transition); border-radius: 3px; }
.navbar.scrolled .bar { background-color: var(--primary-black); }

/* Desktop Scrolled Menu Rules */
@media (min-width: 993px) {
    .nav-menu ul li.hide-on-top { display: none; }
    .navbar.scrolled .nav-menu ul li.hide-on-top { display: block; animation: fadeIn 0.4s ease forwards; }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 1024px) {
    .split-container { flex-direction: column; text-align: center; gap: 40px; }
    .split-container.reverse-mobile { flex-direction: column-reverse; }
    .split-text { padding: 0 15px; }
    .custom-list li { text-align: left; }
    .modern-quote { text-align: left; }
}

@media (max-width: 992px) {
    .page-header { background-attachment: scroll; background-position: center center; }
    .courses-grid, .extra-grid, .extra-grid-4 { grid-template-columns: repeat(2, 1fr); }
    
    .hamburger { display: block; }
    .nav-menu { 
        position: fixed; left: 100%; top: 0; 
        background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        width: 100%; height: 100vh; 
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        transition: var(--transition); z-index: 1000;
        overflow-y: auto;
    }
    .nav-menu.active { left: 0; }
    .nav-menu ul { flex-direction: column; gap: 25px; width: 100%; text-align: center; padding: 0; }
    .navbar .nav-menu a { font-size: 1.2rem; color: var(--primary-black) !important; }
    .navbar .nav-menu a:hover { color: var(--primary-red) !important; }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: var(--primary-black); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: var(--primary-black); }

    [data-aos][data-aos][data-aos-delay] { transition-delay: 0s !important; animation-delay: 0s !important; }
}

@media (max-width: 768px) {
    .courses-grid, .extra-grid, .extra-grid-4 { grid-template-columns: 1fr; }
    .hero-buttons, .comunitate-wrapper, .action-buttons { flex-direction: column; align-items: center; width: 100%; }
    .btn-main, .btn-outline, .social-btn { width: 100%; max-width: 320px; text-align: center; }
    .header-content h1 { font-size: 2.2rem; }
    .premium-subtitle { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .section-padding { padding: 60px 0; }
    .header-content h1 { font-size: 1.8rem; }
    .logo { font-size: 1.2rem; }
}