/* General Section */
.sag-section {
    padding: 80px 0;
}

.sag-bg {
    background-color: #640000;
    color: var(--light-color);
}

.sag-bg-light {
    background-color: var(--light-color);
}

/* Hero Section */
.sag-hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../assets/images/saleh-cars/car-bg.webp') fixed center/cover;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    overflow: hidden;
}



/* Left Side Content */
.sag-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding-left: 50px;
}

.sag-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.sag-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 500px;
}


/* Right Side Slider */
.sag-hero-slider {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sag-slider-container {
    width: 350px;
    height: 500px;
    perspective: 1000px;
}

.swiper {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: visible !important;
}

.swiper-slide {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.5s ease;
    filter: brightness(0.8);
}
.swiper-slide-active {
    transform: scale(1);
    filter: brightness(1);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-pagination {
    bottom: -40px !important;
}
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: #8B0000;
}

/* Slide content overlay */
.sag-slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}
.swiper-slide-active .sag-slider-content {
    transform: translateY(0);
}
.sag-slider-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.sag-slider-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 1200px) {
    .sag-slider-container { width: 300px; height: 450px; }
    .sag-hero-content { padding-left: 30px; }
    .sag-hero-title { font-size: 3rem; }
}
@media (max-width: 992px) {
    .sag-hero-slider {
        width: 100%;
        height: auto;
        padding: 40px 20px;
    }
    .sag-slider-container {
        width: 100%;
        height: 350px;
        max-width: 400px;
    }
    .sag-hero-content {
        text-align: center;
        padding: 80px 20px 40px;
    }
}
@media (max-width: 768px) {
    .sag-hero-title { font-size: 2rem; }
    .sag-hero-subtitle { font-size: 1.1rem; }
    .sag-slider-container { height: 300px; }
    .corner-logo { max-width: 100px; left: 10px; top: 10px; }
}

/* Hero Section Styling End  */

/* New Arrivals & Offers Section */
.sag-new-arrivals {
    padding: 80px 0;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
}

.sag-offer-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
}

.sag-offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.sag-offer-img {
    height: 200px;
    overflow: hidden;
}

.sag-offer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.sag-offer-card:hover .sag-offer-img img {
    transform: scale(1.1);
}

.sag-offer-content {
    padding: 20px;
    position: relative;
}

.sag-offer-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #8B0000;
    color: white;
    padding: 5px 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.sag-offer-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
}

.sag-offer-desc {
    color: #666;
    margin-bottom: 15px;
}

.sag-offer-cta {
    color: #8B0000;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.sag-offer-cta:hover {
    color: #660000;
    transform: translateX(5px);
}

/* Countdown Timer */
.sag-countdown {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.sag-countdown-item {
    margin: 0 10px;
    text-align: center;
    background: #8B0000;
    color: white;
    padding: 15px;
    border-radius: 5px;
    min-width: 80px;
}

.sag-countdown-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.sag-countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .sag-hero-title {
        font-size: 2.8rem;
    }

    .sag-floating-img {
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .sag-hero-title {
        font-size: 2.2rem;
    }

    .sag-hero-subtitle {
        font-size: 1.2rem;
    }

    .sag-floating-img {
        display: none;
    }

    .corner-logo {
        max-width: 100px;
    }

    .sag-countdown-item {
        min-width: 60px;
        padding: 10px;
        margin: 0 5px;
    }

    .sag-countdown-number {
        font-size: 1.5rem;
    }
}

/* About Section */
.sag-about {
    position: relative;
}

.sag-section-title {
    font-size: 2.8rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.sag-section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
}

/* Featured Cars */
.sag-car-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    margin-bottom: 30px;
}

.sag-car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.sag-car-img {
    height: 200px;
    overflow: hidden;
}

.sag-car-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.sag-car-card:hover .sag-car-img img {
    transform: scale(1.1);
}

.sag-car-content {
    padding: 20px;
}

.sag-car-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.sag-car-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Services */
.sag-service-box {
    background: white;
    color: black;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    margin-bottom: 30px;
    border-top: 5px solid var(--primary-color);
}

.sag-service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.sag-service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Brands Section */
.sag-brands {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.sag-brand-logo {
    max-width: 80px;
    transition: all 0.3s;
}

.sag-brand-logo:hover {
    transform: scale(1.1);
}

/* Testimonials */
.sag-testimonial {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: relative;
}

.sag-testimonial:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid white;
}

.sag-testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.sag-testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

.sag-testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

/* Stats Section */
.sag-stat {
    text-align: center;
    padding: 30px;
}

.sag-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 10px;
}

.sag-stat-text {
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* WhatsApp Button */
.sag-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: pulse 2s infinite;
    transition: all 0.3s;
}

.sag-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer */
.sag-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.sag-footer-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.sag-footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.sag-footer-links {
    list-style: none;
    padding: 0;
}

.sag-footer-links li {
    margin-bottom: 10px;
}

.sag-footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
}

.sag-footer-links a:hover {
    color: white;
    padding-left: 5px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .sag-hero-title {
        font-size: 2.8rem;
    }

    .sag-floating-img {
        display: none;
    }
}

@media (max-width: 768px) {
    .sag-hero-title {
        font-size: 2.2rem;
    }

    .sag-hero-subtitle {
        font-size: 1.2rem;
    }

    .sag-section-title {
        font-size: 2.2rem;
    }
}