/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:        #0c0d0f;
    --bg-dark:   #101114;
    --bg-card:   #16181c;
    --accent:    #e8a020;
    --accent-h:  #f5b23a;
    --text:      #b9bcc2;
    --text-dim:  #7c8087;
    --white:     #f4f5f7;
    --border:    #23262c;
    --radius:    10px;
    --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

h1, h2, h3 { color: var(--white); font-weight: 700; letter-spacing: -0.02em; }

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === NAVBAR === */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    background: rgba(12, 13, 15, 0.94);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: 74px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.12em;
}

.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    margin-left: auto;
}

.nav-links a {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    padding: 9px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-phone svg { width: 15px; height: 15px; color: var(--accent); }

.nav-phone:hover {
    border-color: var(--accent);
    background: rgba(232,160,32,0.08);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* === HERO === */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('photos/01.jpeg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center 40%, rgba(12,13,15,0.55) 0%, rgba(12,13,15,0.85) 75%),
        linear-gradient(to bottom, rgba(12,13,15,0.5), var(--bg) 96%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
    max-width: 860px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(232,160,32,0.35);
    border-radius: 999px;
    padding: 8px 20px;
    margin-bottom: 28px;
    background: rgba(232,160,32,0.07);
}

.hero-content h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--accent);
    white-space: nowrap;
}

.hero-sub {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: rgba(244,245,247,0.75);
    max-width: 620px;
    margin: 0 auto 40px;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 34px;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: #17130a;
}

.btn-primary:hover {
    background: var(--accent-h);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232,160,32,0.3);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.07);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(244,245,247,0.5);
    animation: bounce 2.2s infinite;
    transition: color var(--transition);
}

.hero-scroll:hover { color: var(--accent); }
.hero-scroll svg { width: 28px; height: 28px; }

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 8px); }
}

/* === SECTIONS === */
.section { padding: 110px 0; }

.section-dark { background: var(--bg-dark); }

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.section-eyebrow.center { text-align: center; }

.section-title {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 14px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    font-size: 1.02rem;
    max-width: 640px;
    margin: 0 auto 60px;
}

/* === O NAS === */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.about-text .btn-primary { margin-top: 12px; }

.about-features {
    display: grid;
    gap: 14px;
}

.feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    transition: var(--transition);
}

.feature:hover {
    border-color: rgba(232,160,32,0.45);
    transform: translateX(4px);
}

.feature-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(232,160,32,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature h3 {
    font-size: 1.02rem;
    margin-bottom: 3px;
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.55;
}

/* === OFERTA === */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.offer-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 26px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.offer-card:hover {
    border-color: rgba(232,160,32,0.4);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

.offer-card:hover::before { transform: scaleX(1); }

.offer-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: rgba(232,160,32,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
}

.offer-icon svg { width: 25px; height: 25px; }

.offer-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.offer-card p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* === GALERIA === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.gallery-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.5);
    border-color: #32363e;
}

.gallery-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-card:hover .gallery-img-wrap img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.gallery-overlay span {
    color: #17130a;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: var(--transition);
    background: var(--accent);
    padding: 10px 22px;
    border-radius: 999px;
}

.gallery-img-wrap:hover .gallery-overlay {
    background: rgba(12,13,15,0.45);
}

.gallery-img-wrap:hover .gallery-overlay span {
    opacity: 1;
    transform: translateY(0);
}

.gallery-info {
    padding: 18px 20px 20px;
}

.gallery-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.gallery-info p {
    font-size: 0.875rem;
    color: var(--text-dim);
}

/* === LIGHTBOX === */
.lightbox, .lightbox-overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.lightbox-overlay {
    background: rgba(8,9,10,0.94);
    z-index: 1999;
}

.lightbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    z-index: 2000;
}

.lightbox.active, .lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 920px;
    width: 100%;
    text-align: center;
}

.lightbox-content img {
    max-height: 72vh;
    width: auto;
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 24px 64px rgba(0,0,0,0.8);
    margin: 0 auto;
}

.lightbox-info { margin-top: 18px; }

.lightbox-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.lightbox-info p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.08);
    border: none;
    color: var(--white);
    font-size: 1.3rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition);
    z-index: 2001;
}

.lightbox-close:hover { background: rgba(255,255,255,0.18); }

.lightbox-nav {
    background: rgba(255,255,255,0.08);
    border: none;
    color: var(--white);
    font-size: 2.4rem;
    line-height: 1;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: var(--accent);
    color: #17130a;
}

/* === KONTAKT === */
.contact-container { text-align: center; }

.contact-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 42px 60px;
    text-align: center;
    transition: var(--transition);
    min-width: 280px;
}

.contact-card:hover {
    border-color: rgba(232,160,32,0.5);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(232,160,32,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin: 0 auto 18px;
}

.contact-icon svg { width: 25px; height: 25px; }

.contact-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.contact-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.contact-hint {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 6px;
}

/* === FOOTER === */
footer {
    background: #08090a;
    border-top: 1px solid var(--border);
    padding: 34px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-logo { font-size: 1.05rem; }

footer p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* === RESPONSIVE === */
@media (max-width: 1000px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .offer-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-phone { display: none; }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 74px; left: 0; right: 0;
        background: rgba(12,13,15,0.98);
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
        margin-left: 0;
    }

    .nav-links.open { display: flex; }

    .nav-links li a {
        display: block;
        padding: 14px 24px;
    }

    .nav-links a::after { display: none; }

    .hamburger { display: flex; }

    .offer-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }

    .lightbox { padding: 12px; gap: 6px; }
    .lightbox-nav { width: 40px; height: 40px; font-size: 1.9rem; }

    .contact-card { padding: 34px 40px; width: 100%; }

    .section { padding: 72px 0; }

    .footer-inner { justify-content: center; text-align: center; }
}
