/* --- Footer Section --- */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 60px 0 25px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #500D14, #8B1A2A, #B22222);
}

/* MAIN GRID */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

/* Each section */
.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, #500D14, #8B1A2A);
    border-radius: 2px;
}

.footer-description,
.footer-links a,
.services-text p {
    font-size: 14px;
}

/* Logo */
.footer-logo-img {
    height: 40px;
    margin-bottom: 12px;
}

.footer-tagline {
    color: #b36970;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Quick Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    padding-left: 12px;
    position: relative;
    transition: 0.3s ease;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #500D14, #8B1A2A);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #b36970;
    padding-left: 18px;
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Services text */
.services-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.services-text p {
    margin-bottom: 8px;
    color: #cccccc;
    transition: color 0.3s ease;
}

.services-text p:hover {
    color: #b36970;
}

/* Contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cccccc;
    font-size: 14px;
}

.contact-item i {
    color: #b36970;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, #500D14, #8B1A2A);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(80, 13, 20, 0.3);
    border-color: #500D14;
}

.social-link i {
    font-size: 18px;
}

.copyright {
    color: #999999;
    font-size: 13px;
}

/* ===========================
   RESPONSIVE BREAKPOINTS
   =========================== */

/* Tablets (reduce gaps + 2 columns) */
@media (max-width: 992px) {
    .footer {
        padding: 50px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    /* Position services and contact in the same row */
    .footer-section:nth-child(3) {
        grid-column: 1;
    }

    .footer-section:nth-child(4) {
        grid-column: 2;
    }
}

/* Mobile (Compact & Modern) */
@media (max-width: 600px) {
    .footer {
        padding: 40px 0 25px;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        margin-bottom: 30px;
    }

    /* 1. Brand Section: Full width & Centered */
    .footer-section:nth-child(1) {
        grid-column: 1 / -1;
        text-align: center;
        padding: 0;
    }

    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-description {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    /* 2. Links & Services: Side by side (1 col each) */
    .footer-section:nth-child(2),
    .footer-section:nth-child(3) {
        grid-column: span 1;
        text-align: left;
        padding: 0;
    }

    /* Align headers left for these columns */
    .footer-section:nth-child(2) h3,
    .footer-section:nth-child(3) h3 {
        text-align: left;
        margin-bottom: 15px;
    }

    .footer-section:nth-child(2) h3::after,
    .footer-section:nth-child(3) h3::after {
        left: 0;
        transform: none;
    }

    /* 3. Contact Section: Full width & Centered */
    .footer-section:nth-child(4) {
        grid-column: 1 / -1;
        text-align: center;
        margin-top: 10px;
        padding: 0;
    }

    .footer-section:nth-child(4) h3 {
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-section:nth-child(4) h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info {
        align-items: center;
    }

    .contact-item {
        justify-content: center;
    }

    /* Footer Bottom */
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-top: 25px;
        margin-top: 10px;
    }

    .social-links {
        justify-content: center;
        gap: 15px;
    }

    /* Make social links slightly smaller on mobile */
    .social-link {
        width: 38px;
        height: 38px;
    }

    .social-link i {
        font-size: 16px;
    }

    /* Reduce font sizes slightly on mobile */
    .footer-description,
    .footer-links a,
    .services-text p,
    .contact-item {
        font-size: 14px;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .copyright {
        font-size: 12px;
    }

    /* Logo adjustments for mobile */
    .footer-logo-img {
        height: 35px;
        margin-bottom: 10px;
    }

    .footer-tagline {
        font-size: 13px;
        margin-bottom: 15px;
    }
}