/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #1e3a5f;
    --color-secondary: #c9a227;
    --color-accent: #d4af37;
    --color-light: #f8f9fa;
    --color-gray: #6c757d;
    --color-gray-light: #e9ecef;
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-primary);
    line-height: 1.6;
    background-color: #fff;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header-scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.theme-selector {
    flex-shrink: 0;
}

.theme-selector select {
    padding: 0.4rem 0.75rem;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-primary);
    background: #fff;
    border: 1px solid var(--color-gray-light);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.theme-selector select:hover {
    border-color: var(--color-secondary);
}

.theme-selector select:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-svg {
    height: 60px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--color-secondary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(30, 58, 95, 0.5) 0%, rgba(30, 58, 95, 0.4) 100%),
        /* url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;*/
        url('images/car-carrier-trailer-6839728_1920.jpg') center/cover no-repeat;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.25) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-secondary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
}

.hero-cta:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(196, 30, 58, 0.5);
}

/* Vetrina Section */
.vetrina-section {
    padding: 5rem 2rem;
    background: var(--color-light);
}

.vetrina-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.vetrina-container h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.vetrina-container > p {
    color: var(--color-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.vetrina-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.car-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.car-image {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.car-card:hover .car-image img {
    transform: scale(1.05);
}

.car-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.35rem 0.75rem;
    background: var(--color-secondary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.car-info {
    padding: 1.25rem;
}

.car-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.car-specs {
    color: var(--color-gray);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.car-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
}

/* Chi Siamo Section */
.chi-siamo-section {
    padding: 5rem 2rem;
    background: #fff;
}

.chi-siamo-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.chi-siamo-container h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.chi-siamo-container > p {
    color: var(--color-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.chi-siamo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    padding: 2rem;
    background: var(--color-light);
    border-radius: 12px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--color-secondary);
    color: #fff;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Map Section */
.map-section {
    padding: 5rem 0 0;
    background: var(--color-light);
}

.section-header {
    text-align: center;
    padding: 0 2rem 3rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--color-gray);
    font-size: 1.1rem;
}

.map-container {
    width: 100%;
    height: 450px;
    background: var(--color-gray-light);
}

.map-container iframe {
    display: block;
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--color-light) 0%, #fff 100%);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.contact-logo {
    margin-bottom: 1.5rem;
}

.contact-logo svg {
    height: 60px;
    width: auto;
}

.contact-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.contact-owner {
    color: var(--color-gray);
    font-size: 1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    padding: 1.25rem;
    background: var(--color-light);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--color-gray-light);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--color-secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item p {
    color: var(--color-primary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-phone {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-phone:hover {
    color: var(--color-accent);
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem 1.5rem;
    }

    .logo-svg {
        height: 40px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1.5rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        text-align: center;
        width: 100%;
        padding: 1rem;
    }

    .nav-link::after {
        display: none;
    }

    .chi-siamo-section {
        padding: 3rem 1.5rem;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .map-section {
        padding: 3rem 0 0;
    }

    .section-header {
        padding: 0 1.5rem 2rem;
    }

    .map-container {
        height: 450px;
    }

    .contact-section {
        padding: 3rem 1.5rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .contact-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-cta {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Scroll indicator */
.hero::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 25px;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: rgba(255,255,255,0.7);
    border-radius: 3px;
    animation: scrollIndicator 2s infinite;
    z-index: 1;
}

@keyframes scrollIndicator {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0.3;
    }
}

/* ========================================
   ZEN GARDEN THEME - Mid Century Modern
   Inspired by CSS Zen Garden Design 221
   ======================================== */

.zen-mode {
    background: #f5e6d3;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.zen-mode * {
    transition: all 0.4s ease;
}

/* Header - Zen Mode */
.zen-mode .header {
    background: linear-gradient(180deg, #f5e6d3 0%, rgba(245, 230, 211, 0.95) 100%);
    border-bottom: 3px solid #d4a574;
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.15);
}

.zen-mode .header-scrolled {
    background: #f5e6d3;
}

.zen-mode .theme-selector select {
    background: #f5e6d3;
    border: 2px solid #2c1810;
    border-radius: 0;
    font-family: 'Georgia', serif;
}

.zen-mode .nav-link {
    font-family: 'Georgia', serif;
    font-style: italic;
    letter-spacing: 1px;
    text-transform: lowercase;
}

.zen-mode .nav-link::after {
    background: #d4a574;
    height: 3px;
}

/* Hero - Zen Mode */
.zen-mode .hero {
    position: relative;
}

.zen-mode .hero::after,
.zen-mode .hero::before {
    display: none;
}

.zen-mode .hero-overlay {
    background: linear-gradient(180deg, rgba(245, 230, 211, 0.3) 0%, rgba(44, 24, 16, 0.5) 100%);
}

.zen-mode .hero-title {
    font-family: 'Georgia', serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 3px;
    text-shadow: 3px 3px 6px rgba(44, 24, 16, 0.5);
}

.zen-mode .hero-subtitle {
    font-family: 'Georgia', serif;
    font-style: italic;
    letter-spacing: 1px;
}

.zen-mode .hero-cta {
    background: transparent;
    border: 2px solid #f5e6d3;
    border-radius: 0;
    font-family: 'Georgia', serif;
    font-style: italic;
    letter-spacing: 2px;
    text-transform: lowercase;
    box-shadow: none;
}

.zen-mode .hero-cta:hover {
    background: #f5e6d3;
    color: #2c1810;
    transform: none;
    box-shadow: none;
}

/* Vetrina - Zen Mode */
.zen-mode .vetrina-section {
    background: linear-gradient(180deg, #e8d5c4 0%, #f5e6d3 100%);
    position: relative;
}

.zen-mode .vetrina-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: repeating-linear-gradient(
        90deg,
        #2c1810 0px,
        #2c1810 20px,
        #d4a574 20px,
        #d4a574 40px
    );
}

.zen-mode .vetrina-container h2,
.zen-mode .chi-siamo-container h2,
.zen-mode .section-header h2 {
    font-family: 'Georgia', serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 4px;
    text-transform: lowercase;
    position: relative;
    display: inline-block;
}

.zen-mode .vetrina-container h2::after,
.zen-mode .chi-siamo-container h2::after,
.zen-mode .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #d4a574;
}

.zen-mode .car-card {
    border-radius: 0;
    border: 2px solid #2c1810;
    box-shadow: 8px 8px 0 #d4a574;
}

.zen-mode .car-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 #d4a574;
}

.zen-mode .car-badge {
    border-radius: 0;
    font-family: 'Georgia', serif;
    font-style: italic;
    text-transform: lowercase;
    letter-spacing: 1px;
    background: #2c1810;
}

.zen-mode .car-info h3 {
    font-family: 'Georgia', serif;
    font-weight: 400;
    font-style: italic;
}

.zen-mode .car-price {
    font-family: 'Georgia', serif;
    font-style: italic;
}

/* Chi Siamo - Zen Mode */
.zen-mode .chi-siamo-section {
    background: #f5e6d3;
    position: relative;
}

.zen-mode .chi-siamo-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    width: 150px;
    height: 150px;
    border: 3px solid #d4a574;
    border-radius: 50%;
    opacity: 0.3;
    transform: translateY(-50%);
}

.zen-mode .chi-siamo-section::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 8%;
    width: 80px;
    height: 80px;
    background: #d4a574;
    opacity: 0.2;
}

.zen-mode .feature {
    background: transparent;
    border: 2px solid #2c1810;
    border-radius: 0;
    position: relative;
}

.zen-mode .feature:hover {
    transform: none;
    box-shadow: 6px 6px 0 #d4a574;
}

.zen-mode .feature-icon {
    background: #2c1810;
    border-radius: 0;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.zen-mode .feature h3 {
    font-family: 'Georgia', serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 1px;
}

/* Map Section - Zen Mode */
.zen-mode .map-section {
    background: #e8d5c4;
}

.zen-mode .section-header p {
    font-family: 'Georgia', serif;
    font-style: italic;
}

/* Contact - Zen Mode */
.zen-mode .contact-section {
    background: linear-gradient(180deg, #e8d5c4 0%, #f5e6d3 100%);
}

.zen-mode .contact-card {
    border-radius: 0;
    border: 3px solid #2c1810;
    box-shadow: 10px 10px 0 #d4a574;
    background: #f5e6d3;
}

.zen-mode .contact-title {
    font-family: 'Georgia', serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 2px;
}

.zen-mode .contact-owner {
    font-family: 'Georgia', serif;
}

.zen-mode .contact-item {
    background: transparent;
    border: 1px solid #2c1810;
    border-radius: 0;
}

.zen-mode .contact-item:hover {
    background: rgba(212, 165, 116, 0.2);
}

.zen-mode .contact-phone {
    font-family: 'Georgia', serif;
    font-style: italic;
}

/* Footer - Zen Mode */
.zen-mode .footer {
    background: #2c1810;
    border-top: 5px solid #d4a574;
}

.zen-mode .footer p {
    font-family: 'Georgia', serif;
    font-style: italic;
    letter-spacing: 1px;
}

/* Mobile Menu - Zen Mode */
.zen-mode .mobile-menu-btn span {
    background: #2c1810;
}

@media (max-width: 768px) {
    .zen-mode .nav {
        background: #f5e6d3;
        border-top: 2px solid #d4a574;
    }
}
