:root {
    /* Colors */
    --c-text-main: #4a4a4a;
    --c-text-light: #ffffff;
    --c-accent: #8eacbb;
    /* Soft Blue-Gray */
    --c-accent-light: #e0f7fa;
    --c-bg: #ffffff;
    --c-bg-alt: #f8f9fa;

    /* Fonts */
    --font-serif: 'Shippori Mincho', serif;
    --font-sans: 'Zen Kaku Gothic New', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --sp-sm: 16px;
    --sp-md: 40px;
    --sp-lg: 80px;
    --sp-xl: 160px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--c-text-main);
    background-color: var(--c-bg);
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.1em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

/* Header (Sticky, Transparent to White) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-en {
    font-size: 0.9rem;
    font-family: var(--font-sans);
    color: #999;
    letter-spacing: 0.1em;
}

.global-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

.global-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.global-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--c-accent);
    transition: width 0.3s;
}

.global-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    /* Light overlay for brightness */
}

.hero-content {
    text-align: center;
    color: white;
    /* Depending on image, might need shadow */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-family: var(--font-serif);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-lead {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.2em;
}

/* Sections */
.section {
    padding: var(--sp-xl) 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--sp-lg);
}

.section-title {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    margin-bottom: 1rem;
    color: var(--c-text-main);
}

.section-subtitle {
    color: var(--c-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* About (Split Layout) */
.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
    align-items: center;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--c-accent-light);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: var(--sp-md);
    line-height: 1.4;
    font-family: var(--font-serif);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
}

/* Greeting (Centered with background) */
.greeting {
    background-color: var(--c-bg-alt);
    text-align: center;
}

.greeting-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: var(--sp-lg);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.greeting-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--sp-md);
}

.signer {
    margin-top: var(--sp-md);
    font-family: var(--font-serif);
    font-weight: 700;
}

/* Events (Cards) */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-image {
    height: 250px;
    overflow: hidden;
}

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

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-content {
    padding: 30px;
}

.event-date {
    color: var(--c-accent);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.event-content h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* Access */
.access {
    position: relative;
}

.access-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    height: 500px;
}

.access-info {
    background-color: var(--c-text-main);
    color: white;
    padding: var(--sp-lg) var(--sp-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.access-info h3 {
    font-size: 2rem;
    margin-bottom: var(--sp-md);
    font-family: var(--font-serif);
}

.access-map {
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .header {
        padding: 10px 15px;
        flex-direction: column;
        gap: 15px;
    }

    .global-nav {
        display: block;
        /* Make visible */
        width: 100%;
    }

    .global-nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
    }

    .global-nav a {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about .container,
    .access-container {
        grid-template-columns: 1fr;
    }

    .access-container {
        height: auto;
    }
}

/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--c-accent);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-weight: bold;
    letter-spacing: 0.1em;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: #7a9aa9;
    /* Slightly darker accent */
}