/* ============================================
   PREMIUM FOOTER - Navy & Amber Theme
   Modern, Professional, Responsive
   ============================================ */

/* ============================================
   BRANCHES SECTION - Above Footer
   ============================================ */

.branches-section {
    background: linear-gradient(180deg, #0f1419 0%, #0a0e1a 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.branches-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(251, 191, 36, 0.2) 50%, transparent 100%);
}

.branches-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.branches-section .footer-branches {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* ============================================
   Footer - En Altta
   ============================================ */

.site-footer {
    background: linear-gradient(180deg, #0a0e1a 0%, #0f1419 100%);
    color: var(--text-secondary, #e5e7eb);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(251, 191, 36, 0.3) 50%, 
        transparent 100%);
}

/* ============================================
   Footer Main Content
   ============================================ */

.footer-main {
    padding: 2.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

/* ============================================
   Footer Columns
   ============================================ */

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.4rem 0;
    letter-spacing: 0.025em;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
}

.footer-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #9ca3af;
    margin: 0;
}

/* ============================================
   Footer Links
   ============================================ */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 0.9rem;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #fbbf24;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.25s ease;
}

.footer-links a:hover {
    color: #fbbf24;
    padding-left: 1.1rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Footer Contact Info
   ============================================ */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-contact p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #9ca3af;
}

.footer-contact strong {
    color: #e5e7eb;
    font-weight: 600;
}

.footer-contact a {
    color: #fbbf24;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-contact a:hover {
    color: #fcd34d;
}

/* ============================================
   Branches Section - Google Maps Integration
   ============================================ */

.footer-branches {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(251, 191, 36, 0.1);
}

.branches-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.branch-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.branch-card:hover {
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 40px rgba(251, 191, 36, 0.1);
    transform: translateY(-4px);
}

.branch-card:hover::before {
    transform: scaleX(1);
}

.branch-header {
    margin-bottom: 1rem;
}

.branch-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fbbf24;
    margin: 0 0 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.branch-name svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.branch-address {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #e5e7eb;
    margin: 0;
}

.branch-map {
    margin: 1rem 0;
    border-radius: 0.6rem;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.2);
    background: #1a1f2e;
    height: 160px;
}

.branch-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.branch-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-directions {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0a0e1a;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0.4rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-directions svg {
    width: 16px;
    height: 16px;
}

.btn-directions:hover {
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
    transform: translateY(-2px);
}

/* ============================================
   Footer Bottom Bar
   ============================================ */

.footer-bottom {
    background: rgba(10, 14, 26, 0.8);
    border-top: 1px solid rgba(251, 191, 36, 0.1);
    padding: 1rem 0;
}

.footer-bottom p {
    margin: 0;
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-grid .footer-col:first-child {
        grid-column: 1 / -1;
    }
    
    .branches-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .footer-grid .footer-col:first-child {
        grid-column: 1;
    }
    
    .branches-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .branch-card {
        padding: 1.5rem;
    }
    
    .branch-name {
        font-size: 1.125rem;
    }
    
    .branch-map {
        height: 180px;
    }
    
    .btn-directions {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-grid {
        gap: 2rem;
    }
    
    .branch-card {
        padding: 1.25rem;
    }
    
    .branch-map {
        height: 160px;
    }
}

/* ============================================
   Container Override for Footer
   ============================================ */

.site-footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .site-footer .container {
        padding: 0 1rem;
    }
}
