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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: black;
    color: white;
    overflow-x: hidden;
}

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: 25px;
    letter-spacing: 2px;
    font-weight: bold;
}

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

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

nav a {
    font-size: 15px;
    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;

    overflow: hidden;

    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;
    object-position: center;

    transform: scale(1.15);

    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;

    z-index: 2;
}


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

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

    margin-bottom: 22px;
}

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

.dark-text {
    color: white;
}

.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: 20px;
    margin-top: 22px;
    opacity: 0.9;
}


/* SELECTED WORK */

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

    color: white;
    font-size: 15px;
    letter-spacing: 3px;

    z-index: 2;
}


/* ==============================
   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: 18px;
    line-height: 1.8;

    color: silver;

    margin-bottom: 18px;
}

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

    font-size: 15px;
    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;
}

.small-title em {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: normal;
}


/* SERVICE CARDS */

.services-grid {
    display: grid;
    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: 12px;
    letter-spacing: 3px;
}

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

    margin: 10px 0;
}

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

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

    opacity: 0.8;
}


/* ==============================
   SERVICES BOTTOM SECTION
============================== */

.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: 15px;
    letter-spacing: 2px;
    color: white;
}

.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: 16px;
    line-height: 1.8;

    color: white;
}

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

    margin-top: 50px;
}

.contact-info span {
    display: block;

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

    margin-bottom: 10px;

    color: white;
}

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


/* CONTACT FORM */

.contact-form {
    align-self: center;

    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 15px;
    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;
    color: white;
}

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

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

    background: #222;
    color: white;

    border: none;

    padding: 15px 25px;

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

    cursor: pointer;

    transition: opacity 0.3s ease;
}

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


/* GOOGLE MAP */

.map-container {
    width: 100%;
    margin-top: 15px;
}

.map-container iframe {
    width: 100%;
    height: 250px;
    border: 0;
}


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

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

    padding: 30px 50px;

    border-top: 1px solid #ddd;
}

footer p,
footer a {
    font-size: 15px;
    letter-spacing: 3px;
    color: white;
}

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


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

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

    body {
        overflow-x: hidden;
    }


    /* NAVIGATION */

    .navbar {
        height: auto;
        padding: 20px 25px;
    }

    .logo a {
        font-size: 21px;
    }

    .logo span {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    nav {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    nav a {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .project-button {
        padding: 9px 12px;
    }


    /* HERO */

    .hero {
        height: 100svh;
        min-height: 600px;
    }

    .hero-video {
        transform: scale(1.1);
    }

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

    .small-title {
        font-size: 20px;
        letter-spacing: 3px;
        margin-bottom: 18px;
    }

    .small-title span {
        width: 20px;
    }

    .hero h1 {
        font-size: clamp(48px, 14vw, 70px);
        letter-spacing: -3px;
    }

    .hero p {
        font-size: 17px;
        line-height: 1.4;
        margin-top: 18px;
    }

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


    /* ABOUT */

    .about-page {
        display: block;
        min-height: auto;
    }

    .about-image {
        height: 60vh;
    }

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

    .about-content h1 {
        font-size: clamp(45px, 13vw, 65px);
    }

    .about-content > p {
        font-size: 16px;
        line-height: 1.7;
    }


    /* SERVICES */

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

    .services-header h1 {
        font-size: clamp(50px, 14vw, 75px);
    }

    .services-grid {
        display: block;
    }

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

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

    .service-info {
        left: 25px;
        right: 25px;
        bottom: 25px;
    }

    .service-info h2 {
        font-size: 19px;
    }


    /* FEATURED WORK */

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

    .featured-work h2 {
        font-size: clamp(45px, 13vw, 70px);
    }

    .project {
        grid-template-columns: 20% 50% 30%;
        padding: 25px 0;
    }

    .project p {
        display: none;
    }

    .project span,
    .project h3 {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .project strong {
        font-size: 7px;
    }


    /* CONTACT */

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

    .contact-content h1 {
        font-size: clamp(50px, 14vw, 75px);
    }

    .contact-content > p {
        font-size: 15px;
        line-height: 1.7;
    }

    .contact-info {
        flex-direction: column;
        gap: 25px;
        margin-top: 40px;
    }

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

    .map-container {
        width: 100%;
    }

    .map-container iframe {
        height: 200px;
    }


    /* FOOTER */

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

    footer div {
        margin-top: 20px;
        gap: 20px;
        flex-wrap: wrap;
    }

}


/* ==============================
   SMALL PHONES
============================== */

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

    .navbar {
        padding: 18px 20px;
    }

    .logo a {
        font-size: 19px;
    }

    .logo span {
        font-size: 8px;
        letter-spacing: 1px;
    }

    nav {
        gap: 7px;
    }

    nav a {
        font-size: 9px;
        letter-spacing: 1px;
    }

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


    /* HERO */

    .hero-content {
        left: 20px;
        right: 20px;
        bottom: 35px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero p {
        font-size: 16px;
    }

    .work-link {
        right: 20px;
        bottom: 35px;
        font-size: 10px;
    }


    /* ABOUT */

    .about-content,
    .services-header,
    .featured-work,
    .contact-page {
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-image {
        height: 50vh;
    }


    /* SERVICES */

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


    /* FEATURED WORK */

    .project {
        grid-template-columns: 25% 45% 30%;
    }


    /* FOOTER */

    footer {
        padding: 20px;
    }

}