/* Reset & Base Styles */
:root {
    --primary-gold: #D4AF37;
    --primary-gold-hover: #b5952f;
    --secondary-navy: #2c3e50;
    --text-dark: #1a1a1a;
    --text-gray: #555555;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-cream: #f9f9f9;
    --border-color: #e0e0e0;
    --font-main: 'Noto Sans KR', sans-serif;
    --font-heading: 'Noto Sans KR', sans-serif;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-navy);
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: #fff;
    border-color: var(--primary-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-gold-hover);
    border-color: var(--primary-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--secondary-navy);
}

.btn-nav {
    background-color: var(--primary-gold);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background-color: var(--primary-gold-hover);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-navy);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    color: var(--primary-gold);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-gold);
    font-weight: 700;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('img/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
    color: #fff;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

/* Glassmorphism Contact Card */
.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    display: inline-flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #fff;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.glass-card .contact-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.glass-card i {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.glass-card .phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* Sections */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-cream);
}

/* Vision Cards */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.vision-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-gold);
}

.vision-card i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.vision-card p {
    color: var(--text-gray);
}

/* Location Section */
.location-section {
    padding: 100px 0;
    background-color: #fff;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-info {
    flex: 2;
}

.footer-info h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-map-link {
    flex: 1;
    min-width: 300px;
}

.map-preview {
    width: 100%;
    height: 200px;
    background-color: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: all 0.3s ease;
    border: 1px solid #444;
}

.map-preview:hover {
    border-color: var(--primary-gold);
    color: #fff;
}

/* Items Grid */
.items-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.item-card-large {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.item-card-large:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.item-img-large {
    height: 300px;
    width: 100%;
    overflow: hidden;
}

.item-img-large img {
    transition: transform 0.5s ease;
}

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

.item-content {
    padding: 2rem;
}

.item-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

/* Page Header */
.page-header {
    background-color: var(--bg-cream);
    padding: 140px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* New Contact Banner */
.contact-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 1rem 2rem;
    margin-top: 2rem;
    color: #fff;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.contact-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-text .label {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 300;
}

.contact-text .value {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.contact-banner .divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
}

/* Premium Price Grid */
.premium-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.price-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-gold);
}

.price-card.highlight {
    border: 2px solid var(--primary-gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

.price-card .card-header {
    background: var(--secondary-navy);
    color: #fff;
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-card.highlight .card-header {
    background: var(--primary-gold);
}

.price-card .metal-type {
    font-size: 1.2rem;
    font-weight: 700;
}

.price-card .purity {
    font-size: 0.9rem;
    opacity: 0.9;
}

.price-card .card-body {
    padding: 1.5rem;
}

.price-card .price-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.price-card .price-row .label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.3rem;
}

.price-card .price-row .value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-navy);
    font-family: var(--font-heading);
}

.price-card .trend-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.price-card .trend-row .label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.price-card .trend {
    font-weight: 600;
}

.trend-up {
    color: #e74c3c;
}

.trend-down {
    color: #3498db;
}

.trend-flat {
    color: var(--text-gray);
}

/* About Content Wrapper */
.about-content-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.about-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-navy);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.ceo-message {
    background-color: var(--bg-cream);
    padding: 4rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    margin-bottom: 6rem;
}

.ceo-message::before {
    content: '\201C';
    font-family: serif;
    font-size: 8rem;
    color: rgba(212, 175, 55, 0.1);
    position: absolute;
    top: -20px;
    left: 40px;
}

.ceo-message p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.ceo-signature {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.philosophy-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-gold);
}

.philosophy-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-gold);
    font-size: 1.8rem;
}

.philosophy-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
        font-size: 1.5rem;
        color: var(--secondary-navy);
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        /* 고정 너비 */
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        /* 왼쪽 정렬 */
        justify-content: flex-start;
        /* 상단 정렬 */
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        padding: 100px 30px 40px;
        /* 상단 여백 */
        z-index: 1000;
    }

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

    .nav-links li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 2rem;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        width: 100%;
        padding: 1.2rem 0;
        color: var(--secondary-navy);
        font-weight: 500;
        text-align: left;
        transition: color 0.2s;
    }

    .nav-links a:hover {
        color: var(--primary-gold);
        padding-left: 10px;
    }

    /* 모바일 예약 버튼 스타일 */
    .nav-links .btn-nav {
        text-align: center;
        background-color: var(--primary-gold);
        color: #fff !important;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
        box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
    }

    .nav-links .btn-nav:hover {
        padding-left: 1rem;
        transform: translateY(-2px);
        background-color: var(--primary-gold-hover);
    }

    .hero h1 {
        font-size: 2.2rem;
        padding: 0 1rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* 버튼 텍스트 줄바꿈 방지 */
    .hero-buttons {
        flex-direction: row;
        gap: 10px;
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-buttons .btn {
        padding: 14px 10px;
        font-size: 0.95rem;
        white-space: nowrap;
        /* 줄바꿈 방지 */
        flex: 1;
        min-width: 0;
        width: auto;
    }

    .glass-card {
        padding: 1.5rem;
        width: 90%;
        margin-top: 1.5rem;
    }

    .glass-card .phone-number {
        font-size: 1.5rem;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .premium-price-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-map-link {
        width: 100%;
        min-width: auto;
    }

    .contact-banner {
        flex-direction: column;
        gap: 1.5rem;
        border-radius: 20px;
        padding: 2rem 1rem;
        width: 90%;
        margin: 2rem auto 0;
    }

    .contact-banner .divider {
        width: 80%;
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
    }

    .contact-text {
        align-items: center;
        text-align: center;
    }

    .about-content-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Styles - About Page */
.gallery-main {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
}

.gallery-main img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #c9a227 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Thumbnail Slider */
.thumbnail-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.slider-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #c9a227 100%);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.slider-nav:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

.thumbnail-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px;
    scrollbar-width: none;
}

.thumbnail-slider::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    flex: 0 0 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.thumbnail:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.thumbnail.active {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 2px var(--primary-gold), 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* Slider Indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slider-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-indicators .indicator.active {
    background: var(--primary-gold);
    transform: scale(1.2);
}

/* Mobile Typography Fix */
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
li,
a {
    word-break: keep-all;
    word-wrap: break-word;
}

/* Gallery Responsive */
@media (max-width: 768px) {
    .gallery-main img {
        height: 250px;
    }

    .thumbnail {
        flex: 0 0 55px;
        height: 55px;
    }

    .slider-nav {
        width: 32px;
        height: 32px;
    }
}