:root {
    --background: #f4ead8;
    --surface: #fffaf0;
    --text: #24201c;
    --accent: #a41f06;
    --border: rgba(164, 31, 6, 0.32);
    --teal: #4cb1a6;
    --cream: #f8e9c8;
    --sand: #e8c28e;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

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

ul {
    list-style: none;
}

section {
    min-height: 100vh;
    padding: 120px 8%;
    scroll-margin-top: 72px;
}


/* Navigation */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    color: var(--cream);
    background-color: transparent;
}

.navbar {
    width: 84%;
    min-height: 88px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: var(--cream);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.2rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--cream);
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-links a:hover {
    color:#ffb6a5;
}

/* Home Section */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--cream);
    background-image: url("../images/hero-background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    width: 42%;
    max-width: 560px;
}

.hero-label {
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero-role {
    margin-top: 22px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(3rem, 3vw, 6rem);
    font-weight: 600;
}

.hero-summary {
    max-width: 500px;
    margin-top: 16px;
    font-size: 1.05rem;
}

.availability {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    color: var(--teal);
    font-weight: 500;
}

.availability-dot {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    background-color: var(--teal);
    border-radius: 50%;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
}

.button {
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 500;
}

.button-primary {
    color: #17130e;
    background-color: var(--teal);
}

.button-secondary {
    color: var(--cream);
    background-color: transparent;
    border-color: var(--cream);
}

.button-arrow {
    font-size: 1.3rem;
    line-height: 1;
}

.button-secondary:hover {
    color: var(--text);
    background-color: var(--cream);
    
}
/* About Section */

.about-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 64px;
    background-color: var(--background);
}

.section-label {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-heading h2 {
    max-width: 900px;
    margin-top: 12px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: start;
}

.about-copy {
    max-width: 700px;
    font-size: 1.1rem;
}

.about-copy p + p {
    margin-top: 24px;
}

.about-facts {
    position: relative;
    display: grid;
    gap: 32px;
    padding-left: 32px;
}

.about-facts::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 5px;
    width: 2px;
    background-color: var(--accent);
}

.about-item {
    position: relative;
    padding: 0;
    background-color: transparent;
    border: none;
}

.about-item::before {
    content: "";
    position: absolute;
    top: 4px;
    left: -32px;
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border-radius: 50%;
}

.about-item h3 {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}



/* Skills Section */

.skills-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 56px;
    background-color: var(--surface);
}

.skill-tags {
    max-width: 850px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.skill-tag {
    min-width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    color: var(--text);
    background-color: transparent;
    border: 1px solid var(--accent);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
}

.skill-tag:hover {
    color: var(--cream);
    background-color: var(--accent);
    transform: translateY(-2px);
}


/* Projects Section */

.projects-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 56px;
    background-color: var(--background);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    padding: 32px;
    background-color: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.project-number {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.project-card h3 {
    max-width: 500px;
    margin-top: 48px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 600;
    line-height: 1.1;
}

.project-description {
    max-width: 600px;
    margin-top: 20px;
}

.project-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: auto;
    padding-top: 32px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tech li {
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.85rem;
}

.project-arrow {
    flex-shrink: 0;
    color: var(--teal);
    font-size: 1.8rem;
    line-height: 1;
}


/* Contact Section */

.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 64px;
    color: var(--cream);
    background-color: var(--text);
}

.contact-section .section-label {
    color: #ff765a;
}

.contact-section .section-heading h2 {
    max-width: 1100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.contact-intro {
    max-width: 500px;
    color: #d9cdbb;
    font-size: 1.05rem;
}

.contact-links {
    border-top: 1px solid rgba(255, 250, 240, 0.25);
}

.contact-link {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.25);
}

.contact-link > span:first-child {
    color: #ff765a;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-link strong {
    font-size: 1.05rem;
    font-weight: 500;
}

.contact-link:hover {
    color: #ffb6a5;
}

.footer {
    padding: 20px 8%;
    text-align: center;
    width: 100%;
    padding: 20px 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif ;
    color: var(--cream);
    background: var(--text)
}

.footer:hover {
    color:#ff765a;
}


/* Menu button section */

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content:center;
    flex-direction: column;
    gap: 5px;
    background-color: transparent;
    border:1px solid var(--cream);
    border-radius: 4px;
    cursor: pointer;

}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background-color: var(--cream);

}


/* mobile section */

@media (max-width: 768px) {
    .navbar {
        position: relative;
        width: 86%;
        min-height: 76px;
    }

    .logo {
        font-size: 1.7rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px;
        background-color: var(--text);
        border: 1px solid rgba(248, 233, 200, 0.35);
        border-radius: 6px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 11px 12px;
    }

    section {
        min-height: auto;
        padding: 88px 7%;
        scroll-margin-top: 76px;
    }

    .hero {
        min-height: 100vh;
        padding-top: 120px;
        background-position: left center;
    }

    .hero-content {
        width: 100%;
        max-width: 520px;
    }

    .hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .hero-summary {
        max-width: 420px;
        font-size: 1rem;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .button {
        width: 100%;
        min-width: 0;
        max-width: 320px;
    }

    .section-heading h2 {
        font-size: clamp(2.4rem, 11vw, 3.8rem);
    }

    .about-section,
    .skills-section,
    .projects-section,
    .contact-section {
        gap: 44px;
    }

    .about-grid,
    .projects-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .skill-tags {
        max-width: none;
        gap: 12px;
    }

    .skill-tag {
        min-width: 0;
        flex: 1 1 calc(50% - 6px);
        padding: 11px 12px;
    }

    .project-card {
        min-height: auto;
        padding: 26px;
    }

    .project-card h3 {
        margin-top: 32px;
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    .contact-section {
        padding-bottom: 0;
    }

    .contact-link {
        grid-template-columns: 78px minmax(0, 1fr) auto;
        gap: 12px;
    }

    .contact-link strong {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .footer {
        padding: 16px 0;
    }
}

