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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #1a1a1a;
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: darkgreen; /* Gold color */
}

ul {
    margin-left: 40px; /* Adjusts indentation */
    padding-left: 20px;
    list-style-type: none; /* Options: disc, circle, square */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    color: #d4af37; /* Gold color */
}

h2 {
    font-size: 2rem;
    color: #d4af37; /* Gold color */
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #d4af37; /* Gold color */
    font-size: 2.5rem;
}

/* Special styling for Wildfire & Agriculture section title */
.tracks .section-title {
    padding: 80px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    background-size: cover;
    background-position: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    margin-bottom: 60px;
    border-radius: 10px;
    color: #ffd700; /* Brighter gold for better visibility against the fire background */
    font-size: 3rem;
    font-weight: 700;
}

/* Button Styles */
.btn, .contact-btn {
    display: inline-block;
    background-color: #3b735f; /* Green button */
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn:hover, .contact-btn:hover {
    background-color: #3b735f;
    transform: translateY(-2px);
}

.small-btn {
    padding: 6px 15px;
    font-size: 0.9rem;
}

/* Smaller 'Learn more' button in venue section */
.venue-info .btn {
    display: block;
    background-color: #3b735f; /* Brighter green to match image */
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    max-width: 150px;
    text-align: center;
    margin: 0 auto;
    line-height: normal;
    transition: all 0.3s ease;
}

.venue-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.venue-info p {
    margin-bottom: 25px;
    line-height: 1.7;
    align-self: flex-start;
    width: 100%;
}

/* Header & Navigation */
header {
    background-color: #121212;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    padding: 10px 0;
    margin-left: -15px;
}

.logo {
    height: 80px;
}

nav {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 25px;
}

nav ul li {
    margin-right: 0;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    color: #e0e0e0;
    transition: color 0.3s ease;
    padding: 5px 8px;
}

nav ul li a:hover {
    color: #d4af37; /* Gold hover color */
}

.contact-button {
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    padding: 40px 0 60px 0;
    background-color: #121212;
    position: relative;
}

.hero-content ul {
    margin-left: 40px; /* Adjusts indentation */
    padding-left: 20px;
    list-style-type: none; /* Options: disc, circle, square */
}


.hero-header {
    text-align: center;
    margin-bottom: 40px;
}

.hero-header h1 {
    font-size: 2.4rem;
    color: #d4af37; /* Gold color */
    margin-bottom: 10px;
}

.hero-header h2 {
    font-size: 1.4rem;
    color: #e0e0e0;
    font-weight: 500;
    margin-bottom: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
}
.hero-text {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-image {
    flex: 1;
    border-radius: 0;
    overflow: hidden;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Tracks Section */
.tracks {
    padding: 40px 0 80px 0;
    background-color: #222;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/background.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.track-columns {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
}

.track-box {
    flex: 1;
    background-color: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #333; /* Dark text color for better contrast on white background */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.track-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.track-box h3 {
    color: #3b735f; /* Changed to green to match the theme */
    margin-bottom: 20px;
    font-size: 1.7rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.track-box p {
    line-height: 1.7;
}

/* Experience Section */
.experience {
    padding: 80px 0;
    position: relative;
    background-color: #1a1a1a;
}

.experience .section-title {
    margin-bottom: 60px;
    color: #d4af37;
}

.experience-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #d4af37;
    transform: translateX(-50%);
}

.experience-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    display: flex;
}

.experience-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 15px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #d4af37;
    border: 3px solid #1a1a1a;
    transform: translateX(-50%);
    z-index: 2;
}

/* Right side items */
.experience-item.right {
    justify-content: flex-start;
    padding-left: calc(50% + 30px);
    padding-right: 0;
}

/* Left side items */
.experience-item.left {
    justify-content: flex-end;
    padding-right: calc(50% + 30px);
    padding-left: 0;
}

.experience-content {
    background-color: #222;
    padding: 20px 25px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    position: relative;
}

.experience-content::before {
    content: '';
    position: absolute;
    top: 15px;
    width: 0;
    height: 0;
    border-style: solid;
}

/* Triangle for right items */
.experience-item.right .experience-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent #222 transparent transparent;
}

/* Triangle for left items */
.experience-item.left .experience-content::before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #222;
}

.experience-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.5;
}

.experience-content strong {
    color: #d4af37;
    font-weight: 700;
    font-size: 1.3rem;
}

/* Challenges Section */
.challenges {
    padding: 80px 0;
    background-color: #fff;
}

.challenges .section-title {
    color: #d4af37; /* Green color to match the theme */
}

.challenge-list {
    max-width: 800px;
    margin: 0 auto;
}

.challenge-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    color: #333; /* Dark color for better readability on white background */
}

.challenge-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #d4af37; /* Green bullet points */
    font-size: 20px;
}

.challenge-list li strong {
    color: #d4af37; /* Green color for headings to match theme */
    font-weight: 700;
}

/* Venue Section */
.venue {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.venue-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.venue-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    max-width: 50%;
}

.venue-right-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.venue-map {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
}

.map-link {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: white;
    color: #0275d8;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.venue-image img, .venue-map img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}


/* Footer */
footer {
    background-color: #121212;
    padding: 20px 0;
    text-align: center;
}
/* Sponsors Section */
.sponsors {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.sponsor {
    flex: 1 1 120px;
    max-width: 200px;
    min-width: 100px;
}

.sponsor img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: brightness(0.9);
}
/* Title Sponsor Style */
.title-sponsor {
    flex: 1 1 240px;
    max-width: 400px;
}

.title-sponsor img {
    width: 100%;
    max-height: 160px; /* Twice the normal 80px */
    object-fit: contain;
    filter: brightness(1);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .sponsor {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .sponsor {
        max-width: 120px;
    }

    .sponsor img {
        max-height: 60px;
    }
}
/* Responsive Styles */
@media (max-width: 991px) {
    .hero-content, .track-columns {
        flex-direction: column;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .speaker-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .venue-layout {
        flex-direction: column;
    }
    
    .venue-image {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    /* Improved speaker card sizing */
    .speaker-card {
        max-width: 350px;
        margin: 0 auto;
    }
    
    /* Make speaker images consistent */
    .speaker-img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    nav ul li {
        margin: 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .experience-timeline::before {
        left: 30px;
    }
    
    .timeline-marker {
        left: 30px;
        transform: none;
    }
    
    .experience-item.right,
    .experience-item.left {
        justify-content: flex-start;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .experience-item.left .experience-content::before {
        left: -10px;
        right: auto;
        border-width: 10px 10px 10px 0;
        border-color: transparent #222 transparent transparent;
    }
    
    /* Improved hero section */
    .hero-header h1 {
        font-size: 2rem;
    }
    
    .hero-header h2 {
        font-size: 1.2rem;
    }
    
    /* Fix dropdown positioning */
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: #222;
    }
    
    .dropdown:hover .dropdown-content {
        display: none; /* Prevent automatic hover on mobile */
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    /* Improve video player responsiveness */
    .hero-image video {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .speaker-grid {
        grid-template-columns: 1fr;
    }
    
    /* Further adjustments for very small screens */
    .logo {
        height: 40px;
    }
    
    .header-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-button {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    .contact-btn {
        width: 100%;
        text-align: center;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    /* Make speaker sections more compact */
    .speakers {
        padding: 40px 0;
    }
    
    .speaker-card {
        padding-bottom: 15px;
    }
    
    .speaker-img {
        width: 100px;
        height: 100px;
        margin: 20px auto 15px;
    }
}

/* Improved speaker profile responsiveness */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 20px;
        padding: 25px;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .profile-info h2 {
        font-size: 1.8rem;
    }
    
    .profile-info h3 {
        font-size: 1.3rem;
    }
    
    .profile-bio {
        padding: 25px;
    }
    
    .speaker-profile-page {
        padding-top: 20px;
        padding-bottom: 40px;
    }
}

/* Add JavaScript support for mobile dropdowns */
@media (max-width: 768px) {
    .dropbtn {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 8px 0;
    }
    
    .dropdown-arrow {
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* Fix image sizing in speaker pages */
.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.speaker-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    vertical-align: middle;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a1a1a;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
    border: 1px solid #333;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #333;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #333;
    color: #e2ca76;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Make sure the dropdown arrow changes color on hover too */
.dropdown:hover .dropbtn, .dropdown:hover .dropdown-arrow {
    color: #e2ca76;
}



.speaker-profile {
    background-color: #222;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.profile-header {
    display: flex;
    gap: 30px;
    padding: 40px;
    background: linear-gradient(135deg, #1c1c1c, #2d2d2d);
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #d4af37; /* Gold border */
    position: relative;
    background-color: #444; /* Fallback background color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    position: absolute;
    top: 0;
    left: 0;
}

.profile-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-info h2 {
    color: #d4af37; /* Gold color */
    margin-bottom: 5px;
    font-size: 2.5rem;
}

.profile-info h3 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.5rem;
    font-weight: 500;
}

.profile-info p {
    color: #999;
    font-size: 1.1rem;
}

.profile-bio {
    padding: 40px;
}

.profile-bio h3 {
    color: #d4af37; /* Gold color */
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.profile-bio h3:first-child {
    margin-top: 0;
}

.profile-bio p {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 20px;
}

.profile-bio ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.profile-bio ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.profile-bio ul li:before {
    content: "•";
    color: #d4af37; /* Gold color */
    position: absolute;
    left: 0;
}

.back-link {
    margin-top: 40px;
    text-align: center;
}

.back-link .btn {
    background-color: #d4af37; /* Gold button */
    color: #000;
    padding: 10px 25px;
    font-weight: 600;
}

.back-link .btn:hover {
    background-color: #b8960c;
}

/* Additional responsive fixes for very small screens */
@media (max-width: 375px) {
    /* Improve readability on iPhone-sized screens */
    .hero-header h1 {
        font-size: 1.6rem;
    }
    
    .hero-header h2 {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    /* Fix header on very small screens */
    .header-container {
        padding: 0 5px;
    }
    
    .logo {
        height: 35px;
    }
    
    /* Ensure buttons are properly sized */
    .btn, .contact-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    /* Improve profile pages on small screens */
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .profile-info h2 {
        font-size: 1.5rem;
    }
    
    .profile-bio {
        padding: 20px 15px;
    }
    
    .profile-bio h3 {
        font-size: 1.2rem;
    }
}

/* Fix for iOS Safari padding issues */
@supports (-webkit-touch-callout: none) {
    .dropdown-content {
        padding-bottom: 1px;
    }
    
    .btn, .contact-btn {
        padding-top: 9px;
        padding-bottom: 7px;
    }
}

/* Hamburger Menu Styles */
.nav-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 0;
    z-index: 101;
}

.hamburger-icon {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: #e0e0e0;
    transition: transform 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #e0e0e0;
    transition: transform 0.3s ease;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    top: 8px;
}

.menu-toggle.active .hamburger-icon {
    background-color: transparent;
}

.menu-toggle.active .hamburger-icon::before {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger-icon::after {
    transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
    width: 100%;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 250px;
        height: 100vh;
        background-color: #1a1a1a;
        padding: 80px 20px 20px;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        z-index: 100;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .main-nav ul li {
        width: 100%;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

/* Enhanced Mobile Responsive Styles */
@media (max-width: 576px) {
    /* Hero section adjustments */
    .hero {
        padding: 40px 0;
    }
    
    .hero-header h1 {
        font-size: 1.8rem;
    }
    
    .hero-header h2 {
        font-size: 1.2rem;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text, .hero-image {
        width: 100%;
    }
    
    .hero-text {
        margin-bottom: 20px;
    }
    
    /* Tracks section */
    .track-columns {
        flex-direction: column;
    }
    
    .track-box {
        width: 100%;
        margin-bottom: 20px;
    }
    
    /* Experience section */
    .experience-item.left .experience-content, 
    .experience-item.right .experience-content {
        max-width: 75%;
    }
    
    .experience-content h3 {
        font-size: 1rem;
    }
    
    /* Venue section */
    .venue-layout {
        flex-direction: column;
    }
    
    .venue-image, .venue-right-side {
        width: 100%;
    }
    
    .venue-image {
        margin-bottom: 20px;
    }
    
    /* Speakers section */
    .speaker-grid {
        grid-template-columns: 1fr;
    }
    
    .speaker-card {
        margin-bottom: 30px;
    }
}

/* Tablet adjustments */
@media (min-width: 577px) and (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text, .hero-image {
        width: 100%;
    }
    
    .hero-text {
        margin-bottom: 20px;
    }
    
    .venue-layout {
        flex-direction: column;
    }
    
    .venue-image, .venue-right-side {
        width: 100%;
    }
    
    .venue-image {
        margin-bottom: 20px;
    }
    
    .speaker-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* Speaker profile page responsive adjustments */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image {
        margin: 0 auto 20px;
    }
} 