/**
 * AGB (Terms & Conditions) Page - Elementor Migration Styles
 *
 * All classes prefixed with agb- to avoid conflicts.
 * Loaded via functions.php when Elementor is active on the AGB page.
 *
 * @package Tecoil
 */

/* =====================================================
   Hero Section
   ===================================================== */

/* Hero badge */
.agb-hero-badge {
    display: inline-block;
    background: rgba(253, 195, 0, 0.15);
    color: var(--brand-yellow);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(253, 195, 0, 0.3);
}

/* Hero title – gradient text matching original .hero-legal .title-yellow */
.tecoil-agb-hero-title h1.elementor-heading-title {
    background: linear-gradient(135deg, #fdc300 0%, #ffdb4d 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-family: "Arial Black", "Arial Bold", Arial, sans-serif !important;
    font-style: italic !important;
    font-weight: 900 !important;
    font-size: 3.5rem !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
}

/* Hero subtitle */
.tecoil-agb-hero-subtitle .elementor-widget-container p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
    max-width: 700px;
}

/* =====================================================
   Content Section
   ===================================================== */

/* Section title */
.tecoil-agb-section-title h2.elementor-heading-title {
    color: var(--brand-blue) !important;
    font-family: "Arial Black", "Arial Bold", Arial, sans-serif !important;
    font-style: italic !important;
    font-weight: 900 !important;
    font-size: 2.5rem !important;
    margin-bottom: 15px !important;
}

/* Section subtitle */
.tecoil-agb-section-subtitle .elementor-widget-container p {
    color: var(--muted) !important;
    font-size: 1.1rem !important;
    margin-bottom: 40px !important;
}

/* Legal content wrapper – matching original .legal-content box */
.agb-content {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: left;
}

.agb-content p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 1rem;
}

.agb-content a {
    color: var(--brand-blue);
    text-decoration: underline;
}

.agb-content a:hover {
    color: var(--brand-yellow);
}

/* Section headings (§ paragraphs) */
.agb-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-yellow);
    color: var(--brand-blue);
    font-family: "Arial Black", Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
}

.agb-content h2:first-of-type {
    margin-top: 30px;
}

/* Highlight box (Stand / scope) */
.agb-highlight-box {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #0c3458 100%);
    color: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.agb-highlight-box p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9) !important;
}

.agb-highlight-box p:last-child {
    margin-bottom: 0;
}

.agb-highlight-box strong {
    color: var(--brand-yellow);
}

/* Contact box */
.agb-contact-box {
    background: var(--surface);
    padding: 25px 30px;
    border-radius: 12px;
    border-left: 4px solid var(--brand-yellow);
    margin-top: 40px;
}

.agb-contact-box p {
    margin-bottom: 8px;
    color: var(--text) !important;
}

.agb-contact-box p:last-child {
    margin-bottom: 0;
}

/* Legal date */
.agb-legal-date {
    margin-top: 40px;
    text-align: right;
    color: var(--muted) !important;
}

/* =====================================================
   Responsive: 1024px
   ===================================================== */
@media (max-width: 1024px) {
    .tecoil-agb-hero-title h1.elementor-heading-title {
        font-size: 2.5rem !important;
    }

    .tecoil-agb-section-title h2.elementor-heading-title {
        font-size: 2rem !important;
    }
}

/* =====================================================
   Responsive: 768px
   ===================================================== */
@media (max-width: 768px) {
    .tecoil-agb-hero-title h1.elementor-heading-title {
        font-size: 2rem !important;
    }

    .tecoil-agb-hero-subtitle .elementor-widget-container p {
        font-size: 1.05rem !important;
    }

    .tecoil-agb-section-title h2.elementor-heading-title {
        font-size: 1.8rem !important;
    }

    .agb-content h2 {
        font-size: 1.15rem;
    }

    .agb-content {
        padding: 40px 30px;
    }

    .agb-highlight-box {
        padding: 20px;
    }

    .agb-contact-box {
        padding: 20px;
    }
}

/* =====================================================
   Responsive: 480px
   ===================================================== */
@media (max-width: 480px) {
    .tecoil-agb-hero-title h1.elementor-heading-title {
        font-size: 1.6rem !important;
    }

    .tecoil-agb-hero-subtitle .elementor-widget-container p {
        font-size: 1rem !important;
    }

    .tecoil-agb-section-title h2.elementor-heading-title {
        font-size: 1.5rem !important;
    }

    .agb-content h2 {
        font-size: 1.1rem;
        margin-top: 30px;
    }

    .agb-content {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .agb-highlight-box {
        padding: 15px;
        border-radius: 8px;
    }

    .agb-contact-box {
        padding: 15px;
        border-radius: 8px;
    }

    .agb-hero-badge {
        font-size: 0.8rem;
        padding: 6px 18px;
    }
}
