/* ================================================
   BA STRATITECH — Professional Industrial Theme
   Clean, readable, elegant. Not a tech startup.
   ================================================ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Warm industrial palette */
    --white: #ffffff;
    --off-white: #f7f6f3;
    --light-gray: #edecea;
    --mid-gray: #b5b0a8;
    --dark-gray: #6b6560;
    --charcoal: #2c2825;
    --near-black: #1a1714;
    --accent: #c8953c;
    --accent-dark: #a87a2f;
    --accent-light: #e8c97e;
    --accent-bg: rgba(200, 149, 60, 0.08);
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'DM Serif Display', Georgia, serif;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

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

/* --- Typography --- */
.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--near-black);
    margin-bottom: 20px;
}

.body-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 16px;
}

.body-text strong {
    color: var(--charcoal);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* --- Reveal animation (subtle) --- */
.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 1px 0 var(--light-gray);
}

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

.logo-text {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.5px;
    transition: color var(--transition);
}

.navbar.scrolled .logo-text {
    color: var(--near-black);
}

.logo-text strong {
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
}

.navbar.scrolled .nav-links a {
    color: var(--dark-gray);
}

.nav-links a:hover {
    color: var(--white);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--near-black);
}

.nav-cta {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
    background: var(--accent-dark) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

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

.burger span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar.scrolled .burger span {
    background: var(--charcoal);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================================
   HERO
   ================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(26, 23, 20, 0.35) 0%,
            rgba(26, 23, 20, 0.55) 60%,
            rgba(26, 23, 20, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 0 24px 0 80px;
}

.hero-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

/* ================================================
   ABOUT
   ================================================ */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 12px;
}

.highlight-card {
    background: var(--off-white);
    border-radius: 10px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform var(--transition);
}

.highlight-card:hover {
    transform: translateX(6px);
}

.highlight-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--accent);
    min-width: 70px;
}

.highlight-label {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--dark-gray);
}

/* ================================================
   SERVICES
   ================================================ */
.services {
    padding: 100px 0;
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.service-media {
    height: 200px;
    overflow: hidden;
    background: var(--light-gray);
}

.service-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-video {
    transform: scale(1.03);
}

.service-body {
    padding: 24px 28px 28px;
}

.service-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--near-black);
    margin-bottom: 8px;
}

.service-body p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* ================================================
   TEAM
   ================================================ */
.team {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 36px;
    justify-items: center;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    background: var(--light-gray);
    border: 3px solid var(--light-gray);
    transition: border-color var(--transition);
}

.team-member:hover .member-photo {
    border-color: var(--accent);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--near-black);
    margin-bottom: 2px;
}

.member-role {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ================================================
   DEVIS
   ================================================ */
.devis {
    padding: 100px 0;
    background: var(--near-black);
    color: var(--white);
}

.devis .section-title {
    color: var(--white);
}

.devis .body-text {
    color: rgba(255, 255, 255, 0.65);
}

.devis-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.devis-perks {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.devis-perks li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.devis-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.form-field input,
.form-field select,
.form-field textarea {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 13px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--white);
    transition: border-color var(--transition);
    outline: none;
    width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--accent);
}

.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-field select option {
    background: var(--charcoal);
    color: var(--white);
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    padding: 15px;
    font-size: 0.95rem;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    padding: 48px 0 24px;
    background: var(--near-black);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 32px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.15rem;
}

.footer-brand p {
    margin-top: 8px;
    font-size: 0.85rem;
    max-width: 280px;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--accent-light);
}

.footer-contact a {
    font-size: 0.85rem;
    color: var(--accent-light);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 968px) {

    .about-grid,
    .devis-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right 0.4s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        color: var(--charcoal) !important;
    }

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

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
    }

    .footer-nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .member-photo {
        width: 100px;
        height: 100px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .devis-form {
        padding: 24px;
    }
}