:root {
    --primary-gold: #c70000;
    --light-gold: #F1D06E;
    --dark-bg: #050505;
    --card-bg: #141414;
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--dark-bg);
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Шапка сайта */
header {
    background-color: rgba(5, 5, 5, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #C0C0C0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border: 2px solid #7b1515;
    padding: 5px 15px;
    border-radius: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon-header {
    color: var(--text-main);
    transition: 0.3s;
    display: flex;
    align-items: center;
}
.social-icon-header:hover {
    color: var(--primary-gold);
    transform: scale(1.1);
}

.btn {
    background: linear-gradient(135deg, #ffffff, #1091cf, #e33232); 
    color: #000; 
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    display: inline-block;
    border: 1px solid #b38728;
    cursor: pointer;
}

.btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Главный экран */
.hero {
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 60px;
}

.hero-logo-img {
    width: 350px; 
    height: auto;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.4));
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-top: 0;
}

.hero-content h1 span {
    color: #C0C0C0;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Блоки */
.features { padding: 100px 0; text-align: center; background-color: var(--dark-bg); }
.section-title { font-size: 36px; margin-bottom: 60px; text-align: center; color: #C0C0C0; text-transform: uppercase; letter-spacing: 3px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.feature-card { background-color: var(--card-bg); padding: 40px 30px; border: 1px solid #333; transition: 0.3s; }
.feature-card:hover { border-color: var(--primary-gold); transform: translateY(-5px); }
.feature-icon { font-size: 40px; margin-bottom: 20px; color: var(--primary-gold); }

.steps { background-color: #0f0f0f; padding: 100px 0; border-top: 1px solid #222; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.step-item { border-left: 2px solid #7b1515; padding-left: 25px; margin-bottom: 30px; }
.step-number { font-size: 14px; color: #7b1515; text-transform: uppercase; font-weight: bold; letter-spacing: 2px; margin-bottom: 5px; display: block; }
.step-item h3 { margin: 5px 0 10px 0; font-weight: 400; font-size: 22px; }
.step-item p { color: var(--text-muted); font-size: 14px; }

/* КАРУСЕЛИ */
.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; }
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5); color: var(--primary-gold);
    border: 1px solid var(--primary-gold); width: 40px; height: 40px;
    border-radius: 50%; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; transition: 0.3s;
}
.slider-btn:hover { background-color: var(--primary-gold); color: black; }
.slider-btn .slider-btn-icon { width: 22px; height: 22px; display: block; }
.slider-btn:hover .slider-btn-icon { stroke: currentColor; }
.slider-btn--reviews { background-color: rgba(0,0,0,0.6); border: 2px solid var(--primary-gold); box-shadow: 0 2px 12px rgba(212,175,55,0.2); }
.slider-btn--reviews:hover { box-shadow: 0 4px 16px rgba(212,175,55,0.35); }
.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Каталог */
.catalog { padding: 100px 0; }
.car-slide { min-width: 100%; box-sizing: border-box; padding: 0 10px; }
.car-card { 
    background-color: var(--card-bg); transition: 0.3s; border: 1px solid transparent; 
    border-radius: 5px; overflow: hidden;
}
.car-card:hover { border-color: var(--primary-gold); }
.car-img { 
    position: relative;
    height: 400px; 
    background-color: #000; 
    overflow: hidden;
}
.car-img-bg,
.car-img-main {
    position: absolute;
    inset: 0;
    background-position: center center; 
    background-repeat: no-repeat;
}
.car-img-bg {
    filter: blur(18px);
    transform: scale(1.1);
    background-size: cover;
    opacity: 0.9;
}
.car-img-main {
    background-size: contain; 
    z-index: 1;
    transition: 0.5s; 
}
.car-info { padding: 25px; text-align: center; }
.car-info h3 { font-weight: 400; margin-top: 0; margin-bottom: 15px; color: white; font-size: 24px;}
.car-specs { font-size: 16px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.8; }
.car-price { font-size: 28px; color: var(--primary-gold); margin-top: 15px; display: block; font-weight: bold; }

/* Отзывы */
.reviews { padding: 100px 0; background-color: #0f0f0f; border-top: 1px solid #222; position: relative; }
.review-card-slide {
    min-width: 100%; box-sizing: border-box; background-color: var(--card-bg);
    padding: 40px; border: 1px solid #333; border-radius: 5px; text-align: center;
}
.stars { color: var(--primary-gold); font-size: 24px; margin-bottom: 15px; }
.review-text { font-style: italic; color: var(--text-muted); font-size: 18px; margin-bottom: 25px; }
.client-name { font-weight: bold; color: white; display: block; font-size: 20px; }
.client-city { font-size: 14px; color: #777; }

/* Форма */
.review-form-section { padding-bottom: 80px; background-color: #0f0f0f; }
.form-container {
    max-width: 600px; margin: 0 auto; background-color: var(--card-bg);
    padding: 40px; border-radius: 10px; border: 1px solid #333;
}
.form-title { text-align: center; color: var(--primary-gold); margin-bottom: 30px; text-transform: uppercase; letter-spacing: 1px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; color: var(--text-muted); margin-bottom: 5px; }
.form-input, .form-textarea {
    width: 100%; padding: 12px; background-color: #0a0a0a; border: 1px solid #333;
    color: white; border-radius: 5px; font-family: inherit; box-sizing: border-box; 
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--primary-gold); }
.rating-select { display: flex; flex-direction: row-reverse; justify-content: center; gap: 5px; }
.rating-select input { display: none; }
.rating-select label { cursor: pointer; font-size: 30px; color: #444; transition: 0.2s; }
.rating-select input:checked ~ label, .rating-select label:hover, .rating-select label:hover ~ label { color: var(--primary-gold); }

/* СЕКЦИЯ INSTAGRAM */
.instagram-section {
    padding: 100px 0;
    background-color: #080808;
    text-align: center;
    border-top: 1px solid #222;
}
.instagram-title {
    color: #d4af37;
    font-size: 48px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.instagram-text {
    font-size: 18px;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}
.insta-btn {
    background: linear-gradient(90deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
    color: white;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    letter-spacing: 1px;
    text-decoration: none;
}
.insta-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3);
}

.team { padding: 80px 0; background-color: var(--dark-bg); text-align: center; border-top: 1px solid #222; }

/* НОВЫЕ КОНТАКТЫ (ОТЦЕНТРИРОВАННЫЕ, БЕЗ КАРТЫ) */
.contacts-new-section {
    display: flex;
    background-color: #1a1a1a;
    color: white;
    min-height: 350px;
}

.contacts-info-col {
    flex: 1;
    padding: 60px 20px;
    box-sizing: border-box;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contacts-header {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 300;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.address-text {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 5px;
    line-height: 1.5;
}

.phone-text {
    font-size: 32px;
    color: white;
    margin: 15px 0;
    display: block;
    text-decoration: none;
    font-weight: bold;
}

.social-icons-contact {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-circle-btn {
    width: 45px;
    height: 45px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    transition: 0.3s;
    text-decoration: none;
}

.social-circle-btn:hover {
    background-color: var(--primary-gold);
    transform: translateY(-3px);
}

.manager-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.manager-name {
    font-size: 18px;
    font-weight: 600;
    width: 80px; /* фиксированная ширина для выравнивания строк */
}

.manager-label {
    font-size: 14px;
    color: #ccc;
    margin: 0 5px 0 10px;
}

.social-circle-btn.whatsapp-icon {
    color: #25D366;
}

.copyright-bar {
    background-color: #000;
    color: #555;
    text-align: center;
    padding: 15px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 36px; }
    .instagram-title { font-size: 32px; }
    .nav-links { display: none; }
    .hero-logo-img { width: 220px; } 
    .slider-btn { width: 30px; height: 30px; font-size: 16px; }
    .slider-btn .slider-btn-icon { width: 18px; height: 18px; } 
    .car-img { height: 250px; } 
    .contacts-info-col { padding: 40px 20px; }
    .phone-text { font-size: 26px; }
}