/* V3: Dark Heritage Style */
:root {
    --primary-color: #d4af37;
    /* Metallic Gold */
    --bg-dark: #1a1a1a;
    /* Dark Charcoal */
    --bg-darker: #0f0f0f;
    /* Black */
    --text-light: #e0e0e0;
    --font-serif: 'Noto Serif KR', serif;
    --font-sans: 'Noto Sans KR', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-light);
    background-color: var(--bg-dark);
    line-height: 1.6;
}

ul {
    list-style: none;
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
}

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

.logo img {
    height: 70px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-family: var(--font-serif);
    font-weight: bolder;
    font-size: 16px;
    color: var(--primary-color);
    letter-spacing: 1px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 1;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        padding: 100px 30px 30px;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-left: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
        padding: 20px 0;
        opacity: 0;
        transform: translateX(20px);
        animation: slideIn 0.3s ease forwards;
    }

    .nav-menu.active li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(2) {
        animation-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(3) {
        animation-delay: 0.3s;
    }

    .nav-menu.active li:nth-child(4) {
        animation-delay: 0.4s;
    }

    .nav-menu a {
        display: block;
        font-size: 18px;
        padding: 5px 0;
    }

    .logo img {
        height: 50px;
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Overlay for mobile menu */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    /* Full Height */
    overflow: hidden;
}

/* Hero Logo Watermark */
.hero-logo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.hero-logo-watermark img {
    max-width: 400px;
    width: 80vw;
    height: auto;
    opacity: 0.8;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cool blue gradient overlay for refreshing feel */
    /*background: linear-gradient(to bottom, rgba(0, 100, 150, 0.4), rgba(0, 20, 40, 0.7));*/
}

.slide-content {
    position: relative;
    text-align: center;
    z-index: 1;
    border: 1px solid var(--primary-color);
    padding: 40px 60px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}

.slide-content h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 300;
}

.slide-content p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #ccc;
    letter-spacing: 2px;
}

/* Slider Controls */
.slider-controls {
    display: none;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 1.5rem;
    color: var(--primary-color);
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s;
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.prev-btn {
    left: 40px;
}

.next-btn {
    right: 40px;
}

.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #555;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: var(--primary-color);
}

/* Philosophy Section */
.philosophy-section {
    padding: 120px 0;
    text-align: center;
    background-color: var(--bg-darker);
    position: relative;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 60px 0;
}

.ornament-top,
.ornament-bottom {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 20px 0;
    opacity: 0.5;
}

.section-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #666;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 30px;
}


.premium-values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.value-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 15px;
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-item:last-child {
    border-bottom: none;
}

.gold-accent {
    color: var(--primary-color);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.value-item p {
    color: #bbb;
    font-size: 1rem;
    margin: 0;
}

@media (min-width: 768px) {
    .value-item {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .value-item p {
        flex: 1;
        text-align: right;
    }
}

/* Footer */
.footer {
    background-color: #000;
    color: #888;
    padding: 60px 0;
    font-size: 0.9rem;
    border-top: 1px solid #222;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-info p {
    margin-bottom: 5px;
    line-height: 1.6;
}

.company-name {
    color: #aaa;
    font-weight: 500;
}

.company-address {
    color: #888;
    margin-bottom: 10px !important;
}

.contact-line {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 10px;
}

.contact-line .divider {
    margin: 0 10px;
    color: #666;
}

.contact-line .contact-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
    position: relative;
    top: -1px;
}

.footer-info .divider {
    margin: 0 10px;
    color: #444;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 10px 0;
    justify-content: center;
    color: #aaa;
}

.contact-item {
    position: relative;
}

.contact-item:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -12px;
    color: #444;
}

/* contact-item wrapping fix for small screens if needed, mostly fine for desktop */

.cs-info {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-bottom: 20px;
}

.cs-group {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 4px;
    text-align: left;
    /*flex: 1;*/
    min-width: 280px;
}

.cs-group strong {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 1rem;
}

.cs-group strong .icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.cs-group p {
    margin-bottom: 5px;
    color: #999;
    font-weight: 500;
}

.highlight-text {
    color: #d45d5d;
    /* Reddish for closed days */
}

.notice-text {
    font-size: 0.85rem;
    color: #777;
    margin-top: 5px;
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    color: #aaa;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-note {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 10px;
}

.footer-copyright {
    color: #666;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .philosophy-section {
        display: none;
    }

    .cs-info {
        flex-direction: column;
    }

    .cs-group {
        min-width: 100%;
    }
}

/* Galaxy Fold - Unfolded (653px width) */
@media (max-width: 653px) {
    .header {
        height: 80px;
    }

    .logo img {
        height: 45px;
    }

    .nav-menu a {
        font-size: 14px;
    }

    .slide-content {
        padding: 30px 40px;
    }

    .slide-content h2 {
        font-size: 2.5rem;
    }

    .footer {
        padding: 40px 0;
    }
}

/* Galaxy Fold - Folded (280px width) */
@media (max-width: 280px) {
    .header {
        height: 70px;
    }

    .logo img {
        height: 35px;
    }

    .hamburger {
        width: 25px;
        height: 20px;
    }

    .nav-menu {
        width: 240px;
        padding: 80px 20px 20px;
    }

    .nav-menu a {
        font-size: 15px;
    }

    .hero-logo-watermark img {
        max-width: 250px;
    }

    .slide-content {
        padding: 20px 25px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .slider-indicators {
        bottom: 20px;
        gap: 10px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    .footer {
        padding: 30px 0;
        font-size: 0.75rem;
    }

    .cs-group {
        padding: 12px;
    }

    .cs-group strong {
        font-size: 0.9rem;
    }

    .cs-group p {
        font-size: 0.8rem;
    }

    .contact-line {
        font-size: 0.75rem;
    }

    .footer-copyright {
        font-size: 0.7rem;
    }
}


.contact-icon {
    width: 16px;
    height: 16px;
    color: #a0a0a0;
    vertical-align: middle;
    margin-right: 4px;
    position: relative;
    top: -1px;
}

/* ===========================
   Story Page Styles
   =========================== */
.parallax-hero {
    height: 100vh;
    background-image: url('./public/hero_01.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    z-index: 1;
    color: #fff;
}

.hero-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 4rem;
    margin-bottom: 20px;
    color: #d4af37;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #e0e0e0;
}

.story-content {
    padding: 100px 20px;
    background-color: #1a1a1a;
    color: #e0e0e0;
    text-align: center;
    min-height: 50vh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.story-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./public/watermark_logo.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 500px;
    opacity: 0.4;
    z-index: -1;
}

@media (max-width: 768px) {
    .story-content::before {
        background-size: 70vw;
    }

    .hero-title {
        font-size: 2.8rem;
        /* 70% of 4rem */
    }

    .hero-subtitle {
        font-size: 0.85rem;
        /* ~70% of 1.2rem */
    }

    .story-title {
        font-size: 1.25rem;
        /* ~70% of 1.8rem */
    }

    .story-text p {
        font-size: 0.8rem;
        /* ~70% of 1.1rem */
    }

    .story-footer {
        font-size: 1rem;
        /* ~70% of 1.4rem */
    }
}

.story-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 2;
    word-break: keep-all;
}

.story-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.8rem;
    color: #d4af37;
    margin-bottom: 30px;
    font-weight: 600;
}

.story-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #e0e0e0;
}

.story-text strong {
    color: #fff;
    font-weight: 700;
}

.story-footer {
    margin-top: 40px;
    font-family: 'Noto Serif KR', serif;
    font-size: 1.4rem;
    color: #d4af37;
}