/* Design System */
:root {
    --primary: #002147;
    --primary-light: #003a7d;
    --accent: #d4af37; /* Gold accent for premium feel */
    --text: #333333;
    --text-light: #666666;
    --bg: #ffffff;
    --bg-alt: #f4f7f9;
    --white: #ffffff;
    --container-width: 1100px;
    --header-height: 80px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%; /* Increased padding for better side spacing */
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Header & Nav */
.header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-small {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--text-light);
    text-transform: uppercase;
}

.logo-main {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 60vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transform: scale(1.05); /* Pre-zoom for parallax feel */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.8) 0%, rgba(0, 33, 71, 0.4) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Message Section */
.message-section {
    padding: 100px 0;
}

.message-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
}

.message-text p {
    font-size: 1.1rem;
    color: var(--text);
    text-align: justify;
}

.message-image-mobile {
    display: none;
    margin: 2rem 0;
}

.message-image-mobile img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.signature {
    margin-top: 4rem;
    text-align: right;
}

.signature .org {
    font-weight: 500;
    margin-bottom: 0;
    color: var(--text-light);
}

.signature .name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

/* Sidebar */
.president-photo {
    position: sticky;
    top: 120px;
}

.president-photo img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.president-photo:hover img {
    transform: translateY(-10px);
}

.photo-caption {
    margin-top: 1.5rem;
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
}

.photo-caption span {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.photo-caption small {
    color: var(--text-light);
    letter-spacing: 0.1em;
}

/* Animations */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
}

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

.footer h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
    .message-container {
        grid-template-columns: 1fr;
    }
    
    .message-sidebar {
        display: none;
    }
    
    .message-image-mobile {
        display: block;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .nav-list {
        display: none; /* Mobile menu would go here */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
