/*
 * specials.css - Premium Website Packages
 *
 * This code is a final, polished version that aligns perfectly with main.css.
 */

/* =======================================================
   Hero Section
   ======================================================= */
.hero-section-specials {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 7rem 0 5rem;
    text-align: center;
}

.hero-section-specials .container {
    /* Correctly applies the fadeInUp animation to the header content */
    animation: fadeInUp 1s ease-out;
}

.hero-section-specials h1.display-4 {
    color: var(--primary-white) !important;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-section-specials p.lead {
    color: var(--primary-white) !important;
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* =======================================================
   Pricing Card Styles
   ======================================================= */
.pricing-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.package-card {
    background-color: var(--primary-white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.package-card.border-primary {
    border-color: var(--primary-red) !important;
    border-width: 2px !important;
}

.package-header {
    background-color: var(--primary-red);
    color: var(--primary-white);
    padding: 3rem 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--dark-red);
    position: relative;
}

.package-header h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.package-header small {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
}

.card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

/* =======================================================
   Feature List and Badge Styles
   ======================================================= */
.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.package-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 28px;
    transition: transform 0.2s ease-in-out;
}

.package-features li:hover {
    transform: scale(1.05);
    color: var(--primary-red);
}

.package-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.2rem;
}

.package-features li.unavailable {
    color: var(--text-color);
    opacity: 0.5;
}

.package-features li.unavailable::before {
    content: '•';
    color: #ccc;
}

.package-features li:last-child {
    border-bottom: none;
}

.badge-popular {
    position: absolute;
    top: 0;
    right: 1.5rem;
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0 0 8px 8px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* =======================================================
   Modal Styles
   ======================================================= */
.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    background-color: var(--primary-red) !important;
    border-bottom: none;
    color: var(--primary-white);
    border-radius: 12px 12px 0 0;
}

.modal-title {
    font-weight: 600;
}

.btn-close-white {
    filter: invert(1);
    opacity: 1;
}

.alert-info {
    background-color: var(--primary-yellow);
    border-color: #ffb703;
    color: var(--text-color);
    font-weight: 600;
}

/* =======================================================
   Animations
   ======================================================= */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
