
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    --bg: #242321;
    --surface: #34312C;
    --surface-light: #403B34;
    --gold: #D6B779;
    --gold-light: #F0D9A5;
    --text: #F3EDE1;
    --muted: #D0C7B9;
    --border: rgba(214, 183, 121, 0.30);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1160px, 90%);
    margin: auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 9, 9, 0.94);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    min-height: 78px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span,
.hero h1 span,
.section-heading h2 span {
    color: var(--gold);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 13px;
    color: var(--muted);
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links .nav-contact {
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 10px 17px;
    border-radius: 4px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 27px;
    cursor: pointer;
}

.hero {
    min-height: 610px;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    align-items: center;
    gap: 60px;
    padding-top: 75px;
    padding-bottom: 75px;
}

.eyebrow {
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 7vw, 76px);
    line-height: 1.15;
    margin-bottom: 18px;
}

.hero h2 {
    font-size: 19px;
    line-height: 1.6;
    font-weight: 500;
    max-width: 650px;
    margin-bottom: 20px;
}

.hero-description {
    color: var(--muted);
    max-width: 620px;
    font-size: 15px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.btn {
    padding: 13px 21px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-primary {
    background: var(--gold);
    color: #111;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--gold);
}

.btn-outline:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.hero-location {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--muted);
    font-size: 12px;
    margin-top: 28px;
}

.hero-image {
    text-align: center;
}

.photo-frame {
    width: 310px;
    height: 370px;
    margin: auto;
    border: 1px solid var(--gold);
    padding: 9px;
    background: linear-gradient(145deg, #292014, #101010);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 90px;
    color: var(--gold);
    background: #17130e;
}

.hero-image > p {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 2px;
    margin-top: 20px;
}

.highlights {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-top: 30px;
    padding-bottom: 30px;
    gap: 20px;
    text-align: center;
}

.highlight-grid div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.highlight-grid strong {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 30px;
}

.highlight-grid span {
    color: var(--muted);
    font-size: 12px;
}

.section {
    padding-top: 95px;
    padding-bottom: 95px;
}

.section-dark {
    background: var(--surface);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.section-heading {
    margin-bottom: 45px;
    max-width: 720px;
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 46px);
    line-height: 1.3;
}

.section-intro {
    color: var(--muted);
    margin-top: 14px;
    font-size: 14px;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 55px;
    align-items: start;
}

.about-content p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.about-card,
.expertise-card,
.project-card,
.education-card,
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 27px;
}

.about-card h3,
.technology-box h3 {
    color: var(--gold);
    font-size: 17px;
    margin-bottom: 18px;
}

.about-card ul {
    list-style: none;
}

.about-card li {
    color: var(--muted);
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.about-card li::before {
    content: "✓";
    color: var(--gold);
    margin-right: 10px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.expertise-card {
    background: #151515;
    transition: 0.3s;
}

.expertise-card:hover,
.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.card-icon {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 18px;
}

.expertise-card h3,
.project-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.expertise-card p,
.project-card p {
    color: var(--muted);
    font-size: 13px;
}

.technology-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.technology-box {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.tags span {
    border: 1px solid var(--border);
    color: var(--muted);
    border-radius: 3px;
    padding: 6px 10px;
    font-size: 11px;
}

.timeline {
    max-width: 850px;
    border-left: 1px solid var(--gold);
    margin-left: 10px;
    padding-left: 35px;
}

.timeline-item {
    position: relative;
    padding-bottom: 42px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--gold);
    left: -41px;
    top: 7px;
}

.timeline-date {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.timeline-item h3 {
    font-size: 19px;
    margin-top: 7px;
}

.timeline-item h4 {
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 500;
    margin: 4px 0 10px;
}

.timeline-item p {
    color: var(--muted);
    font-size: 13px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    background: var(--surface);
    transition: 0.3s;
}

.project-category {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.project-card h3 {
    margin-top: 17px;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.education-card span {
    color: var(--gold);
    font-size: 12px;
}

.education-card h3 {
    font-size: 17px;
    margin: 12px 0 7px;
}

.education-card p {
    color: var(--muted);
    font-size: 13px;
}

.contact-section {
    text-align: center;
}

.contact-section .section-heading {
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    max-width: 650px;
    margin: auto;
    background: var(--surface);
}

.contact-card > p {
    color: var(--muted);
    font-size: 14px;
}

.email-link {
    display: inline-block;
    color: var(--gold);
    font-size: clamp(17px, 3vw, 23px);
    margin: 18px 0 25px;
    overflow-wrap: anywhere;
}

.email-link:hover {
    color: var(--gold-light);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--muted);
    font-size: 13px;
}

.social-links a:hover {
    color: var(--gold);
}

.footer {
    background: #050505;
    border-top: 1px solid var(--border);
    padding: 25px 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.footer p {
    color: var(--muted);
    font-size: 11px;
}

@media (max-width: 900px) {
    .nav-links {
        gap: 15px;
    }

    .hero {
        gap: 30px;
    }

    .photo-frame {
        width: 260px;
        height: 320px;
    }

    .expertise-grid,
    .technology-groups,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        padding: 22px 5%;
        background: #101010;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .nav-contact {
        display: inline-block;
        text-align: center;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 65px;
        gap: 45px;
    }

    .hero-description {
        margin: auto;
    }

    .hero-buttons,
    .hero-location {
        justify-content: center;
    }

    .hero-image {
        grid-row: 1;
    }

    .photo-frame {
        width: 230px;
        height: 280px;
    }

    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 28px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .expertise-grid,
    .technology-groups,
    .projects-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

.nav-whatsapp i {
    color: #25D366;
    font-size: 20px;
    margin-right: 6px;
}

.nav-whatsapp:hover i {
    color: #128C7E;
}

/* Contact Section WhatsApp Button */
.whatsapp-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: #ffffff !important;
    padding: 13px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin: 15px 0;
}

.whatsapp-contact i {
    color: #ffffff;
    font-size: 22px;
}

.whatsapp-contact:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.25);
}

.contact-phone a {
    color: inherit;
    text-decoration: none;
}

.contact-phone i {
    margin-right: 7px;
}


/* Projects Section - Balanced 2x2 Layout */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.project-card {
    height: 100%;
    box-sizing: border-box;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
