/*
Theme Name: Car Rental WDA Child
Template: car-rental-wda
*/
/* сюда потом добавишь свои стили */
/* ===== About page base ===== */

.about-page {
    background-color: #05060a;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.7;
}

.about-page a {
    color: #ffffff;
}

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

/* ===== HERO ===== */

.about-hero__bg {
    position: relative;
    background-size: cover;
    background-position: center center;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
}

.about-hero__inner {
    position: relative;
    padding: 100px 0 120px;
    text-align: center;
}

.about-hero__title {
    font-size: clamp(32px, 3vw + 18px, 40px);
    font-weight: 700;
    margin-bottom: 18px;
}

.about-hero__subtitle {
    max-width: 720px;
    margin: 0 auto 28px;
    font-size: 17px;
}

.about-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* ===== Sections generic ===== */

.section {
    width: 100%;
}

.section-padding {
    padding: 80px 0;
}

.section-dark {
    background-color: #05060a;
}

.section-dark-alt {
    background-color: #070b1c;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 22px;
}

.section-title--center {
    text-align: center;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 700;
    margin: 40px 0 24px;
}

.section-subtitle--center {
    text-align: center;
}

.section-lead {
    font-size: 16px;
    max-width: 900px;
    margin-bottom: 20px;
}

.section-lead--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* two-column layout */

.section-two-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.section-col {
    flex: 1 1 0;
    min-width: 0;
}

.section-col--text p {
    margin-bottom: 14px;
}

.section-col--image {
    text-align: center;
}

.section-image img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* reverse order on mobile if needed */

.section-two-cols--reverse-on-mobile {
    flex-direction: row;
}

/* buttons */

.btn-row {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease,
        color 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: #e52424;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

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

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

.btn-outline:hover {
    background-color: #ffffff;
    color: #05060a;
    transform: translateY(-1px);
}

/* ===== Testimonials ===== */

.testimonials-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.testimonial-card {
    background-color: #0b0d1a;
    border-radius: 12px;
    padding: 24px 24px 26px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.testimonial-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.testimonial-stars {
    color: #f7c948;
    font-size: 16px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.7;
}

/* ===== Team ===== */

.team-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.team-card {
    background-color: #0b0d1a;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.team-card__image img {
    display: block;
    width: 100%;
    height: auto;
}

.team-card__body {
    padding: 18px 18px 20px;
}

.team-card__name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card__role {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ff4c4c;
    margin-bottom: 10px;
}

.team-card__text {
    font-size: 14px;
    line-height: 1.7;
}

/* ===== FAQ ===== */

.faq-list {
    margin-top: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background-color: #0b0d1a;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 12px;
    cursor: pointer;
}

.faq-item[open] {
    background-color: #121528;
}

.faq-question {
    list-style: none;
    font-weight: 600;
    position: relative;
    padding-right: 32px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "＋";
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 700;
}

.faq-item[open] .faq-question::after {
    content: "−";
}

.faq-answer {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .about-hero__inner {
        padding: 80px 0 90px;
    }

    .section-two-cols {
        flex-direction: column;
    }

    .section-two-cols--reverse-on-mobile {
        flex-direction: column-reverse;
    }

    .section-padding {
        padding: 60px 0;
    }

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

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

/* === Contact Page Template === */

.contact-page {
    background-color: #05060a;
    color: #ffffff;
}

/* Контейнер по центру */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero */
.contact-hero {
    position: relative;
    background-color: #111318;
    background-size: cover;
    background-position: center;
    padding: 140px 0 120px;
    text-align: center;
}

.contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.75)
    );
}

.contact-hero__inner {
    position: relative;
    z-index: 1;
}

.contact-hero__title {
    font-size: 48px;
    letter-spacing: 0.12em;
    margin-bottom: 30px;
}

.contact-hero__buttons {
    display: inline-flex;
    gap: 20px;
}

/* Кнопки */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    border-radius: 999px;
    border: 2px solid #e72727;
    text-decoration: none;
}

.contact-btn--primary {
    background-color: #e72727;
    color: #ffffff;
}

.contact-btn--outline {
    background-color: transparent;
    color: #ffffff;
}

/* Блок с Phone / Location / Email */
.contact-info {
    background-color: #05060a;
    padding: 80px 0 40px;
}

.contact-info__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.contact-info__item {
    padding: 24px 28px;
    background-color: #0b0d13;
    border-radius: 8px;
}

.contact-info__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #fc4a4a;
    margin-bottom: 10px;
}

.contact-info__value {
    font-size: 18px;
}

/* Showroom hours + Notice */
.contact-hours {
    background-color: #05060a;
    padding: 40px 0 60px;
}

.contact-section-title {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 16px;
}

.contact-hours__subtitle {
    margin-bottom: 20px;
    color: #c3c6d0;
}

.contact-hours__list p span {
    font-weight: 600;
    margin-right: 8px;
}

.contact-hours__list p {
    margin: 4px 0;
}

.contact-notice {
    margin-top: 30px;
    padding: 20px 24px;
    background-color: #0b0d13;
    border-radius: 8px;
}

.contact-notice__title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 10px;
}

/* Форма */
.contact-form-section {
    background-color: #000000;
    padding: 80px 0 100px;
}

.contact-form__note {
    margin-bottom: 24px;
    color: #a2a7b3;
}

.contact-form__wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Адаптив */
@media (max-width: 900px) {
    .contact-info__grid {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        padding: 120px 0 80px;
    }

    .contact-hero__title {
        font-size: 34px;
    }

    .contact-hero__buttons {
        flex-direction: column;
    }
}

/* ================== SHIPPING PAGE ================== */

.shipping-page {
    background-color: #05060a;
    color: #ffffff;
}

/* контейнер, как на About */
.shipping-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO */

.shipping-hero__bg {
    position: relative;
    background-size: cover;
    background-position: center center;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.shipping-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.75));
}

.shipping-hero__inner {
    position: relative;
    padding: 100px 0 110px;
    text-align: center;
}

.shipping-hero__title {
    font-size: clamp(30px, 3vw + 18px, 38px);
    font-weight: 700;
    margin-bottom: 14px;
}

.shipping-hero__subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 17px;
}

/* Общие блоки опций */

.shipping-option .section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* маленькие иконки слева от заголовка (условные) */

.shipping-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* можно заменить на svg/иконки, пока просто цветовые кружки */

.shipping-icon--carrier {
    background-color: #ff4c4c;
}

.shipping-icon--individual {
    background-color: #ffd447;
}

/* Разделители между секциями */

.shipping-divider {
    display: flex;
    justify-content: center;
    background-color: #05060a;
}

.shipping-divider__line {
    width: 60%;
    max-width: 700px;
    height: 2px;
    margin: 16px 0;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
}

/* Блок Nationwide Coverage */

.shipping-coverage {
    text-align: center;
}

.shipping-coverage__highlight {
    margin-top: 26px;
    font-weight: 600;
    color: #4bb2ff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Адаптив */

@media (max-width: 768px) {
    .shipping-hero__inner {
        padding: 80px 0 90px;
    }

    .shipping-divider__line {
        width: 80%;
    }
}

/* === Privacy Policy Page Template === */

.privacy-page {
    background-color: #05060a;
    color: #ffffff;
}

/* Контейнер */
.privacy-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero */
.privacy-hero {
    position: relative;
    background-color: #111318;
    background-size: cover;
    background-position: center;
    padding: 140px 0 100px;
    text-align: center;
}

.privacy-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.8)
    );
}

.privacy-hero__inner {
    position: relative;
    z-index: 1;
}

.privacy-hero__title {
    font-size: 42px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Основной текст */
.privacy-content {
    background-color: #05060a;
    padding: 80px 0 60px;
}

.privacy-content p {
    line-height: 1.7;
    margin-bottom: 16px;
}

.privacy-content h2,
.privacy-content h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 18px;
}

/* CTA внизу */
.privacy-contact-cta {
    background-color: #05060a;
    padding: 20px 0 80px;
    text-align: left;
}

.privacy-contact-btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: #e72727;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    text-decoration: none;
    color: #ffffff;
}

/* Адаптив */
@media (max-width: 900px) {
    .privacy-hero {
        padding: 120px 0 70px;
    }

    .privacy-hero__title {
        font-size: 32px;
    }

    .privacy-content {
        padding: 50px 0 50px;
    }
}
