/* AiGE Summit Riyadh 2026 - Green Energy Theme */

/* CSS Variables */
:root {
    /* Primary Green Colors */
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --gradient: linear-gradient(135deg, #10b981, #059669);
    --gradient-light: linear-gradient(135deg, #34d399, #10b981);
    
    /* Supporting Colors */
    --dark: #111827;
    --light: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    
    /* Gold Accent */
    --gold: #c9a227;
    --gold-light: #d4af37;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Ensure FontAwesome icons are properly loaded */
.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background: var(--light);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-logo img {
    height: 45px;
    width: auto;
}

.navbar-items {
    display: flex;
    gap: 2rem;
}

.navbar-items a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-items a:hover {
    color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    height: 2px;
    width: 25px;
    background: var(--text-dark);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/hero.jpeg') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--light);
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.hero-theme {
    font-size: 1.25rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-date {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

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

/* CTA Buttons */
.cta-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--light);
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
}

.cta-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: var(--light);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.cta-outline {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--primary-dark);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-outline:hover {
    background: var(--primary-dark);
    color: var(--light);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* About Section */
.about-section {
    padding: 6rem 2rem;
    background: var(--light);
}

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

.about-content p {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.about-note {
    font-weight: 600;
    font-style: italic;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    margin-top: 1.5rem;
    color: var(--primary-dark);
}

/* Pillars Section */
.pillars-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pillar-card {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.pillar-icon i {
    font-size: 1.75rem;
    color: var(--light);
}

.pillar-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Advisory Section */
.advisory-section {
    padding: 6rem 2rem;
    background: var(--light);
}

.advisory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.advisory-member {
    text-align: center;
    padding: 1.5rem;
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advisory-member h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.advisory-member p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.2rem;
}

.advisory-member span {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

/* Speakers Section */
.speakers-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.speaker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.speaker-linkedin {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    cursor: pointer;
}

.speaker-linkedin i {
    color: #fff;
    font-size: 2rem;
}

.speaker-card:hover .speaker-linkedin {
    opacity: 1;
}

.speaker-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    background: var(--light);
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.speaker-card:hover .speaker-image img {
    transform: scale(1.1);
}

.speaker-org-logo {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--light);
    border: 2px solid var(--primary);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 15;
}

.speaker-org-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-info {
    padding: 0 0.5rem;
}

.speaker-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.speaker-role {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 0.2rem;
}

.speaker-org {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

/* Dialogue Series Section */
.dialogues-section {
    padding: 6rem 2rem;
    background: var(--light);
}

.dialogue-preview {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.video-container {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02);
}

.video-container i {
    font-size: 4rem;
    color: var(--light);
    margin-bottom: 1rem;
}

.video-container p {
    color: var(--light);
    font-size: 1.1rem;
    opacity: 0.9;
}

.dialogue-cta {
    text-align: center;
}

/* Participation Section */
.participation-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.participation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.audience-list h3,
.participation-form h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.audience-list ul {
    list-style: none;
}

.audience-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.audience-list li:last-child {
    border-bottom: none;
}

.audience-list li i {
    color: var(--primary);
    font-size: 1rem;
}

.participation-form {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    background: var(--light);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--light);
    color: var(--text-dark);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    color: var(--light);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Sponsors Section */
.sponsors-section {
    padding: 6rem 2rem;
    background: var(--light);
}

.gold-divider {
    width: 80px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 2rem;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.sponsor-logo {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

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

.media-sponsors {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

.media-sponsors h3 {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.sponsors-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Podcasts Section */
.podcasts-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.podcast-card {
    height: 250px;
}

/* Flip Card Styles */
.flip-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.flip-card-front {
    background: var(--gradient);
    color: var(--light);
}

.flip-card-back {
    background: var(--light);
    color: var(--text-dark);
    transform: rotateY(180deg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.letter-badge {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--light);
    color: var(--primary-dark);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-front h3 {
    font-size: 1.1rem;
    margin: 0;
}

.flip-card-back h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.flip-card-back p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.podcast-card:hover .flip-card {
    transform: rotateY(180deg);
}

.podcasts-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.podcasts-cta h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.podcasts-cta p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Details Section */
.details-section {
    padding: 6rem 2rem;
    background: var(--gradient);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.detail-item {
    padding: 2rem;
}

.detail-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.detail-icon i {
    font-size: 1.75rem;
    color: var(--light);
}

.detail-item h3 {
    font-size: 1.25rem;
    color: var(--light);
    margin-bottom: 0.5rem;
}

.detail-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
    background: var(--light);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 4rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2;
    display: block;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-section p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section i {
    color: var(--primary);
    width: 16px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-social a i {
    color: var(--light);
    font-size: 1rem;
    width: auto;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .podcasts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .navbar-items {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--light);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
    }
    
    .navbar-items.open {
        right: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .pillars-grid,
    .advisory-grid,
    .speakers-grid,
    .sponsors-grid {
        grid-template-columns: 1fr;
    }
    
    .participation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .podcasts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section p,
    .footer-section a {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 5rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-date {
        font-size: 1rem;
    }
    
    .cta-primary,
    .cta-secondary,
    .cta-outline {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .podcasts-grid {
        grid-template-columns: 1fr;
    }
    
    .podcast-card {
        height: 200px;
    }
}

