/* ============================================
   Microsoft Ignite NYC 2026 - Styles
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #0078D4;
    --secondary-color: #7928CA;
    --accent-color: #FFD700;
    --dark-color: #1F2937;
    --light-color: #F8F9FA;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --border-color: #E5E7EB;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ============================================
   Global Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
}

h3 {
    font-size: 1.75rem;
    color: var(--dark-color);
}

h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #005a9e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.btn-link:hover {
    border-bottom-color: var(--primary-color);
    transform: translateX(4px);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    background-color: #ffffff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h1 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 4px;
}

.nav-cta:hover {
    background-color: #005a9e;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: #ffffff;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        max-height: 500px;
        padding: 1rem 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 20px;
    }

    .nav-menu a:hover {
        background-color: var(--light-color);
    }

    .nav-cta {
        margin: 0.5rem 20px;
        width: calc(100% - 40px);
        text-align: center;
    }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: relative;
    width: 100%;
    text-align: center;
}

.hero-content {
    color: white;
}

.hero-badge {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero h2 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-badge {
        width: 80px;
        height: 80px;
    }
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.features-list .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 120, 212, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about {
        padding: 2rem 0;
    }
}

/* ============================================
   Stats Section
   ============================================ */

.stats {
    background: linear-gradient(135deg, #f8f9fa, #e8ecf1);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.skyline-bg,
.skyline-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0.5;
    z-index: 0;
}

.stats .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* ============================================
   Sessions Section
   ============================================ */

.sessions {
    padding: 4rem 0;
    background-color: #ffffff;
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.track-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.track-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.track-image {
    height: 200px;
    overflow: hidden;
}

.track-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.track-card:hover .track-image img {
    transform: scale(1.05);
}

.track-content {
    padding: 1.5rem;
}

.track-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.track-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   Speakers Section
   ============================================ */

.speakers {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.speakers-carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.speakers-carousel {
    display: flex;
    gap: 2rem;
    scroll-behavior: smooth;
    padding: 1rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.speakers-carousel::-webkit-scrollbar {
    display: none;
}

.speaker-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.speaker-image {
    margin-bottom: 1.5rem;
}

.speaker-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.speaker-card h3 {
    margin: 1rem 0 0.5rem;
}

.speaker-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.speaker-bio {
    font-size: 0.95rem;
    color: var(--text-light);
}

.speaker-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.speaker-header h3 {
    margin: 0;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 120, 212, 0.1);
    color: var(--primary-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.linkedin-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.linkedin-icon {
    width: 18px;
    height: 18px;
}

}

/* ============================================
    Sponsors Section
    ============================================ */

.sponsors {
    padding: 4rem 0;
    background-color: white;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    align-items: center;
}

.sponsor-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sponsor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.sponsor-logo {
    margin-bottom: 1.5rem;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.sponsor-card h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .sponsors {
        padding: 2rem 0;
    }

    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sponsor-card {
        padding: 2rem;
    }
}
/* ============================================
   Schedule Section
   ============================================ */

.schedule {
    padding: 4rem 0;
    background-color: white;
}

.schedule-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    margin-bottom: 2rem;
    padding-left: 100px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 5px;
    width: 30px;
    height: 30px;
    background-color: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
}

.timeline-time {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.timeline-content h4 {
    margin: 0.5rem 0 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .schedule-timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-item::before {
        left: 1px;
    }
}

/* ============================================
   Location Section
   ============================================ */

.location {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.location-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.location-content h3 {
    margin-bottom: 2rem;
}

.location-details {
    display: grid;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    gap: 1rem;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
}

.detail-item h4 {
    margin: 0 0 0.5rem;
}

.detail-item p {
    margin: 0;
    font-size: 0.95rem;
}

.venue-interior {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.venue-interior img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr;
    }

    .location {
        padding: 2rem 0;
    }
}

/* ============================================
   Registration Section
   ============================================ */

.registration {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.registration-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.registration-content h2 {
    color: white;
}

.registration-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.registration-form {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
}

.form-group input,
.form-group select {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background-color: rgba(255, 255, 255, 0.95);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.form-note a {
    color: white;
    font-weight: 600;
}

@media (max-width: 768px) {
    .registration {
        padding: 2rem 0;
    }

    .registration-content {
        padding: 0 20px;
    }
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--dark-color);
    color: white;
    padding-top: 4rem;
    padding-bottom: 2rem;
    position: relative;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-logos {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer {
        padding-top: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-logos {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    section {
        padding: 2rem 0 !important;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   Animations
   ============================================ */

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

section {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   Accessibility
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav,
    .registration,
    .footer {
        display: none;
    }
}