/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "DM Sans", sans-serif;
    background: #fffaf7;
    color: #241414;
    line-height: 1.6;
}


img {
    width: 100%;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}


button {
    font-family: inherit;
}


/* =========================
   COLORS
========================= */

:root {

    --red: #8f1422;

    --dark-red: #5f0d17;

    --deep-red: #3e080e;

    --gold: #c69a45;

    --light-gold: #e4c27a;

    --cream: #fffaf7;

    --white: #ffffff;

    --text: #241414;

    --muted: #756868;

    --border: #eadbd5;

    --shadow:
        0 20px 50px rgba(60, 10, 15, 0.08);

}


/* =========================
   GENERAL
========================= */

.section {
    padding: 110px 8%;
}


.eyebrow {
    color: var(--gold);

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 16px;
}


.section-heading {
    max-width: 700px;

    margin-bottom: 55px;
}


.section-heading.center {
    text-align: center;

    margin-left: auto;

    margin-right: auto;
}


.section-heading h2,
.why-content h2,
.contact-box h2 {

    font-family: "Playfair Display", serif;

    font-size: clamp(2.2rem, 5vw, 4rem);

    line-height: 1.1;

    color: var(--deep-red);
}


.section-heading h2 span,
.why-content h2 span,
.contact-box h2 span {

    color: var(--red);
}


.section-intro {

    max-width: 600px;

    margin: 20px auto 0;

    color: var(--muted);
}


/* =========================
   NAVBAR
========================= */

.header {

    position: fixed;

    top: 0;

    width: 100%;

    z-index: 1000;

    background:
        rgba(255, 250, 247, 0.92);

    backdrop-filter: blur(15px);

    border-bottom:
        1px solid rgba(198, 154, 69, 0.15);
}


.navbar {

    width: 84%;

    margin: auto;

    height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.logo {

    font-family:
        "Playfair Display", serif;

    font-size: 2rem;

    font-weight: 700;

    color: var(--deep-red);
}


.logo span {
    color: var(--gold);
}


.nav-links {

    list-style: none;

    display: flex;

    gap: 30px;
}


.nav-links a {

    color: var(--text);

    font-size: 0.92rem;

    font-weight: 600;

    transition: 0.3s;
}


.nav-links a:hover {
    color: var(--red);
}


.nav-button {

    padding: 12px 22px;

    border: 1px solid var(--red);

    color: var(--red);

    border-radius: 30px;

    font-size: 0.9rem;

    font-weight: 700;

    transition: 0.3s;
}


.nav-button:hover {

    background: var(--red);

    color: white;
}


.menu-btn {

    display: none;

    border: none;

    background: none;

    color: var(--red);

    font-size: 1.5rem;

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {

    min-height: 100vh;

    padding: 150px 8% 80px;

    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    align-items: center;

    gap: 70px;

    position: relative;

    overflow: hidden;
}


.hero-content {
    max-width: 720px;
}


.hero h1 {

    font-family:
        "Playfair Display", serif;

    font-size:
        clamp(3.3rem, 7vw, 6.5rem);

    line-height: 0.98;

    color: var(--deep-red);
}


.hero h1 span {

    color: var(--red);

    display: block;
}


.hero-text {

    max-width: 590px;

    color: var(--muted);

    margin: 28px 0;

    font-size: 1.05rem;
}


.hero-buttons {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 14px 25px;

    border-radius: 4px;

    font-weight: 700;

    transition: 0.3s;
}


.primary-btn {

    background: var(--red);

    color: white;
}


.primary-btn:hover {

    background: var(--dark-red);

    transform: translateY(-3px);
}


.secondary-btn {

    border: 1px solid var(--red);

    color: var(--red);
}


.secondary-btn:hover {

    background: var(--red);

    color: white;
}


/* HERO SOCIALS */

.hero-socials {

    display: flex;

    gap: 18px;

    margin-top: 30px;
}


.hero-socials a {

    width: 40px;

    height: 40px;

    border: 1px solid var(--border);

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: var(--red);

    transition: 0.3s;
}


.hero-socials a:hover {

    background: var(--red);

    color: white;
}


/* HERO IMAGE */

.hero-image {

    position: relative;

    display: flex;

    justify-content: center;
}


.image-frame {

    width: min(420px, 90%);

    aspect-ratio: 4 / 5;

    padding: 10px;

    background: var(--gold);

    position: relative;

    z-index: 2;
}


.image-frame img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}


.gold-circle {

    width: 240px;

    height: 240px;

    background: var(--light-gold);

    border-radius: 50%;

    position: absolute;

    bottom: -50px;

    right: 0;

    z-index: 1;
}


/* =========================
   ABOUT
========================= */

.about {
    background: var(--white);
}


.about-content {

    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    gap: 80px;

    align-items: center;
}


.about-text p {

    color: var(--muted);

    margin-bottom: 20px;

    font-size: 1.05rem;
}


.about-card {

    background: var(--deep-red);

    color: white;

    padding: 45px;

    border-top:
        5px solid var(--gold);

    box-shadow: var(--shadow);
}


.about-stat {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px 0;

    border-bottom:
        1px solid rgba(255,255,255,0.15);
}


.about-stat:last-child {
    border-bottom: none;
}


.about-stat strong {

    font-family:
        "Playfair Display", serif;

    font-size: 2rem;

    color: var(--light-gold);
}


/* =========================
   SKILLS
========================= */

.skills-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.skill-card {

    background: white;

    padding: 35px 25px;

    border:
        1px solid var(--border);

    text-align: center;

    transition: 0.3s;
}


.skill-card:hover {

    transform:
        translateY(-8px);

    border-color:
        var(--gold);

    box-shadow:
        var(--shadow);
}


.skill-card i {

    font-size: 2.5rem;

    color: var(--red);

    margin-bottom: 20px;
}


.skill-card h3 {

    color: var(--deep-red);

    margin-bottom: 10px;
}


.skill-card p {

    color: var(--muted);

    font-size: 0.9rem;
}


/* =========================
   SERVICES
========================= */

.services {

    background: #fff5f0;
}


.services-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.service-card {

    position: relative;

    background: white;

    padding: 40px 30px;

    min-height: 270px;

    border:
        1px solid var(--border);

    transition: 0.3s;
}


.service-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        var(--shadow);
}


.service-number {

    position: absolute;

    top: 20px;

    right: 20px;

    color: var(--light-gold);

    font-weight: 700;
}


.service-card i {

    color: var(--red);

    font-size: 2rem;

    margin-bottom: 25px;
}


.service-card h3 {

    color: var(--deep-red);

    margin-bottom: 12px;
}


.service-card p {

    color: var(--muted);
}


/* =========================
   PROJECTS
========================= */

.projects {

    background: var(--white);
}


.projects-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 35px;
}


.project-card {

    background: var(--cream);

    border:
        1px solid var(--border);

    overflow: hidden;

    transition: 0.3s;
}


.project-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow);
}


.project-image {

    height: 330px;

    position: relative;

    overflow: hidden;

    background: #eee;
}


.project-image img {

    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}


.project-card:hover
.project-image img {

    transform:
        scale(1.04);
}


.project-overlay {

    position: absolute;

    inset: 0;

    background:
        rgba(62, 8, 14, 0.82);

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;

    opacity: 0;

    transition: 0.3s;
}


.project-card:hover
.project-overlay {

    opacity: 1;
}


.project-overlay a {

    width: 48px;

    height: 48px;

    border-radius: 50%;

    background: white;

    color: var(--red);

    display: grid;

    place-items: center;

    transition: 0.3s;
}


.project-overlay a:hover {

    background: var(--gold);

    color: white;
}


.project-content {

    padding: 28px;
}


.project-type {

    color: var(--gold);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 2px;
}


.project-content h3 {

    font-family:
        "Playfair Display", serif;

    color: var(--deep-red);

    font-size: 1.7rem;

    margin:
        8px 0 12px;
}


.project-content p {

    color: var(--muted);

    margin-bottom: 20px;
}


.project-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}


.project-tags span {

    background: #f1e4dc;

    color: var(--deep-red);

    padding: 6px 10px;

    font-size: 0.72rem;

    font-weight: 700;
}


/* =========================
   WHY ME
========================= */

.why-me {

    background: var(--deep-red);

    color: white;
}


.why-content {

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 100px;

    align-items: center;
}


.why-content h2 {
    color: white;
}


.why-content h2 span {
    color: var(--light-gold);
}


.why-list {

    display: flex;

    flex-direction: column;

    gap: 30px;
}


.why-item {

    display: flex;

    gap: 20px;
}


.why-item > i {

    width: 35px;

    height: 35px;

    background: var(--gold);

    color: var(--deep-red);

    border-radius: 50%;

    display: grid;

    place-items: center;

    flex-shrink: 0;
}


.why-item h3 {
    margin-bottom: 5px;
}


.why-item p {
    color: #dfcfd0;
}


/* =========================
   CONTACT
========================= */

.contact {

    text-align: center;

    background: #fff5f0;
}


.contact-box {

    max-width: 850px;

    margin: auto;
}


.contact-box > p:not(.eyebrow) {

    max-width: 600px;

    margin: 25px auto;

    color: var(--muted);
}


.contact-buttons {

    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

    margin-top: 30px;
}


/* WHATSAPP */

.whatsapp-btn {

    background: #25D366;

    color: white;

    border:
        1px solid #25D366;
}


.whatsapp-btn:hover {

    background: #128C7E;

    border-color: #128C7E;

    color: white;

    transform:
        translateY(-3px);
}


.whatsapp-btn i {
    font-size: 1.1rem;
}


/* PHONE NUMBER */

.phone-number {

    margin-top: 22px !important;

    color: var(--deep-red) !important;

    font-weight: 700;

    font-size: 0.95rem;
}


.phone-number i {

    color: #25D366;

    margin-right: 6px;
}


/* =========================
   FOOTER
========================= */

.footer {

    background: #26070b;

    color: #e9dada;

    padding:
        50px 8% 25px;
}


.footer-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-bottom: 30px;

    border-bottom:
        1px solid rgba(255,255,255,0.1);
}


.footer p {
    font-size: 0.9rem;
}


.footer-socials {

    display: flex;

    gap: 15px;
}


.footer-socials a {

    color: var(--light-gold);

    font-size: 1.3rem;

    transition: 0.3s;
}


.footer-socials a:hover {

    color: white;

    transform:
        translateY(-3px);
}


.copyright {

    text-align: center;

    margin-top: 25px;

    color: #9f8c8d;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {


    .hero {

        grid-template-columns: 1fr;

        text-align: center;
    }


    .hero-text {

        margin-left: auto;

        margin-right: auto;
    }


    .hero-buttons,
    .hero-socials {

        justify-content: center;
    }


    .hero-image {

        order: -1;
    }


    .about-content,
    .why-content {

        grid-template-columns: 1fr;

        gap: 50px;
    }


    .skills-grid,
    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

}



@media (max-width: 750px) {


    .navbar {

        width: 90%;
    }


    .nav-links {

        position: absolute;

        top: 78px;

        left: 0;

        width: 100%;

        background: var(--cream);

        flex-direction: column;

        align-items: center;

        padding: 30px;

        transform:
            translateY(-150%);

        transition: 0.3s;

        box-shadow:
            var(--shadow);
    }


    .nav-links.active {

        transform:
            translateY(0);
    }


    .nav-button {
        display: none;
    }


    .menu-btn {
        display: block;
    }


    .section {

        padding:
            80px 6%;
    }


    .hero {

        padding-left: 6%;

        padding-right: 6%;
    }


    .projects-grid {

        grid-template-columns: 1fr;
    }

}



@media (max-width: 520px) {


    .skills-grid,
    .services-grid {

        grid-template-columns: 1fr;
    }


    .hero h1 {

        font-size: 3.2rem;
    }


    .image-frame {

        width: 85%;
    }


    .project-image {

        height: 250px;
    }


    .footer-content {

        flex-direction: column;

        text-align: center;
    }


    .contact-buttons .btn {

        width: 100%;

        max-width: 300px;
    }

}