﻿/* =========================================
   OFFERS PAGE CUSTOM STYLES
   ========================================= */

:root {
    --primary: #059EFF;
    --secondary: #DEF3FF;
    --text-dark: #000000;
    --text-body: #4a4a4a;
    --bg-light: #F4F9FD;
}

.section-padding { padding: 80px 0; }
.section-padding-bottom { padding-bottom: 80px; }
.text-center { text-align: center; }

/* Global Headings used in Blade */
.sd-heading {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}
.sd-heading span { color: var(--primary); }

.sp-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
}

/* 1. Hero Section - Full Width */
.offers-hero {
    height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}
.offers-hero-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.offers-hero-subtitle {
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

/* 2. Intro Section */
.offers-intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}
.intro-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-body);
}

.experience-badge-mini {
    background: var(--primary);
    color: #fff;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(5, 158, 255, 0.25);
    margin: 0 auto;
    border: 8px solid var(--secondary);
}
.experience-badge-mini strong { font-size: 48px; line-height: 1; }
.experience-badge-mini span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* 3. Offers Grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.offer-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eef2f5;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(5, 158, 255, 0.12);
    border-color: var(--primary);
}

.offer-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.offer-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.offer-card:hover .offer-img-wrapper img { transform: scale(1.1); }

.offer-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
}
.offer-badge {
    background: var(--primary);
    color: #fff;
    padding: 8px 15px;
    font-weight: 800;
    font-size: 18px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.offer-content {
    padding: 30px 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.offer-content h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin: 0 0 15px;
    font-weight: 700;
}
.offer-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.offer-footer {
    border-top: 1px dashed #dcdcdc;
    padding-top: 20px;
    margin-top: auto;
}
.offer-btn {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s;
}
.offer-btn:hover { color: var(--text-dark); }

/* 4. Full Width CTA Section (Matches Service Detail Page) */
.sd-cta-section {
    background-color: var(--secondary);
    width: 100%;
}
.sd-cta-section p {
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.8;
}

/* Responsive Queries */
@media (max-width: 1024px) {
    .offers-grid { grid-template-columns: repeat(2, 1fr); }
    .offers-intro-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .offers-hero { height: 280px; }
    .offers-hero-title { font-size: 38px; }
}

@media (max-width: 767px) {
    .offers-grid { grid-template-columns: 1fr; }
    .offers-hero-title { font-size: 32px; }
    .offers-hero-subtitle { font-size: 16px; }
    .section-padding { padding: 60px 0; }
    .offer-img-wrapper { height: 180px; }
    .sd-heading { font-size: 26px; }
}