/* Custom Font Face */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* Global Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Gotham', sans-serif;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    padding-top: 76px; /* Account for fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #2c3e50;
}
.display-3 {
    color: var(--primary-color);
}

/* Utilities */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url('https://picsum.photos/1920/1080?random=20') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-arrow a {
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Buttons */
.btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Speaker Cards */
.speaker-card {
    text-align: center;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.speaker-card:hover {
    transform: translateY(-5px);
}

.speaker-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.speaker-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.speaker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.speaker-card:hover .speaker-overlay {
    opacity: 1;
}

.speaker-card:hover .speaker-img img {
    transform: scale(1.1);
    filter: blur(3px);
}

.speaker-overlay .btn {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.speaker-card:hover .speaker-overlay .btn {
    transform: translateY(0);
}

.speaker-info h5 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.speaker-info p {
    color: #666;
    font-size: 0.9rem;
}

/* See More Card */
.see-more-card {
    cursor: default;
}

.see-more-card .speaker-img {
    background: #f8f9fa;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.see-more-card:hover {
    transform: none;
}

/* Schedule */
.schedule-day {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.schedule-item {
    padding: 15px 0;
}

.schedule-item h5 {
    color: #2c3e50;
    margin-bottom: 5px;
}

/* Sponsors */
.sponsor-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    max-height: 80px;
}

.sponsor-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    position: relative;
}

/* Contact */
.contact-info i {
    width: 30px;
}

.social-links a {
    color: var(--primary-color);
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: #0056b3;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #1a1a1a !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    .speaker-img img {
        height: 250px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.loading:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid var(--primary-color);
    border-color: var(--primary-color) transparent var(--primary-color) transparent;
    animation: loading 1.2s linear infinite;
}

@keyframes loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Form Styles */
.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Map Container */
#map {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Hotel Buttons */
.hotel-btn {
    transition: all 0.3s ease;
}

.hotel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Sponsor Table */
.sponsor-table {
    margin-top: 20px;
}

.sponsor-table thead {
    position: sticky;
    top: 76px;
    z-index: 10;
}

.sponsor-table tbody tr {
    transition: all 0.3s ease;
}

.sponsor-table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
    transform: scale(1.01);
}

.sponsor-platinum {
    border-left: 5px solid #e5e4e2;
}

.sponsor-gold {
    border-left: 5px solid #ffd700;
}

.sponsor-silver {
    border-left: 5px solid #c0c0c0;
}

.sponsor-bronze {
    border-left: 5px solid #cd7f32;
}

/* Modal Styling */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: none;
    padding: 20px 30px;
}

.modal-body {
    padding: 0 30px 30px;
}

#modalSpeakerImage {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}
