/* --- General Styles & Variables --- */
:root {
    --color-dark: #1A1A1A;
    --color-light: #F0F0F0;
    --color-primary: #FF6600;
    --color-secondary: #FFCC00;
    --color-accent: #660099;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-dark);
    color: var(--color-light);
    line-height: 1.8;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-light);
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

/* --- Header --- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(26, 26, 26, 0.9);
    padding: 1rem 0;
    backdrop-filter: blur(5px);
}

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

.header-logo {
    height: 50px;
}

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

header nav a {
    color: var(--color-light);
    font-weight: bold;
    font-family: var(--font-heading);
}

/* --- Hero Section --- */
#hero {
    height: 100vh;
    background: url('photo-bg.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    max-width: 80%;
    width: 400px;
    height: auto;
    animation: pulseGlow 4s infinite ease-in-out;
}

/* Pulsing glow animation for the logo */
@keyframes pulseGlow {
    0% { filter: drop-shadow(0 0 5px var(--color-primary)); }
    50% { filter: drop-shadow(0 0 20px var(--color-secondary)); }
    100% { filter: drop-shadow(0 0 5px var(--color-primary)); }
}

#hero h1 {
    font-size: 2rem;
    color: var(--color-light);
    margin-top: 1rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.hero-buttons {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    margin: 0 0.5rem;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-dark);
}
.btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid var(--color-primary);
    color: var(--color-light);
}
.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-3px);
}

/* --- Sections --- */
section {
    padding: 5rem 0;
}

/* About Section */
#about {
    background-color: #222;
}
.two-columns {
    display: flex;
    gap: 3rem;
    align-items: center;
}
.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 5px;
    border: 3px solid var(--color-primary);
}
.about-text {
    flex: 1;
}
.btn-accent {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-light);
    background-color: var(--color-accent);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
}
.btn-accent:hover {
    background-color: #8b00cc;
}

/* Blog Section */
.blog-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background-color: #252525;
    border-radius: 5px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}
.card-category {
    font-size: 0.8rem;
    color: var(--color-secondary);
    font-weight: bold;
}
.card-title {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}
.card-date {
    font-size: 0.8rem;
    color: #999;
}
.card.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #444;
    min-height: 300px;
}


/* --- Footer --- */
footer {
    background-color: #111;
    text-align: center;
    padding: 3rem 0;
}

.social-links a {
    margin: 0 1rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-light);
}
.social-links a:hover {
    color: var(--color-primary);
}

footer p {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #777;
}

/* --- Content Pages (Profile, Blog Post) --- */
.page-content {
    padding: 3rem 0;
}
.page-content .container {
    max-width: 800px;
}
.content-image {
    width: 100%;
    border-radius: 5px;
    margin: 2rem 0;
}
.blog-article p {
    margin-bottom: 1.5rem;
}
.article-meta {
    color: #999;
    margin-bottom: 2rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    .two-columns {
        flex-direction: column;
    }
    .blog-cards {
        grid-template-columns: 1fr;
    }
    #hero h1 {
        font-size: 1.5rem;
    }
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}
