/* Magazine / Storytelling Theme */
:root {
    --bg-color: #faf9f6; /* Off-white / Pearl */
    --bg-warm: #f0ebe1; /* Warm Beige */
    --text-main: #2c3539; /* Gunmetal / Deep Navy-Grey */
    --text-muted: #737c84;
    --accent-color: #1a365d; /* Deep Navy */
    --border-color: #e2ded5;
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Elegant Serifs for headings */
h1, h2, h3, .eyebrow, .logo-text {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: all 0.4s ease;
    background: transparent;
}

header.scrolled {
    padding: 15px 0;
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo-img {
    height: 50px;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    gap: 50px;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--text-muted);
}

/* Hero Section (Asymmetrical Magazine Style) */
.hero-magazine {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; /* clear header */
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%; /* Not full width */
    height: 100%;
    z-index: 1;
}

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

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-end; /* Push box to right */
}

.hero-text-box {
    background: var(--bg-color);
    padding: 80px 60px;
    max-width: 500px;
    box-shadow: -20px 20px 60px rgba(0,0,0,0.05);
}

.eyebrow {
    display: block;
    font-size: 1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.btn-elegant {
    display: inline-block;
    padding: 14px 0;
    border-bottom: 1px solid var(--text-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-elegant:hover {
    color: var(--text-muted);
    border-bottom-color: var(--text-muted);
}

/* Introduction */
.section {
    padding: 140px 0;
}

.intro-container {
    max-width: 800px;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.intro-paragraph {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.intro-paragraph strong {
    color: var(--text-main);
    font-weight: 500;
}

/* Accordion Section */
.bg-warm {
    background-color: var(--bg-warm);
}

.strategy-header {
    margin-bottom: 60px;
    text-align: center;
}

.accordion-container {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 30px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(255,255,255,0.3);
}

.acc-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text-muted);
    width: 60px;
}

.accordion-header h3 {
    font-size: 2rem;
    font-weight: 400;
    flex: 1;
}

.acc-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.accordion-item.active .accordion-content {
    max-height: 600px; /* arbitrary max height for smooth transition */
}

.accordion-item.active .acc-icon {
    transform: rotate(45deg); /* turns + into x */
}

.acc-inner {
    padding: 0 0 40px 60px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.acc-text {
    flex: 1;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.acc-image {
    flex: 1;
}

.acc-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Masonry Collection */
.collection-header {
    margin-bottom: 80px;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
    gap: 30px;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    background: var(--bg-warm);
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.masonry-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.masonry-info p {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
}

.masonry-item.tall {
    grid-row: span 2;
}

.masonry-item.wide {
    grid-column: span 1;
}

.masonry-item.box {
    grid-row: span 1;
}

.masonry-text-box {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.masonry-text-box h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.masonry-text-box p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.link-elegant {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--accent-color);
}

/* Footer */
.magazine-footer {
    padding: 100px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.footer-nav {
    display: flex;
    gap: 80px;
}

.nav-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.nav-col ul li {
    margin-bottom: 10px;
}

.nav-col a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.nav-col a:hover {
    color: var(--text-main);
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #a09d96;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-bg-image {
        width: 100%;
    }
    .hero-text-box {
        margin: 0 auto;
        padding: 40px;
    }
    .hero-content-wrapper {
        justify-content: center;
    }
    .acc-inner {
        flex-direction: column;
        padding-left: 0;
    }
    .masonry-grid {
        grid-template-columns: 1fr;
    }
    .masonry-item.tall, .masonry-item.wide, .masonry-item.box {
        grid-column: span 1;
        grid-row: auto;
        min-height: 300px;
    }
    .footer-top {
        flex-direction: column;
        gap: 60px;
    }
}
