
/* ===== BASE STYLES ===== */
.footer {
    background: url('../img/6d footer 6-01.png');
    background-repeat: no-repeat;
    background-size: cover;   
    background-position: center center; 
    color: #ffffff;
    position: relative;
    margin-top: 40px;
    padding-top: 130px !important;
   
}


.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.20);
    z-index: 1;
}

.footer > * {
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 0 20px 40px;
    position: relative;
    top: 40px;
    left: -30px;
}

/* Column 1: Logo & Social Media */
.footer-column {
    display: flex;
    flex-direction: column;
    margin-top: -105px !important;
    margin-bottom: 60px;
    
    
    
}

.logo-section {
    margin-bottom: 20px;
}

.footer-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
    filter: brightness(1.1);
    background-color: white;
    padding: 10px;
    border-radius: 5px;
}

.tagline {
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: -15px;
    margin-top: -6px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Original Social Media Colors */
.social-icon.facebook {
    background: #1877F2;
}

.social-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon.whatsapp {
    background: #25D366;
}
.social-icon.youtube {
    background: #FF0000;
}


/* Common Footer Heading Styles */
.footer-heading {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #AC2388;
}

/* Column 2: Google Reviews */
.reviews-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars i {
    color: #FFD700;
    font-size: 20px;
}

.rating-text {
    margin-left: 10px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
}

.review-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    padding: 12px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    line-height: 1;
    width: fit-content;
    max-width: fit-content;
}

.review-link:hover {
    background: #4CAF50;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.review-link i {
    font-size: 18px;
    line-height: 1;
}

/* Column 3: Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
    font-size: 17px;
    font-weight: 500;
}

.footer-links a:hover {
    color: #AC2388;
    padding-left: 5px;
}

/* Column 4: Location */
.map-wrapper {
    max-width: 46% !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 160px;
    border: 0;
    box-shadow: none;
}

/* Copyright Section */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 5px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    
}

.footer-bottom p {
    color: #cccccc;
    font-size: 17px;
    margin-top: 20px;
}

.bluecroc-link {
    color: #87CEEB;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.bluecroc-link:hover {
    color: #66BB6A;
    text-decoration: underline;
}

.footer-bottom i {
    color: #e74c3c;
    margin: 0 5px;
}

/* Desktop specific negative margins */
.footer-column:nth-child(2) {
    margin-left: -115px !important;
}

.footer-column:nth-child(3) {
    margin-left: -175px !important;
}

.footer-column:nth-child(4) {
    margin-left: -300px !important;
}

@media (max-width: 1200px) {

    .footer-content {
        left: 0;
        gap: 30px;
    }

    .footer-column {
        margin-left: 0 !important;
    }

    .footer-column:nth-child(2),
    .footer-column:nth-child(3),
    .footer-column:nth-child(4) {
        margin-left: 0 !important;
    }

    .map-wrapper {
        max-width: 100% !important;
    }
}
@media (max-width: 992px) {

    .footer {
        padding-top: 160px !important;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        left: 0;
        top: 0;
        gap: 40px;
    }

    .footer-column {
        margin-top: 0 !important;
        margin-bottom: 30px;
        margin-left: 0 !important;
        align-items: center;
        text-align: center;
    }

    .footer-heading {
        text-align: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .reviews-section,
    .rating-stars {
        align-items: center;
        justify-content: center;
    }

    .footer-links {
        text-align: center;
    }

    .map-wrapper {
        max-width: 100% !important;
    }
}
@media (max-width: 768px) {

    /* Footer layout – vertical flow */
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 32px;
        justify-items: center;
        text-align: center;
        left: 0;
        top: 0;
    }

    /* All columns centered */
    .footer-column {
        width: 100%;
        align-items: center;
        text-align: center;
        margin: 0 !important;
    }

    /* LOGO – SAFE CENTER */
    .logo-section {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 22px;
    }

    .footer-logo {
        display: block;
        margin: 0 auto 12px auto;
        max-width: 130px;
    }

    /* Social icons */
    .social-icons {
        justify-content: center;
    }

    /* Headings underline center */
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Reviews */
    .reviews-section,
    .rating-stars {
        align-items: center;
        justify-content: center;
    }

    /* Links */
    .footer-links {
        text-align: center;
    }

    /* Map */
    .map-wrapper {
        max-width: 100% !important;
        margin: 0 auto;
    }
}


@media (max-width: 480px) {

    .footer {
        padding-top: 30px !important;
    }
    .footer-column {
        margin-top: 0 !important;
    }
    .logo-section {
        margin-bottom: 20px;
    }

    .footer-logo {
        max-width: 95px;
        padding: 8px;
        z-index: 10 !important;
    }

    .footer-heading {
        font-size: 18px;
    }

    .footer-links a {
        font-size: 15px;
    }

    .rating-stars i {
        font-size: 18px;
    }

    .review-link {
        font-size: 14px;
        padding: 10px 12px;
    }

    .map-container iframe {
        height: 180px;
    }
}
