/* Packages section styles */

.packages {
    padding: 80px 0;
}

.pack {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#pkg {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

#pkgp {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 50px;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.packagesGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.packageCard {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.packageCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.packageCard.featured {
    border-color: #007bff;
    transform: scale(1.05);
}

.featuredBadge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.packageName {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.packagePrice {
    font-size: 3rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 15px;
}

.packageDescription {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.packageFeatures {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.packageFeatures li {
    padding: 8px 0;
    color: #555;
    font-size: 1rem;
}

.packageBtn {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
    width: 100%;
    text-align: center;
}

.packageBtn:hover {
    background: #0056b3;
}

.packageCard.featured .packageBtn {
    background: #28a745;
}

.packageCard.featured .packageBtn:hover {
    background: #1e7e34;
}

.customPackage {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
}

.customPackage h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.customPackage p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.customBtn {
    display: inline-block;
    background: #6c757d;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.customBtn:hover {
    background: #545b62;
}

/* Dark theme adjustments */
body[style*="rgb(40, 40, 40)"] .packageCard {
    background: rgb(60, 60, 60);
    color: white;
}

body[style*="rgb(40, 40, 40)"] .packageName {
    color: white;
}

body[style*="rgb(40, 40, 40)"] .packageDescription {
    color: #ccc;
}

body[style*="rgb(40, 40, 40)"] .packageFeatures li {
    color: #bbb;
}

body[style*="rgb(40, 40, 40)"] .customPackage {
    background: rgb(50, 50, 50);
}

body[style*="rgb(40, 40, 40)"] .customPackage h2 {
    color: white;
}

body[style*="rgb(40, 40, 40)"] .customPackage p {
    color: #ccc;
}

/* Mobile styles */
@media (max-width: 768px) {
    .packages {
        padding: 40px 0;
    }
    
    #pkg {
        font-size: 2rem;
    }
    
    #pkgp {
        font-size: 1rem;
    }
    
    .packagesGrid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .packageCard {
        padding: 30px 20px;
    }
    
    .packageCard.featured {
        transform: none;
    }
    
    .packagePrice {
        font-size: 2.5rem;
    }
    
    .customPackage {
        padding: 30px 20px;
    }
}