/* ============================================
   Kumia Properties Ltd. — Corporate Website
   Colors: Navy + White + Gold accent
   ============================================ */

:root {
    --navy: #1a2332;
    --navy-light: #243044;
    --navy-dark: #111926;
    --gold: #c4a35a;
    --gold-light: #d4b872;
    --white: #ffffff;
    --gray-100: #f7f8fa;
    --gray-200: #e8eaed;
    --gray-400: #9aa0ab;
    --gray-600: #6b7280;
    --text: #2d3748;
    --text-light: #a0aec0;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* ---- Container ---- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(196, 163, 90, 0.15);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    color: var(--gray-200);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-200);
    transition: 0.3s;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 720px;
}

.hero-est {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--gold);
    color: var(--navy);
}

/* Subtle geometric pattern */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(30deg, var(--gold) 12%, transparent 12.5%, transparent 87%, var(--gold) 87.5%, var(--gold)),
        linear-gradient(150deg, var(--gold) 12%, transparent 12.5%, transparent 87%, var(--gold) 87.5%, var(--gold)),
        linear-gradient(30deg, var(--gold) 12%, transparent 12.5%, transparent 87%, var(--gold) 87.5%, var(--gold)),
        linear-gradient(150deg, var(--gold) 12%, transparent 12.5%, transparent 87%, var(--gold) 87.5%, var(--gold)),
        linear-gradient(60deg, rgba(196,163,90,0.3) 25%, transparent 25.5%, transparent 75%, rgba(196,163,90,0.3) 75%, rgba(196,163,90,0.3)),
        linear-gradient(60deg, rgba(196,163,90,0.3) 25%, transparent 25.5%, transparent 75%, rgba(196,163,90,0.3) 75%, rgba(196,163,90,0.3));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--gray-100);
}

.section h2 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 48px;
    text-align: center;
}

/* ============================================
   About
   ============================================ */
.about-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.9;
}

/* ============================================
   Focus Areas (Cards)
   ============================================ */
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background: var(--white);
    padding: 48px 36px;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: border-color 0.3s;
}

.card:hover {
    border-color: var(--gold);
}

.card-icon {
    color: var(--gold);
    margin-bottom: 24px;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    font-weight: 300;
    line-height: 1.8;
}

/* ============================================
   Approach
   ============================================ */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.approach-item {
    text-align: center;
}

.approach-number {
    font-size: 2.5rem;
    font-weight: 200;
    color: var(--gold);
    margin-bottom: 16px;
    line-height: 1;
}

.approach-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.approach-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 300;
    line-height: 1.8;
}

/* ============================================
   Contact
   ============================================ */
.contact-content {
    text-align: center;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--gray-600);
    font-weight: 300;
    margin-bottom: 24px;
}

.contact-email {
    display: inline-block;
    font-size: 1.3rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--gold);
    transition: color 0.3s;
}

.contact-email:hover {
    color: var(--gold);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--navy-dark);
    padding: 32px 0;
    text-align: center;
}

.footer p {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 300;
    letter-spacing: 0.04em;
}

/* ============================================
   Animations (on scroll)
   ============================================ */
.section h2,
.about-content p,
.card,
.approach-item,
.contact-content {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section h2.visible,
.about-content p.visible,
.card.visible,
.approach-item.visible,
.contact-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered card animation */
.card:nth-child(2) { transition-delay: 0.15s; }
.approach-item:nth-child(2) { transition-delay: 0.15s; }
.approach-item:nth-child(3) { transition-delay: 0.3s; }

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(26, 35, 50, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(196, 163, 90, 0.15);
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .section {
        padding: 72px 0;
    }
}
