/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    max-width: 100%;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #fff;
    color: #000;
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
}

/* ========================================
   HEADER - RESPONSIVE WITH HAMBURGER MENU
   ======================================== */
.header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    z-index: 1001;
    font-family: 'Montserrat', sans-serif;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.desktop-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

.desktop-nav a:hover {
    background-color: #f8f9fa;
    color: #FFCC00;
    transform: translateY(-1px);
}

.desktop-nav a:active {
    transform: translateY(0);
}

/* Desktop Download Button */
.header-download {
    display: flex;
    align-items: center;
}

.download-btn {
    background: #FFCC00;
    color: #000;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}

.download-btn:hover {
    background: #e6b733;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 200, 61, 0.4);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.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);
}

/* Mobile Navigation */
.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 15px 5%;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.mobile-nav a:hover {
    background-color: #f8f9fa;
    color: #FFCC00;
    padding-left: 7%;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-download-btn {
    background: #FFCC00 !important;
    color: #000 !important;
    margin: 15px 5% 20px 5% !important;
    padding: 12px 25px !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    text-align: center !important;
    display: block !important;
    width: calc(100% - 10%) !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    height: 60vh;
    min-height: 575px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 5%;
    background: url('images/hero.jpg') center/cover no-repeat;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #ECEFF1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.btn {
    background: #FFCC00;
    color: #000;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    background: #e6b733;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 200, 61, 0.4);
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 25px 5%;
    text-align: center;
    width: 100%;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #555;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.7;
}

/* ========================================
   IMAGE CAROUSELS - ENHANCED RESPONSIVE
   ======================================== */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: clamp(10px, 2vw, 15px);
    padding: clamp(15px, 3vw, 20px);
}

.carousel-slide {
    flex-shrink: 0;
    min-width: 280px;
    width: 280px;
    height: 373px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    aspect-ratio: 3/4;
}

.carousel-slide:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Carousel Navigation Arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #FFC83D, #FFE082);
    border: none;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.prev:hover, .next:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 200, 61, 0.4);
}

.prev:active, .next:active {
    transform: translateY(-50%) scale(0.95);
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* Carousel Loading/Placeholder Messages */
.loading-message, .placeholder-message {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: #666;
    font-style: italic;
    background: #f5f5f5;
    border-radius: 10px;
    margin: 20px;
    padding: 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.placeholder-message {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* ========================================
   EVENTS SECTION - TWO COLUMNS
   ======================================== */
.events-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto 0;
}

.calendar-column, .map-column {
    display: flex;
    flex-direction: column;
}

.calendar-column h3, .map-column h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.calendar-column iframe, .map-column iframe {
    width: 100%;
    height: 600px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
#contact iframe {
    width: 100%;
    height: 700px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 30px 5%;
    text-align: center;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
    margin-top: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #FFCC00;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 1;
    visibility: visible;
    color: #000;
}

.back-to-top:hover {
    background: #e6b733;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 200, 61, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   LIGHTBOX STYLES
   ======================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    transition: transform 0.3s ease;
}

.lightbox img:hover {
    transform: scale(1.02);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2100;
}

.lightbox-close:hover {
    color: #FFCC00;
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    color: #000;
    font-weight: bold;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    user-select: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFC83D, #FFE082);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: linear-gradient(135deg, #FFC83D, #FFE082);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 200, 61, 0.4);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-counter {
    margin-top: 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

/* ========================================
   FONT FACE
   ======================================== */
@font-face {
  font-family: 'Lovelo';
  src: url('fonts/Lovelo Black.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Apply Lovelo font only to logo, h1, and h2 */
.logo,
h1,
h2 {
  font-family: 'Lovelo', sans-serif;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Smooth scroll for clicking back to top */
html {
  scroll-behavior: smooth;
}

/* ========================================
   RESPONSIVE DESIGN - ENHANCED
   ======================================== */

/* Desktop and Large Screens (769px and above) */
@media (min-width: 769px) {
    /* Show desktop navigation */
    .desktop-nav {
        display: flex;
    }
    
    /* Hide hamburger menu */
    .hamburger {
        display: none;
    }
    
    /* Hide mobile navigation */
    .mobile-nav {
        display: none;
    }
    
    /* Show desktop download button */
    .header-download {
        display: flex;
    }
}

/* Tablet and Mobile (768px and below) */
@media (max-width: 768px) {
    /* Header - Switch to hamburger menu */
    .header {
        padding: 15px 4%;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    /* Hide desktop navigation */
    .desktop-nav {
        display: none !important;
    }
    
    /* Hide desktop download button */
    .header-download {
        display: none !important;
    }
    
    /* Show hamburger menu */
    .hamburger {
        display: flex !important;
    }
    
    /* Show mobile navigation */
    .mobile-nav {
        display: block;
    }
    
    /* Ensure mobile nav can be shown when active */
    .mobile-nav.active {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Hero */
    .hero {
        height: 50vh;
        min-height: 400px;
        padding: 30px 4%;
        justify-content: flex-end;
        text-align: right;
    }
    
    .hero-content {
        text-align: right;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    /* Sections */
    .section {
        padding: 40px 4%;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    /* Carousels */
    .carousel-slide {
        min-width: 200px;
        width: 200px;
        height: 267px;
    }
    
    .prev, .next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .prev { left: 10px; }
    .next { right: 10px; }
    
    /* Events - Stack columns */
    .events-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px auto 0;
    }
    
    .calendar-column iframe, .map-column iframe {
        height: 450px;
    }
    
    /* Contact */
    #contact iframe {
        height: 600px;
    }
    
    /* Lightbox adjustments */
    .lightbox-prev {
        left: -40px;
    }
    .lightbox-next {
        right: -40px;
    }
    
    .lightbox-prev, .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-top: -20px;
    }
    
    /* Back to Top Button */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    /* Header */
    .header {
        padding: 12px 3%;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .hamburger span {
        width: 22px;
        height: 2px;
    }
    
    .mobile-nav a {
        padding: 12px 3%;
        font-size: 0.95rem;
    }
    
    .mobile-download-btn {
        margin: 12px 3% 15px 3% !important;
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        width: calc(100% - 6%) !important;
    }
    
    /* Hero */
    .hero {
        height: 45vh;
        min-height: 350px;
        padding: 20px 3%;
        justify-content: flex-end;
        text-align: right;
    }
    
    .hero-content {
        text-align: right;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Sections */
    .section {
        padding: 30px 3%;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .section p {
        font-size: 1rem;
    }
    
    /* Carousels */
    .carousel-slide {
        min-width: 160px;
        width: 160px;
        height: 213px;
    }
    
    .prev, .next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .prev { left: 8px; }
    .next { right: 8px; }
    
    /* Events */
    .events-container {
        gap: 15px;
        margin: 25px auto 0;
    }
    
    .calendar-column h3, .map-column h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .calendar-column iframe, .map-column iframe {
        height: 400px;
        border-radius: 8px;
    }
    
    /* Contact */
    #contact iframe {
        height: 500px;
        border-radius: 8px;
    }
    
    /* Footer */
    .footer {
        padding: 20px 3%;
        font-size: 0.9rem;
    }
    
    /* Back to Top Button */
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
    
    /* Lightbox adjustments for small mobile */
    .lightbox-prev, .lightbox-next {
        top: auto;
        bottom: 20px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-top: 0;
        background: linear-gradient(135deg, #FFC83D, #FFE082);
    }
    .lightbox-prev {
        left: 20%;
    }
    .lightbox-next {
        right: 20%;
    }
    
    .lightbox-prev:hover, .lightbox-next:hover {
        transform: scale(1.1);
    }
}

/* ========================================
   LANDSCAPE MOBILE RESPONSIVE FIXES
   ======================================== */

/* Mobile Landscape (up to 768px width in landscape) */
@media (max-width: 768px) and (orientation: landscape) {
    /* Header adjustments for landscape */
    .header {
        padding: 8px 3%;
        min-height: 60px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .hamburger {
        padding: 2px;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }
    
    /* Hero section - much shorter in landscape */
    .hero {
        height: 70vh;
        min-height: 280px;
        padding: 15px 4%;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    /* Sections with reduced padding in landscape */
    .section {
        padding: 25px 4%;
    }
    
    .section h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .section p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    /* Carousel adjustments for landscape */
    .carousel {
        padding: 15px;
        gap: 10px;
    }
    
    .carousel-slide {
        min-width: 140px;
        width: 140px;
        height: 186px;
    }
    
    .prev, .next {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    /* Events section - keep single column in landscape mobile */
    .events-container {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px auto 0;
    }
    
    .calendar-column iframe, .map-column iframe {
        height: 300px;
    }
    
    /* Contact form shorter in landscape */
    #contact iframe {
        height: 400px;
    }
    
    /* Mobile nav adjustments */
    .mobile-nav a {
        padding: 8px 3%;
        font-size: 0.9rem;
    }
    
    .mobile-download-btn {
        margin: 8px 3% 12px 3% !important;
        padding: 8px 16px !important;
    }
}

/* Small Mobile Landscape (up to 480px width) */
@media (max-width: 480px) and (orientation: landscape) {
    .header {
        padding: 6px 2%;
        min-height: 50px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .hero {
        height: 75vh;
        min-height: 250px;
        padding: 10px 3%;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .section {
        padding: 20px 3%;
    }
    
    .section h2 {
        font-size: 1.4rem;
    }
    
    .carousel-slide {
        min-width: 120px;
        width: 120px;
        height: 160px;
    }
    
    .prev, .next {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .calendar-column iframe, .map-column iframe {
        height: 250px;
    }
    
    #contact iframe {
        height: 350px;
    }
}

/* Tablet Landscape (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    /* Force hamburger menu in tablet landscape */
    .desktop-nav {
        display: none !important;
    }
    
    .header-download {
        display: none !important;
    }
    
    .hamburger {
        display: flex !important;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .mobile-nav.active {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Adjust header for tablet landscape */
    .header {
        padding: 12px 4%;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .carousel-slide {
        min-width: 220px;
        width: 220px;
        height: 293px;
    }
    
    /* Events can stay two-column in tablet landscape */
    .events-container {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .calendar-column iframe, .map-column iframe {
        height: 450px;
    }
}

/* Large Tablet/Small Desktop Landscape - Still use hamburger if cramped */
@media (min-width: 1025px) and (max-width: 1200px) and (orientation: landscape) {
    .desktop-nav {
        gap: 25px; /* Reduce gap between menu items */
    }
    
    .desktop-nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .download-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}