/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f5f3ef;
    color: #171717;
    line-height: 1.6;
}

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

ul {
    list-style: none;
}


/* =========================
   VARIABLES
========================= */

:root {
    --black: #171717;
    --cream: #f5f3ef;
    --white: #ffffff;
    --orange: #c76b42;
    --light-orange: #e9b79f;
    --gray: #777;
    --border: #d9d5ce;
}


/* =========================
   HEADER
========================= */

.header {
    height: 90px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--cream);

    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 1px solid transparent;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: var(--orange);
}

.navbar {
    display: flex;
    gap: 35px;
}

.navbar a {
    font-size: 14px;
    font-weight: 500;
    transition: .3s;
}

.navbar a:hover {
    color: var(--orange);
}

.menu-btn {
    display: none;

    background: none;
    border: none;

    font-size: 22px;

    cursor: pointer;
}


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

.hero {
    min-height: calc(100vh - 90px);

    padding: 80px 7%;

    display: grid;
    grid-template-columns: 1.1fr .9fr;

    align-items: center;

    gap: 60px;
}

.small-title {
    color: var(--orange);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 20px;
}

.hero h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 7vw, 100px);

    line-height: 1;

    font-weight: 600;
}

.hero h1 span {
    display: block;

    color: var(--orange);
}

.hero-text {
    max-width: 560px;

    color: var(--gray);

    font-size: 17px;

    margin: 30px 0;
}

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

.btn {
    padding: 15px 27px;

    border: 1px solid var(--black);

    font-size: 14px;
    font-weight: 600;

    transition: .3s;
}

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

.primary-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.secondary-btn:hover {
    background: var(--black);
    color: white;
}


/* HERO IMAGE */

.hero-image {
    height: 580px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}
.image-circle {
    width: 430px;
    height: 530px;

    border-radius: 220px 220px 10px 10px;

    overflow: hidden;

    position: relative;

    background: #d7c2b7;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.image-circle img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center top;

    display: block;

    transition: transform 0.6s ease;
}

.image-circle:hover img {
    transform: scale(1.04);
}





/* FLOATING CARD */

.floating-card {
    position: absolute;

    bottom: 40px;
    left: 20px;

    background: white;

    padding: 20px 25px;

    box-shadow: 0 15px 50px rgba(0,0,0,.1);
}

.floating-card span {
    color: var(--orange);

    font-size: 25px;
}

.floating-card p {
    font-size: 13px;

    margin-top: 5px;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 120px 7%;
}

.section-label {
    display: flex;

    align-items: center;

    gap: 15px;

    color: var(--orange);

    font-size: 12px;

    letter-spacing: 3px;

    font-weight: 700;

    margin-bottom: 50px;
}

.section-label span {
    color: #999;

    letter-spacing: 0;
}


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

.about {
    background: white;
}

.about-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.about-title h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1.1;

    font-weight: 500;
}

.about-title span,
.section-title span,
.contact h2 span {
    color: var(--orange);
}

.about-text {
    padding-top: 10px;
}

.about-text p {
    color: var(--gray);

    font-size: 17px;

    margin-bottom: 25px;

    max-width: 500px;
}

.text-link {
    display: inline-block;

    margin-top: 10px;

    color: var(--black);

    font-weight: 700;

    border-bottom: 1px solid var(--orange);

    padding-bottom: 5px;
}


/* =========================
   SKILLS
========================= */

.section-title {
    font-family: "Playfair Display", serif;

    font-size: clamp(40px, 5vw, 65px);

    font-weight: 500;

    margin-bottom: 60px;
}

.skills-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);
}

.skill {
    padding: 40px 30px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition: .3s;
}

.skill:hover {
    background: white;

    transform: translateY(-5px);
}

.skill-icon {
    font-size: 35px;

    color: var(--orange);

    margin-bottom: 20px;
}

.skill h3 {
    font-size: 20px;

    margin-bottom: 10px;
}

.skill p {
    color: var(--gray);

    font-size: 14px;
}


/* =========================
   PROJECTS
========================= */

.projects {
    background: white;
}

.projects-heading {
    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 50px;

    margin-bottom: 60px;
}

.projects-heading .section-title {
    margin-bottom: 0;
}

.projects-heading > p {
    max-width: 380px;

    color: var(--gray);
}

.projects-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.project {
    background: var(--cream);

    transition: .3s;
}

.project:hover {
    transform: translateY(-8px);
}

.project-image {
    height: 300px;

    position: relative;

    display: flex;

    align-items: end;

    padding: 25px;
}

.project-image span {
    font-family: "Playfair Display", serif;

    color: white;

    font-size: 50px;

    opacity: .7;
}

.project-one {
    background:
        linear-gradient(
            135deg,
            #243447,
            #c76b42
        );
}

.project-two {
    background:
        linear-gradient(
            135deg,
            #302b63,
            #c76b42
        );
}

.project-three {
    background:
        linear-gradient(
            135deg,
            #1c3b32,
            #8bb174
        );
}

.project-info {
    padding: 30px;
}

.project-category {
    color: var(--orange);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.project-info h3 {
    font-family: "Playfair Display", serif;

    font-size: 27px;

    margin-bottom: 10px;
}

.project-info > p {
    color: var(--gray);

    font-size: 14px;

    margin-bottom: 20px;
}

.project-tech {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 25px;
}

.project-tech span {
    border: 1px solid var(--border);

    padding: 5px 10px;

    font-size: 11px;
}

.project-link {
    font-size: 13px;

    font-weight: 700;
}


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

.services {
    background: var(--black);

    color: white;
}

.services .section-label {
    color: var(--light-orange);
}

.services .section-title {
    color: white;
}

.services-list {
    border-top: 1px solid #444;
}

.service {
    display: grid;

    grid-template-columns: 100px 1fr 50px;

    align-items: center;

    gap: 30px;

    padding: 35px 0;

    border-bottom: 1px solid #444;

    transition: .3s;
}

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

.service-number {
    color: #888;

    font-size: 13px;
}

.service h3 {
    font-family: "Playfair Display", serif;

    font-size: 28px;

    margin-bottom: 8px;
}

.service p {
    color: #aaa;

    max-width: 600px;

    font-size: 14px;
}

.service-arrow {
    color: var(--light-orange);

    font-size: 25px;
}


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

.contact {
    background: var(--orange);

    color: white;
}

.contact .section-label {
    color: white;
}

.contact-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.contact h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(45px, 6vw, 75px);

    line-height: 1.05;

    font-weight: 500;

    max-width: 700px;
}

.contact h2 span {
    color: var(--black);
}

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

    margin-top: 30px;

    font-size: 17px;
}

.contact-links {
    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 25px;
}

.contact-links a {
    font-family: "Playfair Display", serif;

    font-size: 25px;

    border-bottom: 1px solid rgba(255,255,255,.5);

    padding-bottom: 15px;

    transition: .3s;
}

.contact-links a:hover {
    color: var(--black);
}


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

footer {
    background: var(--black);

    color: white;

    padding: 40px 7%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.footer-logo {
    font-weight: 700;

    letter-spacing: 2px;
}

footer p {
    color: #888;

    font-size: 12px;
}

.socials {
    display: flex;

    gap: 15px;
}

.socials a {
    width: 35px;
    height: 35px;

    border: 1px solid #444;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    transition: .3s;
}

.socials a:hover {
    background: var(--orange);

    border-color: var(--orange);
}


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

@media (max-width: 900px) {

    .navbar {
        position: absolute;

        top: 90px;
        left: 0;

        width: 100%;

        background: var(--black);

        display: none;

        flex-direction: column;

        padding: 25px 7%;

        gap: 20px;
    }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        color: white;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;

        padding-top: 60px;
    }

    .hero-image {
        height: 450px;
    }

    .image-circle {
        width: 320px;
        height: 400px;
    }

    .about-content {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .projects-heading {
        flex-direction: column;

        align-items: start;
    }

    .contact-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    footer {
        flex-direction: column;

        text-align: center;
    }
}
.contact-links a {
    position: relative;
}

.contact-links a::after {
    content: "↗";

    margin-left: 10px;

    font-family: "DM Sans", sans-serif;

    font-size: 15px;

    transition: .3s;
}

.contact-links a:hover::after {
    transform: translate(4px, -4px);
}



@media (max-width: 600px) {

    .header {
        height: 75px;
    }

    .navbar {
        top: 75px;
    }

    .hero {
        min-height: auto;

        padding: 70px 6%;
    }

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

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

    .btn {
        text-align: center;
    }

    .section {
        padding: 80px 6%;
    }

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

    .skill {
        border-right: none;
    }

    .service {
        grid-template-columns: 40px 1fr 30px;

        gap: 15px;
    }

    .service h3 {
        font-size: 22px;
    }

    .contact h2 {
        font-size: 48px;
    }

    .contact-links a {
        font-size: 20px;
    }

    .hero-image {
        height: 400px;
    }

    .image-circle {
        width: 280px;
        height: 350px;
    }

}
