/**
 * PREMIUM DUAL-DESTINATION FOOTER - Sandrian Ceylon
 * Version: 16.1.0 - FIXED: No Header Conflicts + Better Contrast
 * 
 * ALL SELECTORS SCOPED TO .footer-premium TO PREVENT HEADER OVERRIDE
 */

/* ==================== PREMIUM TOP BORDER ==================== */
.footer-premium-border {
    height: 5px;
    background: linear-gradient(90deg, 
        var(--accent-golden, #f68712) 0%, 
        var(--accent-golden-light, #ff9e3d) 50%, 
        var(--accent-golden, #f68712) 100%);
    box-shadow: 0 2px 10px rgba(246, 135, 18, 0.3);
    position: relative;
    z-index: 100;
}

/* ==================== FOOTER CONTAINER ==================== */
.footer-premium {
    position: relative;
    z-index: 99;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    margin-top: 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
}

/* ==================== LIGHT ELEGANT MAIN SECTION ==================== */
.footer-premium .footer-main-light {
    background: linear-gradient(135deg, 
        #FFFFFF 0%, 
        #F8F9FA 50%, 
        #F5F6F7 100%);
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-premium .footer-main-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(246, 135, 18, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(44, 56, 146, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.footer-premium .footer-content-row {
    position: relative;
    z-index: 2;
}

/* ==================== COMPANY BRAND SECTION ==================== */
.footer-premium .footer-brand-section {
    text-align: center;
}

.footer-premium .footer-logo-wrapper {
    margin-bottom: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(246, 135, 18, 0.1);
}

.footer-premium .footer-logo {
    max-height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.footer-premium .footer-logo:hover {
    transform: scale(1.05);
}

.footer-premium .footer-tagline {
    color: var(--primary-ocean-blue, #2c3892);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

/* ==================== TRUST STATS BOX ==================== */
.footer-premium .footer-stats-box {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(246, 135, 18, 0.15);
}

.footer-premium .stat-item {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
}

.footer-premium .stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-golden, #f68712);
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.footer-premium .stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--primary-ocean-blue, #2c3892);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* ==================== SOCIAL MEDIA SECTION ==================== */
.footer-premium .footer-social-section {
    margin-top: 1.5rem;
}

.footer-premium .footer-social-heading {
    color: var(--primary-ocean-blue, #2c3892);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.footer-premium .social-icons-row {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-premium .social-icon-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        var(--primary-ocean-blue, #2c3892) 0%, 
        var(--primary-ocean-blue-light, #3d4ba3) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(44, 56, 146, 0.25);
    border: 2px solid transparent;
}

.footer-premium .social-icon-link:hover {
    background: linear-gradient(135deg, 
        var(--accent-golden, #f68712) 0%, 
        var(--accent-golden-light, #ff9e3d) 100%);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 6px 20px rgba(246, 135, 18, 0.4);
    border-color: var(--accent-golden, #f68712);
    color: white;
}

/* ==================== FOOTER HEADINGS ==================== */
.footer-premium .footer-heading {
    color: var(--primary-ocean-blue, #2c3892);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
    text-align: left;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-premium .footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-golden, #f68712);
    border-radius: 2px;
}

.footer-premium .footer-heading i {
    color: var(--accent-golden, #f68712);
    font-size: 1rem;
}

/* ==================== QUICK LINKS ==================== */
.footer-premium .footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-premium .footer-nav-list li {
    margin-bottom: 0.65rem;
}

.footer-premium .footer-nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--elegant-gray-700, #616161);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
}

.footer-premium .footer-nav-link i {
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
    color: var(--accent-golden, #f68712);
    transition: all 0.3s ease;
}

.footer-premium .footer-nav-link:hover {
    color: var(--accent-golden, #f68712);
    text-decoration: none;
    transform: translateX(6px);
    background: rgba(246, 135, 18, 0.08);
}

.footer-premium .footer-nav-link:hover i {
    transform: scale(1.15);
}

/* ==================== OFFICE CONTACT INFORMATION ==================== */
.footer-premium .office-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-premium .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(44, 56, 146, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.footer-premium .contact-item:hover {
    background: linear-gradient(135deg, 
        rgba(246, 135, 18, 0.03) 0%, 
        rgba(44, 56, 146, 0.03) 100%);
    border-color: var(--accent-golden, #f68712);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(246, 135, 18, 0.15);
}

.footer-premium .contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: linear-gradient(135deg, 
        var(--accent-golden, #f68712) 0%, 
        var(--accent-golden-light, #ff9e3d) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(246, 135, 18, 0.3);
}

.footer-premium .contact-icon i {
    display: block;
    line-height: 1;
}

.footer-premium .contact-details {
    flex: 1;
    min-width: 0;
}

.footer-premium .contact-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-golden, #f68712);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-premium .contact-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--elegant-gray-700, #616161);
    line-height: 1.5;
}

.footer-premium .contact-value-link {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-ocean-blue, #2c3892);
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.footer-premium .contact-value-link:hover {
    color: var(--accent-golden, #f68712);
    text-decoration: underline;
}

/* ==================== 24/7 SUPPORT HIGHLIGHT BOX ==================== */
.footer-premium .support-highlight-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, 
        var(--accent-golden, #f68712) 0%, 
        var(--accent-golden-light, #ff9e3d) 100%);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(246, 135, 18, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.footer-premium .support-icon-wrapper {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-golden, #f68712);
    font-size: 1.4rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.footer-premium .support-text {
    flex: 1;
}

.footer-premium .support-label {
    display: block;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.footer-premium .support-phone {
    display: block;
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-premium .support-phone:hover {
    color: var(--primary-ocean-blue, #2c3892);
    transform: scale(1.05);
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* ==================== NAVY BLUE COPYRIGHT SECTION - FIXED CONTRAST ==================== */
.footer-premium .footer-copyright-navy {
    background: linear-gradient(135deg, 
        var(--primary-ocean-blue, #2c3892) 0%, 
        var(--primary-ocean-blue-light, #3d4ba3) 100%);
    padding: 1.25rem 0;
    border-top: 3px solid var(--accent-golden, #f68712);
    position: relative;
}

.footer-premium .footer-copyright-navy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(246, 135, 18, 0.5) 50%, 
        transparent 100%);
}

.footer-premium .copyright-text {
    color: #FFFFFF !important;
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
    text-align: left;
}

.footer-premium .copyright-year {
    font-weight: 700;
    color: #FFFFFF !important;
}

.footer-premium .website-link {
    color: var(--accent-golden, #f68712) !important;
    text-decoration: none;
    font-weight: 700;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.footer-premium .website-link:hover {
    color: var(--accent-golden-light, #ff9e3d) !important;
    text-decoration: underline;
}

.footer-premium .legal-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-premium .legal-link {
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-premium .legal-link:hover {
    color: var(--accent-golden, #f68712) !important;
    text-decoration: underline;
}

.footer-premium .separator {
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 300;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 991px) {
    .footer-premium .footer-main-light {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-premium .footer-heading {
        font-size: 1.05rem;
        margin-bottom: 1rem;
    }
    
    .footer-premium .footer-content-row > div {
        margin-bottom: 2rem;
    }
    
    .footer-premium .footer-brand-section {
        text-align: center;
    }
    
    .footer-premium .social-icons-row {
        justify-content: center;
    }
    
    .footer-premium .legal-links {
        justify-content: center;
        margin-top: 0.75rem;
    }
    
    .footer-premium .copyright-text {
        text-align: center;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 767px) {
    .footer-premium .footer-main-light {
        padding: 2rem 0 1rem;
    }
    
    .footer-premium .footer-logo {
        max-height: 50px;
    }
    
    .footer-premium .footer-heading {
        font-size: 1rem;
        text-align: center;
        justify-content: center;
    }
    
    .footer-premium .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-premium .footer-nav-list {
        text-align: center;
    }
    
    .footer-premium .footer-nav-link {
        justify-content: center;
    }
    
    .footer-premium .stat-number {
        font-size: 1.2rem;
    }
    
    .footer-premium .stat-label {
        font-size: 0.65rem;
    }
    
    .footer-premium .social-icon-link {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }
}

@media (max-width: 575px) {
    .footer-premium .footer-stats-box {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-premium .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem;
        background: rgba(246, 135, 18, 0.05);
        border-radius: 6px;
    }
    
    .footer-premium .stat-number {
        font-size: 1.3rem;
    }
    
    .footer-premium .stat-label {
        font-size: 0.75rem;
        text-align: right;
    }
    
    .footer-premium .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-premium .separator {
        display: none;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes footerSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-premium {
    animation: footerSlideUp 0.6s ease-out;
}

.footer-premium .footer-content-row > * {
    animation: footerSlideUp 0.8s ease-out;
    animation-fill-mode: both;
}

.footer-premium .footer-content-row > *:nth-child(1) { animation-delay: 0.1s; }
.footer-premium .footer-content-row > *:nth-child(2) { animation-delay: 0.2s; }
.footer-premium .footer-content-row > *:nth-child(3) { animation-delay: 0.3s; }
.footer-premium .footer-content-row > *:nth-child(4) { animation-delay: 0.4s; }

/* ==================== ACCESSIBILITY ==================== */
.footer-premium .footer-nav-link:focus,
.footer-premium .social-icon-link:focus,
.footer-premium .legal-link:focus,
.footer-premium .contact-value-link:focus,
.footer-premium .support-phone:focus,
.footer-premium .website-link:focus {
    outline: 3px solid var(--accent-golden, #f68712);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .footer-premium,
    .footer-premium .footer-content-row > *,
    .footer-premium .footer-nav-link,
    .footer-premium .social-icon-link,
    .footer-premium .contact-item {
        animation: none !important;
        transition: none !important;
    }
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */
.footer-premium {
    contain: layout style;
}

.footer-premium .contact-item,
.footer-premium .social-icon-link,
.footer-premium .stat-item,
.footer-premium .support-highlight-box {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ==================== BRAND CONSISTENCY ==================== */
.footer-premium .social-icon-link i.fa-tripadvisor::before {
    content: "\f262";
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

.footer-premium .social-icon-link i[class*="fa-"] {
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}