/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*  */
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #050505;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

body {
    position: relative;
}

body:not(.home-page)::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("/photo/ja_black.jpg") center 42% / cover no-repeat;
    filter: grayscale(90%);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

body:not(.home-page) > * {
    position: relative;
    z-index: 1;
}

@keyframes homeFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes homeFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes homeBgZoom {
    from {
        transform: translate(-50%, -50%) scale(1.03);
    }
    to {
        transform: translate(-50%, -50%) scale(1);
    }
}

body.home-page .navbar {
    opacity: 1;
    animation: homeFadeUp 0.75s ease both;
}

body.home-page .container_text {
    opacity: 1;
    animation: homeFadeUp 0.9s ease both;
    animation-delay: 0.12s;
}

body.home-page .container_bg {
    animation: homeBgZoom 1.6s ease both;
    pointer-events: none;
    z-index: 0;
}

body.home-page .container {
    z-index: 1;
}

body.home-page .container_main-photo {
    z-index: 2;
}

body.home-page .hero-card {
    opacity: 1;
    animation: homeFadeIn 0.9s ease both;
}

body.home-page .hero-card--top {
    animation-delay: 0.22s;
}

body.home-page .hero-card--middle {
    animation-delay: 0.34s;
}

body.home-page .hero-card--bottom {
    animation-delay: 0.46s;
}

@media (prefers-reduced-motion: reduce) {
    body.home-page .navbar,
    body.home-page .container_text,
    body.home-page .container_bg,
    body.home-page .hero-card {
        animation: none !important;
        opacity: 1;
    }
}

/* NAVB */
.navbar {
    margin: 2.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8rem;
    z-index: 99;
    position: relative;
}

.navbar_logo {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    z-index: 3;
}

.navbar_logo a {
    color: white;
    text-decoration: none;
}

.navbar_links ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.navbar_links ul li a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
}

/*BURGER*/
.navbar__hamburger {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    z-index: 3;
    cursor: pointer;
    width: 5rem;
}

.navbar__hamburger span {
    width: 2rem;
    height: 0.26rem;
    background-color: white;
    transition: 0.3s;
}

.change .navbar__hamburger-bar1 {
    transform: translate(0, 12px) rotate(-45deg);
}

.change .navbar__hamburger-bar2 {
    opacity: 0;
}

.change .navbar__hamburger-bar3 {
    transform: translate(0, -12px) rotate(45deg);
}

/*H.KONTEJNER + BG*/
.container {
    position: relative;
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.container_bg {
    position: absolute;
    filter: grayscale(90%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.35;
    width: 112%;
    height: 100vh;
    object-fit: cover;
    object-position: 50% 42%;
}

@supports (height: 100dvh) {
    .container_bg {
        height: 100dvh;
    }
}

/* H.FOTKA+NPORTFOLIO */
.container_main-photo {
    position: absolute;
    top: 38%;
    left: 52%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.9s ease;
}

.hero-card {
    position: absolute;
    display: block;
    width: 18rem;
    height: 26rem;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
    transform-origin: center center;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-card--middle {
    transform: translate(-50%, -50%) scale(1.02);
    left: 50%;
    top: 50%;
}

.hero-card--top {
    transform: translate(-51%, -51%) rotate(-4deg);
    left: 50%;
    top: 49%;
}

.hero-card--bottom {
    transform: translate(-49%, -49%) rotate(3deg);
    left: 50%;
    top: 51%;
}

.container_main-photo:hover .hero-card--top {
    transform: translate(-115%, -60%) rotate(-6deg);
}

.container_main-photo:hover .hero-card--middle {
    transform: translate(-50%, -70%) scale(1.06);
}

.container_main-photo:hover .hero-card--bottom {
    transform: translate(15%, -60%) rotate(6deg);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.0);
    opacity: 0;
    transition: background 0.5s ease, opacity 0.5s ease;
}

.hero-overlay span {
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: white;
    font-size: 1.4rem;
}

.container_main-photo:hover .hero-overlay {
    background: rgba(0, 0, 0, 0.65);
    opacity: 1;
}

/*TEXT VPRAVODOLE*/
.container_text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container_text h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    font-size: 5.5rem;
    letter-spacing: 0.08em;
    margin-top: 21rem;
    z-index: 2;
}

.container_text p {
    font-family: "Poppins", sans-serif;
    color: #f0f0f0;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.18em;
    margin-top: -1.2rem;
    z-index: 2;
}

/*FOOTER*/
.footer {
    margin: 2rem 0 0.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 99;
}

.footer_icons {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.footer_icons a {
    text-decoration: none;
}

.footer_icons a i {
    color: white;
    font-size: 2rem;
}

.footer_credit {
    position: fixed;
    left: 1.5rem;
    bottom: 0.8rem;
    font-family: "Poppins", sans-serif;
    font-size: 0.75rem;
    color: #888;
    z-index: 9999;
}

.footer_credit a {
    color: #aaa;
    text-decoration: none;
}

.footer_credit a:hover {
    color: #fff;
}

/*RESPONSIVE–INDEX LAYOUT*/
@media (max-width: 1200px) {
    .container_text h1 {
        margin-top: 20rem;
        font-size: 4rem;
    }

    .container_text p {
        font-size: 1rem;
        margin-top: -0.8rem;
    }

    .container_main-photo img {
        width: 20rem;
    }
}

@media (max-width: 800px) {
    .navbar {
        gap: 5rem;
    }

    .navbar__hamburger {
        display: flex;
    }

    .navbar_links {
        display: none;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 0;
        left: 0;
        transition: 0.1s ease-out;
    }

    .navbar_links ul {
        flex-direction: column;
        align-items: center;
    }

    .navbar_links ul li a {
        font-size: 1.5rem;
    }

    .change .navbar_links {
        display: flex;
        width: 100%;
        height: 100vh;
        padding: 0 0 1rem;
        background-color: black;
        z-index: 2;
    }

    @supports (height: 100dvh) {
        .change .navbar_links {
            height: 100dvh;
        }
    }
}
/*mobiL*/
@media (max-width: 700px) {
    html, body {
        height: auto;
        overflow-x: hidden;
    }
    
    .home-page {
        height: 100vh;
        width: 100%;
        position: fixed;
        overflow: hidden;
        -webkit-overflow-scrolling: touch;
    }

    @supports (height: 100dvh) {
        .home-page {
            height: 100dvh;
        }
    }

    .container_main-photo {
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.85);
    }

    .hero-card {
        width: 14rem;
        height: 20rem;
    }

    .hero-overlay span {
        font-size: 1.2rem;
    }

    .container_text {
        position: relative;
        z-index: 2;
        margin-top: 1.5rem;
    }

    .container_text h1 {
        margin-top: 4rem;
        font-size: 2rem;
        text-align: center;
        position: relative;
        z-index: 3;
    }

    .container_text p {
        font-size: 0.8rem;
        margin: 0.7rem auto 0;
        text-align: center;
        max-width: 90%;
        position: relative;
        z-index: 3;
    }

    .container_main-photo img {
        width: 14rem;
    }
}

@media (max-width: 500px) {
    .navbar_logo {
        font-size: 0.8rem;
    }

    .navbar {
        margin: 2rem 0.5rem;
        gap: 3rem;
    }
}

/*PORTFOLIOPAGE*/

.portfolio-page {
    flex: 1;
    padding: 6rem 3rem 3rem 3rem;
    opacity: 0;
    transform: translateY(16px);
    animation: portfolioFadeUp 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

.portfolio-title {
    color: white;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    font-variant-numeric: lining-nums;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    opacity: 0;
    transform: translateY(10px);
    animation: portfolioFadeUp 0.6s ease-out forwards;
    animation-delay: 0.2s;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.portfolio-item:nth-child(1) { animation-delay: 0.25s; }
.portfolio-item:nth-child(2) { animation-delay: 0.35s; }
.portfolio-item:nth-child(3) { animation-delay: 0.45s; }
.portfolio-item:nth-child(4) { animation-delay: 0.55s; }

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.portfolio-item:hover .category-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.portfolio-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

@media (max-width: 1024px) {
    .portfolio-page {
        padding: 5rem 2rem 2rem 2rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .portfolio-page {
        padding: 4.5rem 1.5rem 2rem 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/*CATEGORIES N PORTFOLIO PAGE*/

.portfolio-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    display: block;
    aspect-ratio: 4 / 3;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    animation: categoryFadeUp 0.7s ease-out forwards;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.category-card:nth-child(1) { animation-delay: 0.15s; }
.category-card:nth-child(2) { animation-delay: 0.25s; }
.category-card:nth-child(3) { animation-delay: 0.35s; }
.category-card:nth-child(4) { animation-delay: 0.45s; }
.category-card:nth-child(5) { animation-delay: 0.55s; }

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(40%);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.category-label {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Poppins", sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    background: rgba(0, 0, 0, 0.35);
    transition: background 0.3s ease, letter-spacing 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.category-card:hover .category-label {
    background: rgba(0, 0, 0, 0.55);
    letter-spacing: 0.15em;
}

/*FULL HOVER NA PORTFOLIO*/
.category-card:hover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    z-index: 999;
    transform: none;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

/*KARTICKY RESP*/
@media (max-width: 1024px) {
    .portfolio-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .portfolio-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-categories {
        grid-template-columns: 1fr;
    }
    .portfolio-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 700px) {
    .portfolio-page {
        padding: 4.5rem 1.5rem 2rem 1.5rem;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
@keyframes portfolioFadeUp {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes categoryFadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.portfolio-category-page {
    padding: 6rem 2rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/5;
    transition: transform 0.3s ease;
    display: block;
    text-decoration: none;
    color: white;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem 1rem;
    color: white;
    opacity: 1;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.gallery-overlay h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.back-button {
    display: inline-block;
    margin-bottom: 2rem;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.back-button:hover {
    color: #ccc;
}

.back-button i {
    margin-right: 0.5rem;
}
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio-category-page {
        padding: 5rem 1rem 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-title {
        font-size: 2rem;
    }
}
.portfolio-category {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.portfolio-item {
    height: 100%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    opacity: 0;
    transform: translateY(10px);
    animation: portfolioFadeUp 0.6s ease-out forwards;
    animation-delay: 0.2s;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-category:hover .portfolio-item {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/*ITEMS */
.portfolio-item .category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.portfolio-category:hover .category-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.gallery-grid--detail .gallery-item {
    cursor: zoom-in;
}

.zonerama-button-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.zonerama-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    background: white;
    color: #050505;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.9rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.zonerama-button:hover {
    background: #e5e5e5;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox--open {
    display: flex;
}

.lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.lightbox__content {
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.7);
}

.lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__nav--prev {
    left: 1.5rem;
}

.lightbox__nav--next {
    right: 1.5rem;
}

.lightbox__nav:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.05);
}

@media (max-width: 768px) {
    .lightbox__nav--prev {
        left: 0.5rem;
    }
    .lightbox__nav--next {
        right: 0.5rem;
    }
    .lightbox__close {
        top: 1rem;
        right: 1rem;
    }
}

/*Kontaktpag*/
.contact-page {
    flex: 1;
    padding: 6rem 1.5rem 3rem;
    display: flex;
    justify-content: center;
}

.contact-card {
    width: 100%;
    max-width: 1120px;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

.contact-intro {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-title {
    color: white;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
    margin-top: 2.5rem;
}

.contact-info {
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-info-title,
.contact-form-title {
    color: #f1c40f;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
}

.contact-info-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-info-list li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 0.7rem;
    align-items: center;
}

.contact-info-list li i {
    color: #f1c40f;
    font-size: 0.95rem;
}

.contact-info-list li a {
    color: #e5e5e5;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    text-decoration: none;
}

.contact-info-list li a:hover {
    color: #ffffff;
}

.contact-form-title {
    margin-bottom: 1.1rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 1.75rem;
}

.contact-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form-message .form-group textarea {
    min-height: 240px;
}

.contact-form-message .form-group {
    height: 100%;
}

.contact-form-message .form-group textarea {
    height: 100%;
}

.contact-subtitle {
    color: #e5e5e5;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    color: #f5f5f5;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(20, 20, 20, 0.95);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 1.05rem;
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group textarea {
    border-radius: 14px;
    min-height: 140px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
    background: rgba(25, 25, 25, 0.95);
}

.contact-submit {
    align-self: flex-start;
    margin-top: 0.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: #f1c40f;
    color: #050505;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
    background: #ffd84d;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
    .contact-page {
        padding: 5rem 1rem 2rem;
    }

    .contact-card {
        padding: 2rem 1.5rem 1.75rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 1rem;
    }
}

.about-page {
    flex: 1;
    padding: 6rem 1.5rem 3rem;
    display: flex;
    justify-content: center;
}

.about-card {
    width: 100%;
    max-width: 1000px;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

.about-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-contact {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.about-contact-item {
    color: #d9d9d9;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.about-contact-item:hover {
    color: #ffffff;
}

.about-sidebar .about-cta {
    align-self: flex-start;
    margin-top: 0.25rem;
}

.about-main {
    min-width: 0;
    padding-top: 0.25rem;
}

.about-main .about-title {
    margin-bottom: 1rem;
}

.about-main .about-lead {
    max-width: 62ch;
}

.about-main .about-lead + .about-lead {
    margin-top: 1.1rem;
}

.about-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.about-photo-wrapper {
    flex-shrink: 0;
    width: 290px;
    height: 330px;
    border-radius: 16px;
    overflow: hidden;
}

.about-sidebar .about-photo-wrapper {
    
    width: 100%;
    height: 360px;
}

.about-photo {
    
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-intro-text {
    flex: 1;
}

.about-title {
    color: white;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    font-size: 4rem;
    margin-bottom: 0.4rem;
    text-align: center;
}

.about-subtitle {
    color: #e5e5e5;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.about-lead {
    color: #f0f0f0;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.about-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.5rem;
}

.about-section h2 {
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.9rem;
}

.about-section p {
    color: #d9d9d9;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.about-list li span {
    color: #d9d9d9;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
}

.about-cta {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.7rem 1.8rem;
    border-radius: 999px;
    background: white;
    color: #050505;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.about-cta:hover {
    background: #e5e5e5;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-sidebar {
        max-width: 520px;
        padding: 1.25rem;
    }

    .about-sidebar .about-photo-wrapper {
        height: 300px;
    }

    .about-title {
        font-size: 3rem;
        text-align: left;
    }

    .about-main .about-lead + .about-lead {
        margin-top: 0.9rem;
    }

    .about-sidebar .about-cta {
        width: fit-content;
    }

    .about-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-photo-wrapper {
        width: 180px;
        height: 220px;
    }

    .about-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .about-page {
        padding: 5rem 1rem 2rem;
    }

    .about-card {
        padding: 2rem 1.5rem 1.75rem;
    }

    .about-layout {
        gap: 1.5rem;
    }

    .about-sidebar {
        padding: 1rem;
    }

    .about-sidebar .about-photo-wrapper {
        height: 240px;
    }

    .about-title {
        font-size: 2.4rem;
    }

    .about-lead {
        font-size: 0.92rem;
        line-height: 1.75;
    }
}