/* ========================================
   Purple Giraffe - Reductions Abonnes Page Styles
   Page-specific styles only - common styles are in common.css
   REQUIRES: common.css to be loaded first
   ======================================== */

/* ========================================
   Base Styles and Typography
   ======================================== */
.pg-reduction-page {
    font-family: var(--pg-font-family);
    color: var(--pg-dark-gray);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.pg-reduction-container {
    max-width: var(--pg-container-width);
    margin: 0 auto;
    padding: 0 var(--pg-spacing-md);
}

/* ========================================
   Hero Section
   ======================================== */
.pg-reduction-hero {
    position: relative;
    background-image: url('../images/reduction-abonnes/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--pg-white);
    padding: var(--pg-spacing-xl) 0;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pg-reduction-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.pg-reduction-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.pg-reduction-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--pg-spacing-md);
    line-height: 1.2;
    color: var(--pg-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.pg-reduction-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.95;
    color: var(--pg-white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ========================================
   Main Content Section
   ======================================== */
.pg-reduction-content {
    padding: var(--pg-spacing-xl) 0;
    background-color: var(--pg-white);
}

.pg-reduction-intro {
    font-size: 1.25rem;
    color: var(--pg-black);
    text-align: center;
    margin-bottom: var(--pg-spacing-sm);
}

.pg-reduction-intro-sub {
    font-size: 1.125rem;
    color: var(--pg-dark-gray);
    text-align: center;
    margin-bottom: var(--pg-spacing-lg);
}

/* ========================================
   Category Sections
   ======================================== */
.pg-reduction-category {
    margin-bottom: var(--pg-spacing-lg);
    text-align: center;
}

.pg-reduction-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pg-purple);
    margin-bottom: var(--pg-spacing-sm);
}

.pg-reduction-category-description {
    font-size: 1.125rem;
    color: var(--pg-dark-gray);
    margin-bottom: var(--pg-spacing-xs);
}

.pg-reduction-discount-highlight {
    font-size: 1rem;
    color: var(--pg-dark-gray);
    font-style: italic;
}

/* ========================================
   Discount List
   ======================================== */
.pg-reduction-list {
    list-style: none;
    padding: 0;
    margin: var(--pg-spacing-sm) 0;
    display: inline-block;
    text-align: left;
}

.pg-reduction-list li {
    font-size: 1.125rem;
    padding: var(--pg-spacing-xs) 0;
    color: var(--pg-dark-gray);
}

.pg-reduction-link {
    color: var(--pg-purple);
    text-decoration: none;
    font-weight: 600;
    transition: var(--pg-transition);
}

.pg-reduction-link:hover {
    color: var(--pg-purple-dark);
    text-decoration: underline;
}

.pg-reduction-more {
    font-size: 1rem;
    color: var(--pg-dark-gray);
    font-style: italic;
    margin-top: var(--pg-spacing-sm);
}

/* ========================================
   CTA Section
   ======================================== */
.pg-reduction-cta {
    padding: var(--pg-spacing-lg) 0;
    background: linear-gradient(135deg, var(--pg-black) 0%, var(--pg-purple) 100%);
    color: var(--pg-white);
    text-align: center;
}

.pg-reduction-cta-text {
    font-size: 1.25rem;
    margin-bottom: var(--pg-spacing-md);
    color: var(--pg-white);
}

.pg-reduction-cta-link {
    color: var(--pg-white);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--pg-transition);
}

.pg-reduction-cta-link:hover {
    opacity: 0.8;
}

/* ========================================
   Made in France Section Override
   ======================================== */
.pg-reduction-made-in-france {
    padding: var(--pg-spacing-lg) 0;
    background-color: var(--pg-black);
    color: var(--pg-white);
    text-align: center;
}

.pg-reduction-made-in-france-text,
.pg-reduction-made-in-france-subtext {
    color: var(--pg-white);
}

/* ========================================
   Footer Override
   ======================================== */
.pg-reduction-footer {
    background-color: var(--pg-black);
    color: var(--pg-white);
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablets and smaller */
@media (max-width: 768px) {
    .pg-reduction-hero-title {
        font-size: 2rem;
    }

    .pg-reduction-hero-subtitle {
        font-size: 1.25rem;
    }

    .pg-reduction-hero {
        min-height: 250px;
        padding: var(--pg-spacing-lg) 0;
    }

    .pg-reduction-category-title {
        font-size: 1.25rem;
    }

    .pg-reduction-intro {
        font-size: 1.125rem;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .pg-reduction-hero-title {
        font-size: 1.5rem;
    }

    .pg-reduction-hero-subtitle {
        font-size: 1rem;
    }

    .pg-reduction-hero {
        min-height: 200px;
    }

    .pg-reduction-category-title {
        font-size: 1.125rem;
    }

    .pg-reduction-intro {
        font-size: 1rem;
    }

    .pg-reduction-intro-sub,
    .pg-reduction-category-description,
    .pg-reduction-list li {
        font-size: 1rem;
    }

    .pg-reduction-cta-text {
        font-size: 1rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .pg-reduction-hero,
    .pg-reduction-cta {
        background: var(--pg-white);
        color: var(--pg-black);
    }

    .pg-reduction-hero-overlay {
        display: none;
    }

    .pg-cta-button {
        display: none;
    }
}
