/*
Author: Asfia Aiman
Email: aiman.asfia@gmail.com
File: footer.css

*/
.creative-footer {
    position: relative;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    overflow: hidden;
}

/* Main Content Area */
.footer-main-content {
    background: linear-gradient(135deg, #04657E 0%, #08B4EA 100%);
    padding: 60px 0 40px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Column Styling */
.footer-column {
    padding: 0 15px;
}

/* Logo and Company Info */
.footer-logo-wrapper {
    margin-bottom: 20px;
}

.footer-logo {
    max-width: 160px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-5px);
}

.company-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

/* Social Media */
.social-icons-wrapper {
    display: flex;
    gap: 12px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #D7E8EB;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    color: #04657E;
    transform: translateY(-5px);
}

.social-icon:hover::before {
    transform: translateY(0);
}

/* Column Headers */
.column-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
}

.header-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #D7E8EB;
    color: #04657E;
    border-radius: 8px;
    margin-right: 12px;
    font-size: 16px;
}

.column-header h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    position: relative;
}

.column-header h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #D7E8EB;
    border-radius: 3px;
}

/* Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.footer-links li::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 0;
    color: #D7E8EB;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.footer-links li:hover::before {
    transform: translateX(3px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #D7E8EB;
    padding-left: 5px;
}

/* Hours Styling */
.hours-container {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.hours-row:last-child {
    border-bottom: none;
}

.day-column {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.time-column {
    color: #D7E8EB;
}

.time-column.closed {
    color: #ff6b6b;
}

/* Contact Info */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #D7E8EB;
    color: #04657E;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.contact-value {
    color: #D7E8EB;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #035269;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #04657E, #08B4EA);
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
    opacity: 0.3;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.copyright-row {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-align: center;
}

.copyright-text a {
    color: #D7E8EB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright-text a:hover {
    color: #08B4EA;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }

    .footer-column {
        text-align: center;
    }

    .column-header {
        justify-content: center;
    }

    .column-header h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons-wrapper {
        justify-content: center;
    }

    .footer-links li {
        padding-left: 0;
    }

    .footer-links li::before {
        display: none;
    }

    .hours-row, .contact-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .contact-icon {
        margin-right: 15px;
        margin-bottom: 0;
    }

    .day-column, .time-column {
        margin-bottom: 5px;
    }
}

.creative-footer a:not(.social-icon) {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    position: relative;
    padding: 2px 6px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    display: inline-block;
    z-index: 2;
}

/* Cosmic Particles Effect */
.creative-footer a:not(.social-icon):before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(circle, #D7E8EB 10%, transparent 10%),
        radial-gradient(circle, #08B4EA 15%, transparent 15%);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    filter: blur(2px);
}

.creative-footer a:not(.social-icon):hover {
    color: #035269;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    font-weight: 600;
}

.creative-footer a:not(.social-icon):hover:before {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
    animation: particleWave 2s infinite linear;
}

@keyframes particleWave {
    0% { background-position: 0 0, 5px 5px; }
    100% { background-position: 10px 10px, 15px 15px; }
}

/* Neon Pulse for Navigation Links */
.footer-links a {
    text-shadow: 0 0 0 rgba(8, 180, 234, 0);
    transition: text-shadow 0.3s ease-out;
}

.footer-links a:hover {
    color: #D7E8EB;
    text-shadow:
        0 0 5px rgba(8, 180, 234, 0.7),
        0 0 15px rgba(8, 180, 234, 0.5),
        0 0 25px rgba(8, 180, 234, 0.3);
    animation: neonPulse 1.5s infinite alternate;
}

@keyframes neonPulse {
    0% { text-shadow: 0 0 5px rgba(8, 180, 234, 0.7), 0 0 15px rgba(8, 180, 234, 0.5); }
    100% { text-shadow: 0 0 10px rgba(8, 180, 234, 0.9), 0 0 25px rgba(8, 180, 234, 0.7), 0 0 40px rgba(8, 180, 234, 0.5); }
}

/* Liquid Button Effect for Contact Links */
.contact-value a {
    background: linear-gradient(90deg, #04657E, #08B4EA, #04657E);
    background-size: 200% 100%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    overflow: hidden;
}

.contact-value a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #04657E, #08B4EA, #04657E);
    background-size: 200% 100%;
    transform: translateY(0) scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.contact-value a:hover {
    animation: liquidFlow 2s infinite;
}

.contact-value a:hover::after {
    transform: translateY(0) scaleX(1);
    transform-origin: left;
    animation: liquidFlow 2s infinite;
}

@keyframes liquidFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating 3D Effect for Copyright Link */
.copyright-text a {
    display: inline-block;
    transform-style: preserve-3d;
    perspective: 500px;
    transition: all 0.5s ease;
}

.copyright-text a:hover {
    transform: rotateY(10deg) rotateX(5deg) translateZ(10px);
    color: #D7E8EB;
    animation: floating 2s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: rotateY(10deg) rotateX(5deg) translateZ(10px); }
    50% { transform: rotateY(-5deg) rotateX(-3deg) translateZ(15px); }
    100% { transform: rotateY(10deg) rotateX(5deg) translateZ(10px); }
}
