/* 
   GreenNet-AI 2026 - Custom Styles 
   Theme: Green, Sustainable, Modern, AI
*/

:root {
    --primary-green: #10b981;
    --primary-dark: #064e3b;
    --secondary-green: #34d399;
    --soft-green: rgba(16, 185, 129, 0.15);
    --dark-bg: #0f172a;
    --dark-footer: #020617;
    --light-bg: #f8fafc;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Outfit', sans-serif;
}

/* Utilities */
.text-primary-green { color: var(--primary-green) !important; }
.bg-soft-green { background-color: var(--soft-green) !important; }
.text-green { color: var(--primary-green) !important; }
.text-gradient {
    background: linear-gradient(135deg, var(--secondary-green), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bg-gradient-divider {
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
}
.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary-green), #059669);
    color: white;
    border: none;
    transition: all 0.3s ease;
}
.btn-primary-gradient:hover {
    background: linear-gradient(135deg, #059669, var(--primary-dark));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.z-index-1 { z-index: 1; }

/* Navigation */
.transition-navbar {
    transition: all 0.4s ease;
    padding: 1rem 0;
    background-color: transparent;
}
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
}
.navbar-dark-scrolled {
    background-color: rgba(15, 23, 42, 0.95) !important;
}
.nav-link {
    font-weight: 500;
    color: #475569 !important;
    position: relative;
    transition: color 0.3s ease;
}
.navbar-scrolled .nav-link { color: #1e293b !important; }
.transition-navbar:not(.navbar-scrolled) .nav-link { color: rgba(255, 255, 255, 0.9) !important; }
.transition-navbar:not(.navbar-scrolled) .navbar-brand { color: white !important; }
.transition-navbar:not(.navbar-scrolled) .navbar-toggler i { color: white; }

.nav-link:hover, .nav-link.active {
    color: var(--primary-green) !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: url('../img/hero-bg-robot.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    padding-top: 80px;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.2) 100%);
    z-index: 0;
}
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Sections & Typography */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.title-divider {
    height: 4px;
    width: 60px;
    background: var(--primary-green);
    border-radius: 2px;
}

/* Features / Scope */
.bg-light-mesh {
    background-color: var(--light-bg);
    background-image: radial-gradient(var(--soft-green) 1px, transparent 1px);
    background-size: 30px 30px;
}
.custom-list li {
    padding-bottom: 0.75rem;
    font-weight: 500;
}
.glass-card-dark {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-green);
}

/* Call for Papers */
.glass-card-light {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}
.topic-item {
    padding: 1rem;
    border-radius: 0.75rem;
    transition: background-color 0.3s ease;
}
.topic-item:hover {
    background-color: var(--light-bg);
}
.topic-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--soft-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dashed-border {
    border-style: dashed !important;
    border-width: 2px !important;
    border-color: #cbd5e1 !important;
}

/* Timeline / Dates */
.bg-dark { background-color: var(--dark-bg) !important; }
.bg-shape-1 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    z-index: 0;
}
.timeline {
    position: relative;
    padding-left: 3rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}
.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-icon {
    position: absolute;
    left: -3rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    box-shadow: 0 0 0 4px var(--dark-bg);
    z-index: 1;
}
.date-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    color: var(--primary-green);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Committees */
.avatar-placeholder {
    width: 80px;
    height: 80px;
}
.shadow-hover:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-5px);
}
.transition-all { transition: all 0.3s ease; }

/* Footer */
.bg-dark-footer { background-color: var(--dark-footer); }
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

/* Animations */
.animate-up {
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-section { background-position: right center; }
    .glass-card { padding: 2rem; }
    .transition-navbar { background-color: rgba(15, 23, 42, 0.95); padding: 0.5rem 0; }
    .transition-navbar .nav-link { color: rgba(255, 255, 255, 0.9) !important; }
}

@media (max-width: 768px) {
    .timeline { padding-left: 2rem; }
    .timeline::before { left: 7px; }
    .timeline-icon { left: -2rem; width: 24px; height: 24px; font-size: 0.7rem; }
}
