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

/* BODY & TOP BAR */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0e0e0e;
    color: #fff;
    line-height: 1.6;
    padding-top: 80px;
    transition: background 0.4s ease, color 0.4s ease;
}

#top-bar {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 80px;
background: #030303;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
padding: 0 2rem;
z-index: 1000;
transition: transform 0.4s ease;
}

.bar-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 3px;
}

/* DARK MODE BUTTON */
#dark-mode-toggle {
position: absolute;
right: 2rem;
background: transparent;
border: none;
cursor: pointer;
}

#dark-mode-toggle img {
width: 24px;
height: 24px;
}

/* NAVIGATION */
.nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
}

.nav a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

/* HERO & SECTION */
.hero {
    text-align: center;
    padding: 8rem 10%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid currentColor;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #fff;
    color: #000;
}

.section {
    padding: 6rem 10%;
    text-align: center;
}

.section h2 {
    margin-bottom: 2rem;
    border-bottom: 2px solid currentColor;
    display: inline-block;
    padding-bottom: 0.5rem;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2rem;
    background: #222;
    border: 2px solid #fff;
    border-radius: 12px;
}

/* FOOTER */
footer {
    margin-top: 4rem;
    text-align: center;
    padding: 2rem;
    border-top: 2px solid currentColor;
}

/* LIGHT MODE */
body.light-mode {
    background: #F2F2F2;
    color: #1C1C1C;
}

body.light-mode #top-bar {
    background: #000;
    color: #fff;
}

body.light-mode .card {
    background: #fff;
    border-color: #000;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.gallery-item img,
.gallery-item iframe {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    border-radius: 12px;
}

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

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    #top-bar {
    flex-direction: column;
    height: auto;
    padding: 1rem;
    }
    .bar-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    #dark-mode-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    }
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem 0 1rem 0;
    }
    .section {
        padding: 4rem 5%;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    .grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .card,
    .gallery-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .bar-title {
        font-size: 1.3rem;
    }
    #dark-mode-toggle img {
    width: 20px;
    height: 20px;
    }
    .section h2 {
        font-size: 1.5rem;
    }
    .nav a {
        font-size: 0.9rem;
    }
}
.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.contact-links a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-links a img:hover {
    transform: scale(1.2);
    opacity: 0.8;
}
