/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --navy-dark: #1a1f2e;
    --navy-medium: #252b3a;
    --orange-primary: #ff6b35;
    --orange-bright: #ff8c42;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 32px;
    height: 32px;
}

.nav-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--orange-primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 50%, #2d1b3d 100%);
    padding: 120px 0 160px;
    text-align: center;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero-subtitle {
    font-size: 48px;
    font-weight: 300;
    color: var(--orange-primary);
    letter-spacing: 2px;
}

.hero-main {
    font-size: 140px;
    font-weight: 900;
    color: var(--orange-primary);
    letter-spacing: 8px;
    line-height: 1;
    margin-top: -10px;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--gray-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    color: var(--navy-dark);
    margin-bottom: 24px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Philosophy Section */
.philosophy {
    padding: var(--section-padding);
    background: var(--navy-dark);
    color: var(--text-light);
}

.section-title-center {
    text-align: center;
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--navy-dark);
}

.philosophy-subtitle {
    text-align: center;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--text-light);
}

.philosophy-subtitle strong {
    color: var(--orange-primary);
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar {
    background: var(--navy-medium);
    border-radius: 8px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.pillar-design {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
}

.pillar-develop {
    background: linear-gradient(135deg, #e84a25 0%, #ff6b35 100%);
}

.pillar-deploy {
    background: linear-gradient(135deg, #d63516 0%, #e84a25 100%);
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.pillar-icon {
    width: 48px;
    height: 48px;
}

.pillar h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.pillar-description {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
}

.pillar-skills {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.pillar-skills strong {
    color: var(--white);
}

/* Projects Section */
.projects {
    padding: var(--section-padding);
    background: var(--gray-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.project-card {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.project-card h3 {
    font-size: 24px;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.project-date {
    font-size: 14px;
    color: var(--orange-primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.project-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: var(--navy-dark);
    padding: 60px 0;
    color: var(--text-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 40px;
    height: 40px;
}

.footer-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
}

.footer-contact a {
    color: var(--orange-primary);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--orange-bright);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        gap: 20px;
        font-size: 14px;
    }

    .hero-subtitle {
        font-size: 32px;
    }

    .hero-main {
        font-size: 80px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .nav-menu {
        flex-direction: column;
        gap: 12px;
        display: none;
    }

    .hero {
        padding: 80px 0 100px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-main {
        font-size: 56px;
        letter-spacing: 4px;
    }

    .section-title-center {
        font-size: 32px;
    }
}