/* ========================================
   ANTIGRAVITY 2024 - Custom Styles
   ======================================== */

/* === Root Variables === */
:root {
    --primary-gradient: linear-gradient(135deg, #00529c 0%, #1abdcf 100%);
    --secondary-gradient: linear-gradient(135deg, #1abdcf 0%, #00529c 100%);
    --light-gradient: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --accent-color: #00529c;
    --text-muted: #6c757d;
}

/* === General Styles === */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* === Navbar === */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.brand-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.language-switcher .btn {
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-switcher .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* === Dropdown Menu === */
/* Desktop: Hover to open, Mobile: Click to open */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeInDown 0.3s ease;
    }

    .dropdown-menu {
        margin-top: 0;
    }
}

/* Smooth dropdown animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #00529c 0%, #1abdcf 100%);
    color: white;
}



/* === Hero Section === */
.hero-section {
    position: relative;
    min-height: 500px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.highlight-text {
    color: #ffd700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.hero-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 20px;
    display: inline-block;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: white;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* === Animations === */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out 0.2s both;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out 0.4s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Stats Section === */
.stats-section {
    background: var(--light-gradient);
}

.stat-item {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h2 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Speakers Section === */
.speakers-section {
    background: white;
}

.speaker-card {
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.speaker-image-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: var(--light-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.speaker-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: #667eea;
    opacity: 0.3;
}

.speaker-placeholder i {
    width: 100%;
    height: 100%;
}

/* === Topics Section === */
.bg-gradient-light {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.topic-card {
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.topic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.topic-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

/* === CTA Section === */
.cta-section {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* === Footer === */
.footer {
    background: #1a1a2e !important;
}

.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--accent-color) !important;
}

/* === Buttons === */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline-light {
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

/* === Page Header === */
.page-header {
    background: var(--primary-gradient);
    color: white;
    padding: 5rem 0 3rem;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

/* === Contact Form === */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
    border-radius: 15px;
    padding: 0.75rem 1.25rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

/* === Schedule Tabs === */
.schedule-tabs .nav-link {
    margin: 0.5rem;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.schedule-tabs .nav-link.active {
    background: var(--primary-gradient);
    color: white;
}

.schedule-item {
    padding: 2rem;
    border-left: 4px solid #667eea;
    background: white;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.schedule-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 25px rgba(102, 126, 234, 0.15);
}

.schedule-time {
    font-size: 1.25rem;
    font-weight: 700;
    color: #667eea;
}

/* === Map Container === */
.map-container {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--light-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* === Responsive === */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .speaker-image-wrapper {
        width: 150px;
        height: 150px;
    }

    .speaker-placeholder {
        font-size: 6rem;
    }

    .topic-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* === Utility Classes === */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-white-50 {
    opacity: 0.5;
}