@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --color-bg: #0A192F;
    --color-text: #F8F5F2;
    --color-accent: #64FFDA;
    /* Teal-ish accent for a dev feel, or just Gold? User asked for Dark Navy + Warm Ivory. Let's stick to Ivory mainly, and maybe a subtle gold or soft blue for highlights */
    --color-secondary-text: #8892b0;
    --color-card-bg: #112240;
    --font-main: 'Outfit', sans-serif;
    --spacing-section: 120px;
    --transition-standard: all 0.3s ease;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-standard);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section {
    padding: var(--spacing-section) 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.highlight {
    color: var(--color-text);
    /* Keep it ivory for now to stay clean */
    font-weight: 700;
    border-bottom: 2px solid var(--color-secondary-text);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background-color: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    transition: var(--transition-standard);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--color-secondary-text);
}

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

/* Hero */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('images/hero_bg.png') no-repeat center center/cover;
    position: relative;
    opacity: 1;
    /* Hero always visible initially */
    transform: none;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.7);
    /* Overlay to ensure text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content h1 span {
    display: block;
    font-size: 2rem;
    color: var(--color-secondary-text);
    margin-top: 1rem;
    font-weight: 300;
}

.hero-slogan {
    font-size: 1.25rem;
    color: var(--color-secondary-text);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Philosophy */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.philosophy-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.philosophy-item p {
    color: var(--color-secondary-text);
    font-size: 1.1rem;
}

.philosophy-img-container {
    width: 100%;
    height: 250px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.philosophy-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-standard);
}

.philosophy-item:hover .philosophy-img {
    transform: scale(1.05);
}

/* Values (UX/UI) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--color-card-bg);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-standard);
    border: 1px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary-text);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.value-card p {
    color: var(--color-secondary-text);
    margin-top: 1rem;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--color-card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-standard);
    position: relative;
    padding: 0;
    /* Remove padding for full bleed image */
    display: flex;
    flex-direction: column;
    height: 450px;
    /* Increase height for image */
}

.project-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-standard);
}

.project-card:hover .project-img {
    transform: scale(1.05);
    /* Zoom effect on hover */
}

.project-info {
    padding: 1.5rem;
    flex-grow: 1;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-desc {
    color: var(--color-secondary-text);
    font-size: 1rem;
}

.project-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--color-secondary-text);
    border-radius: 4px;
    text-align: center;
    margin: 0 1.5rem 1.5rem 1.5rem;
    /* Margin for button inside card */
    transition: var(--transition-standard);
}

.project-link:hover {
    background-color: rgba(248, 245, 242, 0.1);
    border-color: var(--color-text);
}

/* Contact */
.contact-container {
    text-align: center;
    padding: 4rem 2rem;
    border-top: 1px solid #1c2d4a;
}

.email-link {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    display: inline-block;
}

.email-link:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h1 span {
        font-size: 1.2rem;
    }

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

    .nav-links {
        display: none;
        /* Simple MVP: hide nav on mobile or stack? User asked for responsive. Let's keep it simple for now or maybe just center the logo */
    }

    header {
        text-align: center;
        justify-content: center;
    }

    nav {
        justify-content: center;
    }
}