/* Global Styles & Variables */
:root {
    --primary-color: #4361ee;
    --primary-dark: #3a0ca3;
    --secondary-color: #f72585;
    --accent-color: #4cc9f0;
    --text-dark: #0b090a;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --card-bg: #ffffff;
    --gradient-1: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    --gradient-2: linear-gradient(135deg, #f72585 0%, #7209b7 100%);
    --gradient-3: linear-gradient(135deg, #4cc9f0 0%, #4361ee 100%);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px rgba(0,0,0,0.15);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
    color: var(--text-dark);
    padding-top: 65px; /* Space for fixed navbar */
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.ls-1 {
    letter-spacing: 1px;
}

.opacity-90 {
    opacity: 0.9;
}

a {
    transition: all 0.3s ease;
}

/* Navigation - Glassmorphism */
.glass-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
}

.nav-link.active, .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Carousel */
.hero-slide {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide.slide-1 {
    background-image: var(--gradient-1);
    /* In a real project, use: url('path/to/image.jpg'); */
}

.hero-slide.slide-2 {
    background-image: var(--gradient-2);
}

.hero-slide.slide-3 {
    background-image: var(--gradient-3);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* darken slightly */
}

.carousel-caption {
    bottom: 20%;
}

/* Section Padding */
.section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Category Sections */
.category-section {
    margin-bottom: 4rem;
    padding-inline: 1rem;
}


.category-title {
    font-size: 1.75rem;
    color: var(--primary-dark);
    position: relative;
    padding-left: 1rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--secondary-color);
}

/* Project Items - Modern Cards */
.project-item {
    display: block;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
    opacity: 0.05;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

.project-item:hover::before {
    width: 100%;
}

/* Load More Button */
.load-more-btn {
    border-radius: 50px;
    padding: 0.75rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.load-more-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

/* Footer */
footer {
    background-color: #0b090a;
}

.hover-white:hover {
    color: #ffffff !important;
    padding-left: 5px;
}

/* Animations */
.fade-in {
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-slide {
        height: 450px;
    }
    
    .display-3 {
        font-size: 1.8rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }
}
