/* Footer Styles */
.footer {
    background: #2c2b2b;
    padding: 80px 0 60px;
    color: white;
}

/* Main Footer Container */
.footer-main-container {
    max-width: 1412px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    gap: 40px;
}

/* Content Section */
.footer-content-section {
    display: flex;
    flex-direction: column;
    gap: 60px;
    flex: 1;
    max-width: 1112px;
}

/* Upper Section - Navigation + QR */
.footer-upper-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-logo-img {
    width: 120px;
    height: auto;
}

/* Navigation Block */
.footer-navigation-block {
    display: flex;
    gap: 140px;
    flex: 1;
    justify-content: left;
}

/* Individual Column */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

/* Footer Links Container */
.footer-links {
    margin-bottom: 100px;
}

/* Lower Section - Text + Form */
.footer-lower-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    overflow: hidden;
}

.footer-nav-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: white;
    margin: 0;
}

.footer-nav-link {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav-link:hover {
    color: #ff0099;
}

/* QR Code */
.footer-qr-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

/* Footer contact links */
.footer-contact-link {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.footer-contact-link:hover {
    transform: translateY(-1px);
}

.footer-contact-link:hover .footer-contact-text {
    color: #FF0099;
}

/* Footer logo link */
.footer-logo-link {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-logo-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-contact-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-contact-text {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: white;
    white-space: nowrap;
}

.footer-contact-link {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: #ff0099;
}

/* Text Block */
.footer-text-block {
    flex: 1;
    max-width: 500px;
    text-align: left;
    padding-right: 60px;
}

/* Form Block */
.footer-form-block {
    flex-shrink: 0;
}

.footer-cta-text {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #ff0099;
    margin-bottom: 16px;
    line-height: 1.4;
}

.footer-instagram-text {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: white;
    margin-bottom: 32px;
    line-height: 1.5;
}

.footer-instagram-link {
    color: #ff0099;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-instagram-link:hover {
    color: #e6007a;
}

/* Contact Form */
.footer-contact-form {
    position: relative;
    width: 509px;
    height: 73px;
    flex-shrink: 0;
    background: white;
    border-radius: 36.5px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-phone-input {
    width: 100%;
    height: 100%;
    padding: 0 200px 0 24px;
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 16px;
    border: none;
    border-radius: 36.5px;
    background: transparent;
    color: #2c2b2b;
    outline: none;
    box-sizing: border-box;
}

.footer-phone-input::placeholder {
    color: #999;
    font-weight: 400;
}

.footer-submit-btn {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 180px;
    height: 67px;
    flex-shrink: 0;
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: white;
    background: #ff0099;
    border: none;
    border-radius: 33.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-submit-btn:hover {
    background: #e6007a;
}

.footer-submit-btn:disabled {
    background: #666 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Mobile Footer Styles */
.footer-mobile {
    display: none;
    background: #2c2b2b;
    padding: 60px 0 40px;
    color: white;
}

.footer-mobile-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: center;
    gap: 40px;
}

.footer-mobile-logo {
    text-align: center;
}

.footer-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.footer-mobile-link {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-mobile-link:hover {
    color: #ff0099;
}

.footer-mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.footer-mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-mobile-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.footer-mobile-contact-link:hover {
    color: #ff0099;
}

.footer-mobile-text {
    text-align: center;
    max-width: 300px;
}

.footer-mobile-cta-text {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ff0099;
    margin-bottom: 16px;
    line-height: 1.4;
}

.footer-mobile-instagram-text {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: white;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-navigation-block {
        gap: 60px;
    }
}

/* Tablet (768px - 1024px) - мобильный футер с улучшенным лайаутом */
@media (max-width: 1024px) {
    /* Hide desktop footer */
    .footer {
        display: none;
    }
    
    /* Show tablet footer with improved layout */
    .footer-mobile {
        display: block;
        background: #2c2b2b;
        padding: 70px 0 50px;
        color: white;
    }
    
    .footer-mobile-container {
        max-width: 700px;
        margin: 0 auto;
        padding: 0 50px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
            "logo logo"
            "nav contacts"
            "text text";
        gap: 40px 60px;
        text-align: left;
    }
    
    .footer-mobile-logo {
        grid-area: logo;
        text-align: center;
        align-self: center;
        margin-bottom: 20px;
    }
    
    .footer-mobile-nav {
        grid-area: nav;
        display: flex;
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
    }
    
    .footer-mobile-link {
        font-family: 'Montserrat Alternates', sans-serif;
        font-size: 18px;
        font-weight: 400;
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .footer-mobile-link:hover {
        color: #ff0099;
    }
    
    .footer-mobile-contacts {
        grid-area: contacts;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .footer-mobile-contact-item {
        display: flex;
        align-items: center;
        gap: 14px;
    }
    
    .footer-mobile-contact-link {
        display: flex;
        align-items: center;
        gap: 14px;
        text-decoration: none;
        color: inherit;
        transition: color 0.3s ease;
    }
    
    .footer-mobile-contact-link:hover {
        color: #ff0099;
    }
    
    .footer-contact-text {
        font-size: 16px;
    }
    
    .footer-mobile-text {
        grid-area: text;
        text-align: center;
        max-width: none;
        margin-top: 20px;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .footer-mobile-cta-text {
        font-family: 'Montserrat Alternates', sans-serif;
        font-size: 20px;
        font-weight: 500;
        color: #ff0099;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .footer-mobile-instagram-text {
        font-family: 'Montserrat Alternates', sans-serif;
        font-size: 18px;
        font-weight: 400;
        color: white;
        line-height: 1.5;
        margin: 0;
    }
}

@media (max-width: 768px) {
    /* Hide desktop footer */
    .footer {
        display: none;
    }
    
    /* Show mobile footer */
    .footer-mobile {
        display: block;
    }
}

@media (max-width: 480px) {
    /* Hide desktop footer */
    .footer {
        display: none;
    }
    
    /* Show mobile footer with vertical layout */
    .footer-mobile {
        display: block;
        padding: 40px 0 30px;
    }
    
    .footer-mobile-container {
        max-width: none;
        margin: 0 auto;
        padding: 0 16px;
        display: flex;
        flex-direction: column;
        gap: 48px;
        text-align: center;
        align-items: center;
    }
    
    .footer-mobile-logo {
        order: 1;
        margin-bottom: 0;
    }
    
    .footer-mobile-nav {
        order: 2;
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .footer-mobile-contacts {
        order: 3;
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .footer-mobile-text {
        order: 4;
        text-align: center;
        max-width: none;
        margin-top: 0;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .footer-mobile-link {
        font-size: 16px;
        font-weight: 400;
    }
    
    .footer-contact-text {
        font-size: 14px;
    }
    
    .footer-mobile-cta-text {
        font-size: 16px;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .footer-mobile-instagram-text {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .footer-mobile-contact-item {
        display: flex;
        align-items: center;
        gap: 12px;
        justify-content: center;
    }
    
    .footer-mobile-contact-link {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        color: inherit;
        transition: color 0.3s ease;
    }
} 