/* ================================
   COLOR PALETTE
================================ */

:root {
    --dark-brown: #4b3621;
    --brown: #70543e;
    --medium-brown: #8b6f55;
    --light-brown: #a88f78;

    --beige: #f3eadf;
    --light-beige: #faf7f2;
    --cream: #fffdf9;

    --text-dark: #30251d;
    --text: #5f5145;
    --text-light: #857668;

    --border: #dfd2c3;

    --white: #ffffff;
}

/* ================================
   RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", Arial, sans-serif;
    background: var(--light-beige);
    color: var(--text-dark);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1120px;
    margin: auto;
}

/* ================================
   NAVBAR
================================ */

nav {
    background: rgba(255, 253, 249, 0.95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: "Playfair Display", serif;
    font-size: 27px;
    font-weight: 700;
    color: var(--dark-brown);
}

.logo span {
    color: var(--medium-brown);
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    font-weight: 600;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--dark-brown);
}

/* ================================
   HERO
================================ */

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(168, 143, 120, 0.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f3eadf,
            #faf7f2,
            #eee2d4
        );
}

.hero-content {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr;
    gap: 70px;
    align-items: center;
}

.tag {
    color: var(--medium-brown);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 18px;
    font-size: 14px;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: 70px;
    line-height: 1.05;
    color: var(--dark-brown);
    margin-bottom: 18px;
}

.hero h2 {
    font-size: 25px;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 20px;
}

.hero p {
    color: var(--text);
    max-width: 650px;
    font-size: 18px;
}

/* ================================
   BUTTONS
================================ */

.buttons {
    margin-top: 32px;
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 21px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s ease;
}

.primary {
    background: var(--dark-brown);
    color: white;
}

.primary:hover {
    background: var(--brown);
    transform: translateY(-2px);
}

.secondary {
    border: 1px solid var(--border);
    color: var(--brown);
    background: var(--cream);
}

.secondary:hover {
    border-color: var(--brown);
    background: var(--beige);
    transform: translateY(-2px);
}

/* ================================
   PROFILE CARD
================================ */

.profile-card {
    background:
        linear-gradient(
            145deg,
            #4b3621,
            #70543e
        );

    color: white;
    padding: 38px;
    border-radius: 22px;

    box-shadow:
        0 25px 60px rgba(75, 54, 33, 0.20);

    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    top: -70px;
    right: -60px;
}

.initials {
    width: 90px;
    height: 90px;

    background: var(--beige);
    color: var(--dark-brown);

    border-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 700;

    margin-bottom: 25px;
}

.profile-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 27px;
    margin-bottom: 12px;
}

.profile-card p {
    color: #eadfd3;
    margin: 9px 0;
}

/* ================================
   GENERAL SECTIONS
================================ */

section {
    padding: 95px 0;
}

.section-title {
    margin-bottom: 45px;
}

.section-title span {
    color: var(--medium-brown);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 13px;
}

.section-title h2 {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    color: var(--dark-brown);
    margin-top: 8px;
}

.section-title p {
    color: var(--text-light);
    margin-top: 8px;
}

/* ================================
   ABOUT
================================ */

.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.card {
    background: var(--light-beige);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: 18px;

    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(75, 54, 33, 0.08);
}

.card h3 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    color: var(--dark-brown);
    margin-bottom: 13px;
}

.card p {
    color: var(--text);
}

/* ================================
   SKILLS
================================ */

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 20px;
}

.skill {
    background: #e9dccd;
    color: var(--brown);

    padding: 9px 14px;

    border-radius: 30px;

    font-weight: 700;
    font-size: 13px;

    border: 1px solid #d8c6b3;
}

/* ================================
   EXPERIENCE
================================ */

.experience-box {
    border-left: 3px solid var(--medium-brown);
    padding-left: 28px;
}

.date {
    color: var(--medium-brown);
    font-weight: 700;
}

.experience-box h3 {
    font-family: "Playfair Display", serif;
    margin: 6px 0;
    color: var(--dark-brown);
    font-size: 25px;
}

.experience-box p,
.experience-box li {
    color: var(--text);
}

.experience-box ul {
    margin-top: 15px;
    padding-left: 22px;
}

.experience-box li {
    margin-bottom: 7px;
}

/* ================================
   PROJECTS
================================ */

.projects {
    background: var(--beige);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project {
    background: var(--cream);
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 18px;

    transition: 0.3s ease;
}

.project:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 40px rgba(75, 54, 33, 0.12);
}

.project-number {
    color: var(--medium-brown);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
}

.project h3 {
    font-family: "Playfair Display", serif;
    font-size: 23px;
    color: var(--dark-brown);
    margin: 12px 0;
}

.project p {
    color: var(--text);
}

/* ================================
   CERTIFICATIONS
================================ */

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.certificate {
    border: 1px solid var(--border);
    padding: 28px;

    border-radius: 18px;

    background: var(--cream);

    transition: 0.3s ease;
}

.certificate:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(75, 54, 33, 0.08);
}

.certificate h3 {
    font-family: "Playfair Display", serif;
    color: var(--dark-brown);
    margin-bottom: 9px;
}

.certificate p {
    color: var(--medium-brown);
    font-weight: 600;
}

/* ================================
   CONTACT
================================ */

.contact {
    background:
        linear-gradient(
            145deg,
            #4b3621,
            #70543e
        );

    color: white;
}

.contact .section-title h2 {
    color: white;
}

.contact .section-title span {
    color: #d8bda4;
}

.contact .section-title p {
    color: #e5d8ca;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.contact-card {
    border: 1px solid rgba(255, 255, 255, 0.18);

    background: rgba(255, 255, 255, 0.06);

    padding: 30px;

    border-radius: 18px;
}

.contact-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 23px;
    margin-bottom: 12px;
}

.contact-card p {
    color: #e5d8ca;
    margin: 7px 0;
}

/* ================================
   SOCIAL LINKS
================================ */

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.social-links a {
    border: 1px solid rgba(255, 255, 255, 0.3);

    padding: 10px 16px;

    border-radius: 8px;

    color: white;
    font-weight: 700;

    transition: 0.3s ease;
}

.social-links a:hover {
    background: var(--beige);
    color: var(--dark-brown);
    border-color: var(--beige);
}

/* ================================
   FOOTER
================================ */

footer {
    text-align: center;

    padding: 25px;

    background: var(--cream);

    color: var(--text-light);

    border-top: 1px solid var(--border);
}

/* ================================
   MOBILE RESPONSIVE
================================ */

@media (max-width: 800px) {

    .hero-content,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .project-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 75px 0;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero h2 {
        font-size: 21px;
    }

    .nav-links {
        gap: 13px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .profile-card {
        margin-top: 10px;
    }
}

@media (max-width: 500px) {

    .navbar {
        height: auto;
        padding: 18px 0;
        align-items: flex-start;
    }

    .nav-links {
        gap: 9px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .hero h1 {
        font-size: 42px;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }
}
/* ================================
   CONTACT FORM
================================ */

.contact-card form {
    margin-top: 20px;
}

.contact-card form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 6px;

    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

.contact-card form input,
.contact-card form textarea {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.10);

    color: #ffffff;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 15px;

    outline: none;

    transition: 0.3s ease;
}

.contact-card form input::placeholder,
.contact-card form textarea::placeholder {
    color: #d8cfc7;
}

.contact-card form input:focus,
.contact-card form textarea:focus {
    border-color: #d8bda4;

    background: rgba(255, 255, 255, 0.14);

    box-shadow: 0 0 0 3px rgba(216, 189, 164, 0.15);
}

.contact-card form textarea {
    resize: vertical;

    min-height: 130px;
}

.form-submit {
    width: 100%;

    margin-top: 20px;

    padding: 13px 20px;

    border: none;

    border-radius: 10px;

    background: #f3eadf;

    color: #4b3621;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.form-submit:hover {
    background: #ffffff;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.form-submit:active {
    transform: translateY(0);
}

.form-submit:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.7);

    outline-offset: 3px;
}

/* ================================
   CONTACT FORM MOBILE
================================ */

@media (max-width: 500px) {

    .contact-card {
        padding: 22px;
    }

    .contact-card form input,
    .contact-card form textarea {
        font-size: 14px;
    }

    .form-submit {
        font-size: 14px;
    }

}

