﻿/* ================================
   SKOCARS - CSS IDENTIC CU REACT/MUI
   Copiat fidel din aplicaÈ›ia originalÄƒ
   ================================ */

/* CSS Variables - SKOCARS Brand */
:root {
    --skocars-red: #CC0000;
    --skocars-dark-red: #990000;
    --skocars-light-red: #e53935;
    --skocars-gray: #f5f5f5;
    --skocars-dark-gray: #808080;
    --skocars-text: #808080;
    --skocars-text-secondary: #666666;
    --skocars-border: #e0e0e0;
    --shadow-sm: 0 1px 3px rgba(128, 128, 128,0.08);
    --shadow-md: 0 4px 12px rgba(128, 128, 128,0.1);
    --shadow-lg: 0 8px 24px rgba(128, 128, 128,0.12);
    --transition-normal: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* iOS Safari fix */
    height: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #808080;
    background-color: #fafafa;
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    /* Mobile native optimizations */
    position: relative;
    touch-action: manipulation;
}

/* Typography - Identic cu MUI */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin: 0 0 1rem 0;
    word-wrap: break-word;
    font-weight: 600;
    color: #808080;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }
}

/* Container - Identic cu MUI Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

/* Header - Identic cu MUI AppBar */
.header {
    position: sticky;
    top: 0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(128, 128, 128,0.08);
    z-index: 1100;
    transition: var(--transition-normal);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    letter-spacing: -0.5px;
    line-height: 1;
    font-style: italic;
}

.logo-text .accent {
    color: #000;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--skocars-text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-links li a {
    padding: 10px 16px;
    color: var(--skocars-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.nav-links li a:hover {
    background: var(--skocars-gray);
    color: var(--skocars-red);
}

.nav-links li a.active {
    background: var(--skocars-red);
    color: white;
}

.nav-links li a.nav-special {
    background: linear-gradient(135deg, var(--skocars-red) 0%, var(--skocars-dark-red) 100%);
    color: white;
    font-weight: 600;
}

.nav-links li a.nav-special:hover {
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--skocars-dark-gray);
    border-radius: 3px;
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 64px);
        background: white;
        flex-direction: column;
        padding: 24px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 12px rgba(128, 128, 128,0.1);
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links li a {
        display: block;
        padding: 14px 20px;
        width: 100%;
        text-align: left;
        font-size: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
}

/* Video Hero - Identic cu VideoHero.tsx */
.hero {
    position: relative;
    height: 100vh;
    min-height: 70vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(128, 128, 128,0.4), rgba(128, 128, 128,0.6)), 
                linear-gradient(135deg, #CC0000, #990000);
    background-size: cover;
    background-position: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
    -webkit-user-select: none;
    user-select: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(128, 128, 128,0.05), rgba(128, 128, 128,0.15));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 24px;
    max-width: 1000px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: bold;
    color: white;
    text-shadow: 3px 3px 6px rgba(128, 128, 128,0.7);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 2px 2px 4px rgba(128, 128, 128,0.7);
    margin-bottom: 24px;
    letter-spacing: 0.01em;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(128, 128, 128,0.7);
    margin-bottom: 32px;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Photo Hero - Identic cu PhotoHero.tsx */
.photo-hero {
    position: relative;
    min-height: 60vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: all 0.8s ease-in-out;
    transform: translateZ(0);
}

.photo-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.05) 50%, transparent 52%);
    animation: photoShimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes photoShimmer {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
    .photo-hero {
        background-attachment: scroll;
    }
}

/* Map Section */
.map-section {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border: none;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Services Section */
.services-section {
    padding: 64px 0;
    background: #fafafa;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--skocars-border);
    cursor: pointer !important;
    display: flex;
    flex-direction: column;
    max-width: 380px;
    margin: 0 auto;
}

.service-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-color: var(--skocars-red);
}

.service-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-image h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    text-align: center;
}

.service-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-content h3 {
    font-weight: 600;
    color: #333;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.service-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Buttons - Identic cu MUI Button */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--skocars-red) 0%, var(--skocars-dark-red) 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(204, 0, 0, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--skocars-dark-red) 0%, #660000 100%);
    box-shadow: 0 12px 32px rgba(204, 0, 0, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--skocars-red);
    box-shadow: 0 2px 8px rgba(204,0,0,0.25);
    border: 1px solid var(--skocars-border);
}

.btn-secondary:hover {
    background: var(--skocars-gray);
    box-shadow: 0 4px 12px rgba(204,0,0,0.35);
}

/* Specialized Services Section */
.specialized-services-section {
    padding: 64px 0;
    background: #f5f5f5;
}

.section-title {
    text-align: center;
    font-weight: 700;
    color: #808080;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title.gradient-title {
    background: linear-gradient(135deg, #CC0000 0%, #990000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.specialized-services-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .specialized-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.specialized-category h3 {
    font-weight: 600;
    color: #808080;
    margin-bottom: 16px;
}

.brand-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.brand-btn {
    padding: 12px 24px;
    border: 2px solid var(--skocars-red);
    color: var(--skocars-red);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.brand-btn:hover {
    background: var(--skocars-red);
    color: white;
}

/* Google Reviews Section - Identic cu HomePage.tsx */
.reviews-section {
    padding: 80px 0;
    background: #fafafa;
}

.google-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.google-header h2 {
    font-weight: 700;
    color: #808080;
    margin: 0;
}

.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.rating-number {
    font-size: 3rem;
    font-weight: 800;
    color: #808080;
}

.rating-stars-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rating-stars {
    color: #fbbc04;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.rating-stars i {
    margin-right: 2px;
}

.reviews-location {
    text-align: center;
    color: #666;
    font-weight: 400;
    margin-bottom: 48px;
    font-size: 1.1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.review-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    padding: 24px;
    transition: var(--transition-normal);
}

.review-card:hover {
    box-shadow: 0 8px 32px rgba(128, 128, 128,0.1);
    transform: translateY(-4px);
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--skocars-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.reviewer-info {
    flex-grow: 1;
    min-width: 0;
}

.reviewer-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.reviewer-name {
    font-weight: 600;
    color: #808080;
}

.local-guide {
    font-size: 0.7rem;
    background: #e8f0fe;
    color: #1a73e8;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.review-date {
    font-size: 0.8rem;
    color: #666;
}

.google-icon {
    height: 16px;
    opacity: 0.7;
}

.review-rating {
    color: #fbbc04;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.review-rating i {
    margin-right: 2px;
}

.review-text {
    color: #333;
    line-height: 1.7;
    font-size: 0.95rem;
}

.reviews-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-google {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid #1a73e8;
    color: #1a73e8;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-google:hover {
    background: #1a73e8;
    color: white;
}

/* Stats Section */
.stats-section {
    padding: 64px 0;
    background: #808080;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    animation: fadeInUp 0.6s ease-out both;
}

.stat-number {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--skocars-red);
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* Certifications Section */
.certifications-section {
    padding: 80px 0;
    background: white;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .certifications-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cert-card {
    padding: 32px;
    background: white;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: var(--transition-normal);
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(128, 128, 128,0.1);
}

.cert-card h4 {
    font-weight: 600;
    color: var(--skocars-red);
    margin-bottom: 8px;
}

.cert-card p {
    color: #666;
    font-size: 0.875rem;
}

/* Blog Preview Section */
.blog-preview-section {
    padding: 80px 0;
    background: white;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .blog-preview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-preview-card {
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: var(--transition-normal);
    text-decoration: none;
    display: block;
}

.blog-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(204,0,0,0.15);
    border-color: var(--skocars-red);
}

.blog-category {
    display: inline-block;
    background: #f5f5f5;
    color: var(--skocars-red);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.blog-preview-card h4 {
    font-weight: 600;
    color: #808080;
    margin-bottom: 16px;
    min-height: 60px;
}

.blog-preview-card p {
    color: #666;
    line-height: 1.6;
}

/* Partners Section - Hero Background */
.partners-hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 64px 0;
}

@media (max-width: 768px) {
    .partners-hero-section {
        background-attachment: scroll;
    }
}

.partners-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(128, 128, 128,0.1) 0%, rgba(204,0,0,0.2) 50%, rgba(128, 128, 128,0.1) 100%);
    z-index: 1;
}

.partners-hero-section .container {
    position: relative;
    z-index: 2;
}

.section-title.light,
.section-subtitle.light {
    color: white;
    text-shadow: 2px 2px 4px rgba(128, 128, 128,0.7);
}

.partners-grid-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto 48px;
}

@media (min-width: 600px) {
    .partners-grid-large {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (min-width: 960px) {
    .partners-grid-large {
        grid-template-columns: repeat(4, 1fr);
    }
}

.partner-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-normal);
    width: 100%;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(var(--partner-color), 0.3);
    border-color: var(--partner-color);
    background: rgba(255,255,255,1);
}

.partner-logo-container {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(128, 128, 128,0.05);
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
}

.partner-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.partner-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--partner-color) 0%, var(--partner-color) 100%);
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.partner-name {
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    line-height: 1.2;
    color: var(--partner-color, #333);
}

.partners-info-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.partners-note {
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 2px rgba(128, 128, 128,0.7);
    font-size: 0.875rem;
    line-height: 1.6;
}

.partners-guarantee {
    margin-top: 24px;
    padding: 24px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}

.partners-guarantee h3 {
    color: #FFD700;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(128, 128, 128,0.7);
    margin-bottom: 16px;
}

.partners-guarantee p {
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 2px rgba(128, 128, 128,0.7);
}

/* Daune Auto Service Cards */
.services-grid-three {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .services-grid-three {
        grid-template-columns: repeat(3, 1fr);
    }
}

.daune-service-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    max-width: 340px;
    margin: 0 auto;
}

.daune-service-card:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-color: var(--skocars-red);
}

.service-icon-large {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin-top: 24px;
}

.service-features-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.service-features-list i {
    color: #4CAF50;
    font-size: 1.25rem;
}

/* Advantages Section */
.advantages-section {
    padding: 64px 0;
    background: white;
}

.advantages-grid-four {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .advantages-grid-four {
        grid-template-columns: repeat(4, 1fr);
    }
}

.advantage-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-normal);
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(128, 128, 128,0.15);
}

.advantage-icon {
    font-size: 2.5rem;
    color: var(--advantage-color);
    margin-bottom: 8px;
}

.advantage-card h3 {
    font-weight: bold;
    color: var(--advantage-color);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.advantage-card p {
    color: var(--skocars-text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
}

/* Contact Section */
.contact-urgent-section {
    padding: 64px 0;
    background: white;
    text-align: center;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}

@media (min-width: 600px) {
    .contact-buttons {
        flex-direction: row;
    }
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
}

.urgent-chip {
    background: var(--skocars-red);
    color: white;
    box-shadow: 0 4px 12px rgba(204,0,0,0.3);
}

.urgent-chip:hover {
    background: var(--skocars-dark-red);
    box-shadow: 0 6px 16px rgba(204,0,0,0.4);
    transform: scale(1.05);
}

.email-chip {
    border: 2px solid var(--skocars-red);
    color: var(--skocars-red);
    background: white;
}

.email-chip:hover {
    background: var(--skocars-red);
    color: white;
}

/* Fixed Programeaza-te Button */
.fixed-programeaza-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1200;
    background: linear-gradient(135deg, #CC0000 0%, #990000 50%, #660000 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.875rem;
    box-shadow: 0 8px 32px rgba(204, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out 1.5s both;
}

.fixed-programeaza-btn:hover {
    background: linear-gradient(135deg, #990000 0%, #CC0000 50%, #990000 100%);
    box-shadow: 0 12px 40px rgba(204, 0, 0, 0.6), 0 0 0 2px rgba(255,255,255,0.2);
    transform: translateY(-2px) scale(1.05) rotate(2deg);
}

.programeaza-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    animation: pulse 2s ease-in-out infinite 3s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Footer - Identic cu MUI */
.footer {
    background: #808080;
    color: white;
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin: 16px 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--skocars-red);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 40px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--skocars-red);
    transform: translateY(-2px);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-info i {
    color: var(--skocars-red);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* Fixed Call Button */
.fixed-call-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1200;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: var(--transition-normal);
}

.fixed-call-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.fixed-call-btn i {
    font-size: 1.2rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: var(--skocars-red);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(204,0,0,0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--skocars-dark-red);
    transform: translateY(-4px);
}

/* Admin Modal */
.admin-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(128, 128, 128,0.8);
    backdrop-filter: blur(8px);
}

.admin-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.admin-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(128, 128, 128,0.3);
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: var(--transition-fast);
}

.close-modal:hover {
    color: var(--skocars-red);
}

.admin-content h2 {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--skocars-red);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--skocars-red);
    box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}

.admin-content button[type="submit"] {
    width: 100%;
    margin-top: 8px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-fade {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.scroll-fade.animate-in {
    opacity: 1;
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-slide-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-slide-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay for multiple items */
.scroll-animate:nth-child(1) { transition-delay: 0s; }
.scroll-animate:nth-child(2) { transition-delay: 0.1s; }
.scroll-animate:nth-child(3) { transition-delay: 0.2s; }
.scroll-animate:nth-child(4) { transition-delay: 0.3s; }
.scroll-animate:nth-child(5) { transition-delay: 0.4s; }
.scroll-animate:nth-child(6) { transition-delay: 0.5s; }
.scroll-animate:nth-child(7) { transition-delay: 0.6s; }
.scroll-animate:nth-child(8) { transition-delay: 0.7s; }
.scroll-animate:nth-child(9) { transition-delay: 0.8s; }

/* Mobile Optimizations */
@media (max-width: 768px) {
    .fixed-call-btn,
    .fixed-programeaza-btn {
        bottom: 16px;
        font-size: 0.8rem;
        padding: 10px 16px;
        /* Mobile tap-friendly */
        min-width: 44px;
        min-height: 44px;
    }
    
    .fixed-call-btn {
        left: 16px;
    }
    
    .fixed-programeaza-btn {
        right: 16px;
    }
    
    .back-to-top {
        display: none;
    }
    
    /* Mobile-specific spacing */
    section {
        padding: 40px 0 !important;
    }
    
    .container {
        padding: 0 12px !important;
    }
    
    /* CARD DAUNE AUTO MARE - RESPONSIVE */
    #daune-auto {
        padding: 20px !important;
        margin: 0 8px 24px !important;
        border-radius: 12px !important;
        border-width: 2px !important;
    }
    
    #daune-auto h2 {
        font-size: 1.3rem !important;
        margin-bottom: 12px !important;
    }
    
    #daune-auto > div {
        gap: 20px !important;
    }
    
    #daune-auto > div > div:first-child {
        min-width: 200px !important;
    }
    
    #daune-auto > div > div:first-child > div:first-child {
        font-size: 2.5rem !important;
        margin-bottom: 12px !important;
    }
    
    #daune-auto > div > div:first-child > div:nth-child(2) {
        padding: 8px 16px !important;
        margin-bottom: 12px !important;
    }
    
    #daune-auto > div > div:first-child > div:nth-child(2) span {
        font-size: 0.9rem !important;
    }
    
    #daune-auto > div > div:last-child {
        min-width: 280px !important;
    }
    
    #daune-auto > div > div:last-child > div {
        padding: 16px !important;
        border-radius: 8px !important;
    }
    
    #daune-auto > div > div:last-child h3 {
        font-size: 1rem !important;
        margin-bottom: 14px !important;
    }
    
    #daune-auto > div > div:last-child > div > div {
        gap: 8px !important;
    }
    
    #daune-auto > div > div:last-child > div > div > div {
        gap: 10px !important;
    }
    
    #daune-auto > div > div:last-child > div > div > div span:first-child {
        font-size: 1.2rem !important;
    }
    
    #daune-auto > div > div:last-child > div > div > div span:last-child {
        font-size: 0.85rem !important;
    }
    
    #daune-auto > div > div:last-child > div > div:last-child {
        margin-top: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    #daune-auto > div > div:last-child > div > div:last-child a {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        margin: 0 !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    /* CARDURI MAI MICI PE MOBILE */
    .service-card {
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }
    
    .service-image {
        height: 120px !important;
    }
    
    .service-image h3 {
        font-size: 0.9rem !important;
        padding: 8px 12px !important;
    }
    
    .service-content {
        padding: 16px !important;
    }
    
    .service-content h3 {
        font-size: 0.95rem !important;
        margin-bottom: 8px !important;
    }
    
    .service-content p {
        font-size: 0.85rem !important;
        margin-bottom: 16px !important;
        line-height: 1.5 !important;
    }
    
    /* Review cards mai mici */
    .review-card {
        padding: 16px !important;
        border-radius: 12px !important;
    }
    
    .reviewer-avatar {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .review-text {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
    
    /* Cert cards mai mici */
    .cert-card {
        padding: 20px !important;
        border-radius: 8px !important;
    }
    
    .cert-card h4 {
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
    }
    
    .cert-card p {
        font-size: 0.8rem !important;
    }
    
    /* Blog cards mai mici */
    .blog-preview-card {
        padding: 16px !important;
        border-radius: 8px !important;
    }
    
    .blog-preview-card h4 {
        font-size: 0.95rem !important;
    }
    
    /* Butoane mai mici */
    .btn-primary, .btn-secondary {
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
    }
    
    /* Grid spacing redus */
    .services-grid,
    .reviews-grid,
    .certifications-grid,
    .blog-preview-grid {
        gap: 16px !important;
    }
    
    /* Larger tap targets for mobile */
    a, button, .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Form inputs mobile friendly */
    input, textarea, select {
        font-size: 16px !important; /* Prevents iOS zoom */
        min-height: 44px;
    }
    
    /* Images optimization */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Mobile landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 60vh !important;
    }
    
    .hero-content h1 {
        font-size: 1.5rem !important;
    }
}

/* Small phones (iPhone SE, etc) */
@media (max-width: 375px) {
    h1 { font-size: 1.5rem !important; }
    h2 { font-size: 1.3rem !important; }
    h3 { font-size: 1.1rem !important; }
    
    .container {
        padding: 0 8px !important;
    }
    
    .fixed-call-btn,
    .fixed-programeaza-btn {
        font-size: 0.7rem;
        padding: 8px 12px;
    }
    
    /* CARD DAUNE AUTO - Extra mic pe telefoane mici */
    #daune-auto {
        padding: 16px !important;
        margin: 0 4px 20px !important;
    }
    
    #daune-auto h2 {
        font-size: 1.1rem !important;
    }
    
    #daune-auto > div {
        gap: 16px !important;
    }
    
    #daune-auto > div > div:first-child > div:first-child {
        font-size: 2rem !important;
    }
    
    #daune-auto > div > div:first-child > div:nth-child(2) span {
        font-size: 0.8rem !important;
    }
    
    #daune-auto > div > div:last-child > div {
        padding: 12px !important;
    }
    
    #daune-auto > div > div:last-child h3 {
        font-size: 0.9rem !important;
    }
    
    #daune-auto > div > div:last-child > div > div > div span:last-child {
        font-size: 0.8rem !important;
    }
    
    #daune-auto > div > div:last-child > div > div:last-child a {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
    }
    
    /* Carduri și mai mici pe telefoane mici */
    .service-card {
        border-radius: 6px !important;
    }
    
    .service-image {
        height: 100px !important;
    }
    
    .service-image h3 {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
    }
    
    .service-content {
        padding: 12px !important;
    }
    
    .service-content h3 {
        font-size: 0.85rem !important;
    }
    
    .service-content p {
        font-size: 0.8rem !important;
    }
    
    .review-card,
    .cert-card,
    .blog-preview-card {
        padding: 12px !important;
    }
    
    .btn-primary, .btn-secondary {
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
    }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .review-card:hover,
    .cert-card:hover {
        transform: none;
    }
    
    /* Remove hover effects on touch devices */
    *:hover {
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    
    /* Better button press feedback */
    button:active, .btn:active, a:active {
        opacity: 0.7;
        transform: scale(0.98);
    }
}

/* Developer Credit Widget */
.dev-credit-widget {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 999;
    cursor: move;
    transition: all 0.3s ease;
    user-select: none;
}

.dev-credit-widget:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    transform: translateY(-2px);
}

.dev-credit-widget .gear-icon {
    animation: rotate 4s linear infinite;
    font-size: 1.1rem;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dev-credit-widget a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.dev-credit-widget a:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.dev-credit-widget .close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    margin-left: 8px;
    transition: all 0.2s ease;
}

.dev-credit-widget .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.dev-credit-widget.dragging {
    cursor: grabbing;
    opacity: 0.8;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .fixed-call-btn,
    .fixed-programeaza-btn,
    .back-to-top,
    .dev-credit-widget {
        display: none !important;
    }
}
