/* ------------------- */
/* 1. Global & Reset   */
/* ------------------- */
:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-inverse: #000000;
    --overlay-color: rgba(5, 5, 5, 0.75);
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/Inter-Bold.woff2') format('woff2');
}


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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

html {
    scroll-behavior: smooth;
}

/* ------------------- */
/* 2. Header           */
/* ------------------- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2rem 3rem;
    background-color: transparent;
}

.subpage .site-header {
    position: static;
    background-color: var(--bg-color);
    border-bottom: 1px solid #1f1f1f;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.2em;
    font-size: 1rem;
}

.main-nav a {
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.2s ease-in-out;
}

.main-nav a:hover {
    color: var(--text-secondary);
}

/* ------------------- */
/* 3. Hero Section     */
/* ------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 3rem;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 10vw, 9rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    background-color: var(--text-primary);
    color: var(--text-inverse);
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.cta-button:hover {
    background-color: var(--text-secondary);
    color: var(--text-inverse);
}

/* ------------------- */
/* 4. Services Section */
/* ------------------- */
.services-section {
    padding: 6rem 3rem;
    background-color: var(--bg-color);
}

.services-container {
    max-width: 1600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-item {
    border: 1px solid #1f1f1f;
    padding: 2.5rem;
    background-color: transparent;
}

.service-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.service-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ------------------- */
/* 5. Portfolio Section*/
/* ------------------- */
.portfolio-section {
    padding: 6rem 3rem;
    text-align: center;
}

.portfolio-section h2 {
    color: var(--text-primary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 3rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.portfolio-item {
    aspect-ratio: 16 / 9;
    background-color: #0a0a0a;
    border: 1px solid #1f1f1f;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555555;
    font-size: 0.9rem;
}

/* ------------------- */
/* 6. Contact Section  */
/* ------------------- */
.contact-section {
    padding: 6rem 3rem;
    text-align: center;
}

.contact-section h2 {
    color: var(--text-primary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    background-color: transparent;
    border: 1px solid #1f1f1f;
    color: var(--text-primary);
    padding: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    border-radius: 0;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 1px solid var(--text-primary);
    border-color: var(--text-primary);
}

.contact-form button {
    width: 100%;
    border: none;
}

/* ------------------- */
/* 7. Footer           */
/* ------------------- */
.site-footer-main {
    padding: 3rem 5%;
    border-top: 1px solid #1f1f1f;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-nav {
    display: flex;
    align-items: center;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-left: 2rem;
    transition: color 0.2s ease-in-out;
}

.footer-nav a:hover {
    color: var(--text-primary);
}

/* ------------------- */
/* 8. Responsive       */
/* ------------------- */
@media (max-width: 768px) {
    .site-header {
        padding: 1.5rem;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        padding: 0 1.5rem;
        text-align: left;
    }

    .hero-content {
        margin: 0;
    }

    .services-section {
        padding: 4rem 1.5rem;
    }

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

    .portfolio-section,
    .contact-section {
        padding: 4rem 1.5rem;
    }

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

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-nav a {
        margin-left: 0;
    }
}

/* ------------------- */
/* 9. Legal Pages      */
/* ------------------- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem 1.5rem;
}

.legal-content h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 3rem;
    line-height: 1.2;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}
