/* ===== Page Header Styles ===== */
.page-header {
    padding: 180px 0 100px;
    position: relative;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--secondary-color) 100%);
}

.page-header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
}

.breadcrumb a {
    color: var(--accent-color);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== About Page Styles ===== */
.about-page {
    padding: 100px 0;
    background: var(--white);
}

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

.about-page-image {
    position: relative;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 30px;
    box-shadow: 
        inset 0 2px 4px rgba(255,255,255,0.8),
        inset 0 -2px 4px rgba(0,0,0,0.05);
}

.about-page-image img {
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.15),
        0 10px 20px rgba(139, 21, 56, 0.1);
    border: 5px solid white;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.02) contrast(1.05);
}

.about-page-image:hover img {
    transform: scale(1.05);
    box-shadow: 
        0 35px 60px rgba(0,0,0,0.2),
        0 15px 30px rgba(139, 21, 56, 0.15);
    filter: brightness(1.05) contrast(1.08);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.about-badge .years {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.about-badge .text {
    font-size: 1rem;
    font-weight: 600;
}

.about-page-content span.section-tag {
    margin-bottom: 20px;
}

.about-page-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.about-page-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: 1.05rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.mission, .vision {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.mission .icon, .vision .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
}

.mission h3, .vision h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.mission p, .vision p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Values Section */
.values {
    padding: 100px 0;
    background: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color), #2d2d2d);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Team Section */
.team {
    padding: 100px 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.team-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Services Page Styles ===== */
.services-page {
    padding: 100px 0;
    background: var(--white);
}

.services-detailed {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.service-detailed.reverse {
    direction: ltr;
}

.service-detailed.reverse > * {
    direction: rtl;
}

.service-image-large {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Tire Image Container Styles */
.tire-image-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
}

.tire-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.tire-showcase-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tire-image-container:hover .tire-showcase-image {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

.tire-brand-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #D4AF37, #B8941F);
    color: #000;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 2px;
    z-index: 3;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6); }
}

.service-content-detailed {
    padding: 50px;
}

.service-content-detailed h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.service-content-detailed p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.9;
}

.service-features {
    margin: 25px 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.service-features i {
    color: var(--primary-color);
}

/* Why Choose Section */
.why-choose {
    padding: 100px 0;
    background: var(--bg-light);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-choose-content span.section-tag {
    margin-bottom: 20px;
}

.why-choose-content h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.why-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.why-item:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-hover);
}

.why-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.why-text h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.why-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.why-choose-image .image-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    color: var(--white);
    position: relative;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    color: var(--primary-color);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.floating-badge span {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.floating-badge small {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== Products Page Styles ===== */
.products-page {
    padding: 100px 0;
    background: var(--white);
}

.product-category {
    margin-bottom: 80px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--gray);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
}

.category-info h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.category-info p {
    color: var(--text-light);
}

.products-grid-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-item {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

.product-badge.hot {
    background: #e74c3c;
    color: var(--white);
}

.product-badge.new {
    background: #27ae60;
    color: var(--white);
}

.product-image-box {
    height: 250px;
    background: linear-gradient(135deg, #f5f5f5, #e5e5e5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-color);
}

.product-details {
    padding: 30px;
}

.product-details h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.product-details p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.product-specs {
    margin-bottom: 25px;
}

.product-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.product-specs i {
    color: var(--primary-color);
}

.product-price-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--white);
    border-radius: var(--border-radius);
}

.price-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.price-value {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Brands Section */
.brands {
    padding: 100px 0;
    background: var(--bg-light);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.brand-item {
    background: var(--white);
    padding: 40px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* ===== Contact Page Styles ===== */
.contact-page {
    padding: 100px 0;
    background: var(--white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.contact-info-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
}

.contact-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-info-card p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-link, .phone-link, .whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover, .phone-link:hover, .whatsapp-link:hover {
    gap: 12px;
}

.phone-link {
    display: block;
    margin: 5px 0;
}

.whatsapp-link {
    background: #25D366;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
}

.whatsapp-link:hover {
    background: #128C7E;
}

.work-note {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-form-wrapper h3 {
    margin-bottom: 10px;
}

.contact-form-wrapper > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.contact-map {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: var(--white);
    border-bottom: 1px solid var(--gray);
}

.map-header h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.map-container-large {
    height: 500px;
}

.map-container-large iframe {
    width: 100%;
    height: 100%;
}

/* Quick Contact */
.quick-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

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

.quick-contact-item {
    text-align: center;
    color: var(--white);
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.quick-contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.quick-contact-item i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.quick-contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.quick-contact-item a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.quick-contact-item a:hover {
    color: var(--white);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .about-page-grid,
    .why-choose-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid-large {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .about-page-content h2,
    .why-choose-content h2 {
        font-size: 2rem;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .service-detailed {
        grid-template-columns: 1fr;
    }
    
    .service-detailed.reverse {
        direction: rtl;
    }
    
    .service-image-large {
        height: 250px;
    }
    
    .tire-showcase-image {
        max-width: 70%;
        max-height: 70%;
    }
    
    .tire-brand-badge {
        font-size: 1rem;
        padding: 8px 18px;
    }
    
    .service-content-detailed {
        padding: 30px;
    }
    
    .values-grid,
    .stats-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container-large {
        height: 300px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .why-item {
        flex-direction: column;
        text-align: center;
    }
    
    .why-icon {
        margin: 0 auto;
    }
}
