/* BLUE DIAMOND THEME - MAIN STYLESHEET (Cleaned & No Snow) */

/* 1. ГЛОБАЛНИ ПРОМЕНЛИВИ */
:root {
    --color-bg-page: #f8fafc;       /* Slate 50 */
    --color-text-main: #0f172a;     /* Slate 900 */
    --color-primary: #1e3a8a;       /* Blue 900 */
    --color-primary-light: #3b82f6; /* Blue 500 */
    --color-secondary: #64748b;     /* Slate 500 */
    --color-border: #e2e8f0;        /* Slate 200 */
}

/* 2. ОСНОВНИ НАСТРОЙКИ */
body {
    background-color: var(--color-bg-page) !important;
    font-family: 'Inter', sans-serif;
    color: var(--color-text-main);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif-font {
    font-family: 'Playfair Display', serif; 
}

/* 3. КОМПОНЕНТИ ЗА КАРТИ (PRICING CARDS) */
.pricing-card {
    background-color: #ffffff; 
    border: 2px solid var(--color-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1rem;
    position: relative;
    cursor: pointer;
    z-index: 1;
}

.pricing-card.selected {
    background-color: #eff6ff !important; 
    border-color: #3b82f6 !important;     
    transform: scale(1.03);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.25);
    z-index: 10;
}

.pricing-card:not(.selected):hover {
    background-color: #f1f5f9; 
    border-color: #93c5fd; 
    transform: translateY(-2px);
}

/* 4. ПЛАВАЩ БУТОН ЗА КОЛИЧКА */
.floating-cart-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 8px 16px 8px 8px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

.floating-cart-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.3); 
}

.cart-icon-circle {
    background: var(--color-primary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cart-count-bubble {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* 5. UPSELL OPTIONS */
.upsell-option {
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.upsell-option:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary-light);
}

.service-btn.added {
    background-color: #16a34a; 
    color: white;
    border-color: #16a34a;
}

/* 6. FAQ */
.faq-question {
    cursor: pointer;
    background: white;
    transition: background-color 0.3s ease;
}
.faq-question:hover {
    background-color: #f8fafc;
}
.faq-answer {
    border-top: 1px solid var(--color-border);
}

/* 7. MARQUEE (БЯГАЩА ЛЕНТА) - ВЪЗСТАНОВЕНО */
.marquee-wrapper {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    width: 100%;
}

.marquee-track {
    display: flex;
    width: max-content; /* Важно за да се разпъне текста */
    animation: scroll 40s linear infinite;
}

.marquee-track span {
    padding-right: 4rem; 
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Местим до половината, защото текста е дублиран */
}

/* 8. МОДАЛНИ ПРОЗОРЦИ */
#cart-modal {
    z-index: 10000;
}

/* 9. АНИМАЦИИ */
@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.animate-pulse-custom {
    animation: pulse-blue 2s infinite;
}

/* 10. SCROLL FIXES */
@media (max-width: 768px) {
    :target {
        scroll-margin-top: 100px;
    }
}