/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
}

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

/* Цветовая схема */
:root {
    --primary-orange: #ff6600;
    --dark-orange: #e55a00;
    --light-orange: #ff8533;
    --black: #000000;
    --dark-gray: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

/* Header */
.header {
    background-color: var(--black);
    box-shadow: 0 2px 10px rgba(255,255,255,0.1);
    border-bottom: 2px solid var(--primary-orange);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.logo img {
    height: 60px;
    width: auto;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone {
    font-weight: bold;
    color: var(--primary-orange);
    font-size: 18px;
}

.work-hours {
    font-size: 14px;
    color: var(--dark-gray);
}

.header-auth {
    display: flex;
    gap: 10px;
}

.btn-login, .btn-register {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-login {
    background-color: var(--white);
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

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

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

.btn-register:hover {
    background-color: var(--dark-orange);
}

/* Navigation */
.main-nav {
    background-color: var(--black);
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 15px 25px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background-color: var(--primary-orange);
    color: var(--white);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-menu li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    color: var(--dark-gray);
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
}

.dropdown a:hover {
    background-color: var(--primary-orange);
    color: var(--white);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1583121274602-3e2820c69888?w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

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

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

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

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

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

/* Sections */
section {
    padding: 80px 0;
}

.features {
    background-color: var(--dark-gray);
}

.features h2, .popular-models h2, .news h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--white);
}

.features-grid, .models-grid, .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Feature Cards */
.feature-card, .model-card, .news-card {
    background-color: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(255,102,0,0.2);
    transition: all 0.3s ease;
}

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

.feature-card img, .model-card img, .news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.feature-card h3, .model-card h3, .news-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-card p, .news-card p {
    color: #666;
    line-height: 1.8;
}

.model-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

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

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

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

.footer-section a:hover {
    color: var(--primary-orange);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    padding: 10px;
    background-color: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--dark-orange);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: var(--primary-orange);
}

.auth-form {
    margin-top: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--dark-gray);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-switch a {
    color: var(--primary-orange);
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Стили для страницы разработчика */
.developer-info {
    background-color: var(--black);
    padding: 80px 0;
}

.developer-header {
    text-align: center;
    margin-bottom: 60px;
}

.developer-header h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 15px;
}

.developer-subtitle {
    font-size: 20px;
    color: var(--primary-orange);
}

.developer-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.developer-photo {
    text-align: center;
}

.developer-photo img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-orange);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.developer-details h2 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 20px;
}

.developer-position {
    color: var(--primary-orange);
    font-size: 18px;
    margin-bottom: 30px;
}

.developer-course, .developer-year {
    color: var(--white);
    margin-bottom: 5px;
}

.developer-description {
    background-color: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(255,102,0,0.2);
    margin: 30px 0;
}

.developer-description h3 {
    color: var(--primary-orange);
    font-size: 24px;
    margin-bottom: 20px;
}

.developer-description h4 {
    color: var(--primary-orange);
    font-size: 20px;
    margin: 25px 0 15px 0;
}

.developer-description p {
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 20px;
}

.tech-list, .features-list {
    list-style: none;
    padding-left: 0;
}

.tech-list li, .features-list li {
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.6;
}

.developer-contacts, .developer-education, .developer-projects {
    background-color: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(255,102,0,0.2);
    margin: 30px 0;
}

.developer-contacts h3, .developer-education h3, .developer-projects h3 {
    color: var(--primary-orange);
    font-size: 24px;
    margin-bottom: 20px;
}

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

.education-item, .project-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--black);
    border: 1px solid var(--primary-orange);
    border-radius: 8px;
}

.education-item h4, .project-item h4 {
    color: var(--primary-orange);
    font-size: 20px;
    margin-bottom: 10px;
}

.education-item p, .project-item p {
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 10px;
}

.education-item li {
    color: var(--white);
    margin-bottom: 5px;
    line-height: 1.5;
}

/* Стили для политики конфиденциальности */
.privacy-policy {
    background-color: var(--black);
    padding: 80px 0;
}

.privacy-header {
    text-align: center;
    margin-bottom: 60px;
}

.privacy-header h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 15px;
}

.privacy-subtitle {
    font-size: 20px;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.last-updated {
    font-size: 16px;
    color: var(--primary-orange);
    font-weight: bold;
}

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

.privacy-section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--dark-gray);
    border-radius: 10px;
    border-left: 5px solid var(--primary-orange);
}

.privacy-section h2 {
    color: var(--primary-orange);
    font-size: 28px;
    margin-bottom: 20px;
}

.privacy-section h3 {
    color: var(--primary-orange);
    font-size: 20px;
    margin: 20px 0 10px 0;
}

.privacy-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.privacy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--white);
}

.privacy-section p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--white);
}

.privacy-section a {
    color: var(--primary-orange);
    text-decoration: none;
}

.privacy-section a:hover {
    text-decoration: underline;
}

.contact-info {
    background-color: var(--dark-gray);
    padding: 20px;
    border-radius: 8px;
    border: 2px solid var(--primary-orange);
    margin-top: 20px;
}

.contact-info p {
    color: var(--white) !important;
}

.contact-info strong {
    color: var(--primary-orange);
}

.privacy-footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background-color: var(--primary-orange);
    color: var(--white);
    border-radius: 10px;
}

/* Стили для страницы истории и других подразделов */
.history-page, .mission-page, .team-page, .dealers-page, .press-page, .awards-page {
    padding: 80px 0;
    background-color: var(--black);
}

.history-header, .mission-header, .team-header, .dealers-header, .press-header, .awards-header {
    text-align: center;
    margin-bottom: 60px;
}

.history-header h1, .mission-header h1, .team-header h1, .dealers-header h1, .press-header h1, .awards-header h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 15px;
}

.history-subtitle, .mission-subtitle, .team-subtitle, .dealers-subtitle, .press-subtitle, .awards-subtitle {
    font-size: 20px;
    color: var(--primary-orange);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-orange);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 40px;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 18px;
    z-index: 2;
}

.timeline-content {
    background: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(255,102,0,0.2);
}

.timeline-content h3 {
    color: var(--primary-orange);
    font-size: 24px;
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--white);
    line-height: 1.8;
}

.achievements {
    margin-top: 80px;
}

.achievements h2 {
    text-align: center;
    font-size: 36px;
    color: var(--white);
    margin-bottom: 50px;
}

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

.achievement-card {
    background: var(--dark-gray);
    border: 2px solid var(--primary-orange);
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,102,0,0.3);
}

.achievement-card h3 {
    font-size: 48px;
    color: var(--primary-orange);
    margin-bottom: 10px;
    font-weight: bold;
}

.achievement-card p {
    color: var(--white);
    font-size: 18px;
}

/* Стили для каталога автомобилей */
.cars-hero, .about-hero {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.cars-hero h1, .about-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.cars-hero p, .about-hero p {
    font-size: 24px;
}

.car-categories, .company-overview, .our-values, .services-overview, .quick-links {
    padding: 80px 0;
}

.categories-grid, .cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.category-card, .car-card {
    background: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

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

.category-card img, .car-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.category-info, .car-info {
    padding: 25px;
}

.category-info h3, .car-info h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 10px;
}

.category-info p, .car-specs {
    color: #ccc;
    margin-bottom: 15px;
}

.category-count {
    color: var(--primary-orange);
    font-weight: bold;
}

.car-price {
    color: var(--primary-orange);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.car-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.special-offers {
    background: var(--dark-gray);
    padding: 80px 0;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.offer-card {
    background: var(--black);
    border: 2px solid var(--primary-orange);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

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

.offer-card p {
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Дополнительные стили для страниц */
.mission-content, .team-content, .dealers-content, .press-content, .awards-content {
    max-width: 1000px;
    margin: 0 auto;
}

.mission-statement, .values-section, .principles-section, .social-responsibility {
    margin-bottom: 60px;
    padding: 40px;
    background: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
}

.mission-statement h2, .values-section h2, .principles-section h2, .social-responsibility h2 {
    color: var(--primary-orange);
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.mission-text p, .social-responsibility p {
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

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

.value-item {
    background: var(--black);
    border: 1px solid var(--primary-orange);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-item h3 {
    color: var(--primary-orange);
    font-size: 20px;
    margin-bottom: 15px;
}

.value-item p {
    color: var(--white);
    line-height: 1.6;
    font-size: 14px;
}

.principles-content {
    margin-top: 30px;
}

.principle-item {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--black);
    border-left: 4px solid var(--primary-orange);
    border-radius: 5px;
}

.principle-item h3 {
    color: var(--primary-orange);
    font-size: 20px;
    margin-bottom: 15px;
}

.principle-item p {
    color: var(--white);
    line-height: 1.6;
}

/* Стили для страницы О компании */
.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

.overview-text h2 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 30px;
}

.overview-text p {
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 20px;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-orange);
}

.stat-label {
    color: var(--white);
    font-size: 14px;
}

.overview-image img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid var(--primary-orange);
}

.our-values {
    background: var(--dark-gray);
}

.our-values h2 {
    text-align: center;
    color: var(--white);
    font-size: 36px;
    margin-bottom: 50px;
}

.values-grid .value-card {
    background: var(--black);
    border: 1px solid var(--primary-orange);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.values-grid .value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,102,0,0.3);
}

.value-card .value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--primary-orange);
    font-size: 20px;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--white);
    line-height: 1.6;
}

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

.service-item {
    background: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,102,0,0.3);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-item h3 {
    color: var(--white);
    font-size: 20px;
    margin: 20px 20px 10px 20px;
}

.service-item p {
    color: #ccc;
    margin: 0 20px 15px 20px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 20px 20px;
    display: inline-block;
}

.service-link:hover {
    text-decoration: underline;
}

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

.quick-link-card {
    background: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    padding: 30px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,102,0,0.3);
}

.quick-link-card h3 {
    color: var(--primary-orange);
    font-size: 18px;
    margin-bottom: 10px;
}

.quick-link-card p {
    color: var(--white);
    line-height: 1.6;
}

/* Стили для страницы команды */
.team-intro {
    margin-bottom: 60px;
    padding: 40px;
    background: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
}

.team-intro h2 {
    color: var(--primary-orange);
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.team-intro p {
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.leadership-team {
    margin-bottom: 60px;
}

.leadership-team h2 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

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

.leader-card {
    background: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,102,0,0.3);
}

.leader-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-orange);
    margin-bottom: 20px;
}

.leader-info h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 10px;
}

.leader-position {
    color: var(--primary-orange);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.leader-description, .leader-education {
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

.leader-education {
    color: #ccc;
    font-style: italic;
}

.departments {
    margin-bottom: 60px;
}

.departments h2 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

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

.department-card {
    background: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-orange);
}

.department-card h3 {
    color: var(--primary-orange);
    font-size: 22px;
    margin-bottom: 15px;
}

.department-card p {
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 10px;
}

.team-values {
    background: var(--dark-gray);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--primary-orange);
}

.team-values h2 {
    color: var(--primary-orange);
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

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

.principle-box {
    background: var(--black);
    border: 1px solid var(--primary-orange);
    padding: 25px;
    border-radius: 10px;
}

.principle-box h3 {
    color: var(--primary-orange);
    font-size: 18px;
    margin-bottom: 15px;
}

.principle-box p {
    color: var(--white);
    line-height: 1.6;
}

/* Стили для страницы дилеров */
.dealers-intro p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #cccccc;
}

.dealers-map {
    margin: 40px 0;
}

.map-container {
    background-color: var(--dark-gray);
    border: 2px solid var(--primary-orange);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin: 20px 0;
}

.map-placeholder {
    color: #cccccc;
}

.map-placeholder p {
    font-size: 18px;
    margin: 10px 0;
}

.dealers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.dealer-card {
    background-color: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dealer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
}

.dealer-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.dealer-info {
    padding: 20px;
}

.dealer-info h3 {
    color: var(--primary-orange);
    font-size: 20px;
    margin-bottom: 10px;
}

.dealer-address, .dealer-phone, .dealer-hours {
    color: #cccccc;
    margin-bottom: 8px;
}

.dealer-services {
    margin: 15px 0;
}

.service-tag {
    display: inline-block;
    background-color: var(--primary-orange);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin: 2px 4px 2px 0;
}

.dealer-description {
    color: #aaaaaa;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 15px;
}

.dealer-services-section {
    margin: 50px 0;
}

.services-comparison {
    background-color: var(--dark-gray);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--primary-orange);
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 15px 0;
    border-bottom: 1px solid #555555;
}

.service-row:last-child {
    border-bottom: none;
}

.service-name {
    font-weight: bold;
    color: white;
}

.service-availability {
    color: var(--primary-orange);
    text-align: right;
}

.contact-dealers {
    margin: 50px 0;
}

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

.contact-method {
    background-color: var(--dark-gray);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--primary-orange);
    text-align: center;
}

.contact-method h3 {
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.contact-method p {
    color: #cccccc;
    margin-bottom: 8px;
}

/* Стили для пресс-центра */
.press-navigation {
    margin: 30px 0;
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background-color: var(--dark-gray);
    color: white;
    border: 1px solid var(--primary-orange);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background-color: var(--primary-orange);
    color: white;
}

.tab-content {
    display: none;
    margin-top: 30px;
}

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

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

.news-item {
    background-color: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item.featured {
    grid-column: 1 / -1;
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.news-date, .news-category {
    color: var(--primary-orange);
    font-size: 14px;
}

.news-item h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 18px;
}

.news-item p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.release-item {
    background-color: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.release-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.release-header h3 {
    color: var(--primary-orange);
    margin: 0;
}

.release-date {
    color: #aaaaaa;
    font-size: 14px;
}

.release-content p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.download-link {
    display: inline-block;
    color: var(--primary-orange);
    text-decoration: none;
    margin-right: 20px;
    margin-bottom: 10px;
}

.download-link:hover {
    text-decoration: underline;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.media-item {
    background-color: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.media-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.media-item p {
    color: #cccccc;
    margin-bottom: 15px;
    font-size: 14px;
}

.download-btn {
    background-color: var(--primary-orange);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: var(--dark-orange);
}

.contact-person {
    display: flex;
    gap: 20px;
    background-color: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.contact-person img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-info h3 {
    color: var(--primary-orange);
    margin-bottom: 5px;
}

.position {
    color: #aaaaaa;
    font-style: italic;
    margin-bottom: 15px;
}

.contact-details p {
    color: #cccccc;
    margin-bottom: 5px;
}

.responsibilities {
    color: #aaaaaa;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 15px;
}

/* Стили для команды разработчиков */
.developer-team {
    margin: 30px 0;
}

.dev-member {
    background: var(--black);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.dev-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,102,0,0.3);
}

.dev-photo {
    flex-shrink: 0;
}

.dev-photo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--primary-orange);
}

.dev-info {
    flex: 1;
}

.dev-member h3 {
    color: var(--primary-orange);
    font-size: 20px;
    margin-bottom: 10px;
}

.dev-role {
    color: var(--white);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
}

.dev-course, .dev-year {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 5px;
}

/* Стили для карты Барановичей */
.map-page {
    background-color: var(--black);
    padding: 80px 0;
}

.map-header {
    text-align: center;
    margin-bottom: 60px;
}

.map-header h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 15px;
}

.map-subtitle {
    font-size: 20px;
    color: var(--primary-orange);
}

.map-content {
    max-width: 1200px;
    margin: 0 auto;
}

.map-section {
    margin-bottom: 60px;
}

.map-section h2 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.map-container {
    border: 3px solid var(--primary-orange);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--dark-gray);
}

.map-note {
    text-align: center;
    color: #ccc;
    font-style: italic;
    margin-top: 15px;
}

.location-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.location-card {
    background: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,102,0,0.3);
}

.location-card h3 {
    color: var(--primary-orange);
    font-size: 20px;
    margin-bottom: 20px;
}

.location-card p {
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 10px;
}

.location-card ul {
    color: var(--white);
    margin-left: 20px;
}

.location-card li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.services-info h2 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

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

.service-card {
    background: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

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

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

.service-card p {
    color: var(--white);
    line-height: 1.6;
    font-size: 14px;
}

/* Стили для карты сайта */
.sitemap-page {
    background-color: var(--black);
    padding: 80px 0;
}

.sitemap-header {
    text-align: center;
    margin-bottom: 60px;
}

.sitemap-header h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 15px;
}

.sitemap-subtitle {
    font-size: 20px;
    color: var(--primary-orange);
}

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

.sitemap-section {
    background: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
}

.sitemap-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,102,0,0.3);
}

.sitemap-section h2 {
    color: var(--primary-orange);
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 10px;
}

.sitemap-links {
    list-style: none;
    padding: 0;
}

.sitemap-links li {
    margin-bottom: 10px;
}

.sitemap-links a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 0;
    display: block;
    border-left: 3px solid transparent;
    padding-left: 15px;
    transition: all 0.3s ease;
}

.sitemap-links a:hover {
    color: var(--primary-orange);
    border-left-color: var(--primary-orange);
    padding-left: 20px;
}

.sitemap-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--primary-orange);
}

.sitemap-info, .sitemap-help {
    background: var(--dark-gray);
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
    padding: 30px;
}

.sitemap-info h3, .sitemap-help h3 {
    color: var(--primary-orange);
    font-size: 20px;
    margin-bottom: 20px;
}

.sitemap-info p, .sitemap-help p {
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Адаптивность для карты сайта */
@media (max-width: 768px) {
    .sitemap-header h1 {
        font-size: 36px;
    }
    
    .sitemap-subtitle {
        font-size: 18px;
    }
    
    .sitemap-content {
        grid-template-columns: 1fr;
    }
    
    .sitemap-footer {
        grid-template-columns: 1fr;
    }
}

/* Адаптивность для карты и команды */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }
    
    .developer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .developer-photo img {
        width: 200px;
        height: 200px;
    }
    
    .developer-header h1, .privacy-header h1 {
        font-size: 36px;
    }
    
    .privacy-section {
        padding: 20px;
    }
    
    /* Мобильная адаптация для новых страниц */
    .dealers-grid,
    .awards-grid,
    .service-grid,
    .advantages-grid,
    .conditions-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .award-card.featured {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
    }

    .example-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

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

    .contact-person {
        flex-direction: column;
        text-align: center;
    }

    .nav-tabs,
    .category-nav,
    .services-tabs {
        flex-direction: column;
        align-items: center;
    }

    .map-header h1 {
        font-size: 36px;
    }
    
    .map-subtitle {
        font-size: 18px;
    }
    
    .location-info {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .dev-member h3 {
        font-size: 18px;
    }
}

/* Дополнительные стили для читаемости страницы разработчика */
.contact-item strong {
    color: var(--primary-orange);
    margin-right: 10px;
}

.contact-item a {
    color: var(--primary-orange);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.tech-list li:before, .features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 18px;
}

.tech-list li, .features-list li {
    position: relative;
    padding-left: 25px;
}

.dev-course strong, .dev-year strong {
    color: var(--primary-orange);
}

/* Улучшение субтитра политики конфиденциальности */
.privacy-subtitle {
    font-size: 20px;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

/* Auth Section Styles */
.auth-section {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 50%, var(--black) 100%);
    min-height: 600px;
    position: relative;
    padding: 80px 0 !important;
}

.auth-forms {
    max-width: 600px;
    margin: 0 auto;
}

.auth-form-container {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    border: 2px solid var(--primary-orange);
    box-shadow: 0 8px 32px rgba(255, 102, 0, 0.2);
}

.auth-form-container h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.auth-form-container h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-orange);
    margin: 15px auto 0;
    border-radius: 2px;
}

.auth-form .form-group {
    margin-bottom: 25px;
}

.auth-form .form-group label {
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 500;
}

.auth-form .form-group input {
    background: var(--white);
    border: 2px solid #ddd;
    color: var(--dark-gray);
    border-radius: 8px;
    padding: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.auth-form .form-group input:focus {
    border-color: var(--primary-orange);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.auth-form .form-group input::placeholder {
    color: #999;
}

.auth-form .btn {
    width: 100%;
    margin-bottom: 15px;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    border: none;
    color: var(--white);
}

.auth-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
}

.auth-form .btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.auth-form .btn-secondary:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--dark-gray);
}

.auth-switch {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin: 20px 0;
}

.auth-switch a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: bold;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Animation for form switching */
.auth-form-container {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile responsive for auth forms */
@media (max-width: 768px) {
    .auth-form-container {
        margin: 0 20px;
        padding: 30px 20px;
    }
    
    .auth-form-container h2 {
        font-size: 24px;
    }
    
    .auth-form .form-group input {
        padding: 12px;
    }
    
    .auth-form .btn {
        padding: 12px;
    }
} 