/* ========== CSS RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* ========== VARIABLES ========== */
:root {
    --primary-red: #8A0A1E;
    --primary-red-dark: #6D0019;
    --primary-red-light: #F9E8EA;
    --accent-yellow: #FFC107;
    --dark-gray: #2C2C2C;
    --medium-gray: #555;
    --light-gray: #F5F5F5;
    --border-color: #E0E0E0;
    --success-green: #28a745;
    --warning-orange: #ff9800;
    --emergency-red: #dc3545;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/* ========== UTILITY CLASSES ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-red);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red-light);
    transform: translateY(-2px);
}

.btn-emergency {
    background: var(--emergency-red);
    color: white;
    animation: pulse 2s infinite;
}

.btn-emergency:hover {
    background: #c82333;
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.badge-discount {
    background: var(--primary-red);
    color: white;
}

.badge-24h {
    background: var(--warning-orange);
    color: white;
}

.badge-emergency {
    background: var(--emergency-red);
    color: white;
}

.badge-certified {
    background: var(--success-green);
    color: white;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    padding: 20px 0;
    margin-bottom: 10px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--medium-gray);
}

.breadcrumb-nav a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-nav a:hover {
    color: var(--primary-red);
}

.breadcrumb-nav i {
    font-size: 12px;
}

/* ========== RECOVERY HERO ========== */
.recovery-hero {
    margin-bottom: 40px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
}

/* Image Gallery */
.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-image:hover img {
    transform: scale(1.03);
}

.image-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.thumbnail {
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover {
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

.thumbnail.active {
    border-color: var(--primary-red);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Recovery Info */
.recovery-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recovery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.recovery-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-gray);
    line-height: 1.3;
}

.recovery-subtitle {
    font-size: 16px;
    color: var(--medium-gray);
    margin-top: 5px;
}

.recovery-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: var(--accent-yellow);
    font-size: 20px;
}

.rating-text {
    font-size: 15px;
    color: var(--medium-gray);
}

.rating-text strong {
    color: var(--primary-red);
}

.recovery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: var(--light-gray);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--medium-gray);
}

.tag.featured {
    background: var(--primary-red-light);
    color: var(--primary-red);
}

.tag.emergency {
    background: #ffeaea;
    color: var(--emergency-red);
}

.recovery-description {
    color: var(--medium-gray);
    line-height: 1.8;
    font-size: 15px;
}

/* Emergency Alert */
.emergency-alert {
    background: linear-gradient(135deg, #ffeaea 0%, #fff5f5 100%);
    border: 2px solid var(--emergency-red);
    border-radius: 12px;
    padding: 25px;
    margin: 15px 0;
    text-align: center;
}

.emergency-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--emergency-red);
    margin-bottom: 10px;
}

.emergency-phone-lg {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark-gray);
    margin: 15px 0;
}

/* Service Areas */
.service-areas {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 25px;
    margin: 15px 0;
}

.areas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.areas-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-gray);
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.area-tag {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid var(--border-color);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.btn-lg {
    padding: 16px 32px;
    flex: 1;
    min-width: 200px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-red);
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.feature-content p {
    font-size: 14px;
    color: var(--medium-gray);
}

/* ========== ADDITIONAL SECTIONS ========== */
.section-spacing {
    margin-bottom: 50px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: white;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red-light);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
}

.service-icon {
    font-size: 48px;
    color: var(--primary-red);
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.service-desc {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 20px;
    min-height: 80px;
}

.service-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 20px;
}

/* Fleet Section */
.fleet-section {
    background: linear-gradient(135deg, var(--primary-red-light) 0%, #fff5f7 100%);
    padding: 40px;
    border-radius: 16px;
    margin: 50px 0;
}

.fleet-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.fleet-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.fleet-icon {
    font-size: 60px;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.fleet-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.fleet-specs {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.fleet-specs li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

/* Emergency Stories */
.stories-section {
    background: var(--dark-gray);
    color: white;
    padding: 40px;
    border-radius: 16px;
    margin: 50px 0;
}

.stories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-red);
}

.story-content {
    font-style: italic;
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.author-info span {
    font-size: 14px;
    color: #ccc;
}

/* Response Time */
.response-section {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 16px;
    border: 3px solid var(--primary-red);
    margin: 50px 0;
}

.response-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.response-time {
    font-size: 72px;
    font-weight: 900;
    color: var(--dark-gray);
    margin-bottom: 10px;
    line-height: 1;
}

.response-subtitle {
    font-size: 18px;
    color: var(--medium-gray);
    margin-bottom: 30px;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
    border: 2px solid var(--border-color);
}

.step-card::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-icon {
    font-size: 40px;
    color: var(--primary-red);
    margin-bottom: 20px;
    margin-top: 10px;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.step-desc {
    font-size: 14px;
    color: var(--medium-gray);
}

/* Coverage Map */
.coverage-section {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 40px;
    margin: 50px 0;
}

.coverage-map {
    height: 300px;
    background: #e0e0e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.map-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--emergency-red);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

.map-marker::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--emergency-red);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

/* Reviews */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    padding: 25px;
    border-radius: 12px;
    background: white;
    border-left: 4px solid var(--primary-red);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-red-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-red);
}

.reviewer-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.reviewer-info span {
    font-size: 14px;
    color: var(--medium-gray);
}

.review-content {
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 15px;
}

/* Contact & Location */
.contact-section {
    background: var(--dark-gray);
    color: white;
    border-radius: 16px;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    font-size: 24px;
    color: var(--primary-red);
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-text p {
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-link {
    color: #ddd !important;
    text-decoration: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--primary-red-light) !important;
}

.contact-link .fa-sm {
    opacity: 0.8;
}

.contact-placeholder {
    color: #888;
}

.social-links {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 12px;
    align-items: center;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--primary-red);
    color: white;
}

.working-hours-widget {
    font-size: 15px;
    color: #ddd;
}

.wh-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 0;
}

.wh-icon {
    font-size: 14px;
    opacity: 0.8;
}

.wh-status {
    font-weight: 500;
    flex: 1;
}

.wh-chevron {
    font-size: 11px;
    opacity: 0.7;
    transition: transform 0.2s;
}

.working-hours-widget:not(.collapsed) .wh-chevron i {
    transform: rotate(180deg);
}

.wh-details {
    margin-top: 8px;
    padding-left: 0;
}

.working-hours-widget.collapsed .wh-details {
    display: none;
}

.wh-details .wh-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 14px;
}

.map-embed-wrapper {
    position: relative;
    height: 300px;
    background: #333;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.map-open-link {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white !important;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.map-open-link:hover {
    background: var(--primary-red);
    color: white !important;
}

.map-container {
    height: 300px;
    background: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 16px;
}

/* Similar Services */
.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.service-card-small {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card-small:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card-image {
    height: 180px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card-small:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 20px;
}

.service-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.service-card-category {
    font-size: 14px;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.service-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 15px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .hero-content {
        gap: 30px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .response-time {
        font-size: 48px;
    }

    .emergency-phone-lg {
        font-size: 24px;
    }

    .fleet-section,
    .stories-section,
    .coverage-section {
        padding: 25px;
    }
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-label {
    font-weight: 600;
    color: var(--medium-gray);
}

.spec-value {
    font-weight: 600;
    color: var(--dark-gray);
}