/* Reset some default styles */
body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #181820;
    color: #f3f3f3;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header styles */
header {
    background: #232336;
    color: #f3f3f3;
    /* padding: 2rem 0; */
    text-align: center;
    box-shadow: 0 2px 8px rgba(45, 108, 223, 0.08);
    /* border-bottom: 4px solid #43ea7c; */
    height: auto;
    /* position: fixed; */
    width:100%;
    top: 0;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Navigation styles */
 nav {
    background: #232336;
    box-shadow: 0 1px 4px rgba(67, 234, 124, 0.10);
    border-bottom: 3px solid #43ea7c;
    padding: 10px 0;
    position:fixed;
    width:100%;
    height:auto;
    z-index: 1100;
    top: 0px
}
nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
nav li {
    display: inline;
    background: #232336;
    box-shadow: 0 1px 4px rgba(67, 234, 124, 0.10);
    padding: 0.5rem 0;
    text-align: center;
    /* border-bottom: 3px solid #43ea7c; */
    margin-bottom:0px;
}

nav a {
    color: #43ea7c;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 600;
    transition: color 0.2s, border-bottom 0.5s;
    font-size: 2rem;
}

nav a:hover {
    color: #1749a2;
    border-bottom: 3px solid #1749a2;
}

/* Main content styles */
ul #nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
main {
    max-width: 900px;
    margin: 2rem auto;
    background: rgba(40, 0, 60, 0.85);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(106, 27, 154, 0.10);
    padding: 2rem 3vw;
}

#content {
    margin-top: 120px; /* To offset fixed header */
    position:relative;
}

section {
    max-width: 1800px;
    margin: 1rem auto;
    background: rgba(40, 0, 60, 0.85);
    border-radius: 20px;
    box-shadow: 0 5px 16px rgba(71, 66, 75, 0.1);
    padding: 1rem 2vw;
    position:relative;
    scroll-margin-top: 120px; /* Offset for fixed header */
}

section #about {
    background: rgba(40, 0, 60, 0.85);
    border-radius: 20px;
    box-shadow: 0 5px 16px rgba(71, 66, 75, 0.1);
    padding: 1rem 2vw;
    margin-top: 250px; /* To offset fixed header */
}

h2 {
    color: #2ddf71;
    margin-bottom: 1rem;
    font-size: 4rem;
}

ul {
    list-style: disc inside;
    margin-bottom: 1.5rem;
}

a {
    color: #2d6cdf;
    text-decoration: underline;
}

#scrollTopBtn {
    display:none;
    position:fixed;
    bottom:32px;
    right:32px;
    z-index:1000;
    background: linear-gradient(135deg, #232336 60%, #43ea7c 100%);
    color:#fff;
    border:none;
    border-radius:50%;
    width:56px;
    height:56px;
    font-size:2.2em;
    cursor:pointer;
    box-shadow:0 2px 12px rgba(106,27,154,0.18);
    transition: background 0.2s, box-shadow 0.2s;
}
#scrollTopBtn:hover {
    background: linear-gradient(135deg, #43ea7c 60%, #232336 100%);
    box-shadow:0 4px 16px rgba(67,234,124,0.25);
}

a:hover {
    color: #fff;
    text-shadow: 0 0 8px #43ea7c;
}

p {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #f3f3f3;
    background: none;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 1rem 0;
    background: #232336;
    color: #f3f3f3;
    font-size: 1.1rem;
    margin-top: 2rem;
    border-top: 2px solid #43ea7c;
}

/* Gallery page styles */
.gallery-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    margin-top: 150px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.gallery-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 8px;
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
.caption {
    margin-top: 8px;
    font-size: 0.95em;
    color: #555;
}

/* Responsive design */
@media (max-width: 600px) {
    main, section {
        padding: 1rem 2vw;
    }
    header h1 {
        font-size: 2rem;
    }
}