/**
 * PyziTheme - offer.css (pyzitheme/assets/css/offer.css)
 * 
 * Styl dla /oferta-cukierni
 *
 * @package     PyziTheme
 * @subpackage  Assets/CSS
 * @author      Patryk Kowalski <p.kowalski@kamikstudio.pl>
 * @copyright   2025 KamikStudio & PyziPyzi
 * @license     Proprietary
 * @version     1.0.0
 * @since       1.0.0
 * 
 * Client: PyziPyzi - Domowe wyroby cukiernicze
 * Website: https://pyzipyzi.pl
 * 
 * This file is part of PyziTheme.
 * Unauthorized copying or distribution is prohibited.
 */

 /* =============================================
   OFERTA CUKIERNI
   ============================================= */

.offer-page {
    min-height: 80vh;
    background: linear-gradient(135deg, #f5f0e8 0%, #faf7f0 100%);
    padding: 60px 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.offer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* === NAGŁÓWEK === */
.offer-header {
    text-align: center;
    margin-bottom: 60px;
}

.offer-title {
    font-size: 48px;
    font-weight: 700;
    color: #5e341c;
    margin-bottom: 20px;
    line-height: 1.2;
}

.offer-lead {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* === SEKCJE === */
.offer-section,
.download-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #5e341c;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-icon {
    font-size: 40px;
}

.section-description {
    text-align: center;
    font-size: 16px;
    color: #999;
    margin-bottom: 40px;
}

/* === GRID OFERT === */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.offer-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.offer-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ef6341 0%, #d55431 100%);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.offer-card:hover::before {
    transform: scaleX(1);
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.offer-card-icon {
    font-size: 70px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.offer-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #5e341c;
    margin-bottom: 15px;
    line-height: 1.3;
}

.offer-card-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 48px;
    flex-grow: 1;
}

.offer-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #ef6341;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    margin-top: auto;
}

.offer-card-btn:hover {
    background: #d55431;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(239,99,65,0.4);
}

.offer-card-btn svg {
    fill: currentColor;
}

/* === GRID PLIKÓW DO POBRANIA === */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.download-card {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.download-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.download-title {
    font-size: 19px;
    font-weight: 700;
    color: #5e341c;
    margin-bottom: 12px;
}

.download-description {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 38px;
}

.download-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.download-badge.coming-soon {
    background: #FFD700;
    color: #5e341c;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #5e341c;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.download-btn:hover {
    background: #4a2814;
    transform: scale(1.05);
}

.download-btn svg {
    fill: currentColor;
}

.download-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

/* === CTA === */
.offer-cta {
    background: linear-gradient(135deg, #ef6341 0%, #d55431 100%);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(239,99,65,0.3);
}

.cta-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}

.cta-btn.primary {
    background: white;
    color: #ef6341;
}

.cta-btn.primary:hover {
    background: #f5f0e8;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: #ef6341;
    transform: translateY(-3px);
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 1024px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .offer-page {
        padding: 40px 15px;
    }

    .offer-title {
        font-size: 36px;
    }

    .offer-lead {
        font-size: 17px;
    }

    .section-title {
        font-size: 26px;
        flex-direction: column;
        gap: 10px;
    }

    .offer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .download-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .offer-card {
        padding: 30px 25px;
    }

    .download-card {
        padding: 25px 20px;
    }

    .cta-content h3 {
        font-size: 26px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .offer-title {
        font-size: 28px;
    }

    .offer-lead {
        font-size: 15px;
    }

    .section-icon {
        font-size: 32px;
    }

    .offer-card-icon {
        font-size: 60px;
    }

    .download-icon {
        font-size: 45px;
    }

    .offer-cta {
        padding: 35px 25px;
    }

    .cta-content h3 {
        font-size: 22px;
    }
}

/* === PRINT === */
@media print {
    .offer-card-btn,
    .download-btn,
    .offer-cta {
        display: none;
    }

    .offer-page {
        background: white;
    }

    .offer-card,
    .download-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}