@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');
:root {
    --color: #FFD700;
    --gold: #FFD700;
    --white: #FFFFFF;
    --black: #000000;
    --dark-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------------- Header ---------------- */
header {
    background: var(--glass);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(230, 180, 34, 0.2);
    padding: 1rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  }
  
  .logo {
    height: 50px;
    filter: drop-shadow(0 0 5px var(--accent-gold));
  }
  
  /* ---------------- Navigation ---------------- */
  nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
  }
  
  nav a {
    color: var(--text-light);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
  }
  
  nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
  }
  
  nav a:hover {
    color: var(--accent-gold);
  }
  
  nav a:hover::after {
    width: 100%;
  }

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* Cover Section */
.cover {
    position: relative;
    width: 100%;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--black);
    padding: 6vw;
    overflow: hidden;
}

.cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/pi-day-cover.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

.cover__inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cover h1 {
    color: var(--white);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
}

/* Button Styles */
.button {
    display: inline-block;
    text-decoration: none;
    background-color: var(--color);
    color: var(--black);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.button:hover {
    transform: scale(1.05);
    background-color: #ffca2c;
}

/* Spacer */
.spacer {
    height: 80px;
}

/* Constrained Group */
.group {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.group h2 {
    color: var(--black);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.group p {
    color: var(--dark-gray);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* List Styles */
.group ul {
    color: var(--dark-gray);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-left: 2rem;
}

.group ul li {
    margin-bottom: 1rem;
}

.group ul ul {
    margin-top: 0.5rem;
    margin-left: 2rem;
}

.group a {
    color: #0066cc;
    text-decoration: none;
}

.group a:hover {
    text-decoration: underline;
}

/* ---------------- Hero Section ---------------- */
main {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

main h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(230, 180, 34, 0.6);
    animation: glow 2.5s infinite alternate;
}

main p {
    font-size: 1.3rem;
    max-width: 700px;
    color: #d6d6d6;
}

/* Sponsor Section */
.sponsor-logos {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    background: var(--white);
    padding: 20px 0;
}

.logos-slide {
    display: flex;
    animation: scroll 15s linear infinite;
}

.logo {
    margin-right: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    max-height: 150px;
    width: auto;
}

/* Gallery Container */
.gallery-container {
    margin-top: 2rem;
}

.gallery-container h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--black);
    margin: 2rem 0 1rem;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 4/3; /* Ensures consistent thumbnail proportions */
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

.lightbox-caption {
    color: var(--white);
    font-size: 1.2rem;
    margin-top: 1rem;
    text-align: center;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--white);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    cursor: pointer;
    user-select: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--white);
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .gallery-container h3 {
        font-size: 1.5rem;
    }

    .lightbox img {
        max-width: 95%;
        max-height: 70%;
    }
}
/* Help Section */
.help-section {
    padding-bottom: 3rem;
}

.help-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.help-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.help-card:nth-child(2) {
    animation-delay: 0.1s;
}

.help-card:nth-child(3) {
    animation-delay: 0.2s;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.help-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.help-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.help-card p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.help-card ul {
    list-style: none;
    margin-left: 0;
    text-align: left;
}

.help-card li {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.help-card a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.help-card a:hover {
    color: var(--color);
    text-decoration: underline;
}

/* Animation */
@keyframes fadeIn {
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .help-cards {
        grid-template-columns: 1fr;
    }

    .help-card h3 {
        font-size: 1.5rem;
    }

    .help-card p,
    .help-card li {
        font-size: 0.95rem;
    }
}