/* --------------------- RESET & GLOBAL ----------------------------- */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', Trebuchet MS, sans-serif;
    background: linear-gradient(to right, #a8c8d8, #e0e6ed, #ffffff, #e0e6ed, #a8c8d8);
    color: #080808;
    overflow-x: hidden;
    transition: opacity ease-in 0.2s;
}

body[unresolved] {
    opacity: 0;
    display: block;
    overflow: hidden;
    position: relative;
}

/* --------------------- STANDARD HEADER ----------------------------- */
header {
    background-color: #000000;
    color: #fff;
    padding: 10px 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    position: fixed;
}
  
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
  
.logo-left, .logo-right {
    width: 200px; 
    margin: 0; 
    padding-right: 20px;
}
  
nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}
  
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 60px;
    font-weight: 600;
    font-family: Trebuchet MS, sans-serif;
}
  
.menu li {
    display: inline;
}
  
.menu li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s;
}
  
.menu-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.menu li a:hover {
    color: #4dc1e7; /* Text color on hover */
}


/* --------------------- EVENT LAYOUT ----------------------------- */
#event-gallery {
    padding-top: 140px; /* Space for fixed header */
    padding-bottom: 60px;
    text-align: center;
}

#event-gallery h2 {
    color: #13b6f1;
    font-size: 45px;
    margin-bottom: 20px;
}

.event {
    max-width: 80%;
    margin: 0 auto;
    text-align: justify;
}

.event p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --------------------- INNOPITCH SPECIFIC STYLES ----------------------------- */

.pics {
    background: linear-gradient(135deg, #014c96, #04b2f1, #055bb0);
    color: white;
    align-items: center;
    margin: 50px auto;
    font-family: 'Montserrat', sans-serif;
    padding: 16px 32px;
    text-align: center;
    width: 30%;
    font-size: 17px;
    border-radius: 25px;
    animation: pop-up 0.7s ease-in-out infinite alternate;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

@keyframes pop-up {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,176,196, .45);
    background: rgba(0,0,0, .5);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.card {
    padding: 24px;
    margin-top: 24px;
    border-radius: 14px;
    /* Use a darker background to contrast with the page, or white */
    background: white; 
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card h2 {
    font-size: 24px !important;
    color: #25b4e8;
    margin-bottom: 15px;
}

.card p {
    color: #333;
}

/* --------------------- IMAGE SLIDER ----------------------------- */

.image-row {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

.image-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.image-container {
    display: flex;
}

.image-container img {
    width: 100%;
    height: auto;
    max-width: 300px;
    max-height: 250px;
    margin-right: 10px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.05);
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white !important;
    font-weight: bold;
    font-size: 18px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.prev { left: 0; border-radius: 3px 0 0 3px; }
.next { right: 0; border-radius: 0 3px 3px 0; }

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Modal for Image Zoom */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    padding-top: 100px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.9); 
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.modal-content, #caption {  
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close {
    position: absolute;
    top: 100px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* --------------------- STANDARD FOOTER ----------------------------- */
footer {
    background-color: #020202;
    color: white;
    text-align: center;
    padding: 0;
    margin-top: 40px;
}

.icons {
    background-color: #181616;
    padding: 10px 0;
    align-items: center;
}

.icons a {
    margin: 10px 10px;
}

.text {
    display: flex;
    justify-content: space-around;
    padding: 30px 0 20px 0;
    align-items: flex-start;
}

.column {
    width: 30%;
    text-align: left;
    line-height: 30px;
    font-size: 15px;
    font-family: 'Trebuchet MS', sans-serif;
}

.column h3 {
    margin-bottom: 10px;
}

.top {
    position: fixed;
    bottom: 2.1rem;
    right: 2.1rem;
}

.back-home {
    position: fixed;
    bottom: 6.1rem;
    right: 2.1rem;
}

.top i, .back-home i {
    color: #117fa7;
    background: #0ab7e7;
    font-size: 35px;
    padding: 7px;
    border-radius: 2rem;
}

/* --------------------- MOBILE RESPONSIVE ----------------------------- */
@media (max-width: 600px) {

    #event-gallery {
        padding-top: 100px;
    }

    header {
        padding: 5px 0;
        background-color: black;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
    }
  
    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0px 30px;
    }
  
    .logo-left, .logo-right {
        width: 120px;
        margin-bottom: 5px;
    }
  
    .logo-right {
        padding-left: 15px;
    }
  
    nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
  
    .menu {
        display: none;
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
        gap: 30px;
    }
  
    .menu li {
        width: 100%;
        border-top: 1px solid #fff;
        text-align: left;
        padding: 5px;
        padding-top: 20px;
        padding-left: 10px;
    }
  
    .menu li:first-child {
        border-top: none;
    }
  
    .menu-toggle {
        padding-right: 15px;
        padding-left: 15px;
        display: inline-block;
        align-self: flex-end;
    }
  
    .show-menu {
        display: flex;
        padding-left: 0px;
        padding-bottom: 30px;
    }
  
    /* Footer Mobile */
    footer .text {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
  
    footer .column {
        margin: 5px 0;
        padding: 10px;
        width: 80%;
        font-size: 11px;
        text-align: center;
        line-height: 20px;
    }
  
    footer .icons img {
        width: 25px;
        margin: 5px;
    }

    /* Event Content Mobile */
    .event {
        max-width: 90%;
    }

    .pics {
        width: 90%;
    }
    
    .modal-content {
        margin-top: 100px;
    }
    
    .close {
        top: 110px;
        right: 20px;
    }
}