/* Стилі для десктопного футера */

.footer-main {
    background: #2c2c2c;
    color: #fff;
    padding: 50px 0 30px;
}

/* Забезпечуємо 4-колонкове розташування для desktop */
@media (min-width: 992px) {
    .footer-main .row {
        display: flex;
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #e91e63;
    transform: translateX(3px);
}

/* Контакти */
.footer-contact {
    color: #ccc;
}

.footer-phone,
.footer-email {
    margin-bottom: 10px;
    font-size: 1rem;
}

.footer-phone strong {
    color: #fff;
    font-size: 1.1rem;
}

.footer-email {
    color: #e91e63;
}

.footer-schedule {
    margin-top: 20px;
}

.footer-schedule p {
    margin-bottom: 6px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-schedule strong {
    color: #fff;
}

/* Соціальні мережі */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    background: #3a3a3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social .social-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.footer-social .social-icon:hover {
    background: #e91e63;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

/* Форма підписки */
.footer-subscribe-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.5;
}

.footer-subscribe-form .form-group {
    margin-bottom: 15px;
}

.footer-subscribe-form .form-control {
    width: 100%;
    padding: 12px 15px;
    background: #3a3a3a;
    border: 1px solid #4a4a4a;
    border-radius: 6px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-subscribe-form .form-control:focus {
    outline: none;
    border-color: #e91e63;
    background: #404040;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.footer-subscribe-form .form-control::placeholder {
    color: #999;
}

.footer-subscribe-form .form-privacy {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-subscribe-form .form-privacy input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #e91e63;
}

.footer-subscribe-form .form-privacy label {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.5;
    cursor: pointer;
}

.footer-subscribe-form .form-privacy a {
    color: #e91e63;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-subscribe-form .form-privacy a:hover {
    color: #ff4081;
    text-decoration: underline;
}

.footer-subscribe-form .btn-subscribe {
    width: 100%;
    padding: 12px 20px;
    background: #e91e63;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-subscribe-form .btn-subscribe:hover {
    color: #fff;
    background: #c2185b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    background: #1a1a1a;
    padding: 20px 0;
    border-top: 1px solid #3a3a3a;
}

/* Забезпечуємо два стовпчики для desktop */
@media (min-width: 768px) {
    .footer-bottom .row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-bottom .col-md-6:first-child {
        text-align: left;
    }
    
    .footer-bottom .col-md-6:last-child {
        text-align: right;
    }
}

.footer-bottom .copyright {
    margin: 0;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-bottom .footer-dev {
    margin: 0;
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom .dev-link {
    color: #e91e63;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-bottom .dev-link:hover {
    color: #ff4081;
    text-decoration: underline;
}

/* Адаптивність */
@media (max-width: 992px) {
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
    
    .footer-social {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 30px 0 20px;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-social {
        gap: 12px;
        margin-top: 15px;
    }
    
    .footer-social .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .footer-social .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .footer-bottom {
        padding: 15px 0;
        text-align: center;
    }
    
    .footer-bottom .col-md-6 {
        text-align: center;
    }
    
    .footer-bottom .copyright,
    .footer-bottom .footer-dev {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 25px 0 15px;
    }
    
    .footer-section {
        margin-bottom: 25px;
    }
    
    .footer-subscribe-text {
        font-size: 0.85rem;
    }
    
    .footer-subscribe-form .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .footer-subscribe-form .btn-subscribe {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
    
    .footer-bottom .copyright,
    .footer-bottom .footer-dev {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
}

/* Анімації */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeIn 0.5s ease forwards;
}

.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-section:nth-child(4) {
    animation-delay: 0.4s;
}

/* Специфічні стилі для iOS Safari */
@supports (-webkit-touch-callout: none) {
    .footer-social .social-icon {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .footer-social .social-icon:hover {
        -webkit-transform: translateY(-3px) translateZ(0);
        transform: translateY(-3px) translateZ(0);
    }
    
    .footer-subscribe-form .btn-subscribe:hover {
        -webkit-transform: translateY(-2px) translateZ(0);
        transform: translateY(-2px) translateZ(0);
    }
}


/* Subscribe message - hidden by default, shown by JS */
.subscribe-message {
    display: none;
    margin-top: 10px;
}
