/* =========================
   ROOT
========================= */

:root {

    --primary: #6F4E37;
    --primary-dark: #4d3526;
    --primary-light: #98765d;

    --cream: #f7f2ed;
    --background: #fffdf9;
    --white: #ffffff;

    --text: #211914;
    --muted: #746b64;

    --border: #e7ddd4;

    --shadow:
        0 25px 60px rgba(60, 40, 25, 0.12);

}


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

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    

}


html {
overflow-x: hidden;

    scroll-behavior: smooth;

}


body {
width: 100%;

max-width: 100%;

overflow-x: hidden;

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

    background: var(--background);

    color: var(--text);

    line-height: 1.6;

}


a {

    text-decoration: none;

    color: inherit;

}


img {

    max-width: 100%;

    display: block;

}


button {

    font-family: inherit;

}


.container {

    width: min(1160px, 90%);

    margin: auto;

}


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

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background:
        rgba(255, 253, 249, 0.92);

    backdrop-filter: blur(15px);

    border-bottom:
        1px solid rgba(111, 78, 55, 0.08);

}


.navbar {

    height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* LOGO */

.logo {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    background: var(--primary);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-family:
        "Playfair Display", serif;

    font-size: 1.4rem;

    font-weight: 700;

}


.logo span {

    color: #dfbea4;

}


/* NAV LINKS */

.nav-links {

    display: flex;

    gap: 35px;

}


.nav-links a {

    font-size: .88rem;

    font-weight: 600;

    color: var(--muted);

    transition: .3s;

}


.nav-links a:hover,
.nav-links a.active {

    color: var(--primary);

}


/* NAV BUTTON */

.nav-btn {

    background: var(--primary);

    color: white;

    padding: 12px 20px;

    border-radius: 50px;

    font-size: .85rem;

    font-weight: 700;

    transition: .3s;

}


.nav-btn:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);

}


.nav-btn i {

    margin-left: 7px;

}


/* MENU */

.menu-btn {

    display: none;

    border: none;

    background: transparent;

    font-size: 1.5rem;

    color: var(--text);

    cursor: pointer;

}


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

.hero {

    min-height: 100vh;

    background: var(--cream);

    display: flex;

    align-items: center;

    position: relative;

    overflow: visible;

    padding-top: 78px;

}


.hero-circle {

    width: 600px;

    height: 600px;

    border-radius: 50%;

    position: absolute;

    right: -180px;

    top: 100px;

    background: #eadbd0;

}


.hero-container {

    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    gap: 60px;

    align-items: center;

    position: relative;

    z-index: 2;

}


/* HERO TEXT */

.eyebrow {

    color: var(--primary);

    font-size: .7rem;

    letter-spacing: .2em;

    font-weight: 800;

}


.hero h1 {

    font-family:
        "Playfair Display", serif;

    font-size:
        clamp(3rem, 6vw, 5.5rem);

    line-height: 1;

    margin: 22px 0;

}


.hero h1 span {

    color: var(--primary);

    font-style: italic;

}


.hero-description {

    max-width: 570px;

    color: var(--muted);

    font-size: 1.05rem;

}


/* BUTTONS */

.hero-buttons {

    display: flex;

    gap: 14px;

    margin-top: 30px;

}


.btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 14px 23px;

    border-radius: 50px;

    font-size: .88rem;

    font-weight: 700;

    transition: .3s;

}


.primary-btn {
height: 40px;
    background: var(--primary);

    color: white;

}


.primary-btn:hover {

    background: var(--primary-dark);

    transform: translateY(-3px);

}


.secondary-btn {
background: transparent;
    border:
        1px solid #cbbcaf;
      

}


.secondary-btn:hover {

    color: var(--primary);

    border-color: var(--primary);

}

/* =========================
   CV DROPDOWN
========================= */

.cv-dropdown {
    position: relative;
}

.cv-btn {
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 9px;
}

.cv-btn i {
    font-size: .7rem;
    transition: .3s;
}

.cv-dropdown:hover .cv-btn i {
    transform: rotate(180deg);
}

.cv-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;

    width: 285px;

    background: var(--white);

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

    border-radius: 18px;

    padding: 8px;

    box-shadow: var(--shadow);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);

    transition: .25s ease;
}

.cv-dropdown:hover .cv-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cv-menu a {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 13px;

    border-radius: 12px;

    transition: .25s;
}

.cv-menu a:hover {
    background: var(--cream);
}

.cv-menu a > i {
    width: 38px;
    height: 38px;

    border-radius: 10px;

    background: #eee3d9;

    color: var(--primary);

    display: grid;
    place-items: center;

    flex-shrink: 0;
}

.cv-menu span {
    display: flex;
    flex-direction: column;
}

.cv-menu strong {
    font-size: .78rem;
    color: var(--text);
}

.cv-menu small {
    font-size: .65rem;
    color: var(--muted);
    margin-top: 2px;
}

/* HERO BOTTOM */

.hero-bottom {

    margin-top: 42px;

    display: flex;

    align-items: center;

    gap: 15px;

}


.hero-bottom p {

    color: var(--muted);

    font-size: .8rem;

}


.mini-avatars {

    display: flex;

}


.mini-avatars span {

    width: 35px;

    height: 35px;

    border-radius: 50%;

    background: var(--primary);

    color: white;

    border: 2px solid var(--cream);

    display: grid;

    place-items: center;

    margin-left: -8px;

    font-size: .7rem;

}


.mini-avatars span:first-child {

    margin-left: 0;

}


/* =========================
   PROFILE IMAGE
========================= */

.hero-image {

    display: flex;

    justify-content: center;
    

}


.profile-wrapper {
    width: min(420px, 90%);
    aspect-ratio: .78;
    position: relative;

    transform: rotate(2deg);

    animation: profileFloat 4s ease-in-out infinite;
}


/* Continuous floating animation */

@keyframes profileFloat {

    0% {
        transform: translateY(0) rotate(2deg);
    }

    50% {
        transform: translateY(-28px) rotate(2deg);
    }

    100% {
        transform: translateY(0) rotate(2deg);
    }

}



.profile-image {

    height: 100%;

    width: 100%;

    overflow: hidden;

    border-radius:
        220px 220px 30px 30px;

    background:
        linear-gradient(
            145deg,
            #c7aa91,
            #76523b
        );

    box-shadow: var(--shadow);

}


.profile-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.image-placeholder {

    height: 100%;

    display: none;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    color: rgba(255,255,255,.75);

}


.image-placeholder i {

    font-size: 4rem;

    margin-bottom: 10px;

}


.image-placeholder p {

    text-transform: uppercase;

    letter-spacing: .2em;

    font-weight: 700;

}


/* FLOATING CARDS */

.floating-card {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 17px;

    background:
        rgba(255,255,255,.95);

    border-radius: 15px;

    box-shadow: var(--shadow);

    transform: rotate(-2deg);

}


.card-one {

    top: 24%;

    left: -65px;

}


.card-two {

    bottom: 16%;

    right: -55px;

}


.floating-icon {

    width: 36px;

    height: 36px;

    border-radius: 10px;

    background: #eee3d9;

    color: var(--primary);

    display: grid;

    place-items: center;

}


.floating-card small {

    display: block;

    color: var(--muted);

    font-size: .63rem;

}


.floating-card strong {

    display: block;

    font-size: .75rem;

}


/* SCROLL */

.scroll-down {

    position: absolute;

    bottom: 25px;

    left: 5%;

    color: var(--muted);

    font-size: .65rem;

    letter-spacing: .15em;

}


.scroll-down i {

    color: var(--primary);

    margin-left: 8px;

}


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

.section {

    padding: 115px 0;

}


/* SECTION LABEL */

.section-label {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--primary);

    font-size: .7rem;

    font-weight: 800;

    letter-spacing: .18em;

}


.section-label span {

    color: var(--primary-light);

}


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

.two-column {

    display: grid;

    grid-template-columns: .35fr 1fr;

    gap: 70px;

}


.about-content {

    max-width: 800px;

}


.about h2 {

    font-family:
        "Playfair Display", serif;

    font-size:
        clamp(2.4rem, 4vw, 4rem);

    line-height: 1.08;

    margin-bottom: 25px;

}


.about h2 span {

    color: var(--primary);

    font-style: italic;

}


.about-content p {

    color: var(--muted);

    margin-bottom: 14px;

}


.text-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--primary);

    font-weight: 700;

    margin-top: 18px;

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

    padding-bottom: 4px;

}


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

.skills {

    background: var(--cream);

}


.section-heading {

    margin-bottom: 50px;

}


.section-heading h2,
.projects-header h2 {

    font-family:
        "Playfair Display", serif;

    font-size:
        clamp(2.3rem, 4vw, 4rem);

    line-height: 1.1;

    margin-top: 15px;

}


.skills-grid {

    display: grid;

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

    gap: 18px;

}


.skill-card {

    min-height: 350px;

    padding: 34px;

    background: white;

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

    border-radius: 24px;

    position: relative;

    transition: .3s;

}


.skill-card:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow);

}


.skill-card.featured {

    background: var(--primary);

    color: white;

}


.skill-number {

    position: absolute;

    top: 30px;

    right: 30px;

    color: #aaa;

    font-size: .7rem;

}


.featured .skill-number {

    color: #d7bca6;

}


.skill-icon {

    font-size: 2rem;

    color: var(--primary);

    margin-bottom: 65px;

}


.featured .skill-icon {

    color: #f0d8c3;

}


.skill-card h3 {

    font-family:
        "Playfair Display", serif;

    font-size: 1.5rem;

    margin-bottom: 10px;

}


.skill-card p {

    color: var(--muted);

    font-size: .88rem;

}


.featured p {

    color: #e6d9ce;

}


.tags {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 25px;

}


.tags span {

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

    border-radius: 50px;

    padding: 5px 9px;

    font-size: .63rem;

    color: var(--muted);

}


.featured .tags span {

    border-color: #9b7b64;

    color: rgb(255, 255, 255);

}


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

.projects-header {

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 40px;

    margin-bottom: 50px;

}


.projects-header > p {

    max-width: 340px;

    color: var(--muted);

}


.projects-grid {

    display: grid;

    grid-template-columns:
        1.25fr .75fr .75fr .75fr;

    gap: 25px;

}


.large-project {

    grid-row: span 2;

}


.project-image {
    min-height: 330px;
    min-width: 300px;

    border-radius: 24px;

    position: relative;

    overflow: hidden;

    display: block;

    align-items: center;

    justify-content: center;
transition:  transform 0.4s ease;
}


.large-project .project-image {
  display: block;
    min-height: 510px;
min-width: 400px;
}


/* PROJECT COLORS */

.ajo {

    background:url(ajo.png);
background-repeat: no-repeat;
    background-size: cover;
}

.velora {

    background:url(vel.png);
     background-repeat: no-repeat;
    background-size: cover;
}

.aurelia {
    min-height: 330px;
    background:url(au.jpeg);
 background-repeat: no-repeat;
    background-size: cover;
}

.queuego {

    background:url(q2.png);
    background-repeat: no-repeat;
    background-size: cover;
}


.project-image::before {

    content: "";

    position: absolute;

    inset: 12px;

    border:
        1px solid rgba(250, 184, 2, 0.25);

    border-radius: 18px;

}


.project-overlay {

    text-align: center;

    color: rgb(230, 225, 225);

    position: relative;

    z-index: 2;

}

.project-overlay p {

     color: white;
    font-size: 15px;
background: rgba(0, 0, 0, 0.8);
    transform: translateY(250%);
    transition: transform 0.4s ease;
position: absolute;
padding: 20px;
bottom: 0;
left: 0;
width: 100%;
display: flex;
align-items: center;}


/* PROJECT INFO */

.project-info {

    padding: 18px 3px 10px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.project-info small {

    color: var(--primary);

    font-size: .58rem;

    font-weight: 800;

    letter-spacing: .1em;

}


.project-info h3 {

    font-family:
        "Playfair Display", serif;

    font-size: 1.35rem;

}


.project-link {

    width: 40px;

    height: 40px;

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

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: var(--primary);

    transition: .3s;

}


.project-link:hover {

    background: var(--primary);

    color: white;

}

.project-image:hover .project-overlay {
    opacity: 1;
}

.project-image:hover .project-overlay p {
    transform: translateY(150%);
}

.project-image:hover img {
    transform: scale(1.05);
}
/* =========================
   PROCESS
========================= */

.process {

    background: var(--cream);

}


.centered {

    text-align: center;

}


.centered .section-label {

    justify-content: center;

}


.process-grid {

    display: grid;

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

    margin-top: 55px;

}


.process-item {

    padding: 30px;

    border-top:
        1px solid #d7c8ba;

}


.process-item > span {

    color: var(--primary);

    font-size: .7rem;

    font-weight: 800;

}


.process-item > i {

    display: block;

    color: var(--primary);

    font-size: 1.4rem;

    margin-top: 30px;

}


.process-item h3 {

    font-family:
        "Playfair Display", serif;

    font-size: 1.4rem;

    margin: 15px 0 8px;

}


.process-item p {

    color: var(--muted);

    font-size: .85rem;

}


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

.contact {

    padding-top: 50px;

}


.contact-box {

    background: var(--primary);

    color: white;

    padding: 70px;

    border-radius: 35px;

    display: grid;

    grid-template-columns: 1fr .7fr;

    gap: 60px;

    align-items: end;

}


.light {

    color: #e7d2c1;

}


.light span {

    color: #c6a890;

}


.contact-box h2 {

    font-family:
        "Playfair Display", serif;

    font-size:
        clamp(2.8rem, 5vw, 5rem);

    line-height: 1;

    margin: 22px 0;

}


.contact-box h2 em {

    color: #f0d7c2;

}


.contact-box p {

    color: #e2d2c4;

    max-width: 500px;

}


.contact-right {

    width: 100%;

}


.email-link {

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom:
        1px solid #a78770;

    padding-bottom: 15px;

}


.social-links {

    display: flex;

    gap: 25px;

    margin-top: 25px;

    font-size: .8rem;

}


.social-links a:hover {

    color: #e5c9b3;

}


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

footer {

    background: var(--primary-dark);

    color: #cdbbae;

    padding: 25px 0;

    font-size: .72rem;

}


.footer-content {

    display: flex;

    justify-content: space-between;

}


.footer-content a {

    color: white;

}


/* =========================
   ANIMATIONS
========================= */

.reveal {

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity .7s ease,
        transform .7s ease;

}


.reveal.visible {

    opacity: 1;

    transform: translateY(0);

}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .hero-container {

        grid-template-columns: 1fr;

    }


    .hero-image {

        margin-top: 40px;

    }


    .two-column {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .skills-grid {

        grid-template-columns: 1fr;

    }


    .skill-card {

        min-height: 300px;

    }


    .projects-grid {

        grid-template-columns: 1fr 1fr;

    }


    .large-project {

        grid-column: 1 / -1;

        grid-row: auto;

    }


    .large-project .project-image {

        min-height: 400px;

    }


    .process-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .contact-box {

        grid-template-columns: 1fr;

    }

}


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

@media (max-width: 650px) {

    .navbar {

        height: 70px;

    }


    .nav-btn {

        display: none;

    }


    .menu-btn {

        display: block;

    }

.cv-btn{
    display: flex;
}
    .nav-links {

        position: absolute;

        top: 70px;

        left: 0;

        width: 100%;

        background: var(--background);

        padding: 25px 5%;

        display: flex;

        flex-direction: column;

        gap: 18px;

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

        transform:
            translateY(-150%);

        transition: .3s;

    }


    .nav-links.open {

        transform:
            translateY(0);

    }


    .hero {

        padding:
            120px 0 90px;

    }


    .hero h1 {

        font-size:
            clamp(2.8rem, 13vw, 4rem);

    }


    .hero-circle {

        width: 350px;

        height: 350px;

        right: -180px;

    }


    .profile-wrapper {

        width: 78%;

    }


    .floating-card {

        transform:
            scale(.82) rotate(-2deg);

    }


    .card-one {

        left: -45px;

    }


    .card-two {

        right: -45px;

    }


    .section {

        padding: 80px 0;

    }


    .projects-header {

        display: block;

    }


    .projects-header > p {

        margin-top: 20px;

    }


    .projects-grid {

        grid-template-columns: 1fr;

    }


    .large-project {

        grid-column: auto;

    }


    .large-project .project-image,
    .project-image {

        min-height: 320px;

    }


    .process-grid {

        grid-template-columns: 1fr;

    }


    .contact-box {

        padding: 45px 28px;

        border-radius: 25px;

    }


    .contact-box h2 {

        font-size: 3rem;

    }


    .footer-content {

        flex-direction: column;

        gap: 15px;

    }

}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }

    .reveal {

        transition: none;

    }

}