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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    width: 100%;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    background: #f8f7f4;
    color: #182033;
    line-height: 1.6;
}

a {
    transition: 0.3s ease;
}

/* NAVIGATION */

.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    padding: 18px 6%;

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

    background: rgba(248, 247, 244, 0.96);
    border-bottom: 1px solid #e8e5df;
    backdrop-filter: blur(12px);
}

.logo {
    color: #182033;
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
}

.logo span {
    color: #a8752d;
}

.navbar nav {
    display: flex;
    gap: 22px;
}

.navbar nav a {
    color: #5d6573;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.navbar nav a:hover {
    color: #a8752d;
}


/* HERO */

.hero {
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;

    margin: auto;
    padding: 140px 6% 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    max-width: 650px;
}

.welcome {
    color: #a8752d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(50px, 8vw, 90px);
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #a8752d;
}

.description {
    max-width: 550px;
    color: #6c7481;
    font-size: 17px;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
}

.main-btn {
    background: #182033;
    color: white;
}

.main-btn:hover {
    background: #a8752d;
    transform: translateY(-3px);
}

.outline-btn {
    border: 1px solid #c9c4ba;
    color: #182033;
}

.outline-btn:hover {
    border-color: #a8752d;
    color: #a8752d;
}


/* HERO CARD */

.hero-card {
    width: 300px;
    padding: 45px 25px;

    flex-shrink: 0;

    text-align: center;

    background: white;
    border: 1px solid #e5e1d9;
    border-radius: 18px;

    box-shadow: 0 20px 50px rgba(24, 32, 51, 0.08);
}

.circle {
    width: 115px;
    height: 115px;

    margin: 0 auto 20px;

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

    border-radius: 50%;

    background: #182033;
    color: #d6ae70;

    font-size: 48px;
    font-weight: 800;
}

.hero-card h2 {
    font-size: 22px;
    margin-bottom: 5px;
}

.hero-card p {
    color: #858c97;
}


/* SECTIONS */

.section {
    width: 100%;
    max-width: 1200px;

    margin: auto;
    padding: 100px 6%;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 50px;
}

.section-heading p {
    color: #a8752d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: clamp(35px, 6vw, 60px);
    line-height: 1.1;
}


/* ABOUT */

.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 18px;
}

.about-content p {
    color: #6c7481;
    margin-bottom: 16px;
}

.info-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.info-box div {
    padding: 22px 8px;
    text-align: center;

    background: #f8f7f4;
    border: 1px solid #e5e1d9;
    border-radius: 9px;
}

.info-box strong {
    display: block;
    color: #a8752d;
    font-size: 22px;
}

.info-box p {
    margin: 5px 0 0;
    font-size: 12px;
}


/* SKILLS */

.skills {
    background: #f8f7f4;
}

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

.skill-card {
    padding: 35px;
    background: white;
    border: 1px solid #e5e1d9;
    border-radius: 12px;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(24, 32, 51, 0.07);
}

.skill-card span {
    color: #a8752d;
    font-size: 12px;
    font-weight: 800;
}

.skill-card h3 {
    font-size: 28px;
    margin: 25px 0 10px;
}

.skill-card p {
    color: #6c7481;
}


/* PROJECTS */

.projects {
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    min-height: 310px;
    padding: 30px;

    border: 1px solid #e5e1d9;
    border-radius: 12px;

    background: white;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: #c6a66d;
    box-shadow: 0 15px 35px rgba(24, 32, 51, 0.07);
}

.project-card > span {
    color: #a8752d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.project-card h3 {
    font-size: 25px;
    margin: 55px 0 12px;
}

.project-card p {
    color: #6c7481;
}

.project-link {
    display: inline-block;
    margin-top: 20px;
    color: #182033;
    text-decoration: none;
    font-weight: 700;
}

.project-link:hover {
    color: #a8752d;
}


/* CONTACT */

.contact {
    width: 100%;
    padding: 100px 6%;

    background: #182033;
    color: white;
}

.contact > div {
    max-width: 800px;
    margin: auto;
}

.contact > div > p:first-child {
    color: #d6ae70;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.contact h2 {
    font-size: clamp(55px, 9vw, 95px);
    line-height: 1;
    margin: 15px 0 20px;
}

.contact-text {
    max-width: 520px;
    color: #bbc1cb;
    margin-bottom: 25px;
}


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

.contact {
    width: 100%;
    padding: 100px 6%;

    background: #f8f7f4;
}

.contact-container {
    width: 100%;
    max-width: 1100px;

    margin: auto;

    display: grid;
    grid-template-columns: 1.2fr 1fr;

    gap: 60px;
    align-items: center;
}

.contact-intro {
    max-width: 600px;
}

.contact-label {
    color: #a8752d;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 15px;
}

.contact-intro h2 {
    color: #182033;

    font-size: clamp(50px, 8vw, 80px);

    line-height: 1;

    margin-bottom: 25px;
}

.contact-intro > p:last-child {
    max-width: 450px;

    color: #6c7481;

    font-size: 16px;
}


/* CONTACT CARD */

.contact-card {
    background: #182033;

    padding: 35px;

    border-radius: 14px;

    box-shadow: 0 20px 50px rgba(24, 32, 51, 0.12);
}

.contact-card > p {
    color: #d6ae70;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 25px;
}

.contact-item {
    display: block;

    padding: 20px 0;

    border-top: 1px solid #394254;

    text-decoration: none;
}

.contact-item span {
    display: block;

    color: #8f98a8;

    font-size: 12px;

    margin-bottom: 5px;
}

.contact-item strong {
    color: white;

    font-size: 16px;

    overflow-wrap: anywhere;
}

.contact-item:hover strong {
    color: #d6ae70;
}


/* MOBILE CONTACT */

@media (max-width: 800px) {

    .contact {
        padding: 75px 5%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-intro h2 {
        font-size: 55px;
    }

    .contact-card {
        padding: 28px;
    }
}


/* FOOTER */

footer {
    width: 100%;

    padding: 30px 6%;

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

    background: #101725;
    color: #7e8795;
}

footer h3 {
    color: white;
}

footer span {
    color: #a8752d;
}

footer p {
    font-size: 12px;
}


/* TABLET */

@media (max-width: 800px) {

    .hero {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 130px;
    }

    .hero-card {
        width: 100%;
        max-width: 350px;
    }

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

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


/* PHONE */

@media (max-width: 600px) {

    .navbar {
        padding: 15px 4%;
    }

    .logo {
        font-size: 19px;
    }

    .navbar nav {
        gap: 7px;
        max-width: 75%;
    }

    .navbar nav a {
        font-size: 9px;
    }

    .hero {
        padding: 120px 5% 70px;
        gap: 35px;
    }

    .hero h1 {
        font-size: 49px;
        letter-spacing: -2px;
    }

    .description {
        font-size: 15px;
    }

    .section {
        padding: 70px 5%;
    }

    .section-heading h2 {
        font-size: 38px;
    }

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

    .info-box {
        gap: 6px;
    }

    .project-card,
    .skill-card {
        padding: 25px;
    }

    .contact {
        padding: 75px 5%;
    }

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

    .email-button,
    .whatsapp-button,
    .back-button {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
  .project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 22px;
}

.project-tech span {
    padding: 5px 10px;

    border: 1px solid #ddd7cc;

    border-radius: 20px;

    color: #6c7481;

    font-size: 11px;
}

.project-link {
    margin-top: 25px;
}