/*
Theme Name: AutoValuta - Car Valuation & Scrapping
Theme URI: https://autovaluta.it
Author: AutoValuta
Author URI: https://autovaluta.it
Description: Professional WordPress theme for car valuation and scrapping services with built-in landing page
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: autovaluta-theme
Domain Path: /languages
Tags: car, valuation, scrapping, business, responsive, landing-page

This theme is designed to work seamlessly with the AutoValuta plugin.
*/

:root {
    --primary-color: #E63946;
    --secondary-color: #1D3557;
    --success-color: #06D6A0;
    --warning-color: #FFB703;
    --danger-color: #D62828;
    --light-bg: #F1FAEE;
    --border-color: #E0E0E0;
    --text-color: #1D3557;
    --text-light: #666;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #E8E8E8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
}

h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

h2 {
    font-size: 42px;
    margin-bottom: 30px;
}

h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Navigation */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
}

.site-branding-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 20px;
}

.site-branding-text {
    color: var(--secondary-color);
}

.main-navigation {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-navigation a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--danger-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #0f1f2e;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-success:hover {
    background: #05c896;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content h1 strong {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Services Section */
.services {
    padding: 100px 20px;
    background: var(--white);
}

.services .container {
    text-align: center;
}

.services h2 {
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin-bottom: 16px;
    text-align: center;
}

.service-card p {
    text-align: center;
    margin-bottom: 30px;
}

.service-card .btn {
    display: block;
    text-align: center;
}

/* Process Section */
.process {
    padding: 100px 20px;
    background: var(--gray-100);
}

.process .container {
    text-align: center;
}

.process h2 {
    margin-bottom: 60px;
}

.process-image {
    margin: 40px 0;
}

.process-image img {
    max-width: 100%;
    height: auto;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 20px;
    background: var(--white);
}

.testimonials .container {
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-light);
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
}

/* CTA Section */
.cta {
    background: var(--secondary-color);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

.cta .btn {
    margin: 0 10px;
}

/* Contact Section */
.contact {
    background: var(--secondary-color);
    color: var(--white);
    padding: 80px 20px;
}

.contact .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.contact-item h3 {
    color: var(--white);
    margin-bottom: 16px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-item a {
    color: var(--success-color);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--white);
}

/* Footer */
.site-footer {
    background: #0f1f2e;
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 20px;
    text-align: center;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--success-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 99;
    font-size: 28px;
}

.whatsapp-btn:hover {
    background: #05c896;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .main-navigation {
        gap: 15px;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .site-header .container {
        height: 60px;
    }

    .site-branding {
        font-size: 20px;
        gap: 8px;
    }

    .site-branding-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .contact .container {
        grid-template-columns: 1fr;
    }
}

/* WordPress Specific */
.wp-block-image {
    margin-bottom: 20px;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-content ul,
.entry-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}
