* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #111;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portfolio-section {
    flex: 1;
}

/* NAV */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    height: 64px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #111;
    text-decoration: none;
    letter-spacing: 0.03em;
}

.logo-bold {
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #111;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

.dropdown-trigger:hover {
    color: #111;
}

.dropdown-trigger svg {
    width: 10px;
    height: 10px;
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-trigger svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 6px;
    min-width: 80px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.dropdown:hover .dropdown-menu {
    /* controlled by JS now */
}

.dropdown-menu a {
    display: block;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 4px;
    color: #555;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: #111;
}

/* Kontakt button */
.btn-contact {
    font-size: 14px;
    font-weight: 500;
    color: #111 !important;
    border: 1px solid #111;
    border-radius: 8px;
    padding: 7px 18px;
    transition: background 0.2s, color 0.2s !important;
}

.btn-contact:hover {
    background: #111 !important;
    color: #fff !important;
}

/* HERO */
.hero {
    width: 100%;
    height: calc(100vh - 64px);
    overflow: hidden;
    position: relative;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    font-family: 'Inter', sans-serif;
    font-size: 75px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.08em;
    text-align: center;
    animation: fadeUp 1.5s ease forwards;
}

/* STATS */
.stats {
    display: flex;
    justify-content: center;
    gap: 6rem;
    padding: 5rem 2.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    font-weight: 400;
    color: #888;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ABOUT */
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5rem 2.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-title {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 16px;
    font-weight: 400;
    color: #555;
    line-height: 1.8;
}

/* FOOTER */
footer {
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-right a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: opacity 0.2s;
}

.footer-right a:hover {
    opacity: 0.6;
}

.footer-bold {
    font-weight: 700;
}

/* ACTIVE NAV STATES */
.nav-active {
    color: #111 !important;
    font-weight: 700 !important;
}

.btn-contact-active {
    background: #111 !important;
    color: #fff !important;
}

/* PORTFOLIO */
.portfolio-section {
    padding: 4rem 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #888;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: color 0.2s;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #111;
    transition: width 0.2s;
}

.filter-btn:hover {
    color: #111;
}

.filter-btn.active {
    color: #111;
    font-weight: 600;
}

.filter-btn.active::after {
    width: 100%;
}

.portfolio-grid {
    columns: 3;
    column-gap: 16px;
}

.portfolio-item {
    break-inside: avoid;
    margin-bottom: 16px;
}

.portfolio-item img {
    width: 100%;
    display: block;
    border-radius: 4px;
    transition: opacity 0.2s;
}

.portfolio-item img:hover {
    opacity: 0.9;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 999;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox-back {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 1.5rem 2rem;
    width: fit-content;
    transition: opacity 0.2s;
}

.lightbox-back:hover {
    opacity: 0.7;
}

.lightbox-back svg {
    width: 20px;
    height: 20px;
}

.lightbox-img {
    width: 100%;
    height: calc(100vh - 60px);
    object-fit: contain;
}

/* SLIDESHOW */
.slideshow {
    position: relative;
    overflow: hidden;
}

.slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow .slide.active {
    opacity: 1;
    position: relative;
}

/* SLIDESHOW ARROWS & TEXT */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.slide-arrow:hover {
    background: rgba(0,0,0,0.6);
}

.slide-arrow svg {
    width: 22px;
    height: 22px;
}

.slide-prev {
    left: 2rem;
}

.slide-next {
    right: 2rem;
}

.slideshow-text {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    z-index: 10;
}

.slideshow-title {
    font-size: 75px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.slideshow-sub {
    font-size: 25px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.2em;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

/* CONTACT */
.contact-section {
    display: flex;
    align-items: flex-start;
    gap: 8rem;
    padding: 8rem 8rem;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
}

.contact-left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.contact-title {
    font-size: 48px;
    font-weight: 700;
    color: #111;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    margin-top: 0;
}

.contact-sub {
    font-size: 18px;
    font-weight: 400;
    color: #888;
    margin-bottom: 3rem;
}

.contact-info-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    transition: opacity 0.2s;
}

.contact-info-link:hover {
    opacity: 0.6;
}

.contact-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 1;
}

.form-group:last-of-type {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group:last-of-type textarea {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #111;
}

.form-group input,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #111;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.2s;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #111;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}

.form-submit {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #111;
    border: none;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 0.5rem;
}

.form-submit:hover {
    opacity: 0.8;
}

/* COUNTDOWN */
.form-countdown {
    font-size: 13px;
    color: #888;
    text-align: center;
    min-height: 20px;
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUpCenter {
    from {
        opacity: 0;
        transform: translateY(calc(-50% + 24px));
    }
    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

.hero-text {
    animation: fadeUpCenter 1.5s ease forwards !important;
}

.slideshow-text {
    animation: fadeUp 1.5s ease forwards;
}

.stat:nth-child(1) { animation: fadeUp 1s ease 0.1s both; }
.stat:nth-child(2) { animation: fadeUp 1s ease 0.3s both; }
.stat:nth-child(3) { animation: fadeUp 1s ease 0.5s both; }

.about-title { animation: fadeUp 1s ease 0.1s both; }
.about-text  { animation: fadeUp 1s ease 0.3s both; }

.fade-up { animation: fadeUp 0.8s ease forwards; }
.fade-up-delay-1 { animation-delay: 0.15s; }
.fade-up-delay-2 { animation-delay: 0.3s; }
.fade-up-delay-3 { animation-delay: 0.45s; }

/* DROPDOWN JS-CONTROLLED */
.dropdown-menu.open {
    display: block;
}

/* ===== MOBILE RESPONSIVITY (max 768px) ===== */
@media (max-width: 768px) {

    /* NAV */
    nav {
        padding: 0 1.2rem;
        height: 56px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e5e5e5;
        padding: 1rem 1.5rem;
        gap: 1.2rem;
        z-index: 99;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links a {
        font-size: 14px;
    }

    .btn-contact {
        padding: 8px 16px;
        font-size: 14px;
        width: fit-content;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 4px;
    }

    .hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #111;
        border-radius: 2px;
        transition: all 0.3s;
    }

    .hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* HERO */
    .hero {
        height: 50vh;
    }

    .hero-text {
        font-size: 28px;
        letter-spacing: 0.04em;
    }

    /* STATS */
    .stats {
        flex-direction: column;
        gap: 2rem;
        padding: 3rem 1.5rem;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* SLIDESHOW */
    .slideshow-title {
        font-size: 28px;
    }

    .slideshow-sub {
        font-size: 14px;
    }

    .slide-arrow {
        width: 36px;
        height: 36px;
    }

    .slide-prev { left: 1rem; }
    .slide-next { right: 1rem; }

    /* ABOUT */
    .about {
        padding: 3rem 1.5rem;
    }

    .about-title {
        font-size: 24px;
    }

    .about-text {
        font-size: 14px;
    }

    /* FOOTER */
    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }

    /* CONTACT */
    .contact-section {
        flex-direction: column;
        gap: 3rem;
        padding: 3rem 1.5rem;
    }

    .contact-title {
        font-size: 36px;
    }

    .contact-sub {
        font-size: 15px;
        margin-bottom: 1.5rem;
    }

    .contact-info {
        margin-top: 0;
    }

    .form-group:last-of-type {
        flex: none;
    }

    .form-group:last-of-type textarea {
        flex: none;
    }
}

body.no-scroll {
    overflow: hidden;
    height: 100%;
}

html.no-scroll {
    overflow: hidden;
    height: 100%;
}

/* LIGHTBOX ARROWS */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}

.lightbox-arrow:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-arrow svg {
    width: 24px;
    height: 24px;
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 4px;
        order: 3;
    }
}
