/* ==============================
   GENERAL
============================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f4f0;
    color: #222;
}

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

img {
    display: block;
    width: 100%;
}


/* ==============================
   NAVIGATION
============================== */

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding: 25px 50px;

    z-index: 10;

    color: white;
}

.dark-navbar {
    position: relative;
    color: #222;
    background: #f5f4f0;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo a {
    font-size: 15px;
    letter-spacing: 2px;
    font-weight: bold;
}

.logo span {
    margin-top: 3px;
    font-size: 6px;
    letter-spacing: 3px;
    opacity: 0.6;
}

nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

nav a {
    font-size: 8px;
    letter-spacing: 3px;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.5;
}

.project-button {
    background: white;
    color: #222;
    padding: 12px 22px;
}

.dark-navbar .project-button {
    background: #222;
    color: white;
}


/* ==============================
   HERO
============================== */

.hero {
    height: 100vh;
    min-height: 650px;

    position: relative;

    background-image: url("images/hero.jpg");
    background-size: cover;
    background-position: center;
}
/* Background Video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.3),
            rgba(0,0,0,0.05) 45%,
            rgba(0,0,0,0.7)
        );
}

.hero-content {
    position: absolute;

    left: 50px;
    bottom: 65px;

    color: white;
}

.small-title {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 7px;
    letter-spacing: 4px;

    margin-bottom: 22px;
}

.small-title span {
    display: block;
    width: 25px;
    height: 1px;
    background: currentColor;
}

.dark-text {
    color: #333;
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(65px, 7vw, 105px);
    font-weight: normal;
    line-height: 0.9;
    letter-spacing: -5px;
}

.hero h1 em {
    font-weight: normal;
}

.hero p {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 15px;
    margin-top: 22px;
    opacity: 0.9;
}

.work-link {
    position: absolute;
    right: 50px;
    bottom: 65px;

    color: white;

    font-size: 7px;
    letter-spacing: 4px;
}


/* ==============================
   ABOUT
============================== */

.about-page {
    min-height: calc(100vh - 85px);

    display: grid;
    grid-template-columns: 50% 50%;
}

.about-image {
    height: calc(100vh - 85px);
}

.about-image img {
    height: 100%;
    object-fit: cover;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px;
}

.about-content h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(50px, 5vw, 75px);
    line-height: 0.95;
    font-weight: normal;
    letter-spacing: -3px;

    margin-bottom: 35px;
}

.about-content h1 em {
    font-weight: normal;
}

.about-content > p {
    max-width: 500px;

    font-size: 14px;
    line-height: 1.8;

    color: #666;

    margin-bottom: 18px;
}

.text-button {
    margin-top: 25px;

    font-size: 8px;
    letter-spacing: 3px;

    border-bottom: 1px solid #222;
    padding-bottom: 8px;

    width: fit-content;
}


/* ==============================
   SERVICES
============================== */

.services-header {
    padding: 120px 8% 80px;
}

.services-header h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;

    font-size: clamp(60px, 7vw, 105px);
    line-height: 0.9;
    letter-spacing: -5px;

    margin-bottom: 35px;
}

.services-header h1 em {
    font-weight: normal;
}

.services-header p {
    max-width: 500px;

    font-size: 14px;
    line-height: 1.8;
    color: #666;
}


/* SERVICE CARDS */

.services-grid {
    display: grid;
   grid-template-columns: repeat(4, 1fr);

    gap: 2px;

    padding: 0 2px;
}

.service-card {
    position: relative;
    background: #222;
    color: white;
    overflow: hidden;
}

.service-card img {
    height: 550px;

    object-fit: cover;

    opacity: 0.7;

    transition: transform 0.6s ease;
}

.service-card:hover img {
    transform: scale(1.04);
}

.service-info {
    position: absolute;

    left: 35px;
    right: 35px;
    bottom: 35px;
}

.service-info span {
    font-size: 8px;
    letter-spacing: 3px;
}

.service-info h2 {
    font-size: 22px;
    letter-spacing: 3px;

    margin: 10px 0;
}

.service-info p {
    max-width: 350px;

    font-size: 12px;
    line-height: 1.6;

    opacity: 0.8;
}


/* ==============================
   SELECTED WORK
============================== */

.featured-work {
    padding: 130px 8%;
}

.featured-work h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(50px, 6vw, 85px);
    font-weight: normal;

    letter-spacing: -4px;

    margin-bottom: 60px;
}

.featured-work h2 em {
    font-weight: normal;
}

.project-list {
    border-top: 1px solid #ccc;
}

.project {
    display: grid;

    grid-template-columns: 10% 45% 25% 20%;

    align-items: center;

    padding: 30px 0;

    border-bottom: 1px solid #ccc;

    transition: padding 0.3s ease;
}

.project:hover {
    padding-left: 15px;
}

.project span,
.project p {
    font-size: 8px;
    letter-spacing: 2px;
    color: #777;
}

.project h3 {
    font-size: 14px;
    letter-spacing: 3px;
}

.project strong {
    text-align: right;

    font-size: 8px;
    letter-spacing: 3px;
}


/* ==============================
   CONTACT
============================== */

.contact-page {
    min-height: calc(100vh - 85px);

    display: grid;

    grid-template-columns: 55% 45%;

    padding: 100px 8%;
    gap: 80px;
}

.contact-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-content h1 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(55px, 6vw, 90px);

    font-weight: normal;

    line-height: 0.9;

    letter-spacing: -4px;

    margin-bottom: 35px;
}

.contact-content h1 em {
    font-weight: normal;
}

.contact-content > p {
    max-width: 500px;

    font-size: 14px;
    line-height: 1.8;

    color: #666;
}

.contact-info {
    display: flex;
    gap: 80px;

    margin-top: 50px;
}

.contact-info span {
    display: block;

    font-size: 7px;
    letter-spacing: 3px;

    margin-bottom: 10px;

    color: #888;
}

.contact-info a,
.contact-info p {
    font-size: 12px;
}


/* CONTACT FORM */

.contact-form {
    align-self: center;

    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 7px;
    letter-spacing: 3px;

    margin-bottom: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 13px;

    background: transparent;

    border: none;
    border-bottom: 1px solid #bbb;

    padding: 12px 0;

    margin-bottom: 30px;

    outline: none;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form button {
    align-self: flex-start;

    background: #222;
    color: white;

    border: none;

    padding: 15px 25px;

    font-size: 8px;
    letter-spacing: 3px;

    cursor: pointer;

    transition: opacity 0.3s ease;
}

.contact-form button:hover {
    opacity: 0.7;
}


/* ==============================
   FOOTER
============================== */

footer {
    display: flex;
    justify-content: space-between;

    padding: 30px 50px;

    border-top: 1px solid #ddd;
}

footer p,
footer a {
    font-size: 7px;
    letter-spacing: 3px;
    color: #777;
}

footer div {
    display: flex;
    gap: 25px;
}


/* ==============================
   MOBILE
============================== */

@media screen and (max-width: 800px) {

    .navbar {
        padding: 20px 25px;
    }

    nav {
        gap: 15px;
    }

    nav a:not(.project-button) {
        display: none;
    }

    .project-button {
        padding: 10px 15px;
    }

    .hero-content {
        left: 25px;
        bottom: 45px;
    }

    .hero h1 {
        font-size: 60px;
        letter-spacing: -3px;
    }

    .work-link {
        right: 25px;
        bottom: 45px;
    }

    .about-page {
        display: block;
    }

    .about-image {
        height: 60vh;
    }

    .about-content {
        padding: 60px 25px;
    }

    .services-header {
        padding: 80px 25px 60px;
    }

    .services-grid {
        display: block;
    }

    .service-card {
        margin-bottom: 2px;
    }

    .service-card img {
        height: 500px;
    }

    .featured-work {
        padding: 80px 25px;
    }

    .project {
        grid-template-columns: 15% 55% 30%;
    }

    .project p {
        display: none;
    }

    .contact-page {
        display: block;
        padding: 70px 25px;
    }

    .contact-form {
        margin-top: 70px;
    }

    .contact-info {
        gap: 30px;
    }

    footer {
        padding: 25px;
        display: block;
    }

    footer div {
        margin-top: 20px;
    }
}