:root {
--color-bg-primary: #f5f6f8;
--color-bg-secondary: #eef0f4;
--color-bg-tertiary: #ffffff;
--color-bg-card: #ffffff;

--color-text-primary: #232323;
--color-text-secondary: #5a5a67;

--color-accent-primary: #E2001A; /* CEA red */
--color-accent-secondary: #9B0013;
--color-accent-gradient: linear-gradient(90deg, #E2001A 0%, #9B0013 100%);
--color-accent-glow: rgba(226, 0, 26, 0.18);

--color-border: rgba(0, 0, 0, 0.08);

--spacing-sm: 1rem;
--spacing-md: 1.5rem;
--spacing-lg: 2rem;
--spacing-xl: 3rem;
--spacing-2xl: 4rem;
--spacing-3xl: 6rem;

--font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

* {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
margin: 0;
font-family: var(--font-primary);
background-color: #eaebef;
color: var(--color-text-primary);
line-height: 1.7;
overflow-x: hidden;
}

/* Top brand bar */
.brand-bar {
position: sticky;
top: 0;
z-index: 10;
background: rgba(255,255,255,0.75);
backdrop-filter: saturate(180%) blur(10px);
-webkit-backdrop-filter: saturate(180%) blur(10px);
border-bottom: 1px solid var(--color-border);
}

.brand-bar-inner {
max-width: 1100px;
margin: auto;
height: 56px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 var(--spacing-lg);
}

.brand {
display: flex;
align-items: baseline;
gap: 0.75rem;
}

.brand-mark {
font-weight: 800;
letter-spacing: 0.5px;
text-transform: lowercase;
color: var(--color-accent-primary);
}

.brand-sub {
color: #6b6b75;
font-weight: 500;
}

.brand-nav a {
display: inline-block;
padding: 8px 10px;
margin-left: 6px;
color: var(--color-text-primary);
text-decoration: none;
border-bottom: 2px solid transparent;
}

.brand-nav a:hover,
.brand-nav a:focus {
border-color: var(--color-accent-primary);
color: var(--color-accent-primary);
}

/* Parallax Header */
header {
position: relative;
height: 60vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
background: url(../assets/photo-1446776811953-b23d57bd21aa.avif) center/cover no-repeat fixed;
}

header::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(180deg, rgba(226,0,26,0.38) 0%, rgba(0,0,0,0.4) 100%);
}

header .content {
position: relative;
z-index: 1;
max-width: 800px;
padding: var(--spacing-lg);
}

header h1 {
font-size: 3rem;
font-weight: 800;
color:#ffffff;
margin-bottom: var(--spacing-sm);
animation: fadeInDown 1.2s ease;
text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

header p {
color: rgba(255,255,255,0.9);
font-size: 1.2rem;
animation: fadeInUp 1.2s ease;
}

/* Sections */
.container {
max-width: 1100px;
margin: auto;
padding: var(--spacing-2xl) var(--spacing-lg);
display: flex;
flex-direction: column;
gap: var(--spacing-2xl);
}

section {
background: var(--color-bg-card);
padding: var(--spacing-xl);
border-radius: 1rem;
border: 1px solid var(--color-border);
box-shadow: 0 6px 20px rgba(0,0,0,0.06);
opacity: 0;
transform: translateY(50px);
transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.4s ease, border-color 0.2s ease;
scroll-margin-top: 72px;
}

section.visible {
opacity: 1;
transform: translateY(0);
}

section:hover {
box-shadow: 0 10px 28px rgba(0,0,0,0.08);
border-color: rgba(226,0,26,0.25);
}

section h2 {
font-size: 1.8rem;
margin-bottom: var(--spacing-md);
color: var(--color-text-primary);
position: relative;
}

section h2::after {
content: "";
display: block;
width: 48px;
height: 3px;
margin-top: 10px;
background: var(--color-accent-primary);
}

section p {
color: var(--color-text-secondary);
}

.photo-placeholder {
background: #f1f1f5;
width: 100%;
height: 250px;
border-radius: 0.7rem;
margin-top: var(--spacing-md);
border: 1px solid var(--color-border);
box-shadow: inset 0 0 0 1px rgba(0,0,0,0.02);
}

.photo {
width: 100%;
height: 250px;
border-radius: 0.7rem;
margin-top: var(--spacing-md);
border: 1px solid var(--color-border);
box-shadow: 0 6px 16px rgba(0,0,0,0.06);
background-position: center;
}

/* Timeline */
.timeline {
position: relative;
margin-top: var(--spacing-xl);
padding-left: 2rem;
border-left: 2px solid var(--color-accent-primary);
}

.timeline-item {
margin-bottom: var(--spacing-xl);
position: relative;
}

.timeline-item::before {
content: "";
position: absolute;
left: -1.1rem;
top: 0.4rem;
width: 1rem;
height: 1rem;
background: var(--color-accent-primary);
border-radius: 50%;
box-shadow: 0 0 0 4px rgba(226,0,26,0.08);
}

.timeline-item h3 {
margin: 0 0 var(--spacing-sm);
font-size: 1.3rem;
color: var(--color-accent-secondary);
}

.timeline-item p {
margin: 0;
color: var(--color-text-secondary);
}

/* Grid */
.grid {
display: flex;
flex-direction: column;
gap: var(--spacing-lg);
}

@media (min-width: 768px) {
.grid {
    flex-direction: row;
}
.grid > div {
    flex: 1;
}
}

/* Keyframes */
@keyframes fadeInDown {
from { opacity: 0; transform: translateY(-30px); }
to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}



