/* 1. Defaults */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000;
    color: #48E5E8;
    line-height: 1.6;
    font-size: 1.1rem;
    min-height: 100vh;
}

h1 {
    width: 100%;
    text-align: center;
    margin: 2rem 0;
    color: #ade57af6;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
}

.column-text h1 {
    width: auto;
    text-align: left;
    margin: 0 0 1.5rem 0;
}

h2 {
    margin-bottom: 1rem;
    color: #ade57af6;
    font-size: 1.4rem;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

/* 2. Header & Nav */
header {
    position: sticky;
    top: 0px;
    z-index: 100;
    width: 96%;
    margin: 10px auto;
    padding: 1rem 5%;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 10px #48E5E8;
}

.main-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    width: clamp(80px, 12vw, 120px);
    flex-shrink: 0;
    color: #ade57af6;
    border-radius: 20px;
    transition: 0.3s ease;
    overflow: hidden;
}

.logo-img {
    display: block;
    width: 100%;
    height: auto;
}

.logo:hover {
    box-shadow: 0 5px 15px #ade57af6;
    transform: translateY(-2px);
}

.nav-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    list-style: none;
}

.nav-list a {
    color: #ade57af6;
    font-weight: 500;
}

.nav-list a:hover,
.nav-list a.active {
    color: #48E5E8;
    border-bottom: 2px solid #48E5E8;
}

/* 3. Layout */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 2rem 5%;
    align-items: flex-start;
}

main > .row:first-child,
main > section:first-child > .row:first-child {
    padding-top: 4rem;
}

.row.reverse {
    flex-direction: row-reverse;
}

.column-text {
    flex: 1.5;
    min-width: 300px;
}

.column-img {
    flex: 1;
    min-width: 280px;
    max-width: 420px;
    display: flex;
    justify-content: center;
}

/* 4. Styling */
.main-content {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #ade57af6;
    max-width: 800px; 
    width: 100%;
}

.section-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    border-radius: 20px;
    border: 4px solid #ade57af6;
}

/* 5. Buttons */
.main-btn {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: #ade57af6;
    color: #000;
    font-weight: 900;
    border-radius: 50px;
    margin: 0;
}

.cta-button:hover {
    box-shadow: 0 5px 15px #ade57af6;
    transform: translateY(-2px);
    color: #000;
}

/* 6. Centered Rows */
.centered-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 5%;
    gap: 0;
    text-align: center;
}

.centered-row .column-text {
    flex: none;
    width: 100%;
    max-width: 800px;
    padding-bottom: 2rem;
}

/* 7. Gallery  */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

.gallery-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s ease;
}

.gallery-item:hover {
    border-color: #ade57af6;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px #ade57af6;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.desc {
    padding: 15px;
    text-align: center;
    color: #48E5E8;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 8. Lists/Links */
.list {
    display: inline-block;
    text-align: left;
    padding-left: 1.5rem;
    list-style: none;
    margin-bottom: 1.5rem;
}

.list a, .main-content a {
    color: #ade57af6;
    font-weight: 600;
    text-decoration: underline;
}

.list a:hover {
    color: #48E5E8;
}

/* 9. Responsive */
@media (max-width: 768px) {
    /* Stack the main rows */
    .row, .row.reverse {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 5%;
        gap: 20px;
    }

    .column-text, .column-img {
        min-width: 100%;
        max-width: 100%;
    }

    .column-text h1 {
        text-align: center;
        margin: 1rem 0 1.5rem 0;
    }

    /* Fix Navigation Grouping */
    .main-nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-list {
        justify-content: center;
        flex-wrap: wrap; 
        gap: 15px;
        padding: 0;
        width: 100%;
    }

    .nav-list li {
        font-size: 1rem; 
    }

    header {
        top: 0;
        width: 100%;
        border-radius: 0;
        margin: 0;
    }
}