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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', sans-serif;
    color: #334155; /* 짙은 차콜/네이비 텍스트 */
    line-height: 1.6;
    background-color: #FAFAFA; /* 밝고 깨끗한 진주색 배경 */
    overflow-x: hidden;
    word-break: keep-all; /* 모바일 환경 글자 떨어짐(단어 잘림) 방지 */
    word-wrap: break-word;
}

/* Colors & Variables */
:root {
    --primary: #1E293B; /* Deep Navy */
    --gold: #C5A059;    /* Champagne Gold */
    --light-gold: #f9f2d8;
    --dark: #111;
    --gray: #64748b;
    --light-gray: #f8f9fa;
    --white: #fff;
    --transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

.subtitle {
    display: block;
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

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

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), #b38b41);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.btn-outline {
    display: inline-block;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    padding: 15px 40px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

#header.scrolled {
    background-color: rgba(26, 42, 64, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.logo a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    color: var(--gold);
}

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

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

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

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

.mobile-reserve-li {
    display: none; /* PC에서는 숨김 */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    animation: zoomOut 10s ease-out forwards;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 80px;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-item {
    background: #FFFFFF; /* 순백색 갤러리 톤 패널 */
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
    overflow: hidden;
}

.about-item:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.about-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.about-text {
    padding: 30px;
}

.about-item h3 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.about-item h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.about-item p {
    color: var(--gray);
}

/* Features Section */
.bg-dark {
    background-color: var(--primary);
    color: var(--white);
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-content .text-box {
    flex: 1;
}

.feature-content .text-box h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-content .text-box p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list span {
    color: var(--gold);
    font-weight: bold;
}

.feature-content .image-box {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.feature-content .image-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.feature-content .image-box:hover img {
    transform: scale(1.05);
}

/* Location Section */
.map-container {
    width: 100%;
    height: 400px;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #e9ecef;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    background: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') center/cover;
    position: relative;
}

.map-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.8);
}

.map-placeholder p, .map-placeholder span {
    position: relative;
    z-index: 2;
}

.map-placeholder p {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--gray);
}

.info-item {
    text-align: center;
}

.info-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--primary);
    font-weight: 500;
}

.info-item .phone {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: #999;
    padding: 60px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.footer-logo {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: bold;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
}

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

.footer-links a.privacy {
    color: var(--gold);
    font-weight: bold;
}

.footer-bottom {
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Animations */
@keyframes zoomOut {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .feature-content {
        flex-direction: column;
    }
    
    .hero h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(15, 23, 42, 0.98); /* 다크 네이비 배경 */
        backdrop-filter: blur(10px);
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .nav.active {
        display: block;
        animation: fadeDown 0.3s ease;
    }
    @keyframes fadeDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .mobile-reserve-li {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    .mobile-reserve-li .btn-primary {
        width: 80%;
    }
    .mobile-menu-btn {
        display: block;
    }
    .header-right .btn-primary {
        display: none;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
    .hero h2 {
        font-size: 2.5rem;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--primary);
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
    font-size: 1.1rem;
    padding: 15px;
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 50px;
    padding: 12px 25px 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.floating-call-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: var(--white);
    color: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.6);
}

.floating-call-btn .call-icon {
    font-size: 1.5rem;
    background: rgba(255,255,255,0.2);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.floating-call-btn:hover .call-icon {
    background: var(--gold);
    color: var(--white);
}

.floating-call-btn .call-text {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.floating-call-btn .call-text span {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .floating-call-btn {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        padding: 15px;
        justify-content: center;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
        z-index: 9999;
    }
    
    .floating-call-btn:hover {
        transform: none;
    }
    
    .floating-call-btn .call-icon {
        background: transparent;
        width: auto;
        height: auto;
        font-size: 1.5rem;
        margin-right: 5px;
    }
    
    .floating-call-btn .call-text {
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .floating-call-btn .call-text br {
        display: none;
    }
    
    .floating-call-btn .call-text span {
        font-size: 1rem;
    }
    
    body {
        padding-bottom: 60px;
    }
}
