/* Footer positioning */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrapper {
    flex: 1 0 auto;
    width: 100%;
    /* Add padding at bottom to ensure content doesn't touch footer */
    padding-bottom: 20px;
}

/* Footer styling */
.footer {
    background: #080808;
    color: white;
    padding: 30px 0 20px;
    text-align: center;
    position: relative;
    width: 100%;
    flex-shrink: 0;
    margin-top: auto;
}

/* Footer container */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px;
}

/* Footer sections */
.footer-links,
.footer-socials,
.footer-map {
    flex: 1;
    min-width: 0;
}

/* Footer headers */
.footer h3 {
    font-size: 18px;
    margin-bottom: 4px; /* Reduced from 12px to bring content closer */
    color: #ff097c;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 2px;
}

/* Link styling */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin: 4px 0;
}

.footer a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer a:hover {
    color: #d7da37;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 7px;
    justify-content: center;
    margin-bottom: 10px;
    padding: 5px;
}

.social-link {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 18px;
    color: white;
}

/* Social hover effects */
.insta:hover {
    background-color: #E1306C;
    transform: scale(1.1);
}

.whatsapp:hover {
    background-color: #25D366;
    transform: scale(1.1);
}

.gmail:hover {
    background-color: #D44638;
    transform: scale(1.1);
}

/* Map styling */
.footer-map iframe {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    border: none;
}

/* Copyright section */
.footer-copy {
    margin-top: 20px;
    font-size: 12px;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    text-align: center;
    font-family:sans-serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links,
    .footer-socials,
    .footer-map {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .footer-map iframe {
        max-width: 300px;
    }
}


.home-page .footer .social-icons {
   margin-bottom: 135px;
   display: flex;
    gap: 7px;
    justify-content: center;
}

.home-page .footer .social-link {
    background-color: #555; /* grey */
    border: none;
}
.about-page .footer .social-link {
    background-color: #555; /* grey */
    border: none;
}


.home-page .footer .social-link:hover {
    /* background-color: #E1306C;  */
    transform: scale(1.1);
}

.playstation .footer .social-icons {
   margin-bottom: 135px;
   display: flex;
    gap: 7px;
    justify-content: center;
}

.playstation .footer .social-link {
    background-color: #555; /* grey */
    border: none;
}

.playstation .footer .social-link:hover {
    /* background-color: #E1306C;  */
    transform: scale(1.1);
}






@media (max-width: 768px) {
    .footer-container {
        flex-direction: row;         /* Keep all items in a row */
        flex-wrap: nowrap;           /* Prevent wrapping */
        overflow: hidden;            /* No scrollbars */
        gap: 5px;
        padding: 10px;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-links,
    .footer-socials,
    .footer-map {
        flex: 1 1 0;
        min-width: 0;
        font-size: 10px;
    }

    .footer-map iframe {
        height: 80px;
        max-width: 100%;             /* Responsive width */
    }

    .footer h3 {
        font-size: 12px;
    }

    .footer a {
        font-size: 10px;
    }

    .social-link {
        width: 25px;
        height: 25px;
    }

    .social-link i {
        font-size: 12px;
    }

    .footer {
        padding: 15px 10px;
    }
}




@media (max-width: 768px) {
    .home-page.footer-container {
        flex-direction: row;         /* Keep all items in a row */
        flex-wrap: nowrap;           /* Prevent wrapping */
        overflow: hidden;            /* No scrollbars */
        gap: 5px;
        padding: 10px;
        justify-content: space-between;
        align-items: flex-start;
    }

    .home-page.footer-links,
    .home-page.footer-socials,
    .home-page.footer-map {
        flex: 1 1 0;
        min-width: 0;
        font-size: 10px;
        margin-bottom: 40px;

    }

    .home-page.footer-map iframe {
        height: 80px;
        max-width: 100%;             /* Responsive width */
    }

    .home-page.footer h3 {
        font-size: 12px;
    }

    .home-page.footer a {
        font-size: 10px;
    }

    .home-page.social-link {
        width: 25px;
        height: 25px;
    }

    .home-page.social-link i {
        font-size: 12px;
    }

    .home-page.footer {
        padding: 15px 10px;
    }
}

@media (max-width: 768px) {
    .playstation.footer-container {
        flex-direction: row;         /* Keep all items in a row */
        flex-wrap: nowrap;           /* Prevent wrapping */
        overflow: hidden;            /* No scrollbars */
        gap: 5px;
        padding: 10px;
        justify-content: space-between;
        align-items: flex-start;
    }

    .playstation.footer-links,
    .footer-socials,
    .footer-map {
        flex: 1 1 0;
        min-width: 0;
        font-size: 10px;
        margin-bottom: 40px;
    }

    .playstation.footer-map iframe {
        height: 80px;
        max-width: 100%;             /* Responsive width */
    }

    .playstation.footer h3 {
        font-size: 12px;
    }

    .playstation.footer a {
        font-size: 10px;
    }

    .playstation.social-link {
        width: 25px;
        height: 25px;
    }

    .playstation.social-link i {
        font-size: 12px;
    }

    .playstation.footer {
        padding: 15px 10px;
    }
}




@media (max-width: 400px) {
  .home-page .footer-container {
    flex-direction: row; /* Keep horizontal layout */
    gap: 8px; /* Slightly increase gap between columns */
    padding: 10px;
  }

  /* Specific adjustment for social media section */
  .home-page .footer.socials-icons{
    margin-left: 12px; /* Add space between Contact Us and Social Icons */
    margin-bottom: 90px;
  }

  /* Reduce the excessive bottom margin */
  .home-page .footer .social-icons {
    margin-bottom: 20px; /* Reduced from 135px */
  }

  /* Adjust social icon spacing */
  .home-page .social-icons {
    gap: 6px; /* Space between individual icons */
    margin-top: 5px;
  }

  /* Make links slightly more compact */
  .home-page .footer-links ul li {
    margin: 3px 0;
  }
}


.home-page .insta:hover {
    background-color: #E1306C;
    transform: scale(1.1);
}

.home-page .whatsapp:hover {
    background-color: #25D366;
    transform: scale(1.1);
}

.home-page .gmail:hover {
    background-color: #D44638;
    transform: scale(1.1);
}

.about-page .insta:hover {
    background-color: #E1306C;
    transform: scale(1.1);
}

.about-page .whatsapp:hover {
    background-color: #25D366;
    transform: scale(1.1);
}

.about-page .gmail:hover {
    background-color: #D44638;
    transform: scale(1.1);
}


.social-link[data-title]:hover::after {
    content: attr(data-title);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #333, #555);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    margin-top: 8px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    animation: tooltipFade 0.3s ease forwards;
}

.social-link[data-title]:hover::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom: 6px solid #333;
    margin-top: 2px;
    z-index: 1001;
    opacity: 0;
    animation: tooltipFade 0.3s ease forwards;
}

@keyframes tooltipFade {
    to {
        opacity: 1;
    }
}

.social-link {
    position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-link[title]:hover::after {
        font-size: 12px;
        padding: 6px 10px;
        border-radius: 6px;
        margin-top: 6px;
        max-width: 200px;
        white-space: normal;
        text-align: center;
    }
    
    .social-link[title]:hover::before {
        border-width: 5px;
        border-bottom: 5px solid #333;
    }
}


