/* Standard styles for navbar */
#navbar {
    transition: all 0.3s ease;
}
.gradient-text {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #f8fafc;
    overflow: hidden;
}
.blob-1 { position: absolute; top: -10%; left: 10%; width: 500px; height: 500px; background: rgba(37, 99, 235, 0.1); filter: blur(80px); border-radius: 50%; animation: blob 7s infinite; }
.blob-2 { position: absolute; bottom: -10%; right: 10%; width: 600px; height: 600px; background: rgba(59, 130, 246, 0.1); filter: blur(80px); border-radius: 50%; animation: blob 7s infinite 2s; }
.blob-3 { position: absolute; top: 40%; left: 40%; width: 400px; height: 400px; background: rgba(37, 99, 235, 0.05); filter: blur(80px); border-radius: 50%; animation: blob 7s infinite 4s; }

/* Smooth Scroll Padding */
html { scroll-padding-top: 80px; }

/* Navbar Hover Effect */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563EB, #3B82F6);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Hero Image - Reference Style */
.hero-img-container {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    overflow: hidden;
    border: 12px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
}
@media (max-width: 1024px) {
    .hero-img-container {
        width: 350px;
        height: 350px;
    }
}
@media (max-width: 768px) {
    .hero-img-container {
        width: 260px;
        height: 260px;
        border-width: 8px;
    }
}
@media (max-width: 380px) {
    .hero-img-container {
        width: 220px;
        height: 220px;
        border-width: 6px;
    }
}

/* Custom Cursor or Hover effect */


/* Typing cursor */

.navbar-scrolled {
    background-color: rgba(248, 250, 252, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}
.navbar-scrolled #navbar-inner {
    padding-top: 0.75rem; 
    padding-bottom: 0.75rem;
}
@media (min-width: 768px) {
    .navbar-scrolled #navbar-inner {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* Mobile Menu Animation */
#mobile-menu:not(.hidden) {
    display: flex;
    flex-direction: column;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Project Image Locking System */
.project-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}

/* Featured Horizontal Lock (Desktop) */
@media (min-width: 1024px) {
    .featured-horizontal-lock {
        width: 50% !important;
        height: 450px !important; /* STRICT HEIGHT LOCK */
        flex-shrink: 0;
    }
}

/* Mobile Featured (Standard fallback) */
@media (max-width: 1023px) {
    .featured-horizontal-lock {
        width: 100%;
        aspect-ratio: 16 / 10;
    }
}

/* Standard Vertical Lock */
.standard-vertical-lock {
    width: 100%;
    aspect-ratio: 16 / 10;
}

.project-img-fixed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.group:hover .project-img-fixed {
    transform: scale(1.05);
}

/* Scroll Lock for Modals */


.mobile-link {
    transform: translateX(0);
    transition: all 0.3s ease;
}

.mobile-link:active {
    transform: translateX(10px);
    color: var(--primary);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}
