/* css/style.css */

/* ... (all previous CSS styles remain unchanged) ... */
html {
  scroll-behavior: smooth;
}

body{
    font-family: Open Sans, Arial, sans-serif !important;
    color: #666;
}

.top_header span, .top_header a {
    font-size: 14px;
}

/* Mobile responsive header improvements */
@media (max-width: 640px) {
  .top_header span {
    font-size: 12px;
  }
  
  .top_header .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* General container styling */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Event Highlight Section Styles */
.event-highlight {
    /* padding: 80px 0; */
    background-color: #f7f7f7;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
}

.highlight-container {
    display: flex;
    align-items: stretch; /* Ensures both columns are the same height */
    /* gap: 50px; */ /* Ensure this is removed or 0 if it was there */
    max-width: 100%; /* This is good, similar to reference's content constraint */
    /* margin: 0 auto; */
}

.highlight-text {
    flex: 40%;
    background-color: #F96603;
    padding: 60px 50px; /* Added substantial padding. Adjust as needed. Reference uses ~80px top/bottom, ~60px sides */
    display: flex; /* To control alignment of content within */
    flex-direction: column; /* Stack text elements vertically */
    justify-content: center; /* Vertically center the text block */
}

.highlight-text h2 {
    font-size: 2.5rem;
    color: #111111;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.highlight-text .highlight-subtitle {
    font-size: 1.2rem;
    color: #111111;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-text p {
    font-size: 1.1rem;
    color: #3d3c3c;
    margin-bottom: 30px;
    line-height: 1.7;
}

.learn-more-button {
    display: inline-block;
    background-color: #FCE602;
    color: #000;
    padding: 12px 26px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;             /* Pill shape */
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border: 2px solid transparent;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(249, 102, 3, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); /* Smooth animation */
}

.learn-more-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
    z-index: -1;
}

.learn-more-button:hover {
    background-color: #d3c101;
    transform: translateY(-3px) scale(1.02); /* Slight raise and scale effect */
    box-shadow: 0 7px 20px rgba(249, 102, 3, 0.5);
}

.learn-more-button:hover:before {
    left: 100%;                      /* Animated shine effect on hover */
}

.learn-more-button:active {
    transform: translateY(1px);      /* Push effect when clicked */
    box-shadow: 0 3px 10px rgba(249, 102, 3, 0.3);
}

/* Styling for the button's icon */
.button-icon {
    margin-right: 8px;
    font-size: 0.8em;
    display: inline-block;
    transition: transform 0.3s ease;
}

.learn-more-button:hover .button-icon {
    transform: translateX(3px);
}

/* Styling for the button's note */
.button-note {
    display: block;
    font-size: 0.7em;
    font-weight: normal;
    letter-spacing: 0.5px;
    margin-top: 4px;
    opacity: 0.9;
}

/* Pulsing effect */
.button-pulse {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Adjust mobile styles for the enhanced button */
@media (max-width: 768px) {
    .learn-more-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .button-note {
        font-size: 0.65em;
    }
}

.highlight-image {
    flex: 60%;
    /* height: auto; */ /* This is fine, will stretch due to align-items: stretch on parent */
    display: flex; /* Keeps image centered if it's not 100% width/height, though img style below handles it */
    /* align-items: center; */ /* Not strictly necessary if img is 100% height */
    /* justify-content: center; */ /* Not strictly necessary if img is 100% width */
}

.highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* border-radius: 8px; */ /* Reference image does not have rounded corners */
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.15); */ /* Reference image does not have a shadow */
}

/* Responsive adjustments for Event Highlight Section */
@media (max-width: 992px) { /* Adjust breakpoint as needed, e.g. for tablets */
    .highlight-text h2 {
        font-size: 2rem;
    }
    .highlight-text .highlight-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) { /* For smaller tablets and mobile */
    .event-highlight {
        padding: 0px 0;
    }
    
    .highlight-container {
        flex-direction: column;
        /* gap: 30px; */
    }

    .highlight-text {
        /* padding-right: 0;
        text-align: center; */
        flex-basis: auto; /* Reset flex-basis for stacked layout */
        padding: 40px 20px; /* Adjust padding for mobile */
        text-align: center;
    }

    .highlight-image {
        /* max-width: 100%; */
        flex-basis: auto;
    }

    .highlight-text h2 {
        font-size: 1.8rem;
    }
    
    .learn-more-button {
        padding: 8px 18px;
        align-self: center; /* Center button on mobile if text is centered */
    }
}

/* Updated orange brand color */
.bg-yellow {
  background-color: #F96603 !important;
}

/* Override Tailwind yellow utilities to match brand color */
.hover\:bg-yellow-400:hover { background-color: #F96603 !important; color: #000 !important; }
.hover\:text-yellow-500:hover { color: #F96603 !important; }
.text-yellow-500 { color: #F96603 !important; }

/* Center-align text in the Event Highlight section */
.text-event-highlight {
  text-align: center;
}

/* Main Header Styles */
#main-header {
  position: sticky;
  top: 32px; /* Height of top_header */
  z-index: 1000;
  background-color: white; /* Ensure the background is solid */
  transition: all 0.3s ease;
  width: 100%;
}

/* Make both headers sticky */
.top_header {
  position: sticky;
  top: 0;
  z-index: 1001; /* Higher than main header */
  width: 100%;
}

/* Logo wrapper for smooth resizing */
.logo-wrapper {
  transition: padding 0.3s ease-in-out; /* More specific transition */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  background-color: white;
}

#main-header.scrolled .logo-wrapper {
  padding: 5px 0;
}

/* Logo resizing on scroll */
#main-header img {
  transition: max-height 0.3s ease-in-out; /* More specific transition */
  max-height: 150px;
  width: auto;
}

#main-header.scrolled img {
  max-height: 70px; /* Smaller fixed height */
}

/* Navigation bar - maintain size but still sticky */
#main-header nav {
  background-color: white;
  border-bottom: 1px solid #e2e8f0;
  position: relative; /* Keep normal flow */
  z-index: 999; /* Below the top header but above content */
  transition: none; /* No transition for nav */
}

/* Remove padding adjustments for nav when scrolled */
#main-header.scrolled nav {
  /* No changes to padding or size */
  padding-top: .75em; 
  padding-bottom: .75em;
}

/* Dropdown Menu Styles */
/* Default state for dropdown menu items is managed by Tailwind classes in HTML */
/* e.g., hidden, static, md:absolute etc. */

/* Mobile Navigation Improvements */
@media (max-width: 767px) {
  /* Mobile menu button enhancements */
  #menu-toggle {
    transition: all 0.3s ease;
    position: relative;
  }
  
  #menu-toggle:hover {
    transform: scale(1.05);
    background-color: #f3f4f6;
  }
  
  #menu-toggle:active {
    transform: scale(0.95);
  }
  
  /* Hamburger icon animation */
  #menu-toggle svg {
    transition: transform 0.3s ease;
  }
  
  #menu-links:not(.hidden) + div #menu-toggle svg {
    transform: rotate(90deg);
  }
  
  /* Mobile menu container spacing and animations */
  #menu-links {
    transition: all 0.3s ease-in-out;
    transform-origin: top;
    border-top: 1px solid #e5e7eb;
    margin-top: 1px;
  }
  
  #menu-links.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }
  
  #menu-links:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  /* Mobile menu items styling */
  #menu-links a {
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
  }
  
  #menu-links a:hover {
    background-color: #f9fafb;
    border-left-color: #fbbf24;
    padding-left: 1.25rem;
  }
  
  #menu-links a:active {
    background-color: #f3f4f6;
    transform: scale(0.98);
  }
  
  /* Mobile dropdown menu styling */
  .dropdown-menu {
    background-color: #f8fafc;
    border-left: 2px solid #e5e7eb;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 0.375rem;
    overflow: hidden;
  }
  
  .dropdown-menu a {
    border-left: 3px solid transparent !important;
  }
  
  .dropdown-menu a:hover {
    background-color: #f1f5f9 !important;
    border-left-color: #f59e0b !important;
    padding-left: 1.5rem !important;
  }
  
  /* Improved chevron styling for mobile */
  .dropdown > a .fas.fa-chevron-down {
    transition: transform 0.3s ease;
  }
}

/* Desktop hover effect for dropdowns */
@media (min-width: 768px) { /* md breakpoint from Tailwind */
  .dropdown:hover .dropdown-menu {
    display: block; /* Show dropdown on hover */
  }
  .dropdown:hover > a .fas.fa-chevron-down {
    transform: rotate(180deg); /* Rotate chevron on hover */
  }
  /* Desktop specific positioning is primarily handled by Tailwind classes in the HTML 
     (e.g., md:absolute, md:bg-white, md:shadow-lg, md:rounded, md:mt-1, md:w-auto, md:min-w-max) */
}

/* Ensure text wrapping is handled for dropdown items if they become too long */
.dropdown-menu a {
  white-space: nowrap; /* Original style, keep if desired */
  /* Consider changing to 'normal' if nowrap causes issues on small dropdowns */
}

/* Chevron transition - applies to both hover and potential JS-driven rotation */
.dropdown > a .fas.fa-chevron-down {
  transition: transform 0.2s ease-in-out;
}

#lightbox {
  z-index: 1001;;
}

/* Optional: If you add a class like 'mobile-dropdown-open' via JS for chevron rotation on mobile */
/*
.dropdown > a.mobile-dropdown-open .fas.fa-chevron-down {
  transform: rotate(180deg);
}
*/