/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, sans-serif;
    background: #05070a;
    color: #e5e5e5;
    line-height: 1.6;
}

/* TOP LOGO SECTION — REDUCED SPACING + RESPONSIVE */
.top-logo {
    width: 100%;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.main-logo {
    width: 100%;
    max-width: 520px; /* responsive */
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.main-caption {
    font-size: 1.35rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* HERO SECTION — RESPONSIVE */
.hero {
    position: relative;
    min-height: 500px;      /* phones */
    height: 60vh;           /* responsive height */
    background: url('assets/hero.jpg') center/cover no-repeat;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.hero-content {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.cta {
    padding: 14px 32px;
    background: #9cd6ff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 1.2rem;
}

/* ABOUT SECTION */
.about {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.about h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* GALLERY SECTION — RESPONSIVE THUMBNAILS */
.gallery {
    max-width: 1200px;
    margin: 100px auto 80px auto;
    padding: 0 20px;
    text-align: center;
}

.gallery h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.grid img {
    width: 100%;
    height: 240px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.grid img:hover {
    transform: scale(1.03);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px 20px;
    opacity: 0.7;
    border-top: 1px solid #222;
}

/* MOBILE RESPONSIVE TUNING */
@media (max-width: 600px) {

    .top-logo {
        padding: 10px 10px;
    }

    .main-caption {
        font-size: 1.1rem;
        margin-top: 6px;
    }

    .hero {
        height: 50vh; /* slightly shorter on phones */
    }

    .gallery {
        margin: 60px auto;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .grid img {
        height: 180px;
    }
}
