/*
Theme Name: Autodijagnostika
Theme URI: https://autodijagnostika.rs
Author: Development Team
Author URI: https://autodijagnostika.rs
Description: Modern WordPress theme for auto diagnostics services
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: autodijagnostika
*/

:root {
    --primary-black: #000000;
    --secondary-black: #1A1A1A;
    --dark-gray: #2B2B2B;
    --light-gray: #F5F5F5;
    --accent-red: #E31E24;
    --accent-red-dark: #B91820;
    --text-white: #FFFFFF;
    --text-gray: #CCCCCC;
    --text-dark: #333333;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--text-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

header {
    background: var(--light-gray);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--accent-red);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    max-width: 200px;
    height: auto;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--accent-red);
}

.contact-item i {
    font-size: 24px;
    color: var(--accent-red);
}

.phone {
    font-size: 24px;
    font-weight: bold;
}

.location {
    font-size: 18px;
}

.hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--text-white);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-white);
    font-weight: bold;
}

.hero .tagline {
    font-size: 32px;
    color: var(--accent-red);
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero .subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.hero .subtitle:last-of-type {
    font-size: 22px;
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--text-white) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-red);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    background: var(--accent-red-dark);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.6);
}

.services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--accent-red);
}

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

.service-card {
    background: var(--text-white);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #E0E0E0;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.2);
}

.service-card i {
    font-size: 48px;
    color: var(--accent-red);
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-black);
}

.service-card p {
    color: var(--text-dark);
    line-height: 1.8;
}

.service-card .checkmark {
    color: var(--accent-red);
    margin-right: 10px;
}

.features {
    padding: 80px 0;
    background: var(--text-white);
}

.features h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--primary-black);
}

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

.feature-item i {
    font-size: 60px;
    color: var(--accent-red);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-black);
}

.feature-item p {
    color: var(--text-dark);
}

footer {
    background-color: var(--primary-black);
    padding: 40px 0 20px;
    border-top: 3px solid var(--accent-red);
    color: var(--text-white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--accent-red);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--dark-gray);
    color: var(--text-gray);
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.language-switcher a {
    padding: 8px 15px;
    background-color: var(--text-white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #DDD;
    transition: all 0.3s ease;
}

.language-switcher a:hover,
.language-switcher a.active {
    background-color: var(--accent-red);
    color: var(--text-white);
    border-color: var(--accent-red);
}

.gallery {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.gallery h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--primary-black);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(227, 30, 36, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.contact-section {
    padding: 80px 0;
    background: var(--text-white);
}

.contact-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--primary-black);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-box {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
}

.contact-info-box h3 {
    color: var(--accent-red);
    margin-bottom: 30px;
    font-size: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 24px;
    color: var(--accent-red);
}

.info-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--accent-red);
}

.contact-form {
    background: var(--text-white);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E0E0E0;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
    }

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

    .hero .tagline {
        font-size: 24px;
    }

    .services h2,
    .features h2,
    .gallery h2,
    .contact-section h2 {
        font-size: 32px;
    }

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

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