/* ============================================
   The Cloud and AI Summit - Devent Theme Adaptation
   Based on Devent template, adapted for Bootstrap 5
   Primary Color: Azure Blue (#007FFF)
   ============================================ */

/* ============================================
   Base Styles
   ============================================ */
body {
    font-family: var(--font-body, 'Roboto', sans-serif);
    color: var(--theme-secondary);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading, 'Josefin Sans', sans-serif);
    font-weight: 600;
    color: var(--theme-secondary);
}

a {
    color: var(--theme-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--theme-primary-dark);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--theme-primary-dark) 0%, var(--theme-primary) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/theme/hero-pattern.png') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.25rem;
    max-width: 850px;
    margin: 0 auto 2rem;
    opacity: 1;
    font-weight: 500;
    line-height: 1.7;
}

.hero-date {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-date i {
    margin-right: 0.5rem;
}

/* ============================================
   Buttons - Devent Style
   ============================================ */
.btn-devent {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-devent-primary {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
}

.btn-devent-primary:hover {
    background-color: var(--theme-primary-dark);
    border-color: var(--theme-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--theme-primary-rgb), 0.4);
}

.btn-devent-outline {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-devent-outline:hover {
    background-color: #fff;
    color: var(--theme-primary);
    transform: translateY(-2px);
}

.btn-devent-white {
    background-color: #fff;
    border-color: #fff;
    color: var(--theme-primary);
}

.btn-devent-white:hover {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--theme-light);
}

.section-dark {
    background-color: var(--theme-dark);
    color: #fff;
}

.section-primary {
    background-color: var(--theme-primary);
    color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--theme-primary);
}

.section-dark .section-title::after,
.section-primary .section-title::after {
    background-color: #fff;
}

.section-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--grey);
    max-width: 600px;
    margin: 20px auto 0;
}

/* ============================================
   About / Features Section
   ============================================ */
.about-section {
    background-color: #fff;
}

.feature-box {
    text-align: center;
    padding: 40px 30px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-primary-light) 100%);
    color: #fff;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--theme-secondary);
}

.feature-description {
    color: var(--grey);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   Sponsors Section
   ============================================ */
.sponsors-section {
    background-color: var(--theme-light);
}

.sponsor-item {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sponsor-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.sponsor-item img {
    max-width: 150px;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.sponsor-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.sponsor-tier {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--theme-primary);
    margin-bottom: 30px;
    text-align: center;
}

/* ============================================
   Call to Action Section
   ============================================ */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--theme-primary-dark) 0%, var(--theme-primary) 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

/* Pattern overlay removed - image not available
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/theme/cta-pattern.png') repeat;
    opacity: 0.1;
    pointer-events: none;
}
*/

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* ============================================
   Footer Styles
   ============================================ */
.site-footer {
    background-color: var(--theme-dark);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-widget-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--theme-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--theme-primary);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--theme-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ============================================
   Error Pages
   ============================================ */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: var(--theme-primary);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.error-description {
    font-size: 1.1rem;
    color: var(--grey);
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .section {
        padding: 60px 0;
    }

    .section-header .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 80px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .btn-devent {
        padding: 0.75rem 1.5rem;
    }

    .feature-box {
        padding: 30px 20px;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .error-code {
        font-size: 5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
        letter-spacing: 1px;
    }

    .section-header .section-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   Animation Helpers
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Delay classes for staggered animations */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
