/* VCIM Modern Styles - Updated */

/* Variables */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --transition-base: all 0.3s ease-in-out;
}

/* General Reset & Typography */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Segoe UI', 'Noto Sans Devanagari', sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background: #fff; 
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.5px; }

/* Utilities */
.ls-2 { letter-spacing: 2px; }
.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hover-white:hover { color: #fff !important; }

/* Navbar */
.navbar { 
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); 
    padding: 1rem 0;
    transition: var(--transition-base);
}
.navbar-brand img { 
    border-radius: 50%; 
    transition: transform 0.3s; 
}
.navbar-brand:hover img { transform: rotate(10deg); }
.nav-link { 
    font-weight: 500;
    position: relative;
    transition: color 0.3s; 
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover { color: var(--primary-color) !important; }

/* Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%), url('../images/hero.jpg') no-repeat center center/cover;
    overflow: hidden;
}
.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(13, 110, 253, 0.4) 100%);
    z-index: 1;
}

/* Cards */
.card {
    transition: var(--transition-base);
}
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}
.transition-hover:hover {
    transform: translateY(-5px);
}
.card-img-top .overlay {
    transition: opacity 0.3s;
    opacity: 0.3;
}
.card:hover .card-img-top .overlay {
    opacity: 0;
}

/* List Group */
.list-group-item.action-item {
    transition: background-color 0.2s;
    cursor: pointer;
}
.list-group-item.action-item:hover {
    background-color: #f8f9fa;
}

/* Gallery */
.gallery-img { 
    cursor: pointer; 
    transition: transform 0.5s ease;
    border-radius: 8px;
    overflow: hidden;
}
.gallery-img:hover { 
    transform: scale(1.05);
}
.gallery-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

/* Lightbox */
.lightbox { 
    display: flex;
    position: fixed; 
    z-index: 9999; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.95);
    justify-content: center; 
    align-items: center;
    animation: fadeIn 0.3s;
}
.lightbox img { 
    max-width: 90%; 
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.lightbox .close { 
    position: absolute; 
    top: 20px; 
    right: 30px; 
    color: white; 
    font-size: 35px; 
    cursor: pointer;
    font-weight: bold;
    transition: color 0.3s;
}
.lightbox .close:hover { color: #ff6b6b; }

/* Footer */
footer { 
    background-color: #111; 
    color: #bbb;
}
footer h5 { 
    color: #fff; 
    font-weight: bold; 
    margin-bottom: 1.5rem;
}
footer a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}
footer a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translate3d(0, -40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.animate-fade-up {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}
.animate-fade-down {
    animation-name: fadeDown;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }

/* Responsive */
@media (max-width: 768px) { 
    .hero-section { height: auto; padding: 100px 0; }
    .display-3 { font-size: 2.5rem; }
}

/* Multilingual */
:lang(hi) { font-family: 'Noto Sans Devanagari', sans-serif; }
