/* Reset some default styles */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
}

/* Base styling */
body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    background-color: #f7f9fc;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

/* QR Code Styling */
.qr-code {
    max-width: 100%;
    width: 200px;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Call-to-action button (Join link) */
.btn {
    display: inline-block;
    padding: 10px 16px;
    background-color: #2e86de;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 8px;
}

.btn:hover {
    background-color: #1b4f72;
}

/* Header layout */
header {
    background-color: #2e86de;
    color: white;
    padding: 20px 0 0 0;
}

/* Flexbox for logo + heading */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 10px;
}

.logo {
    height: 80px;
    width: auto;
}

.header-flex h1 {
    flex: 1;
    text-align: center;
    font-size: 2em;
    margin: 0;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 10px 0;
    background-color: #1b4f72;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Section spacing */
section {
    margin: 40px 0;
}

/* Event List */
.event-list {
    list-style: none;
    margin-top: 10px;
}

.event-list li {
    background-color: #e3f2fd;
    padding: 16px;
    border-left: 5px solid #2e86de;
    margin-bottom: 12px;
    border-radius: 6px;
}

/* Gallery section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* Social section */
#social {
    text-align: center;
}

.social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 10px;
    margin-top: 10px;
}

.social-links a {
    text-decoration: none;
    color: #2e86de;
    font-weight: bold;
    padding: 8px 12px;
    border: 1px solid #2e86de;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.social-links a:hover {
    background-color: #2e86de;
    color: white;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #2e86de;
    color: white;
    margin-top: 40px;
}
