/* CSS Variables */
:root {
    --color-primary-red: #B12D25;
    --color-primary-green: #009B5A;
    --color-white: #FFFFFF;
    --color-dark: #1a1a1a;
    --color-darker: #0d0d0d;
    --color-text: #070A0C;
    --color-gray: #f5f5f5;
    --color-light-gray: #e0e0e0;
    --header-height: 80px;
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Noto Sans Arabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-white);
    color: var(--color-text);
    line-height: 1.6;
    direction: rtl;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    background-color: var(--color-white);
    height: var(--header-height);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-main {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary-red);
    line-height: 1;
}

.logo-sub {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary-red);
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 11px;
    color: var(--color-text);
    line-height: 1.3;
    text-align: right;
    border-right: 2px solid var(--color-text);
    padding-right: 10px;
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary-red);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Smooth transition for nav links */
.nav-link {
    transition: color 0.3s ease;
}

/* Active state animation */
.nav-link.active {
    font-weight: 600;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-red {
    background-color: var(--color-primary-red);
    color: var(--color-white);
}

.btn-red:hover {
    background-color: #8f241e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(177, 45, 37, 0.3);
}

.btn-green {
    background-color: var(--color-primary-green);
    color: var(--color-white);
}

.btn-green:hover {
    background-color: #007a48;
    box-shadow: 0 4px 12px rgba(0, 155, 90, 0.3);
}

/* Special hover for centered contact button to preserve centering */
.btn-contact:hover {
    transform: translateX(-50%) translateY(-2px);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-full {
    width: 100%;
}

.phone-icon {
    font-size: 16px;
}

/* ===== HOME PAGE STYLES ===== */

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-showroom {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-white);
}

.hero-badge {
    display: inline-block;
    background-color: var(--color-primary-green);
    color: var(--color-white);
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* About Section - Dark */
.about-section {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 80px 0;
}

.about-content-dark {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.section-title-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 72px;
    font-weight: 700;
    color: var(--color-white);
    opacity: 0.9;
    white-space: nowrap;
    transform: rotate(180deg);
}

.about-text-dark {
    flex: 1;
}

.about-text-dark p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
}

/* Vision Section */
.vision-section {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0 100px;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: center;
}

.vision-image {
    grid-column: 2;
    grid-row: 1;
}

.vision-2x2 {
    grid-column: 1;
    grid-row: 1;
}

.vision-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.vision-image::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 250px;
    background-color: #089A59;
    border-radius: 4px;
}

.vision-image img {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 47/49;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.vision-tag {
    position: absolute;
    bottom: 80px;
    left: -20px;
    right: auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px 30px;
    direction: rtl;
    border-radius: var(--border-radius);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.btn-contact {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 30px;
    font-size: 16px;
}

/* Vision 2x2 Grid */
.vision-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
}

.v-cell {
    display: flex;
    align-items: flex-start;
    padding: 20px;
}

.v-vision {
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v-mission {
    gap: 15px;
}

.v-tagline {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: center;
}

.v-cta {
    align-items: center;
    justify-content: center;
}

.vision-icon {
    flex-shrink: 0;
}

.vision-icon svg {
    width: 45px;
    height: 45px;
}

.vision-box-inner {
    border-right: 3px solid var(--color-primary-red);
    padding-right: 25px;
    flex: 1;
}

.vision-box-inner h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-white);
}

.vision-box-inner p {
    font-size: 15px;
    line-height: 1.8;
    color: #818080;
    letter-spacing: -0.3px;
}

.vision-cta-text {
    font-size: 32px;
    font-weight: 250;
    line-height: 1.3;
    color: #FFFFFF;
    text-align: right;
    letter-spacing: -0.6px;
}

.vision-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 30px;
    font-size: 18px;
    background-color: #009b5a;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vision-cta-btn:hover {
    background-color: #007a48;
    transform: translateY(-2px);
}

/* Why Us Section - Green */
.why-us-section {
    background-color: var(--color-primary-green);
    color: var(--color-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background-color: var(--color-white);
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-us-content {
    text-align: right;
}

.why-us-title {
    background-color: var(--color-primary-red);
    color: var(--color-white);
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 40px;
}

.why-us-list {
    list-style: none;
}

.why-us-list li {
    font-size: 18px;
    padding: 12px 0;
    position: relative;
    padding-right: 40px;
}

.why-us-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--color-white);
    font-weight: bold;
    font-size: 20px;
}

.why-us-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkmark-icon {
    width: 150px;
    height: 150px;
}

/* Change checkmark to white on mobile */
@media (max-width: 992px) {
    .why-us-section .checkmark-icon path[fill="#089A59"] {
        fill: #FFFFFF !important;
    }
}

/* Map Section */
.map-section {
    background-color: var(--color-white);
    padding: 80px 0;
    text-align: center;
}

.map-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 30px;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    overflow: hidden;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
}

/* Footer Dark - Exact Match Figma Design */
.footer-dark {
    background-color: #000000;
    color: #FFFFFF;
    padding: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 80px;
    padding: 50px 0 30px;
    align-items: end;
    max-width: 1000px;
    margin: 0 auto;
    direction: rtl;
}

/* القائمة الرئيسية (يمين في RTL) */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
    order: 1;
}

.footer-nav a {
    color: #FFFFFF;
    font-family: "A Jannat LT", "Noto Sans Arabic", sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 40px;
    text-decoration: none;
    text-transform: capitalize;
    transition: var(--transition);
    white-space: nowrap;
}

/* سياسة الخصوصية والشروط (وسط) */
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    order: 2;
    justify-content: flex-end;
}

.footer-info p {
    color: #FFFFFF;
    font-family: "A Jannat LT", "Noto Sans Arabic", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    margin: 0;
    white-space: nowrap;
}

/* العنوان (يسار في RTL) */
.footer-address {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    order: 3;
}

.footer-address p {
    color: #FFFFFF;
    font-family: "DIN Next LT Arabic", "Noto Sans Arabic", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
    margin: 0;
    text-align: left;
    white-space: nowrap;
}

.footer-nav a {
    color: #FFFFFF;
    font-family: "A Jannat LT", "Noto Sans Arabic", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 45px;
    text-decoration: none;
    text-transform: capitalize;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--color-primary-red);
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 60px;
}

.footer-bottom {
    text-align: center;
    padding: 0 0 30px 0;
    position: relative;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    margin-top: -22px;
    position: relative;
    z-index: 2;
}

.social-icon {
    width: 44px;
    height: 44px;
    background-color: var(--color-primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    border: 3px solid #000000;
    box-sizing: border-box;
}

.social-icon:hover {
    transform: scale(1.1);
    background-color: #FFFFFF;
    border-color: #FFFFFF;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon:hover svg path[fill="white"] {
    fill: var(--color-primary-red);
}

.social-icon:hover svg path[stroke="white"] {
    stroke: var(--color-primary-red);
}

.copyright {
    font-family: "A Jannat LT", "Noto Sans Arabic", sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    margin: 0;
    line-height: 28px;
}

/* ===== FLEET PAGE STYLES ===== */

.fleet-section {
    background-color: var(--color-white);
    padding: 60px 0 100px;
}

.fleet-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 50px;
    position: relative;
}

.fleet-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary-red), var(--color-primary-green));
    border-radius: 2px;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fleet-car {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.fleet-car:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.fleet-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fleet-image.loaded {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .fleet-title {
        font-size: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
        text-align: center;
        max-width: 100%;
    }
    
    .footer-address,
    .footer-info,
    .footer-nav {
        text-align: center;
        order: 0;
    }
    
    .footer-address {
        justify-content: center;
    }
    
    .footer-address p {
        text-align: center;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-nav a,
    .footer-info p {
        font-size: 18px;
        line-height: 32px;
    }
}

@media (max-width: 576px) {
    .fleet-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .fleet-section {
        padding: 40px 0 60px;
    }
    
    .fleet-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .fleet-car {
        aspect-ratio: 16/10;
    }
}

/* ===== FAQ PAGE ===== */
.faq-section {
    background-color: var(--color-white);
    padding: 60px 0 100px;
}

.faq-main-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 50px;
}

.faq-list-new {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item-new {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.faq-item-new:last-child {
    border-bottom: none;
}

.faq-question-new {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary-green);
    margin-bottom: 15px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.q-number {
    color: var(--color-primary-green);
    font-weight: 700;
}

.q-text {
    color: var(--color-primary-green);
}

.faq-answer-new {
    padding-right: 20px;
}

.faq-answer-new p {
    font-size: 15px;
    line-height: 2;
    color: #666;
}

.phone-number {
    color: var(--color-primary-green);
    font-weight: 600;
}

/* ===== CONTACT PAGE ===== */
.contact-simple-section {
    background-color: var(--color-white);
    padding: 120px 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.contact-message {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-phones {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary-red);
}

.contact-phones a {
    color: var(--color-primary-red);
    text-decoration: none;
    transition: var(--transition);
}

.contact-phones a:hover {
    color: #8f241e;
}

.contact-phones span {
    margin: 0 15px;
    color: var(--color-primary-red);
}

@media (max-width: 768px) {
    .contact-simple-section {
        padding: 80px 20px;
    }
    
    .contact-message {
        font-size: 18px;
    }
    
    .contact-phones {
        font-size: 22px;
    }
    
    .contact-phones span {
        display: block;
        margin: 10px 0;
    }
}

/* ===== ABOUT PAGE ===== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 28px;
    margin: 30px 0 15px;
    color: var(--color-primary-red);
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.stat-card {
    background: linear-gradient(135deg, var(--color-primary-red), #d43930);
    color: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== FEATURES PAGE ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-light-gray);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--color-primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .nav-list {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 13px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title-vertical {
        font-size: 48px;
    }

    .vision-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
        padding: 10px 20px;
    }
    
    .nav {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }
    
    .nav-list {
        justify-content: center;
        gap: 20px;
    }

    .hero-section {
        height: 450px;
    }

    .hero-title {
        font-size: 28px;
    }

    .about-content-dark {
        flex-direction: column;
        gap: 30px;
    }

    .section-title-vertical {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 36px;
        text-align: center;
    }

    .vision-grid {
        grid-template-columns: 1fr;
    }

    .vision-image {
        grid-column: 1;
        grid-row: 5;
    }

    .vision-image img {
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }

    .vision-image::after {
        display: none;
    }

    .vision-2x2 {
        grid-column: 1;
        grid-row: 1;
        grid-template-columns: 1fr;
    }

    .v-vision { order: 1; }
    .v-mission { order: 2; }
    .v-tagline { order: 3; text-align: center; justify-content: center; }
    .v-cta { order: 4; justify-content: center; }

    .vision-cta-text {
        font-size: 26px;
        text-align: center;
    }

    .vision-box-inner h3 {
        font-size: 20px;
    }

    .vision-box-inner p {
        font-size: 14px;
    }

    .vision-icon svg {
        width: 35px;
        height: 35px;
    }

    .vision-tag {
        left: 20px;
        right: auto;
        font-size: 18px;
        padding: 15px 20px;
    }

    .why-us-section::before {
        display: none;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header {
        height: auto;
        padding: 15px 0;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-list {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .nav-link {
        font-size: 12px;
    }

    .hero-section {
        height: 350px;
    }

    .hero-badge {
        font-size: 14px;
        padding: 8px 20px;
    }

    .hero-title {
        font-size: 22px;
    }

    .vision-tag {
        position: relative;
        left: 0;
        right: auto;
        bottom: 0;
        margin-top: 20px;
    }

    .btn-contact {
        position: relative;
        left: 0;
        transform: none;
        margin-top: 20px;
        display: block;
        text-align: center;
    }

    .why-us-title {
        font-size: 22px;
        padding: 12px 25px;
    }

    .why-us-list li {
        font-size: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title,
    .map-title {
        font-size: 28px;
    }
    
    .btn {
        padding: 8px 18px;
        font-size: 13px;
    }
    
    .logo-main {
        font-size: 24px;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .btn-filter {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.car-card,
.feature-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== LEGAL PAGES (Privacy & Terms) ===== */
.legal-section {
    background-color: var(--color-white);
    padding: 140px 0 100px;
    min-height: 70vh;
}

.legal-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.legal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-primary-red);
    border-radius: 2px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-intro {
    font-size: 18px;
    line-height: 1.9;
    color: #555;
    text-align: center;
    margin-bottom: 50px;
    padding: 25px 30px;
    background-color: #f9f9f9;
    border-right: 4px solid var(--color-primary-red);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.legal-block {
    margin-bottom: 40px;
}

.legal-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-heading::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--color-primary-red);
    border-radius: 50%;
    flex-shrink: 0;
}

.legal-block p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 15px;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-list li {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    padding: 10px 0;
    padding-right: 25px;
    position: relative;
    border-bottom: 1px dashed #eee;
}

.legal-list li:last-child {
    border-bottom: none;
}

.legal-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 18px;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary-green);
    border-radius: 50%;
}

.legal-list li strong {
    color: var(--color-text);
    font-weight: 600;
}

.legal-contact {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.phone-link,
.email-link {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary-red);
    text-decoration: none;
    padding: 12px 25px;
    background-color: #fff5f5;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.phone-link:hover,
.email-link:hover {
    background-color: var(--color-primary-red);
    color: var(--color-white);
}

.legal-date {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

/* Footer info links */
.footer-info a {
    color: #FFFFFF;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.footer-info a:hover {
    color: var(--color-primary-red);
}

@media (max-width: 768px) {
    .legal-section {
        padding: 100px 20px 60px;
    }
    
    .legal-title {
        font-size: 28px;
    }
    
    .legal-intro {
        font-size: 15px;
        padding: 20px;
    }
    
    .legal-heading {
        font-size: 18px;
    }
    
    .legal-list li {
        font-size: 14px;
    }
    
    .legal-contact {
        flex-direction: column;
        gap: 15px;
    }
    
    .phone-link,
    .email-link {
        text-align: center;
    }
}
