/* ============================================================
   용인실버케어 - Premium Silver Care Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #1a5c37;
    --primary-dark: #0d3520;
    --primary-light: #2d8a55;
    --primary-pale: #e8f5ee;
    --gold: #b8860b;
    --gold-light: #d4ad70;
    --gold-pale: #fdf6e9;
    --cream: #faf8f4;
    --white: #ffffff;
    --dark: #1a1a2e;
    --text: #333333;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5e1da;
    --border-light: #f0ede8;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-lg: rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
    color: var(--dark);
    line-height: 1.3;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text);
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 40px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--gold);
    transform: translateY(-50%);
}

.section-title {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 700px;
    line-height: 1.8;
}

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

.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.text-center .section-subtitle {
    padding-left: 0;
}

.text-center .section-subtitle::before {
    display: none;
}

/* ---------- Layout ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-white {
    background: var(--white);
}

.section-cream {
    background: var(--cream);
}

.section-green {
    background: var(--primary);
    color: var(--white);
}

.section-green .section-title,
.section-green .section-desc,
.section-green h2, .section-green h3, .section-green h4,
.section-green p {
    color: var(--white);
}

.section-green .section-subtitle {
    color: var(--gold-light);
}

.section-green .section-subtitle::before {
    background: var(--gold-light);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ---------- Header & Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px var(--shadow);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 1001;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform var(--transition);
}

.site-logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.site-header:not(.scrolled) .logo-text {
    color: var(--white);
}

.site-header:not(.scrolled) .logo-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: color var(--transition);
    white-space: nowrap;
}

.site-header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.site-header:not(.scrolled) .nav-link:hover {
    color: var(--gold-light);
}

.nav-link:hover,
.nav-item.active > .nav-link {
    color: var(--primary);
}

.site-header:not(.scrolled) .nav-item.active > .nav-link {
    color: var(--gold-light);
}

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    border: 1px solid var(--border-light);
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
    transition: all var(--transition);
}

.dropdown-link:hover {
    background: var(--primary-pale);
    color: var(--primary);
    padding-left: 24px;
}

.dropdown-link.active {
    color: var(--primary);
    font-weight: 600;
}

/* Header CTA */
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--gold);
    color: var(--white) !important;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
    text-decoration: none;
}

.header-cta:hover {
    background: var(--primary);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 92, 55, 0.3);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all var(--transition);
    border-radius: 2px;
}

.site-header:not(.scrolled) .mobile-toggle span {
    background: var(--white);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
}

/* ---------- Page Banner / Hero ---------- */
.page-hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

/* Page Hero with Background Image */
.page-hero.page-hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--primary-dark);
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 53, 32, 0.82) 0%,
        rgba(26, 92, 55, 0.72) 50%,
        rgba(26, 107, 63, 0.68) 100%
    );
    z-index: 1;
}

.page-hero.page-hero-image .float-element {
    z-index: 2;
}

/* Gallery Filter Tabs */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    background: var(--white);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--transition);
}

.gallery-filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.gallery-filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Section Reveal Animation */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Image hover zoom effect for gallery items */
.gallery-item img {
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-hero-content h2 {
    font-family: 'Noto Serif KR', serif;
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

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

.breadcrumb .sep {
    font-size: 0.75rem;
}

/* Floating decorative elements (Anti-gravity) */
.float-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
}

.float-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--gold-light), transparent 70%);
    top: -50px;
    right: -50px;
    animation: floatUp 8s ease-in-out infinite;
}

.float-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 70%);
    bottom: -30px;
    left: 10%;
    animation: floatUp 6s ease-in-out infinite reverse;
}

.float-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--gold-light), transparent 70%);
    top: 30%;
    left: -30px;
    animation: floatUp 10s ease-in-out infinite 2s;
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-35px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(-5deg); }
}

/* ---------- Home Hero ---------- */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, #1a6b3f 100%);
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title-wrap {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.home-hero h1 {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: 'Noto Serif KR', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Home hero floating shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: var(--gold);
    top: 10%;
    right: -10%;
    animation: floatUp 12s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--white);
    bottom: 20%;
    right: 20%;
    animation: floatUp 8s ease-in-out infinite 3s;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--gold-light);
    top: 40%;
    right: 40%;
    animation: floatUp 10s ease-in-out infinite 1s;
}

/* Scroll indicator */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 2px;
    cursor: pointer;
    z-index: 5;
    animation: fadeIn 1s ease-out 1.5s both;
}

.scroll-down-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.scroll-down-icon::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 92, 55, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

.btn-green {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-green:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 92, 55, 0.3);
}

.btn-gold-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

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

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

/* ---------- Cards ---------- */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--border-light);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-lg);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: var(--primary-pale);
    color: var(--primary);
    transition: all var(--transition);
}

.card:hover .card-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.card-body {
    padding: 36px 30px;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Icon card (service cards) */
.icon-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.icon-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transition: transform var(--transition);
}

.icon-card:hover::before {
    transform: scaleX(1);
}

.icon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.icon-card .card-icon {
    margin: 0 auto 20px;
}

/* Feature box */
.feature-box {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

.feature-box:hover {
    border-color: var(--primary-light);
    box-shadow: 0 8px 25px var(--shadow);
}

.feature-box .icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: var(--primary-pale);
    color: var(--primary);
}

.feature-box h4 {
    margin-bottom: 6px;
}

.feature-box p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ---------- Info Box / Highlight ---------- */
.info-box {
    background: linear-gradient(135deg, var(--primary-pale), var(--gold-pale));
    border-radius: var(--radius-lg);
    padding: 40px;
    border-left: 4px solid var(--gold);
}

.info-box h3 {
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.info-box p {
    color: var(--text);
}

/* Quote / Philosophy */
.quote-box {
    position: relative;
    padding: 50px 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px var(--shadow);
}

.quote-box::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--primary-pale);
    line-height: 1;
}

.quote-box blockquote {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.4rem;
    color: var(--primary-dark);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.quote-author {
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 600;
}

/* ---------- Stats ---------- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.stat-number {
    font-family: 'Noto Serif KR', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number .unit {
    font-size: 1.2rem;
    color: var(--gold);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Noto Serif KR', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}

.cta-phone svg {
    width: 32px;
    height: 32px;
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
    50% { transform: rotate(0); }
}

/* ---------- Table ---------- */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
}

.data-table thead {
    background: var(--primary);
    color: var(--white);
}

.data-table th {
    padding: 16px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.data-table td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background: var(--primary-pale);
}

.data-table .highlight {
    font-weight: 700;
    color: var(--primary);
}

/* ---------- Forms ---------- */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
}

.form-label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: all var(--transition);
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 92, 55, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Checkbox */
.checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-wrap input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-wrap label {
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
}

.checkbox-wrap .privacy-link {
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.checkbox-wrap .privacy-link:hover {
    color: var(--gold);
}

/* Form error/success */
.form-message {
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ---------- Modal / Popup ---------- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    animation: modalIn 0.3s ease-out;
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition);
    background: var(--cream);
}

.modal-close:hover {
    background: var(--primary-pale);
    color: var(--primary);
}

.modal-box h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-right: 40px;
}

.modal-box .privacy-content {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text);
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 10px;
}

.modal-box .privacy-content h4 {
    margin-top: 24px;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.modal-box .privacy-content p,
.modal-box .privacy-content li {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.modal-box .privacy-content ul {
    padding-left: 20px;
    list-style: disc;
}

.modal-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 5px 20px var(--shadow);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
    gap: 16px;
    user-select: none;
}

.faq-question .q-badge {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
}

.faq-question .q-text {
    flex: 1;
    font-size: 1.05rem;
}

.faq-question .q-toggle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
    color: var(--text-light);
}

.faq-item.active .faq-question .q-toggle {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px 70px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--border-light);
    cursor: pointer;
    transition: all var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px var(--shadow-lg);
}

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-pale), var(--gold-pale));
    color: var(--primary);
    gap: 10px;
}

.gallery-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.gallery-placeholder span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    transform: translateY(100%);
    transition: transform var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ---------- Timeline ---------- */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--gold));
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -38px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-pale);
}

.timeline-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ---------- Room Cards ---------- */
.room-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.room-card-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.room-card-visual.single { background: linear-gradient(135deg, #e8f5ee, #d4edda); }
.room-card-visual.double { background: linear-gradient(135deg, #fdf6e9, #fce8cc); }
.room-card-visual.quad { background: linear-gradient(135deg, #e8eef5, #d4e2ed); }

.room-card-body {
    padding: 28px 24px;
}

.room-card-body h3 {
    margin-bottom: 8px;
}

.room-card-body .room-count {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
}

.room-card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ---------- Process Steps ---------- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    counter-reset: step;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Serif KR', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
}

.process-step h4 {
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ---------- News List ---------- */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
}

.news-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 5px 20px var(--shadow);
    transform: translateX(5px);
}

.news-date {
    flex-shrink: 0;
    text-align: center;
    padding: 10px 14px;
    background: var(--primary);
    border-radius: var(--radius);
    color: var(--white);
    line-height: 1.2;
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.news-date .month {
    display: block;
    font-size: 0.75rem;
}

.news-content h4 {
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.news-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.news-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--gold-pale);
    color: var(--gold);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 6px;
}

/* ---------- Map ---------- */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    height: 400px;
    margin-bottom: 40px;
}

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

.location-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.location-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.location-card .loc-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-pale);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.location-card h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.location-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.3rem;
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
    font-family: 'Noto Sans KR', sans-serif;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold-light);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--gold-light);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--gold-light);
}

/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* Floating animation for elements */
.float-anim {
    animation: floatUp 6s ease-in-out infinite;
}

.float-anim-slow {
    animation: floatUp 10s ease-in-out infinite;
}

.float-anim-delayed {
    animation: floatUp 8s ease-in-out infinite 2s;
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(26, 92, 55, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

/* ---------- Utilities ---------- */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.pt-0 { padding-top: 0; }

.text-primary { color: var(--primary); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-light); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stats {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 65px;
    }

    .section {
        padding: 60px 0;
    }

    h2, .section-title {
        font-size: 1.7rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 40px;
        z-index: 1000;
        transition: right var(--transition);
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        gap: 0;
    }

    .main-nav.open {
        right: 0;
    }

    .nav-link {
        color: var(--text) !important;
        padding: 14px 0;
        border-bottom: 1px solid var(--border-light);
        font-size: 1rem;
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 20px;
        display: none;
        background: transparent;
    }

    .nav-item.mobile-open .nav-dropdown {
        display: block;
    }

    .dropdown-link {
        padding: 10px 0;
        border-bottom: 1px solid var(--border-light);
        font-size: 0.9rem;
    }

    .dropdown-link:hover {
        padding-left: 0;
        background: transparent;
        color: var(--primary);
    }

    .header-cta {
        display: none;
    }

    .mobile-nav-overlay {
        display: block;
    }

    /* Hero */
    .home-hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .home-hero h1 {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .hero-shapes {
        display: none;
    }

    /* Page hero */
    .page-hero {
        height: 300px;
    }

    .page-hero-content h2 {
        font-size: 2rem;
    }

    /* Grids */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Cards */
    .card-body {
        padding: 24px 20px;
    }

    .icon-card {
        padding: 30px 20px;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Process */
    .process-steps {
        grid-template-columns: 1fr;
    }

    /* Table scroll */
    .table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table {
        min-width: 600px;
    }

    /* Quote */
    .quote-box {
        padding: 40px 24px;
    }

    .quote-box blockquote {
        font-size: 1.15rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CTA */
    .cta-phone {
        font-size: 1.5rem;
    }

    /* Map */
    .map-container {
        height: 300px;
    }

    /* Location info */
    .location-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 48px 0;
    }

    h2, .section-title {
        font-size: 1.5rem;
    }

    .home-hero h1 {
        font-size: 1.7rem;
    }

    .page-hero {
        height: 250px;
    }

    .page-hero-content h2 {
        font-size: 1.6rem;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

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

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 14px 28px;
    }

    .modal-box {
        padding: 24px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* ---------- Print ---------- */
@media print {
    .site-header,
    .site-footer,
    .scroll-top,
    .scroll-down,
    .hero-shapes,
    .float-element {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        padding: 20px 0;
    }

    .page-hero {
        height: auto;
        padding: 20px;
        background: #f0f0f0 !important;
    }
}

/* ============================================================
   IMAGE-BASED COMPONENTS & ENHANCED DESIGN
   ============================================================ */

/* ---------- Hero Background Image ---------- */
.home-hero.has-bg-image {
    background: none;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(13, 53, 32, 0.88) 0%,
        rgba(26, 92, 55, 0.80) 40%,
        rgba(26, 107, 63, 0.75) 100%
    );
    z-index: 1;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

/* ---------- Service Image Cards ---------- */
.service-image-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
}

.service-image-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transition: transform var(--transition);
    z-index: 2;
}

.service-image-card:hover::before {
    transform: scaleX(1);
}

.service-image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-lg);
}

.service-card-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-image-card:hover .service-card-thumb img {
    transform: scale(1.1);
}

.service-card-icon {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(26, 92, 55, 0.3);
    z-index: 3;
    transition: all var(--transition);
}

.service-image-card:hover .service-card-icon {
    background: var(--gold);
    transform: scale(1.1) rotate(5deg);
}

.service-card-body {
    padding: 30px 24px 24px;
}

.service-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.service-card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.7;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: all var(--transition);
}

.service-card-link:hover {
    color: var(--gold);
    gap: 10px;
}

/* ---------- Philosophy Section Enhanced ---------- */
.philosophy-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.philosophy-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
}

.pf-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--primary-pale);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.philosophy-image-wrap {
    position: relative;
    padding: 20px;
}

.philosophy-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px var(--shadow-lg);
    position: relative;
}

.philosophy-image-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.philosophy-image-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: var(--gold);
    border-radius: 0 0 var(--radius-lg) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 3;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.pib-number {
    font-family: 'Noto Serif KR', serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.pib-number span {
    font-size: 1.2rem;
}

.pib-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.philosophy-quote {
    position: relative;
    margin-top: -40px;
    margin-left: 30px;
    margin-right: -10px;
    z-index: 3;
}

.philosophy-quote blockquote {
    font-size: 1.1rem;
}

/* ---------- Room Card with Images ---------- */
.room-card-visual-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.room-card-visual-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-card-visual-img img {
    transform: scale(1.08);
}

.room-type-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.single-badge { background: rgba(26, 92, 55, 0.85); }
.double-badge { background: rgba(184, 134, 11, 0.85); }
.quad-badge { background: rgba(74, 122, 181, 0.85); }

/* ---------- Home Gallery Grid ---------- */
.home-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.home-gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
}

.home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.home-gallery-item:hover img {
    transform: scale(1.08);
}

.home-gallery-large {
    grid-row: 1 / 3;
}

.home-gallery-large img {
    height: 100%;
    min-height: 380px;
}

.home-gallery-item:not(.home-gallery-large) img {
    height: 182px;
}

.home-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: var(--white);
    transform: translateY(100%);
    transition: transform var(--transition);
}

.home-gallery-item:hover .home-gallery-caption {
    transform: translateY(0);
}

.home-gallery-caption h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.home-gallery-caption p {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ---------- Staff Stat Cards (Green Section) ---------- */
.staff-stat-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: all var(--transition);
    backdrop-filter: blur(5px);
}

.staff-stat-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.staff-stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
}

.staff-stat-number {
    font-family: 'Noto Serif KR', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 6px;
}

.staff-stat-number .unit {
    font-size: 1rem;
    color: var(--gold-light);
}

.staff-stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.staff-stat-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

/* ---------- Admission Info Box ---------- */
.admission-info-box {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aib-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.aib-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

/* ---------- Home Location Card ---------- */
.home-location-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px var(--shadow);
}

.hlc-map-placeholder {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.hlc-map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hlc-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(26, 92, 55, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -60%); }
}

.hlc-info {
    padding: 28px;
}

.hlc-info h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.hlc-info p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* ---------- Image Lightbox / Zoom ---------- */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: lightboxIn 0.3s ease-out;
}

@keyframes lightboxIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* ---------- Parallax Text Reveal ---------- */
.parallax-text {
    position: relative;
    overflow: hidden;
}

.parallax-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gold);
    transition: width 0.6s ease;
}

.parallax-text:hover::after {
    width: 100%;
}

/* ============================================================
   RESPONSIVE: IMAGE COMPONENTS
   ============================================================ */
@media (max-width: 1024px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .home-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-gallery-large {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .home-gallery-large img {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
    }

    .service-card-thumb {
        height: 180px;
    }

    .staff-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .staff-stat-card {
        padding: 24px 16px;
    }

    .staff-stat-number {
        font-size: 2rem;
    }

    .philosophy-image-main img {
        height: 280px;
    }

    .philosophy-image-badge {
        width: 80px;
        height: 80px;
    }

    .pib-number {
        font-size: 1.6rem;
    }

    .philosophy-quote {
        margin-left: 0;
        margin-right: 0;
    }

    .home-gallery-grid {
        grid-template-columns: 1fr;
    }

    .home-gallery-item:not(.home-gallery-large) img {
        height: 200px;
    }

    .home-gallery-large img {
        min-height: 220px;
    }

    .news-preview-grid {
        grid-template-columns: 1fr;
    }

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

    .room-card-visual-img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .staff-stats-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-image-main img {
        height: 220px;
    }
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
