/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}
ul {
    list-style-type: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: #1c1b19;
}

h1 {
    font-size: 3rem;
    font-weight: bold;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    color: #1c1b19;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffc400;
}

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

.btn-primary {
    background-color: #ffc400;
    color: #1c1b19;
}

.btn-primary:hover {
    background-color: #e6b000;
    color: #1c1b19;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #1c1b19;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #1c1b19;
    border: 2px solid #1c1b19;
}

.btn-outline:hover {
    background-color: #1c1b19;
    color: #fff;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1c1b19;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: #ffc400;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1c1b19;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1c1b19 0%, #333 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
}

/* Section styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: block;
}

/* Grid layouts */
.info-grid,
.advantages-grid,
.conditions-grid,
.achievements-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card,
.advantage-card,
.condition-card,
.achievement-card,
.contact-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.info-card:hover,
.advantage-card:hover,
.condition-card:hover,
.achievement-card:hover,
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Company Info Section */
.company-info {
    background-color: #f8f9fa;
}

/* Advantages Section */
.advantages {
    background-color: #fff;
}

/* Services Section with Tabs */
.services {
    background-color: #f8f9fa;
}

.service-tabs {
    max-width: 800px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-button {
    padding: 12px 24px;
    border: none;
    background-color: #e9ecef;
    color: #666;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-button.active,
.tab-button:hover {
    background-color: #ffc400;
    color: #1c1b19;
}

.tab-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel ul {
    list-style: none;
    padding-left: 0;
}

.tab-panel li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.tab-panel li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffc400;
    font-weight: bold;
}

/* Rental Conditions */
.rental-conditions {
    background-color: #fff;
}

/* Achievements */
.achievements {
    background-color: #1c1b19;
    color: #fff;
}

.achievements h2 {
    color: #fff;
}

.achievement-card {
    background-color: rgba(255, 196, 0, 0.1);
    border: 2px solid #ffc400;
    color: #fff;
}

.achievement-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ffc400;
    margin-bottom: 0.5rem;
}

.achievement-label {
    font-size: 1.1rem;
    color: #f0f0f0;
}

/* Contact Info */
.contact-info {
    background-color: #f8f9fa;
}

/* Newsletter */
.newsletter {
    background-color: #1c1b19;
    color: #fff;
    text-align: center;
}

.newsletter h2 {
    color: #fff;
}

.newsletter p {
    color: #f0f0f0;
}

.newsletter-form {
    max-width: 800px;
    margin: 2rem auto 0;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: 2px solid #ffc400;
}

/* Footer */
.footer {
    background-color: #1c1b19;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffc400;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-links a:hover img {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Page-specific styles */
.page-hero {
    background-color: #1c1b19;
    color: #fff;
    text-align: center;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.page-hero h1 {
    color: #fff;
}

.page-hero p {
    color: #f0f0f0;
    font-size: 1.2rem;
}

/* About page */
.about-content {
    padding: 80px 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.principle-card {
    text-align: center;
    padding: 2rem;
}

.principle-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.values-content {
    max-width: 800px;
    margin: 2rem auto 0;
}

.value-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.team-section,
.future-vision {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

/* Catalog page */
.catalog-filters {
    background-color: #f8f9fa;
    padding: 2rem 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: none;
    background-color: #e9ecef;
    color: #666;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #ffc400;
    color: #1c1b19;
}

.catalog-grid {
    padding: 4rem 0;
}

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

.car-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.car-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-info {
    padding: 1.5rem;
}

.car-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #ffc400;
}

.rating-score {
    color: #666;
    font-size: 0.9rem;
}

.car-description {
    margin-bottom: 1rem;
    color: #666;
}

.car-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.car-features span {
    background-color: #f8f9fa;
    color: #666;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.car-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1c1b19;
}

.catalog-info {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

/* Contact page */
.contact-content {
    padding: 4rem 0;
}

.contact-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info-section h2,
.contact-form-section h2 {
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 30px;
    height: 30px;
    margin-top: 0.5rem;
}

.contact-text h3 {
    margin-bottom: 0.5rem;
}

.contact-text span {
    color: #666;
    font-size: 0.9rem;
}

.opening-hours {
    margin-bottom: 3rem;
}

.hours-grid {
    display: grid;
    gap: 0.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.day {
    font-weight: 500;
}

.time {
    color: #666;
}

.emergency-contact {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1c1b19;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.form-group input[type="checkbox"] {
    display: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffc400;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkmark {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    position: relative;
    margin-top: 2px;
}

.checkbox-label input:checked + .checkmark {
    background-color: #ffc400;
    border-color: #ffc400;
}

.checkbox-label input:checked + .checkmark:after {
    content: "✓";
    position: absolute;
    top: -2px;
    left: 2px;
    color: #1c1b19;
    font-weight: bold;
    font-size: 12px;
}

.contact-additional {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-contact {
    text-align: center;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #ffc400;
}

/* Legal pages */
.legal-page {
    padding: 120px 0 80px;
    margin-top: 70px;
}

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

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
    padding: 0 !important;
}

.legal-section h2 {
    color: #1c1b19;
    border-bottom: 2px solid #ffc400;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cookie-table th,
.cookie-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookie-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #1c1b19;
}

.cookie-table tr:hover {
    background-color: #f8f9fa;
}

/* Thank you page */
.thank-you-page {
    padding: 120px 0 80px;
    margin-top: 70px;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
}

.thank-you-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

.thank-you-details {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.step-icon {
    width: 40px;
    height: 40px;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.contact-alternatives {
    margin-bottom: 3rem;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.additional-info {
    margin-bottom: 3rem;
}

.info-link {
    color: #ffc400;
    font-weight: 500;
}

.social-follow {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

/* Cookie banner and modal */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1c1b19;
    color: #fff;
    padding: 1rem;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cookie-banner p {
    color: white;
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 2rem;
}

.cookie-modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-option {
    margin-bottom: 1rem;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-modal.show {
    display: flex;
}

.cookie-banner.hidden {
    display: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -3px);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .about-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form input {
        min-width: auto;
        margin-bottom: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }

    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }

    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .achievement-number {
        font-size: 2rem;
    }
    .page-hero h1, .legal-page h1, .thank-you-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

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

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .contact-options {
        grid-template-columns: 1fr;
    }
    .cookie-table {
        display: none;
    }
    .legal-page {
        padding: 80px 0;
    }
    body {
        word-break: break-word;
    }
    [class*="-grid"], .additional-info, .additional-info, .info-cards {
        grid-template-columns: 1fr;
    }
}

/* Print styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .footer {
        display: none;
    }

    .page-hero {
        margin-top: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    .legal-section {
        page-break-inside: avoid;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #ffc400;
    outline-offset: 2px;
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Hover effects for better UX */
.car-card,
.info-card,
.advantage-card,
.condition-card,
.contact-card {
    transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ffc400;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6b000;
}
