/* Trust Bar */
.trust-bar {
    background: #FFC107;
    color: #004225;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Main Header */
.main-header {
    background: #004225;
    color: white;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    cursor: pointer;
}

.tagline {
    font-size: 14px;
    color: #FFC107;
    font-weight: 500;
}

.nav-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

.urgency-badge {
    background: #D6006C;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    animation: pulse 2s infinite;
}

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

.header-cta {
    background: #FFC107;
    color: #004225;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,193,7,0.4);
}

.social-header {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #FFC107;
    color: #004225;
    transform: translateY(-2px);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.whatsapp-float::after {
    content: 'Chatta con noi!';
    position: absolute;
    right: 70px;
    background: #004225;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover::after {
    opacity: 1;
}

/* Live visitors */
.live-visitors {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFC107;
    font-size: 13px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #FF4444;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Footer */
footer {
    background: #004225;
    color: white;
    margin-top: 50px;
}

.footer-top {
    background: #D6006C;
    padding: 30px 20px;
}

.footer-newsletter {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-newsletter h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

.footer-newsletter p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
}

.newsletter-btn {
    background: #FFC107;
    color: #004225;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.footer-main {
    padding: 40px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: #FFC107;
    margin-bottom: 20px;
    font-size: 18px;
}

.guarantee-item {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
}

.guarantee-icon {
    color: #FFC107;
    font-size: 20px;
    min-width: 24px;
}

.quick-faq {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.quick-faq h5 {
    color: #FFC107;
    margin-bottom: 8px;
    font-size: 14px;
}

.quick-faq p {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    line-height: 1.5;
}

.contact-info {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
}

.contact-info a {
    color: #FFC107;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-footer {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-footer a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-footer a:hover {
    background: #FFC107;
    color: #004225;
    transform: translateY(-3px);
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.instagram-post {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.instagram-post:hover {
    transform: scale(1.05);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-bottom a {
    color: #FFC107;
    text-decoration: none;
    margin: 0 10px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .trust-bar {
        font-size: 11px;
        padding: 6px 10px;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .logo {
        height: 40px;
    }

    .tagline {
        display: none;
    }

    .urgency-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .live-visitors {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-footer, .social-header {
        justify-content: center;
    }

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

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float::after {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }
}

/* Navigation Bar */
.navigation-bar {
    background: #004225;
    padding: 12px 0;
    border-bottom: 2px solid #FFC107;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 193, 7, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .nav-content {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.9em;
        padding: 6px 12px;
    }
}

/* --- Black Friday Modal Styles --- */

/* Фон с затемнением и блюром */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 66, 37, 0.6); /* Темно-зеленый полупрозрачный */
    backdrop-filter: blur(8px); /* Эффект размытия контента сзади */
    -webkit-backdrop-filter: blur(8px); /* Для Safari */
    z-index: 9999; /* Поверх всего */
    display: none; /* Скрыто по умолчанию */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Состояние видимости */
.modal-overlay.show {
    display: flex;
    opacity: 1;
}

/* Контейнер окна */
.modal-container {
    background: #004225; /* Основной зеленый */
    border: 2px solid #FFC107; /* Основной желтый */
    width: 90%;
    max-width: 450px;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    text-align: center;
    color: white;
    transform: scale(0.7);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.show .modal-container {
    transform: scale(1);
}

/* Кнопка закрытия (крестик) */
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #FFC107;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}

.modal-close:hover {
    transform: rotate(90deg);
    color: white;
}

/* Текстовые стили */
.modal-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-subtitle {
    font-size: 18px;
    color: #FFC107;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Круг со скидкой */
.modal-discount {
    background: #D6006C; /* Розовый акцентный цвет */
    color: white;
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(214, 0, 108, 0.5);
    animation: pulse-discount 2s infinite;
}

.modal-text {
    font-size: 14px;
    margin-bottom: 25px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

/* Кнопка действия */
.modal-cta {
    display: inline-block;
    background: #FFC107;
    color: #004225;
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.modal-cta:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,193,7,0.4);
}

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