/* css/home.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f0f0f;
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 15, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.header-content {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 0.95rem;
    color: #d7d7d7;
}

.main-nav a {
    transition: color 0.25s ease;
}

.main-nav a:hover {
    color: #d4af37;
}

.hero {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.06), transparent 30%),
        #0f0f0f;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 56px;
    align-items: center;
    padding: 80px 0;
}

.eyebrow,
.section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: #d4af37;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.hero h1 {
    max-width: 780px;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
    margin-bottom: 28px;
}

.hero-text {
    max-width: 690px;
    color: #c9c9c9;
    font-size: 1.18rem;
    margin-bottom: 36px;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #d4af37;
    color: #101010;
    border: 1px solid #d4af37;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn-secondary:hover {
    border-color: #d4af37;
    color: #d4af37;
}

.hero-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.hero-logo {
    width: 100%;
    max-width: 260px;
    display: block;
    margin: 0 auto 32px;
    border-radius: 50%;
}

.hero-card h2 {
    font-size: 1.45rem;
    margin-bottom: 12px;
}

.hero-card p {
    color: #c9c9c9;
}

.section {
    padding: 100px 0;
}

.section-dark {
    background: #141414;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section h2 {
    max-width: 780px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
    margin-bottom: 28px;
}

.section-text {
    max-width: 820px;
    color: #c9c9c9;
    font-size: 1.08rem;
    margin-bottom: 18px;
}

.cards-grid,
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 44px;
}

.card,
.project-card {
    background: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 26px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.55);
}

.card h3,
.project-card h3 {
    font-size: 1.18rem;
    margin-bottom: 12px;
}

.card p,
.project-card p {
    color: #c7c7c7;
    font-size: 0.96rem;
}

.project-card span {
    display: inline-block;
    margin-top: 22px;
    color: #d4af37;
    font-size: 0.84rem;
    font-weight: 800;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.tech-list span {
    padding: 10px 16px;
    border-radius: 999px;
    background: #1f1f1f;
    border: 1px solid rgba(212, 175, 55, 0.22);
    color: #eeeeee;
    font-size: 0.94rem;
    font-weight: 700;
}

.contact-section {
    background:
        radial-gradient(circle at center, rgba(212, 175, 55, 0.12), transparent 40%),
        #0f0f0f;
}

.contact-box {
    text-align: center;
    max-width: 900px;
}

.contact-box h2 {
    margin-left: auto;
    margin-right: auto;
}

.contact-box p {
    color: #c9c9c9;
    max-width: 680px;
    margin: 0 auto 34px;
    font-size: 1.08rem;
}

.contact-actions {
    justify-content: center;
}

.site-footer {
    padding: 28px 20px;
    text-align: center;
    background: #0b0b0b;
    color: #9f9f9f;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        max-width: 480px;
    }

    .cards-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-nav {
        display: none;
    }
}

@media (max-width: 620px) {
    .header-content {
        height: 68px;
    }

    .brand-logo {
        width: 36px;
        height: 36px;
    }

    .hero-grid {
        padding: 56px 0;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .cards-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 72px 0;
    }

    .btn {
        width: 100%;
    }
}