/* --- Global Styles & Typography --- */
:root {
    --color-primary: #5A8D7B; /* Sage Green */
    --color-secondary: #E9F1F0; /* Light Off-White/Mint */
    --color-dark: #333333;
    --color-light: #FFFFFF;
    --font-serif: 'Lora', serif;
    --font-sans: 'Roboto', sans-serif;
    --spacing-lg: 3rem;
    --spacing-md: 1.5rem;
}

/* Fallback fonts included in the implementation HTML */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    margin-bottom: var(--spacing-md);
    font-weight: 300;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }

/* --- Header & Navigation --- */
.header-logo {
    /* Set a fixed height for the image */
    height: 40px; 
    /* Maintain the image's aspect ratio */
    width: auto; 
    /* Ensures the image is vertically centered if the 'a' tag has height */
    vertical-align: middle; 
}
.header {
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95); /* Slightly translucent white */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-primary);
    text-decoration: none;
}

.nav-links a {
    color: var(--color-dark);
    text-decoration: none;
    margin-left: var(--spacing-md);
    padding: 0.5rem 0.75rem;
    transition: color 0.3s, border-bottom 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

/* --- Buttons --- */
.cta-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 0.75rem 2rem;
    text-decoration: none;
    border: 2px solid var(--color-primary);
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: var(--color-light);
    color: var(--color-primary);
}

/* --- Sections --- */
section {
    padding: var(--spacing-lg) 0;
}

/* --- Footer --- */
.footer {
    height: 10vh;
    background-color: var(--color-dark);
    color: var(--color-secondary);
    text-align: center;
    padding: var(--spacing-md) 0;
    font-size: 0.9rem;
}


/* --- Home Page Specific Styles --- */

.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://omnizen.xyz/images/94539aa5e07e3025bf5b3ef2d7caccc197862041b8503713a7f70310b9034928d85bf673256005c98ad2be3df94d01308a0183e47340ee846e9204_1280.jpg') no-repeat center center/cover;
    position: relative;
    padding-top: 60px; /* Offset for fixed header */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2); /* Light overlay for legibility */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-dark);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.7);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.hero2 {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://omnizen.xyz/images/8b697df5f06ab9f9b1c5c7135d57660c74b4c64a72d054ea5bce1ebed63559f1f3f690176256817d0df0bde620ded1185ab0d098aed7a395172859_1280.jpg') no-repeat center center/cover;
    position: relative;
    padding-top: 60px; /* Offset for fixed header */
}

.hero2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2); /* Light overlay for legibility */
}

.hero2-content {
    position: relative;
    z-index: 1;
    color: var(--color-dark);
}

.hero2 h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.7);
}

.hero2 p {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.hero3 {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),  no-repeat center center/cover;
    position: relative;
    padding-top: 60px; /* Offset for fixed header */
}

.hero3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2); /* Light overlay for legibility */
}

.hero3-content {
    position: relative;
    z-index: 1;
    color: var(--color-dark);
}

.hero3 h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.7);
}

.hero3 p {
	width: 80vw;
	text-align: center;
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
}


/* Project Cards Section */
.project-intro {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.card {
    background-color: var(--color-secondary);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(90, 141, 123, 0.2);
}

.card h3 {
    color: var(--color-primary);
}


/* --- About Page Specific Styles --- */

.about-content {
    padding-top: 5rem; /* Space for the fixed header */
}

.about-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.about-sections {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.section-block {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.section-block:nth-child(even) {
    flex-direction: row-reverse; /* Alternating layout */
}

.section-block img {
    width: 40%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.text-content {
    width: 60%;
}

.text-content h3 {
    font-size: 1.75rem;
}

.about-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Simple mobile responsiveness */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        text-align: center;
    }
    .nav-links {
        margin-top: 0.5rem;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .section-block {
        flex-direction: column;
        text-align: center;
    }
    .section-block:nth-child(even) {
        flex-direction: column;
    }
    .section-block img, .text-content {
        width: 100%;
    }
}
