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

html, body {
    background: #FFFFFF;
    color: #2A4960;
    font-family: system-ui, sans-serif;
    line-height: 1.6;
}

/* FULL WIDTH SEPARATOR */
.full-separator {
    border: none;
    border-top: 1px solid #F5F5F5;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    margin-bottom: 0;
}

/* KESKNE TAHVEL */
.page-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* GALLERY CONTAINER */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
header {
    width: 100%;
    background: #FFFFFF;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

/* LOGO */
.logo img {
    width: 90px;
    height: 90px;
    display: block;
}

/* NAVIGATION */
header nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

header nav a {
    text-decoration: none;
    color: #2A4960;
    font-weight: 600;
    font-size: 18px;
    white-space: nowrap;
}

/* MAIN */
main {
    padding: 32px 0 48px 0;
}

/* HOME TITLE */
.home-title {
    text-align: center;
    padding: 20px 20px 10px 20px;
    font-size: 30px;
    font-weight: 600;
}

/* HERO */
.hero {
    text-align: center;
    margin: 12px 0 20px 0;
}

.hero img {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* INTRO */
.intro {
    text-align: center;
    padding: 8px 20px 12px 20px;
    font-size: 18px;
    font-weight: 600;
    max-width: 720px;
    margin: 0 auto;
}

/* INFO PAGE */
.info-wrapper {
    max-width: 620px;
    margin: 60px auto 80px auto;
    text-align: center;
    padding: 0 20px;
}

.info-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 24px;
}

.info-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto 45px auto;
}

/* PORTFOLIO */
.portfolio-block {
    text-align: center;
    margin: 20px 0 32px 0;
}

.portfolio-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: #2A4960;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border-radius: 999px;
    line-height: 1;
    height: 48px;
    transition: opacity 0.2s ease;
}

.portfolio-button:hover {
    opacity: 0.85;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 16px 0 40px 0;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

/* FOOTER */
footer {
    margin-top: 32px;
    padding: 24px 0 18px 0;
    text-align: center;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    border-top: 1px solid #F5F5F5;
}

.footer-nav-block {
    padding-bottom: 12px;
    margin-bottom: 12px;
    position: relative;
}

.footer-nav-block::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    border-bottom: 1px solid #F5F5F5;
}

.footer-nav-block a {
    margin: 0 10px;
    text-decoration: none;
    color: #2A4960;
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
}

.footer-social {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
}

.footer-social a {
    text-decoration: none;
    color: #2A4960;
    margin: 0 6px;
    white-space: nowrap;
}

.footer-copy {
    margin-top: 4px;
    font-size: 13px;
}

/* MOBILE */
@media (max-width: 768px) {

    .page-wrapper {
        max-width: 100%;
        padding: 0 16px;
    }

    .header-inner {
        flex-direction: column;
        gap: 10px;
        padding: 16px 0 10px 0;
    }

    .logo img {
    width: 70px;
    height: 70px;
    display: block;
    }

    header nav {
        justify-content: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

    header nav a {
        font-size: 14px;
        margin: 0 2px;
    }

    main {
        padding: 20px 0 28px 0;
    }

    .home-title {
        font-size: 20px;
        line-height: 1.25;
        padding: 12px 8px 8px 8px;
    }

    .hero {
        margin: 8px 0 14px 0;
    }

    .hero img {
        max-width: 240px;
    }

    .intro {
        font-size: 15px;
        padding: 6px 4px 8px 4px;
    }

    .portfolio-block {
        margin: 16px 0 22px 0;
    }

    .portfolio-button {
        font-size: 15px;
        padding: 10px 22px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 12px 0 28px 0;
    }

    .info-wrapper {
        max-width: 100%;
        margin: 40px auto 60px auto;
        padding: 0 16px;
    }

    .info-title {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .info-text {
        font-size: 15px;
        line-height: 1.45;
        margin-bottom: 40px;
    }

    .footer-social {
        margin-top: 6px;
        line-height: 1.4;
        font-size: 13px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 10px;
    }

    .footer-social a[href^="mailto"] {
        flex-basis: 100%;
        text-align: center;
        margin-top: 4px;
    }

    .footer-copy {
        margin-top: 10px;
        font-size: 12px;
    }
}
