/*
  SAL.co Conference Website Styles
  Colors:
  - Primary Blue: #0092FF (from logo)
  - Primary Red: #FF2800 (from logo)
  - Dark Blue: #0068b7
  - Light Blue: #39b8ff
  - Light Gray: #f5f5f5
  - Dark Gray: #333333
*/

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #0092FF;
    transition: all 0.3s ease;
}

a:hover {
    color: #0068b7;
}

p {
    margin-bottom: 1rem;
}

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

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #0092FF;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FF2800;
    margin: 1rem auto 0;
}

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

.btn {
    display: inline-block;
    background-color: #0092FF;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0068b7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 146, 255, 0.3);
}

/* Header Styles */
#main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    color: #333333;
    font-weight: 600;
    padding: 5px;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0092FF;
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: #0092FF;
}

.main-nav a:hover::after {
    width: 100%;
}

.btn-nav {
    background-color: #FF2800;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 30px;
}

.btn-nav:hover {
    background-color: #e52400;
    color: white !important;
}

.btn-nav::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333333;
    transition: all 0.3s ease;
}

/* Hero Section with Carousel */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.carousel-container {
    height: 100%;
    position: relative;
}

.carousel-slides {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    transition: opacity 1s ease;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 10;
}

.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 5%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    z-index: 2;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.carousel-nav {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
}

.carousel-prev,
.carousel-next {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-dots {
    display: flex;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: white;
}

/* About Section */
#about {
    background-color: #f5f5f5;
}

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

/* Important Dates Section */
.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.date-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid #0092FF;
}

.date-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.date {
    font-size: 1.2rem;
    color: #FF2800;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.date-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0092FF;
}

/* Speakers Section */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.speaker-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.speaker-image {
    height: 250px;
    background-size: cover;
    background-position: center top;
}

.speaker-info {
    padding: 20px;
}

.speaker-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.speaker-title {
    color: #0092FF;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Schedule Section */
.schedule-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: #f5f5f5;
    border: none;
    padding: 12px 30px;
    margin: 0 10px 10px 0;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: #0092FF;
    color: white;
}

.schedule-day {
    display: none;
}

.schedule-day.active {
    display: block;
}

.schedule-day h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #0092FF;
    text-align: center;
}

.schedule-item {
    display: flex;
    margin-bottom: 1.5rem;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.time {
    width: 150px;
    font-weight: 700;
    color: #FF2800;
    position: relative;
}

.event {
    flex: 1;
}

.event h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Sponsors Section */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    justify-items: center;
    align-items: center;
}

.sponsor-logo {
    text-align: center;
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    transform: scale(1.05);
}

.sponsor-logo img {
    max-width: 150px;
    margin-bottom: 1rem;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.sponsor-logo:hover img {
    filter: grayscale(0%);
}

.sponsor-logo p {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer Styles */
#main-footer {
    background-color: #333333;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1 1 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 80px;
    filter: brightness(0) invert(1);
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex: 1;
}

.contact-info,
.social-links,
.quick-links {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-info h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #0092FF;
    margin-top: 0.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info i {
    margin-right: 10px;
    color: #0092FF;
}

.social-icons {
    display: flex;
}

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

.social-icon:hover {
    background-color: #0092FF;
    color: white;
}

.quick-links ul li {
    margin-bottom: 0.8rem;
}

.quick-links a {
    color: rgba(255, 255, 255, 0.8);
}

.quick-links a:hover {
    color: #0092FF;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .schedule-item {
        flex-direction: column;
    }

    .time {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: white;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        padding: 20px;
    }

    .main-nav li {
        margin: 0 0 20px 0;
        width: 100%;
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 10px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .dates-grid,
    .speakers-grid,
    .sponsors-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        height: 70vh;
    }
}
