/* Custom Navbar Styles */
.navbar-brand {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

/* Custom Nav Link Styles with Hover Effects */
.custom-nav-link {
    position: relative;
    padding: 0.75rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.custom-nav-link:hover {
    background-color: #495057 !important;
    color: #ffffff !important;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Active nav link effect */
.custom-nav-link.active {
    background-color: #6c757d !important;
    color: #ffffff !important;
}

/* Smooth underline effect on hover */
.custom-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #17a2b8;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.custom-nav-link:hover::after {
    width: 80%;
}

/* Navbar background with subtle gradient */
.navbar.bg-dark {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Section padding for better spacing with sticky navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom hero section styling */
header.bg-dark {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%) !important;
    min-height: 300px;
    display: flex;
    align-items: center;
}

/* Responsive navbar toggler animation */
.navbar-toggler {
    border: none;
    transition: transform 0.3s ease;
}

.navbar-toggler:hover {
    transform: scale(1.1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Custom container max-width for better readability */
@media (min-width: 1200px) {
    .container {
        max-width: 1000px;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .custom-nav-link {
        margin: 0.25rem 0;
        text-align: center;
    }
    
    .custom-nav-link:hover {
        transform: scale(1.02);
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
}

/* Additional hover effects for better UX */
.nav-item {
    transition: all 0.3s ease;
}

/* Subtle glow effect on navbar brand */
.navbar-brand .text-info:hover {
    text-shadow: 0 0 10px rgba(23, 162, 184, 0.5);
}

/* Footer styling to match navbar */
footer.bg-dark {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%) !important;
}

/* Social Media Links Styling */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 0 0.5rem;
}

.instagram-link {
    color: white;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background-size: 400% 400%;
    background-position: 0% 50%;
    border: 2px solid transparent;
    background-clip: padding-box;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.instagram-link:hover {
    color: white;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.4);
    animation: gradientShift 1s ease infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.instagram-link:focus {
    outline: 2px solid #E4405F;
    outline-offset: 2px;
}

/* Instagram gradient animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Social link icon styling */
.social-link svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Responsive social media section */
@media (max-width: 768px) {
    .social-link {
        width: 40px;
        height: 40px;
        margin: 0 0.25rem;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }
}
