/* ============================================
   KLUKVA CAFE - FOOTER STYLES
   Unified Brand Design System
   ============================================ */

:root {
    --footer-bg: #1E1B19;
    --footer-bg-gradient: linear-gradient(135deg, #1E1B19 0%, #2D2926 100%);
    --footer-text: #E8E4E1;
    --footer-text-muted: #A8A29E;
    --footer-text-dim: #78716C;
    --footer-border: rgba(255, 255, 255, 0.08);
    --klukva-primary: #C8102E;
    --klukva-orange: #FF6B35;
    --klukva-gradient: linear-gradient(135deg, #C8102E 0%, #FF6B35 100%);
}

/* ============================================
   &#208;&#382;&#208;&#161;&#208;&#157;&#208;&#382;&#208;’&#208;&#157;&#208;«&#208;• &#208;&#161;&#208;&#162;&#208;&#732;&#208;›&#208;&#732;
   ============================================ */

.site-footer {
    background: var(--footer-bg-gradient);
    color: var(--footer-text);
    padding: 48px 0 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--klukva-gradient);
}

/* &#208;”&#208;µ&#208;&#186;&#208;&#190;&#209;€&#208;°&#209;‚&#208;&#184;&#208;&#178;&#208;&#189;&#209;‹&#208;&#185; &#208;&#179;&#209;€&#208;°&#208;&#180;&#208;&#184;&#208;µ&#208;&#189;&#209;‚&#208;&#189;&#209;‹&#208;&#185; &#208;&#186;&#209;€&#209;&#402;&#208;&#179; */
.site-footer::after {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

@media (min-width: 768px) {
    .site-footer {
        padding: 72px 0 0;
        margin-top: 100px;
    }
}

/* ============================================
   MOBILE LAYOUT
   ============================================ */

.footer-columns {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--footer-border);
    position: relative;
    z-index: 1;
}

.site-footer h3 {
    color: #ffffff;
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.site-footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--klukva-gradient);
    border-radius: 2px;
}

@media (min-width: 768px) {
    .site-footer h3 {
        font-size: 13px;
        margin-bottom: 28px;
    }
}

/* ============================================
   &#208;›&#208;&#382;&#208;“&#208;&#382;&#208;&#162;&#208;&#732;&#208;&#376; &#208;&#732; &#208;&#144;&#208;”&#208; &#208;•&#208;&#161;
   ============================================ */

.logo-and-address {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.logo-wrapper {
    margin-bottom: 0;
}

.site-logo {
    width: 56px;
    height: 56px;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(200, 16, 46, 0.2);
}

@media (min-width: 768px) {
    .site-logo {
        width: 64px;
        height: 64px;
    }
}

.site-logo:hover {
    transform: scale(1.05);
}

.site-title {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 800;
    background: var(--klukva-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

@media (min-width: 768px) {
    .site-title {
        font-size: 26px;
    }
}

.footer-address {
    padding-top: 12px;
    font-style: normal;
    line-height: 1.9;
}

@media (min-width: 768px) {
    .footer-address {
        padding-top: 24px;
    }
}

.address-line {
    color: var(--footer-text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: color 0.3s;
    font-size: 14px;
}

@media (min-width: 768px) {
    .address-line {
        margin-bottom: 14px;
        gap: 14px;
        font-size: 15px;
    }
}

.address-line:hover {
    color: #ffffff;
}

.address-line i {
    background: var(--klukva-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .address-line i {
        font-size: 18px;
    }
}

/* ============================================
   &#208;&#157;&#208;&#144;&#208;’&#208;&#732;&#208;“&#208;&#144;&#208;¦&#208;&#732;&#208;&#175;
   ============================================ */

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
}

@media (min-width: 768px) {
    .footer-nav-list {
        display: block;
    }
}

.footer-nav-list li {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .footer-nav-list li {
        margin-bottom: 14px;
    }
}

.footer-nav-list a {
    color: var(--footer-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

@media (min-width: 768px) {
    .footer-nav-list a {
        font-size: 15px;
        padding: 0;
    }
}

.footer-nav-list a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--klukva-gradient);
    transition: width 0.3s;
    border-radius: 1px;
}

.footer-nav-list a:hover {
    color: #ffffff;
    transform: translateX(8px);
}

.footer-nav-list a:hover::before {
    width: 16px;
}

@media (hover: none) {
    .footer-nav-list a:active {
        color: var(--klukva-primary);
    }
}

/* ============================================
   &#208;&#353;&#208;&#382;&#208;&#157;&#208;&#162;&#208;&#144;&#208;&#353;&#208;&#162;&#208;«
   ============================================ */

.footer-email a,
.footer-phone a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.footer-email {
    margin-bottom: 12px;
}

.footer-phone a {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
}

@media (min-width: 768px) {
    .footer-phone a {
        font-size: 24px;
    }
}

.footer-email a:hover,
.footer-phone a:hover {
    background: var(--klukva-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   &#208;&#157;&#208;&#732;&#208;–&#208;&#157;&#208;&#175;&#208;&#175; &#208;&#376;&#208;&#144;&#208;&#157;&#208;•&#208;›&#208;¬
   ============================================ */

.footer-bottom-bar {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .footer-bottom-bar {
        flex-direction: row;
        justify-content: space-between;
        padding: 28px 0;
        text-align: left;
    }
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

@media (min-width: 768px) {
    .footer-bottom-left {
        flex-direction: row;
        align-items: center;
        gap: 32px;
        font-size: 14px;
    }
}

.copyright {
    color: var(--footer-text-dim);
}

.legal-link,
.footer-legal-link {
    color: var(--footer-text-muted);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.footer-legal-link {
    margin-left: 0;
}



@media (min-width: 768px) {
    .footer-legal-link {
        margin-left: 16px;
    }
}

.legal-link:hover,
.footer-legal-link:hover {
     background: var(--klukva-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   &#208;&#161;&#208;&#382;&#208;¦&#208;&#732;&#208;&#144;&#208;›&#208;¬&#208;&#157;&#208;«&#208;• &#208;&#161;&#208;•&#208;&#162;&#208;&#732;
   ============================================ */

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--footer-text-muted);
    transition: all 0.3s;
    font-size: 20px;
}

@media (min-width: 768px) {
    .social-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }
}

.social-icon:hover {
    background: var(--klukva-gradient);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.3);
}

@media (hover: none) {
    .social-icon:active {
        background: var(--klukva-gradient);
        border-color: transparent;
        color: #ffffff;
        transform: scale(0.95);
    }
}

/* ============================================
   TABLET LAYOUT (768px+)
   ============================================ */

@media (min-width: 768px) {
    .footer-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        padding-bottom: 56px;
    }
    
    .footer-col--details {
        grid-column: 1 / -1;
    }
    
    .logo-and-address {
        flex-direction: row;
        align-items: flex-start;
        gap: 28px;
    }
    
    .footer-address {
        padding-top: 0;
    }
}

/* ============================================
   DESKTOP LAYOUT (992px+)
   ============================================ */

@media (min-width: 992px) {
    .footer-columns {
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 72px;
    }
    
    .footer-col--details {
        grid-column: auto;
    }
    
    .logo-and-address {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-address {
        padding-top: 24px;
    }
}

@supports (padding: max(0px)) {
    .footer-bottom-bar {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-logo,
    .footer-nav-list a,
    .footer-email a,
    .footer-phone a,
    .legal-link,
    .footer-legal-link,
    .social-icon {
        transition: none;
    }
    
    .footer-nav-list a:hover,
    .social-icon:hover {
        transform: none;
    }
}