:root {
    --primary-color: #1a1f36;
    --secondary-color: #2d3250;
    --tertary-color: #424769;
    --light-color: #f5f5f7;
    --hover-color: #7077A1;
    --accent-color: #6b7fd7;
    --text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    --t1border: 2px solid #900;
    --t2border: 2px solid #FFF;
}

body, html {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    background-color: var(--primary-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img.centered {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 99vw;
    height: auto;
}

img:hover:not(.logo) {
    cursor: pointer;
}

a {
    color: var(--light-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

a:hover {
    color: var(--accent-color);
}

a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

a:hover::after {
    transform: scaleX(1);
}

h1 {
    display: block;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--light-color);
    text-shadow: var(--text-shadow);
    font-weight: 600;
    letter-spacing: 0.5px;
}

header {
    position: fixed;
    width: 100%;
    height: 10vh;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .logo {
    display: block;
    width: auto;
    height: 9vh;
    color: var(--light-color);
}

header .name {
    display: block;
    width: 30%;
    font-size: 2rem;
    font-weight: bold;
}

header .navbar {
    display: block;
    width: 30%;
    font-size: 1.5rem;
    padding-right: 5%;
}

header .navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header .navbar li {
    display: inline;
    margin-left: 1rem;
}

section.hero {
    margin-top: 10vh;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--light-color);
    background-color: var(--tertary-color);
    box-shadow: inset 0 0 100px rgba(0,0,0,0.2);
}

.hero > p {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-shadow: var(--text-shadow);
}

section.gallery {
    text-align: center;
    color: var(--light-color);
    margin: 2rem auto;
    padding: 2rem;
    max-width: 1400px;
}

.images {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1400px;
    gap: 2rem;
    margin: 2rem auto;
    padding: 0 1rem;
}

.gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
}

.gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

footer {
    bottom: 0;
    color: var(--light-color);
    background-color: var(--secondary-color);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

img.socials {
    height: 8vh;
    width: auto;
    transition: transform 0.3s ease;
    filter: brightness(0.95);
}

img.socials:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

p.socials {
    display: inline;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9001;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1200px;
    animation: zoom 0.4s ease-out;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 8px;
}

@keyframes zoom {
    from {transform: scale(0.1)}
    to {transform: scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: var(--light-color);
    font-size: 40px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.close:hover,
.close:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
    transform: scale(1.1);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media only screen and (max-width: 700px) {
    body, html {
        font-size: 14px;
    }

    .hero > p {
        font-size: 1rem;
        line-height: 1.6;
    }

    header .name {
        font-size: 1.5rem;
    }

    .images {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .modal-content {
        width: 95%;
    }
}

@media only screen and (max-width: 500px) {
    header .navbar {
        display: none;
    }

    header .name {
        font-size: 1.2rem;
        width: 60%;
    }

    .hero {
        padding: 2rem 1rem;
    }
} 