/* --- VARIABLES & RESET --- */
:root {
    --bg-body: #f1f5f9;      /* Light gray background */
    --bg-card: #ffffff;      /* White cards */
    --text-dark: #0f172a;    /* Navy/Black for headings */
    --text-body: #475569;    /* Slate for text */
    --accent: #2563eb;       /* Professional Blue */
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --container-width: 1100px; /* Perfect for 13" screens */
}

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

body {
    background-color: var(--bg-body);
    color: var(--text-body);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- NAVIGATION (Glassmorphism) --- */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 1.5rem;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span { color: var(--accent); }

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active { color: var(--text-dark); }

/* Underline effect for links */
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}
nav a:hover::after, nav a.active::after { width: 100%; }

/* --- HERO SECTION --- */
.hero {
    background: var(--gradient-dark);
    color: white;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1; /* Light gray text on dark bg */
    max-width: 600px;
    margin: 0 auto;
}

/* --- MAIN LAYOUT --- */
main {
    flex: 1;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* --- IMAGE GRID (Modern) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 Grid */
    gap: 2rem;
    margin-top: -2rem; /* Pull slightly closer to header if needed, or keep standard */
}

.card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16/9;
    position: relative;
}

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

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.05);
}

/* --- TEXT CONTENT SECTIONS --- */
.content-section {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
}

.content-section h1 {
    font-size: 2.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
    display: inline-block;
}

.content-section p { margin-bottom: 1.5rem; font-size: 1.05rem; }

/* --- FOOTER --- */
footer {
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 3rem 1.5rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: auto;
}

/* --- RESPONSIVE MOBILE TWEAKS --- */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 1rem; }
    nav ul { gap: 1.5rem; font-size: 0.9rem; }
    
    .hero { padding: 2.5rem 1.5rem; }
    .hero h1 { font-size: 1.5rem; }
    
    .gallery-grid {
        grid-template-columns: 1fr; /* Stack images on phone */
        gap: 1.5rem;
    }
    
    .content-section { padding: 2rem 1.5rem; }
}

/* Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
