/* 기본 스타일 */
:root {
    --primary-color: #1e3799;
    --secondary-color: #f1f2f6;
    --text-color: #2f3542;
    --border-color: #dfe4ea;
    --accent-color: #ff6b6b;
    --header-height: 80px;
    --primary-blue: #1a73e8;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
}

/* 헤더 스타일 */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
}

/* 메인 네비게이션 */
.main-nav {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

/* 로고 영역 */
.logo {
    flex: 0 0 400px;  /* 로고 영역 고정 너비 */
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #e70303;
}

.logo-sub {
    font-size: 0.8rem;
    color: #666;
}

/* 네비게이션 컨테이너 */
.nav-container {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 네비게이션 링크 */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
}

/* 예약 버튼 */
.reservation-link {
    background-color: #1a73e8;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
}

/* 스크롤 시 네비게이션 스타일 */
.nav-scrolled {
    padding: 0.5rem 5%;
}

.nav-scrolled .logo h1 {
    font-size: 1.4rem;
}

.nav-scrolled .logo-sub {
    font-size: 0.8rem;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .main-nav {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        flex-wrap: wrap;
        height: auto;
        padding: 1rem;
    }
    
    .nav-container {
        flex-basis: 100%;
        margin-top: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* 드롭다운 메뉴 스타일 */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.8rem 0;
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 0.5rem 1rem;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: var(--secondary-color);
}

/* 푸터 스타일 */
.site-footer {
    background-color: #f8f9fa;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid #eee;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-logo {
    flex: 0 0 200px;
}

.footer-logo-img {
    width: 100%;
    height: auto;
    opacity: 0.8;
}

.footer-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

.info-group h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.info-group p {
    font-family: 'MaruBuri', serif;
    color: #666;
    margin: 0.8rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.info-group i {
    color: #2B6CB0;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: #2B6CB0;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #2C5282;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.copyright {
    font-family: 'MaruBuri', serif;
    color: #999;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-info {
        flex-direction: column;
        gap: 2rem;
    }

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

    .info-group p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* main 태그 스타일 수정 */
main {
    padding-top: 100px; /* 헤더 높이보다 약간 더 크게 설정 */
    min-height: calc(100vh - 200px); /* footer를 고려한 최소 높이 설정 */
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 모바일 메뉴 버튼 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
    }

    .hero-section {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.2rem;
    }
}

/* 네비게이션 예약 버튼 강조 */
.nav-item.reservation-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-item.reservation-btn:hover {
    background-color: #1557b0; /* 더 진한 파란색 */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 페이지 컨텐츠 상단 여백 조정 */
main {
    margin-top: var(--header-height);
}

/* 히어로 섹션은 margin-top 제거 (이미 적용되어 있으므로) */
.hero-section {
    margin-top: var(--header-height);
}

/* 일반 페이지의 첫 섹션에 여백 추가 */
.page-section:first-child {
    margin-top: calc(var(--header-height) + 2rem);
}

@media (max-width: 768px) {
    .nav-item.reservation-btn {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}

.detail-item {
    margin-bottom: 2rem;
}

.detail-item h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.1rem;
}

.detail-item ul {
    list-style: none;
    padding: 0;
}

.detail-item li {
    margin: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.detail-item li i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* 추가 스타일 */
.logo-text {
    display: block;
    font-size: 2rem;
    color: var(--text-dark);
    text-decoration: none;
    margin: 1rem 0;
}

/* 드롭다운 메뉴 */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 160px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    border-radius: 4px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide {
    height: 100vh;  /* 또는 원하는 높이 */
    overflow: hidden;
}

.slide video,
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}