:root {
    --color-primary: #f2b705;
    --color-primary-dark: #d99c04;
    --color-black: #111111;
    --color-charcoal: #1e1e1e;
    --color-gray-100: #f6f7f8;
    --color-gray-200: #e9ecef;
    --color-gray-500: #6c757d;
    --color-white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-charcoal);
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

a {
    text-decoration: none;
}

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.3s ease;
    background: rgba(17, 17, 17, 0.92);
    backdrop-filter: blur(4px);
}

.site-navbar.scrolled {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-mark {
    color: var(--color-primary);
}

.nav-link {
    font-weight: 600;
    color: #f0f0f0 !important;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary) !important;
}

.btn-primary-custom {
    background: var(--color-primary);
    color: var(--color-black);
    border: 1px solid var(--color-primary);
    font-weight: 700;
}

.btn-primary-custom:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-black);
}

.btn-outline-light-custom {
    border: 1px solid #ffffff;
    color: #ffffff;
    font-weight: 700;
}

.btn-outline-light-custom:hover {
    background: #ffffff;
    color: var(--color-black);
}

.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--color-white);
    background-image: linear-gradient(rgba(17, 17, 17, 0.76), rgba(17, 17, 17, 0.66)),
        url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(242, 183, 5, 0.2), transparent 60%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero .badge {
    background: rgba(242, 183, 5, 0.16);
    border: 1px solid rgba(242, 183, 5, 0.45);
    color: var(--color-primary);
}

.section-title {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--color-gray-500);
    max-width: 760px;
}

.highlight-card,
.service-card,
.project-card,
.testimonial-card,
.info-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 14px;
    padding: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.highlight-card:hover,
.service-card:hover,
.project-card:hover,
.testimonial-card:hover,
.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.icon-box {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(242, 183, 5, 0.14);
    color: var(--color-primary-dark);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.stats-wrap {
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
}

.stat-item {
    padding: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h3 {
    color: var(--color-primary);
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
}

.stat-item p {
    margin: 0.25rem 0 0;
    color: #d0d0d0;
}

.project-card img,
.gallery-card img,
.team-card img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.gallery-card {
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.gallery-card .content {
    padding: 1rem;
}

.team-card {
    background: #fff;
    border: 1px solid var(--color-gray-200);
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    height: 100%;
}

.team-card img {
    height: 240px;
    margin-bottom: 1rem;
}

.cert-item {
    background: #fff;
    border: 1px solid var(--color-gray-200);
    border-left: 4px solid var(--color-primary);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(130deg, #151515 20%, #2b2b2b 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 260px;
    height: 260px;
    background: rgba(242, 183, 5, 0.16);
    border-radius: 50%;
}

.contact-section .form-control,
.contact-section .form-select {
    border-radius: 10px;
    border: 1px solid #d9dde2;
    padding: 0.75rem 0.9rem;
}

.contact-section .form-control:focus,
.contact-section .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(242, 183, 5, 0.22);
}

body[data-page="kontak"] .contact-main-section,
body[data-page="kontak"] .contact-map-section {
    position: relative;
    z-index: 1;
}

body[data-page="kontak"] .contact-intro-band {
    margin-top: -24px;
    padding: 0 0 2rem;
}

body[data-page="kontak"] .contact-intro-band .container {
    background: #fff;
    border: 1px solid var(--color-gray-200);
    border-left: 5px solid var(--color-primary);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

body[data-page="kontak"] .contact-intro-points {
    display: grid;
    gap: 0.6rem;
}

body[data-page="kontak"] .contact-intro-points span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    color: #444;
}

body[data-page="kontak"] .contact-intro-points i {
    color: var(--color-primary-dark);
}

body[data-page="kontak"] .contact-main-section {
    padding-top: 0;
    padding-bottom: 2rem;
}

body[data-page="kontak"] .contact-map-section {
    margin-top: 0;
}

body[data-page="kontak"] .contact-shell {
    margin-top: 0;
}

body[data-page="kontak"] .contact-aside {
    background: linear-gradient(165deg, #151515 10%, #242424 100%);
    color: #fff;
    border-radius: 14px;
    padding: 1.6rem;
    height: 100%;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

body[data-page="kontak"] .contact-detail-item {
    display: flex;
    gap: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding-bottom: 0.95rem;
    margin-bottom: 0.95rem;
}

body[data-page="kontak"] .contact-detail-item .icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(242, 183, 5, 0.16);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body[data-page="kontak"] .contact-detail-item h6 {
    margin: 0;
    font-size: 0.96rem;
    color: #fff;
}

body[data-page="kontak"] .contact-detail-item p {
    margin: 0.15rem 0 0;
    color: #d6d6d6;
    font-size: 0.95rem;
}

body[data-page="kontak"] .contact-form-panel {
    background: #fff;
    border: 1px solid #dadde1;
    border-radius: 14px;
    padding: 1.55rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

body[data-page="kontak"] .contact-form-head {
    border-bottom: 1px solid #eceff2;
    padding-bottom: 0.9rem;
}

body[data-page="kontak"] .contact-form-head p {
    color: var(--color-gray-500);
}

body[data-page="kontak"] .contact-map-wrap {
    border: 1px solid #d9dde2;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.07);
}

body[data-page="kontak"] .contact-map-caption {
    background: #1a1a1a;
    color: #fff;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body[data-page="kontak"] .contact-map-caption p {
    color: #d2d2d2;
}

body[data-page="kontak"] .contact-map-caption i {
    color: var(--color-primary);
}

body[data-page="kontak"] .contact-map-frame {
    min-height: 360px;
}

.floating-wa {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1060;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    font-size: 1.6rem;
    transition: transform 0.2s ease;
}

.floating-wa:hover {
    transform: scale(1.06);
    color: #fff;
}

footer {
    background: var(--color-black);
    color: #c4c4c4;
    padding: 42px 0 24px;
}

footer h6 {
    color: #fff;
    font-weight: 700;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .hero {
        min-height: 76vh;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .stat-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 575.98px) {
    .hero {
        min-height: 72vh;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    body[data-page="kontak"] .contact-intro-band {
        margin-top: -18px;
        padding-bottom: 1.25rem;
    }

    body[data-page="kontak"] .contact-intro-band .container {
        padding: 1.2rem;
    }

    body[data-page="kontak"] .contact-form-panel,
    body[data-page="kontak"] .contact-aside {
        padding: 1.2rem;
    }

    body[data-page="kontak"] .contact-map-frame {
        min-height: 280px;
    }
}
