/**
 * About Us Page Styles - Redesigned to match image
 * Complete redesign based on the provided image
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Tajawal', 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Arabic font support */
*[dir="rtl"] {
    font-family: 'Tajawal', 'Cairo', 'Amiri', sans-serif;
    text-align: right;
}

*[lang="ar"] {
    font-family: 'Tajawal', 'Cairo', 'Amiri', sans-serif;
}

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

/* Hero Section */
.about-hero {
    position: relative;
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 2;
}


.about-hero-title {
    font-size: 18rem;
    font-weight: 400;
    font-family: 'Aref Ruqaa', serif;
    color: white;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Main Content */
.about-main {
    background: #fff;
}

/* Quality Section */
.quality-section {
    padding: 60px 0;
    background: #fff;
}

.quality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    min-height: 500px;
}

.quality-text {
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quality-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #333;
}

.highlight {
    color: #E4202B;
}

.quality-description {
    font-size: 1.3rem;
    line-height: 1.4;
    color: #666;
    margin-bottom: 12px;
}

.quality-image {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.quality-image-frame {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 20px;
    box-shadow: none;
}

.love-title, .serve-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #FF8C00;
    margin-bottom: 12px;
}

.love-description, .serve-description {
    font-size: 1.2rem;
    line-height: 1.3;
    color: #666;
    margin-bottom: 15px;
}

/* Statistics Section */
.stats-section {    
    max-width: 1160px;
    padding: 30px 0;
    background: linear-gradient(135deg, #FF8C00 0%, #FF8C00 100%);
    border-radius: 20px;
    margin: 20px auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 8px;
    display: block;
    transition: all 0.3s ease;
}

.stat-number.counting {
    animation: pulse 0.1s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.stat-label {
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* FastFood Section */
.fastfood-section {
    padding: 200px 0 0 0;
    background: #fff;
}

.fastfood-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 0px;
}

.fastfood-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #333;
}

.fastfood-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 50px;
}

/* Testimonials Section with Background */
.testimonials-section-with-bg {
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 60vh;
    position: relative;
    overflow: visible;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0;
    margin-bottom: 0;
}

.testimonials-section-with-bg::before {
    display: none;
}

.testimonials-unified-container {
    position: relative;
    z-index: 2;
    transform: translateY(60%);
    margin-bottom: 0;
    background: white;
    width: 90vw;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    padding: 20px 30px 25px 30px;
    min-height: auto;
}

/* Testimonials Slider */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
}

.testimonial-slide {
    background: transparent;
    padding: 10px;
    border-radius: 15px;
    box-shadow: none;
    display: flex;
    gap: 15px;
    align-items: center;
    text-align: right;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.5s ease-in-out;
    backdrop-filter: none;
    min-height: 100px;
    direction: rtl;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-slide.prev {
    transform: translateX(100%);
}

/* Legacy testimonial class for backward compatibility */
.testimonial {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: left;
}

.testimonial-avatar {
    flex-shrink: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 1;
}

.testimonial-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 3;
}

.testimonial-name-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
    order: 2;
    margin-right: 15px;
}

.testimonial-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    text-align: left;
    font-family: 'Tajawal', 'Cairo', 'Amiri', sans-serif;
}

.testimonial-rating {
    margin-bottom: 0;
    text-align: left;
}

.star {
    color: #ffb400;
    font-size: 1.8rem;
    margin-right: 2px;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #FF8C00;
    margin-bottom: 0;
    font-style: normal;
    text-align: right;
    padding-right: 20%;
    font-family: 'Tajawal', 'Cairo', 'Amiri', sans-serif;
    font-weight: 600;
}

/* Slider Navigation */
.slider-navigation {
    display: flex;
    justify-content: right ;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.slider-btn {
    background: #E4202B;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(228, 32, 43, 0.3);
}

.slider-btn:hover {
    background: #C41E3A;
    transform: scale(1.1);
}

.slider-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #E4202B;
    transform: scale(1.2);
}

.dot:hover {
    background: #E4202B;
}

/* Social Proof */
.social-proof {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}


/* FastFood Images */
.fastfood-images {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.burger-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Good Food Section */
.good-food-section {
    padding: 250px 0 80px 0;
    background: #1a1a1a;
    color: white;
    margin-top: 0;
}

.good-food-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.good-food-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
}

.good-food-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 40px;
}

.signature {
    text-align: left;
}

.signature-image {
    max-width: 200px;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.good-food-image {
    overflow: hidden;
    border-radius: 20px;
}

.good-food-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: right bottom;
}

.good-food-image:hover img {
    transform: scale(1.15);
}

/* Delivery Section */
.delivery-section {
    padding: 80px 0;
    background: #1a1a1a;
    color: white;
}

.delivery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.delivery-image {
    overflow: hidden;
    border-radius: 20px;
}

.delivery-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: right bottom;
}

.delivery-image:hover img {
    transform: scale(1.15);
}

.delivery-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    color: white;
}

.delivery-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 40px;
}

/* Delivery section button hover effect for dark background */
.delivery-section .btn-primary:hover {
    background: white;
    color: #FF8C00;
}



/* Responsive Design */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 8rem;
        font-weight: 400;
        font-family: 'Aref Ruqaa', serif;
        color: white;
    }
    
    .quality-content,
    .good-food-content,
    .delivery-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .quality-text {
        padding-right: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .fastfood-images {
        flex-direction: column;
        align-items: center;
    }
    
    .burger-image {
        width: 250px;
        height: 250px;
    }
    
    .quality-title,
    .fastfood-title,
    .good-food-title,
    .delivery-title {
        font-size: 2rem;
    }
    
    .testimonial {
        flex-direction: column;
        text-align: center;
    }
    
    /* Testimonials Slider Responsive */
    .testimonial-slide {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .slider-navigation {
        gap: 15px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    /* Testimonials Section with Background Responsive */
    .testimonials-section-with-bg {
        padding: 0;
        padding-bottom: 0;
        height: 55vh;
        background-attachment: scroll;
        margin-bottom: 0;
    }
    
    .testimonials-unified-container {
        transform: translateY(50%);
        margin-bottom: 0;
        width: 95vw;
        padding: 15px 15px 20px 15px;
        border-radius: 15px;
    }
    
    .testimonial-slide {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
        min-height: auto;
    }
    
    .testimonial-avatar img {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-text {
        text-align: center;
        padding-right: 0;
        font-size: 1.2rem;
    }
    
    .testimonial-name-rating {
        margin-left: 0;
        align-items: center;
    }
    
    .testimonial-name {
        text-align: center;
    }
    
    .testimonial-rating {
        text-align: center;
    }
}

/* Smooth Slide from Bottom Animation */
.slide-from-bottom {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-from-bottom.animated {
    opacity: 1;
    transform: translateY(0);
}
