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

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #10b981;
    --bg: #f9fafb;
    --text: #1f2937;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

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

/* ============ 네비게이션 ============ */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

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

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

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

/* ============ 히어로 섹션 ============ */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 400;
}

/* ============ 숙소 섹션 ============ */
.rooms {
    padding: 80px 20px;
    background: var(--white);
}

.rooms h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text);
    font-weight: 700;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.room-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.room-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.room-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.room-content {
    padding: 1.5rem;
}

.room-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    font-weight: 600;
}

.room-info {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.room-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.room-details-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    width: 100%;
}

.room-details-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.room-details-btn:active {
    transform: scale(0.98);
}

/* ============ 편의시설 섹션 ============ */
.amenities {
    padding: 80px 20px;
    background: var(--bg);
}

.amenities h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text);
    font-weight: 700;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.amenity-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.amenity-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.08);
    transform: translateY(-2px);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.amenity-card h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.amenity-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============ 연락처 섹션 ============ */
.contact {
    background: var(--white);
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--text);
    font-weight: 700;
}

.contact-info {
    font-size: 1rem;
    color: var(--text-light);
}

.contact-info p {
    margin: 1rem 0;
    font-weight: 500;
}

/* ============ 푸터 ============ */
.footer {
    background: var(--text);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* ============ 모달 ============ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--white);
    max-width: 600px;
    width: 90%;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

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

.close-btn {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    background: none;
    border: none;
    transition: color 0.2s;
}

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

/* ============ 반응형 ============ */
@media (max-width: 768px) {
    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

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

    .rooms h2,
    .amenities h2,
    .contact h2 {
        font-size: 2rem;
    }

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

    .amenity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

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

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

    .modal-content {
        padding: 1.5rem;
    }
}
