/* ==========================================
   FERHAN CILGI
   Photography & Graphic Design
========================================== */


/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: #f4f2ed;
    color: #171717;

    font-family: Arial, Helvetica, sans-serif;

    line-height: 1.4;
}


a {
    color: inherit;
    text-decoration: none;
}


img {
    max-width: 100%;
}


/* ==========================================
   HEADER
========================================== */

.site-header {
    width: 100%;

    padding: 28px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    font-size: 14px;

    font-weight: 600;

    letter-spacing: 0.08em;
}


.main-nav {
    display: flex;

    gap: 30px;
}


.main-nav a {
    font-size: 13px;

    letter-spacing: 0.04em;

    transition: opacity 0.3s ease;
}


.main-nav a:hover {
    opacity: 0.5;
}


/* ==========================================
   HERO
========================================== */

.hero {
    min-height: 85vh;

    padding: 120px 40px 80px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


.eyebrow {
    margin-bottom: 35px;

    font-size: 12px;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


.hero h1 {
    max-width: 1000px;

    font-size: clamp(64px, 10vw, 150px);

    font-weight: 400;

    line-height: 0.9;

    letter-spacing: -0.055em;
}


.hero-description {
    max-width: 400px;

    margin-top: 50px;

    font-size: 16px;

    line-height: 1.5;
}


/* ==========================================
   GENERAL SECTIONS
========================================== */

.work,
.about,
.services,
.contact {
    padding: 140px 40px;
}


.section-header {
    display: flex;

    align-items: baseline;

    gap: 20px;

    margin-bottom: 70px;

    padding-top: 15px;

    border-top: 1px solid #171717;
}


.section-header span {
    font-size: 12px;

    letter-spacing: 0.08em;
}


.section-header h2 {
    font-size: 14px;

    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}


/* ==========================================
   PROJECTS
========================================== */

.projects {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 100px 30px;
}


.project:first-child {
    grid-column: span 2;
}


.project-image {
    width: 100%;

    height: 65vh;

    overflow: hidden;

    background: #dedbd4;
}


.project:not(:first-child) .project-image {
    height: 55vh;
}


.project-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.6s ease;
}


.project:hover .project-image img {
    transform: scale(1.03);
}


.project-info {
    display: flex;

    justify-content: space-between;

    align-items: baseline;

    margin-top: 18px;
}


.project-info h3 {
    font-size: 18px;

    font-weight: 400;
}


.project-info p {
    font-size: 12px;

    letter-spacing: 0.04em;
}


/* ==========================================
   ABOUT
========================================== */

.about-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;
}


.about-image {
    width: 100%;

    height: 70vh;

    overflow: hidden;

    background: #dedbd4;
}


.about-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;
}


.about-text {
    max-width: 550px;

    align-self: center;
}


.about-text p {
    margin-bottom: 30px;

    font-size: 30px;

    line-height: 1.15;

    letter-spacing: -0.02em;
}


/* ==========================================
   SERVICES
========================================== */

.services-list {
    border-top: 1px solid #171717;
}


.services-list p {
    padding: 20px 0;

    border-bottom: 1px solid #171717;

    font-size: clamp(30px, 5vw, 70px);

    font-weight: 400;

    letter-spacing: -0.03em;

    transition: padding-left 0.4s ease;
}


.services-list p:hover {
    padding-left: 20px;
}


/* ==========================================
   CONTACT
========================================== */

.contact {
    min-height: 80vh;

    display: flex;

    flex-direction: column;
}


.contact-title {
    margin-top: auto;

    margin-bottom: 70px;

    font-size: clamp(60px, 10vw, 150px);

    font-weight: 400;

    line-height: 0.9;

    letter-spacing: -0.055em;
}


.contact-email {
    width: fit-content;

    font-size: 18px;

    padding-bottom: 5px;

    border-bottom: 1px solid #171717;
}


/* ==========================================
   FOOTER
========================================== */

.site-footer {
    padding: 30px 40px;

    display: flex;

    justify-content: space-between;

    border-top: 1px solid #171717;

    font-size: 11px;

    letter-spacing: 0.05em;

    text-transform: uppercase;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {


    /* HEADER */

    .site-header {
        padding: 22px 20px;
    }


    .main-nav {
        gap: 15px;
    }


    .main-nav a {
        font-size: 11px;
    }


    /* HERO */

    .hero {
        min-height: 80vh;

        padding: 80px 20px 50px;
    }


    .hero h1 {
        font-size: clamp(55px, 17vw, 100px);
    }


    .hero-description {
        margin-top: 35px;

        font-size: 14px;
    }


    /* SECTIONS */

    .work,
    .about,
    .services,
    .contact {
        padding: 90px 20px;
    }


    /* PROJECTS */

    .projects {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .project:first-child {
        grid-column: span 1;
    }


    .project-image,
    .project:not(:first-child) .project-image {
        height: 65vh;
    }


    .project-info {
        display: block;
    }


    .project-info p {
        margin-top: 7px;
    }


    /* ABOUT */

    .about-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .about-image {
        height: 65vh;
    }


    .about-text p {
        font-size: 25px;
    }


    /* CONTACT */

    .contact-title {
        margin-top: 80px;

        margin-bottom: 50px;

        font-size: clamp(55px, 16vw, 100px);
    }


    /* FOOTER */

    .site-footer {
        padding: 25px 20px;

        display: block;
    }


    .site-footer p + p {
        margin-top: 8px;
    }

}