/* header and footer styles */
/* Navigation */
nav {
  
    top: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(185, 28, 28, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 4px 20px rgba(185, 28, 28, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-red);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-red);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 999;
    padding-top: 80px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 2rem;
}

.mobile-menu ul li {
    margin-bottom: 1.5rem;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.mobile-menu ul li a:hover {
    color: var(--primary-red);
}

/* Header responsive styles */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .hamburger,
    .mobile-menu {
        display: flex;
    }
}

/* Footer */
footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: footerShine 10s infinite linear;
}

@keyframes footerShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 100%;
}

.footer-section:hover h3 {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.footer-section:hover p {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.footer-logo {
    height: 100px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.footer-section:hover .footer-logo {
    transform: scale(1.05);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.footer-section:hover .footer-links li {
    transform: translateX(5px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-icons a:hover::before {
    left: 100%;
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Specific social media colors on hover */
.social-icons a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
}

.social-icons a[aria-label="Facebook"]:hover {
    background: #1877F2;
    color: white;
}

.social-icons a[aria-label="X (formerly Twitter)"]:hover {
    background: #000000;
    color: white;
}

.social-icons a[aria-label="YouTube"]:hover {
    background: #FF0000;
    color: white;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

footer:hover .footer-bottom {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer 24/7 Contact links */
.footer-section:last-child a[href^="mailto"],
.footer-section:last-child a[href^="tel"] {
    color: var(--white); /* fully visible */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section:last-child a[href^="mailto"]:hover,
.footer-section:last-child a[href^="tel"]:hover {
    color: var(--gold); /* hover effect */
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        padding-left: 0;
    }
    
    .footer-links li {
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Footer Social Icons */
.footer-section .social-icons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.footer-section .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-section .social-icon:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-section .social-icon svg {
    width: 20px;
    height: 20px;
}

/* Specific social media hover colors */
.footer-section .social-icon[aria-label="Facebook"]:hover {
    background: #1877F2;
}

.footer-section .social-icon[aria-label="X (formerly Twitter)"]:hover {
    background: #000000;
}

.footer-section .social-icon[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.footer-section .social-icon[aria-label="YouTube"]:hover {
    background: #FF0000;
}

/* Availability footer text */
.availability-footer {
    color: var(--gold);
    font-weight: 500;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-section .social-icons {
        justify-content: center;
    }
    
    .footer-section:first-child {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-section .social-icons {
        gap: 0.8rem;
    }
    
    .footer-section .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .footer-section .social-icon svg {
        width: 18px;
        height: 18px;
    }
}


/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    fill: white;
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Mobile responsiveness for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}
