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

body {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    background: #000000;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    padding: 14px 0;
    border-bottom: none;
    transform: translateY(0);
    transition: transform 0.28s ease;
    will-change: transform;
}

.navbar.navbar-hidden {
    transform: translateY(-110%);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    width: clamp(170px, 14vw, 240px);
    height: clamp(68px, 6.2vw, 94px);
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-flex;
    padding: 0 0 8px;
    transform: translateY(0) scale(1);
    transform-origin: center;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #ff0000;
    opacity: 0.75;
    transform: scaleX(1);
    transform-origin: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #ff0000;
    transform: translateY(-2px) scale(1.04);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1.08);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000000;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: none;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 20px;
}

.hero h1 {
    font-size: 80px;
    font-weight: 900;
    letter-spacing: 10px;
    margin-bottom: 20px;
    color: #ff0000;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-description {
    font-size: 16px;
    color: #999999;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid #ff0000;
    font-size: 14px;
    background: transparent;
    color: #ff0000;
}

.btn-primary {
    background: #ff0000;
    color: #ffffff;
    border-color: #ff0000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #cc0000;
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

.section-bg-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: #000000;
}

.section-bg-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.section-bg-video iframe,
.section-bg-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.78vh;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    object-fit: cover;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
}

/* Who we are */
.who-we-are {
    background: #050505;
}

.who-we-are-content {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 60px;
    align-items: center;
}

.who-we-are-text .section-title {
    text-align: left;
    margin-bottom: 28px;
}

.who-we-are-text p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.who-we-are-images {
    display: grid;
    grid-template-columns: 1fr 0.78fr;
    grid-auto-rows: minmax(150px, auto);
    gap: 18px;
}

.who-image-card {
    min-height: 190px;
    border: 1px solid #333333;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #111111 0%, #2a0b0b 100%);
}

.who-image-card:first-child {
    grid-row: span 2;
    min-height: 410px;
}

.who-image-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
}

/* Home services intro */
.home-services {
    background: #000000;
}

.home-services-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.home-services-content .section-title {
    margin-bottom: 18px;
}

.home-services-lead {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.45;
}

.home-services-text {
    max-width: 640px;
    margin: 18px auto 0;
    color: #cccccc;
    font-size: 16px;
    line-height: 1.8;
}

.home-services-lead:empty,
.home-services-text:empty {
    display: none;
}

/* Services */
.services {
    background: #000000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #111111;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #ff0000;
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.2);
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ff0000;
}

.service-card p {
    color: #999999;
    line-height: 1.6;
}

/* About */
.about {
    background: #000000;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat {
    text-align: center;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 8px;
    padding: 30px 20px;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: #ff0000;
}

.stat-label {
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

/* Gallery */
.gallery {
    background: #000000;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333333;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-shell {
    width: 100%;
    height: 100%;
}

.gallery-video iframe,
.gallery-video video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000000;
}

/* Contact */
.contact {
    background: #000000;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 30px;
}

.contact-info h4 {
    color: #ff0000;
    margin-bottom: 5px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info p {
    color: #cccccc;
    font-size: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    scroll-margin-top: 130px;
}

.request-form {
    max-width: 760px;
    margin: 0 auto;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.request-field {
    display: block;
    min-width: 0;
    min-height: 52px;
    border: 1px solid #333333;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px 10px;
}

.request-field > legend {
    padding: 0 8px;
    color: #ff0000;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.contact-form .request-field input:not([type="checkbox"]),
.contact-form .request-field textarea {
    width: 100%;
    min-height: 28px;
    padding: 8px 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.contact-form .request-field textarea {
    min-height: 86px;
    resize: vertical;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 15px 20px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
}

.checkbox-group {
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.04);
}

.checkbox-group legend {
    padding: 0 8px;
    color: #ff0000;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkbox-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cccccc;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-option input {
    width: 18px;
    height: 18px;
    accent-color: #ff0000;
    flex: 0 0 auto;
}

.checkbox-option span {
    display: inline-block;
}

.form-message {
    min-height: 22px;
    color: #999999;
    font-size: 14px;
    line-height: 1.5;
}

.form-message[data-type="success"] {
    color: #86efac;
}

.form-message[data-type="error"] {
    color: #fca5a5;
}

/* Admin */
[hidden] {
    display: none !important;
}

.admin-page {
    min-height: 100vh;
    background: #050505;
}

.admin-shell {
    max-width: 1380px;
    margin: 0 auto;
    padding: 130px 20px 70px;
}

.admin-login {
    max-width: 460px;
    margin: 0 auto;
    padding: 34px;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
}

.admin-login h1,
.admin-heading h1 {
    color: #ffffff;
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 20px;
}

.admin-heading p,
.muted {
    color: #999999;
    line-height: 1.6;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.admin-panel {
    display: grid;
    gap: 22px;
}

.admin-workspace {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.admin-sidebar {
    position: sticky;
    top: 116px;
    display: grid;
    gap: 14px;
    padding: 16px;
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
}

.admin-sidebar-title {
    color: #ff0000;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-tab-list {
    display: grid;
    gap: 8px;
}

.admin-tab {
    position: relative;
    width: 100%;
    min-height: 48px;
    padding: 12px 42px 12px 14px;
    background: transparent;
    border: 1px solid #333333;
    border-radius: 8px;
    color: #cccccc;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.admin-tab-bell {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    background: #160606;
    border: 1px solid #ff0000;
    border-radius: 999px;
    color: #ff0000;
}

.admin-tab-bell svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-tab:hover,
.admin-tab:focus-visible {
    border-color: #ff0000;
    color: #ffffff;
    outline: none;
}

.admin-tab.active {
    background: transparent;
    border-color: #ff0000;
    color: #ffffff;
    box-shadow: none;
}

.admin-editor-area {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #444444;
    box-shadow: none;
}

.btn-secondary:hover {
    border-color: #ff0000;
    color: #ff0000;
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 18px;
    font-size: 12px;
    letter-spacing: 1px;
}

.content-form {
    display: grid;
    gap: 18px;
}

.admin-section {
    padding: 28px;
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
}

.admin-section h2 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #2a2a2a;
}

.admin-section h3 {
    color: #ff0000;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-subsection-title {
    grid-column: 1 / -1;
    margin-top: 10px;
    padding-top: 24px;
    border-top: 1px solid #2a2a2a;
    color: #ff0000;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-field-wide {
    grid-column: 1 / -1;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-form,
.admin-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-form {
    gap: 18px;
}

.admin-field span {
    color: #cccccc;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 14px 16px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.admin-field textarea {
    resize: vertical;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
    outline: none;
    border-color: #ff0000;
}

.admin-field select {
    appearance: none;
}

.upload-control {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.upload-file-input {
    display: none;
}

.upload-status {
    color: #999999;
    font-size: 13px;
    line-height: 1.5;
}

.upload-status[data-type="success"] {
    color: #86efac;
}

.upload-status[data-type="error"] {
    color: #fca5a5;
}

.user-admin-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.admin-repeater {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.repeater-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.repeater-list {
    display: grid;
    gap: 14px;
}

.editor-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: end;
    padding: 18px;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
}

.editor-row-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.paragraph-row .editor-row-fields,
.who-paragraph-row .editor-row-fields,
.who-image-row .editor-row-fields,
.service-row .editor-row-fields,
.gallery-row .editor-row-fields {
    grid-template-columns: 120px 1fr;
}

.paragraph-row .editor-row-fields .admin-field,
.who-paragraph-row .editor-row-fields .admin-field,
.who-image-row .editor-row-fields .admin-field,
.service-row .editor-row-fields .admin-field:last-child,
.gallery-row .editor-row-fields .admin-field:nth-child(n+3) {
    grid-column: 1 / -1;
}

.users-list,
.messages-list {
    display: grid;
    gap: 14px;
}

.user-item,
.message-item {
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 18px;
}

.user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.user-item strong {
    display: block;
    color: #ffffff;
    margin-bottom: 4px;
}

.message-item h3 {
    color: #ffffff;
    font-size: 16px;
    text-transform: none;
    letter-spacing: 0;
}

.message-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.message-delete-button {
    flex: 0 0 auto;
}

.message-meta {
    color: #ffb4b4;
    line-height: 1.6;
    margin-top: 8px;
}

.message-item p:last-child {
    color: #cccccc;
    line-height: 1.7;
    margin-top: 10px;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ff0000;
}

.request-field:focus-within {
    border-color: #ff0000;
}

.contact-form .request-field input:not([type="checkbox"]):focus,
.contact-form .request-field textarea:focus {
    outline: none;
}

.contact-form input:not([type="checkbox"])::placeholder,
.contact-form textarea::placeholder {
    color: #666666;
}

/* Footer */
.footer {
    background: #000000;
    padding: 46px 0 26px;
    border-top: 1px solid #333333;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(260px, 1.3fr) minmax(180px, 0.85fr) minmax(180px, 0.85fr);
    gap: 34px;
    align-items: start;
}

.footer-brand img {
    width: 130px;
    height: auto;
    display: block;
    margin-bottom: 18px;
}

.footer-brand p,
.footer-contact,
.footer-bottom p {
    color: #666666;
    font-size: 14px;
    line-height: 1.7;
}

.footer-brand p {
    max-width: 430px;
}

.footer-column h2 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-contact,
.footer-socials {
    display: grid;
    gap: 10px;
}

.footer-contact {
    font-style: normal;
}

.footer a {
    color: #cccccc;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover,
.footer a:focus-visible {
    color: #ff0000;
    outline: none;
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid #222222;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        position: absolute;
        top: calc(100% + 14px);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 14px;
        padding: 20px;
        background: rgba(0, 0, 0, 0.98);
        border: 1px solid rgba(255, 0, 0, 0.2);
        border-radius: 8px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 40px;
        letter-spacing: 5px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .home-services-lead {
        font-size: 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .who-we-are-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .who-we-are-text .section-title {
        text-align: center;
    }

    .who-we-are-images {
        grid-template-columns: 1fr;
    }

    .who-image-card,
    .who-image-card:first-child {
        grid-row: auto;
        min-height: 240px;
    }

    .contact-form-grid,
    .checkbox-options {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 26px;
        text-align: center;
    }

    .footer-brand img,
    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .admin-shell {
        padding-top: 115px;
    }

    .admin-login {
        padding: 24px;
    }

    .admin-heading {
        flex-direction: column;
    }

    .admin-actions {
        justify-content: flex-start;
    }

    .admin-workspace {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-section {
        padding: 22px;
    }

    .admin-grid,
    .user-admin-form,
    .editor-row,
    .editor-row-fields,
    .paragraph-row .editor-row-fields,
    .who-paragraph-row .editor-row-fields,
    .who-image-row .editor-row-fields,
    .service-row .editor-row-fields,
    .gallery-row .editor-row-fields {
        grid-template-columns: 1fr;
    }

    .repeater-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}
