/* Logo Styles */
.logo img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Responsive Logo for larger screens */
@media (min-width: 768px) {
    .logo img {
        height: 120px;
    }
}

@media (min-width: 1024px) {
    .logo img {
        height: 150px;
    }
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 64px; /* Height of the navbar (h-16 = 4rem = 64px) */
    left: 0;
    right: 0;
    z-index: 9999;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    -webkit-transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    -moz-transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    -o-transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.mobile-menu.show {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
}

/* Backdrop overlay when menu is open */
.menu-backdrop {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.menu-backdrop.show {
    display: block;
    opacity: 1;
}

#mobile-menu-button {
    z-index: 51;
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mobile-menu-button:active {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 0.25rem;
}

.hero-bg {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.skill-badge {
    transition: all 0.3s ease;
}

.skill-badge:hover {
    transform: scale(1.05);
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 2rem auto;
    display: block;
}

@media (min-width: 768px) {
    .profile-image {
        width: 300px;
        height: 300px;
        margin: 0;
    }
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.3), 0 15px 15px -5px rgba(0, 0, 0, 0.15);
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    .hero-bg {
        padding-top: 6rem !important;
        padding-bottom: 3rem !important;
    }

    .hero-bg h1 {
        font-size: 1.875rem !important;
    }

    .hero-bg h2 {
        font-size: 1.5rem !important;
    }
}