/* ============================================
   FOOTER - BIJNORI CHAI WALA
   Professional Design | Fully Responsive | Dynamic
   ============================================ */

/* CSS Variables */
:root {
    --footer-bg: linear-gradient(135deg, #1a0f08, #2d1a0e);
    --footer-text: #ffffff;
    --footer-text-light: #b89573;
    --footer-border: rgba(255, 255, 255, 0.1);
    --primary: #c46b2b;
    --primary-light: #e8904a;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer Base */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

/* Decorative Elements */
.footer::before {
    content: '☕';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 100px;
    opacity: 0.03;
    pointer-events: none;
}

.footer::after {
    content: '🍃';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 100px;
    opacity: 0.03;
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* Footer About Section */
.footer-about h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.footer-about p {
    color: var(--footer-text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: var(--footer-text);
}

/* Footer Links Section */
.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: var(--footer-text-light);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(8px);
}

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

/* Footer Contact Section */
.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--footer-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact p i {
    width: 25px;
    color: var(--primary);
    font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--footer-border);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-content p {
    color: var(--footer-text-light);
    font-size: 0.85rem;
}

/* Admin Login Link */
.admin-login-link {
    color: var(--footer-text-light);
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    transition: var(--transition);
}

.admin-login-link:hover {
    background: var(--primary);
    color: var(--footer-text);
    transform: translateY(-2px);
}

.admin-login-link i {
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .footer-container {
        gap: 30px;
        padding: 0 25px;
    }
}

/* Mobile Large (481px - 767px) */
@media (max-width: 767px) {
    .footer {
        padding: 50px 0 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-links a::before {
        display: none;
    }

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

    .footer-contact p {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .footer {
        padding: 40px 0 15px;
    }

    .footer-container {
        gap: 25px;
        padding: 0 15px;
    }

    .footer-about h3 {
        font-size: 1.3rem;
    }

    .footer-about p {
        font-size: 0.85rem;
    }

    .footer-links h4,
    .footer-contact h4 {
        font-size: 1.1rem;
    }

    .footer-links a,
    .footer-contact p {
        font-size: 0.85rem;
    }

    .footer-contact p i {
        width: 20px;
        font-size: 0.9rem;
    }

    .footer-bottom-content p,
    .admin-login-link {
        font-size: 0.75rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Landscape Mode */
@media (max-width: 768px) and (orientation: landscape) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .footer-about {
        grid-column: span 2;
        text-align: center;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .footer-container {
        max-width: 1320px;
    }

    .footer-bottom-content {
        max-width: 1320px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .social-link,
    .footer-links a,
    .admin-login-link {
        transition: none;
    }

    .footer-links a:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .footer {
        background: #f5f5f5;
        color: #333;
        padding: 20px 0;
    }

    .footer-about h3 {
        -webkit-text-fill-color: #333;
    }

    .social-link,
    .admin-login-link {
        display: none;
    }
}

/* Secret Admin Access Style */
.footer-bottom-content p {
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Subtle feedback on press (optional) */
.footer-bottom-content p:active {
    opacity: 0.8;
    transform: scale(0.99);
}

/* Remove any outline on focus */
.footer-bottom-content p:focus {
    outline: none;
}

#copyrightText {
    cursor: default;
    user-select: none;
}