/* ===================================
   사주마당 - CSS Stylesheet
   =================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Luxury Black & Gold Theme */
    --primary-color: #FFD700;        /* Gold */
    --primary-dark: #B8860B;         /* Dark Golden Rod */
    --primary-light: #FFF4C4;        /* Light Golden */
    --secondary-color: #C9A84C;      /* Medium Gold */
    --accent-color: #DAA520;         /* Goldenrod */
    --background-color: #0A0A0A;     /* Deep Black */
    --background-light: #1A1A1A;     /* Slightly lighter black */
    --background-card: #151515;      /* Card background */
    --text-dark: #F4E5C2;            /* Golden Beige */
    --text-medium: #D4C5A9;          /* Medium Beige */
    --text-light: #B8A88A;           /* Light Beige */
    --border-color: #2A2A2A;         /* Dark border */
    --shadow-light: rgba(255, 215, 0, 0.1);
    --shadow-medium: rgba(255, 215, 0, 0.2);
    --shadow-gold: rgba(255, 215, 0, 0.3);
    --overlay-dark: rgba(10, 10, 10, 0.85);
    
    /* Typography */
    --font-primary: 'Noto Serif KR', serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Starry Night Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 15% 90%, white, transparent);
    background-size: 200% 200%;
    animation: twinkle 8s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.4;
    z-index: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* ===================================
   Navigation Bar
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow-gold);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px var(--shadow-gold);
    background-color: rgba(10, 10, 10, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-md);
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition-medium);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.4)) brightness(1.2);
    transition: var(--transition-medium);
}

.logo:hover .logo-image {
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.7)) brightness(1.4);
    transform: rotate(5deg);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: var(--transition-fast);
    box-shadow: 0 0 8px var(--primary-color);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(255, 215, 0, 0.05);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.nav-link:hover::after {
    width: 80%;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition-fast);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 100%);
    overflow: hidden;
    margin-top: 73px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-dark);
    padding: var(--spacing-xl) 0;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.title-main {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.3),
        2px 4px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.title-sub {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-medium);
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    color: var(--text-medium);
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-medium);
    box-shadow: 
        0 4px 15px var(--shadow-gold),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 25px var(--shadow-gold),
        0 0 30px rgba(255, 215, 0, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #0A0A0A;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-light));
    box-shadow: 
        0 8px 30px var(--shadow-gold),
        0 0 40px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
    background-color: rgba(26, 26, 26, 0.8);
    color: var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: var(--primary-light);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* ===================================
   Section Styles
   =================================== */

section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Services Section
   =================================== */

.services {
    background-color: var(--background-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--background-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 40px var(--shadow-light),
        inset 0 1px 0 rgba(255, 215, 0, 0.1);
    transition: var(--transition-medium);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 8px 35px rgba(0, 0, 0, 0.7),
        0 0 50px var(--shadow-gold),
        inset 0 1px 0 rgba(255, 215, 0, 0.2);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: #0A0A0A;
    font-size: 2rem;
    box-shadow: 
        0 4px 15px var(--shadow-gold),
        0 0 30px rgba(255, 215, 0, 0.3);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.service-description {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.service-price {
    display: flex;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.service-price.single-price {
    justify-content: center;
}

.price-item {
    flex: 1;
    text-align: center;
    padding: 0.8rem;
    background-color: rgba(255, 215, 0, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.price-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* ===================================
   Process Section
   =================================== */

.process {
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 100%);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background: var(--background-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 30px var(--shadow-light);
    border: 2px solid var(--border-color);
    position: relative;
    transition: var(--transition-medium);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 35px rgba(0, 0, 0, 0.7),
        0 0 50px var(--shadow-gold);
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #0A0A0A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 
        0 4px 15px var(--shadow-gold),
        0 0 30px rgba(255, 215, 0, 0.4);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: var(--spacing-md) 0;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.step-description {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

.process-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

/* ===================================
   Info Section
   =================================== */

.info {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: var(--text-dark);
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.info-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

.info-text h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.info-text p {
    font-size: 0.95rem;
    color: var(--text-medium);
}

/* ===================================
   Application Form Section
   =================================== */

.application {
    background-color: var(--background-color);
}

.application-form {
    max-width: 900px;
    margin: 0 auto;
    background: var(--background-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.5),
        0 0 60px var(--shadow-light);
    border: 2px solid var(--border-color);
}

.form-section {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.form-section-title i {
    font-size: 1.3rem;
}

/* Service Options */
.service-options {
    display: grid;
    gap: var(--spacing-md);
}

.service-option {
    background-color: rgba(255, 215, 0, 0.02);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    transition: var(--transition-fast);
}

.service-option:has(input[type="radio"]:checked:not([value="none"])) {
    border-color: var(--primary-color);
    background-color: rgba(255, 215, 0, 0.08);
    box-shadow: 0 0 20px var(--shadow-light);
}

.service-option-header h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.service-option-choices {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.6rem 1rem;
    background-color: rgba(26, 26, 26, 0.5);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    color: var(--text-medium);
}

.radio-label:hover {
    border-color: var(--secondary-color);
    background-color: rgba(255, 215, 0, 0.05);
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background-color: rgba(255, 215, 0, 0.12);
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--shadow-light);
}

/* Total Price */
.total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #0A0A0A;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
    box-shadow: 
        0 4px 20px var(--shadow-gold),
        0 0 40px rgba(255, 215, 0, 0.3);
}

.total-price-label {
    font-size: 1.2rem;
    font-weight: 600;
}

.total-price-value {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: rgba(26, 26, 26, 0.5);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 0 3px rgba(255, 215, 0, 0.1),
        0 0 20px var(--shadow-light);
    background-color: rgba(26, 26, 26, 0.7);
}

.form-group small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-medium);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

/* Form Notice */
.form-notice {
    background-color: rgba(255, 215, 0, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 0 20px var(--shadow-light);
}

.form-notice h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.form-notice ul {
    list-style-position: inside;
    color: var(--text-medium);
    line-height: 2;
}

.form-notice li {
    margin-bottom: 0.5rem;
}

.form-notice strong {
    color: var(--primary-color);
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ===================================
   FAQ Section
   =================================== */

.faq {
    background-color: var(--background-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-card);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 0 30px var(--shadow-light);
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-medium);
}

.faq-item:hover {
    box-shadow: 
        0 4px 25px rgba(0, 0, 0, 0.7),
        0 0 40px var(--shadow-gold);
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: var(--transition-fast);
    color: var(--primary-color);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-md) var(--spacing-lg);
    color: var(--text-medium);
    line-height: 1.8;
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    background-color: var(--background-color);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--background-card);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 30px var(--shadow-light);
    border: 2px solid var(--border-color);
    transition: var(--transition-medium);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 6px 30px rgba(0, 0, 0, 0.7),
        0 0 50px var(--shadow-gold);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A0A0A;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 
        0 4px 15px var(--shadow-gold),
        0 0 30px rgba(255, 215, 0, 0.3);
}

.contact-text h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.contact-text p {
    color: var(--text-medium);
    line-height: 1.6;
}

.contact-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.contact-text a:hover {
    color: var(--primary-light);
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    color: var(--text-dark);
    padding: var(--spacing-xl) 0 var(--spacing-md) 0;
    border-top: 2px solid var(--border-color);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--spacing-md);
}

.footer-logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5)) brightness(1.2);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.footer-text {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
    color: var(--text-medium);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-copyright {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===================================
   Scroll to Top Button
   =================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #0A0A0A;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    box-shadow: 
        0 4px 15px var(--shadow-gold),
        0 0 30px rgba(255, 215, 0, 0.3);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 6px 25px var(--shadow-gold),
        0 0 50px rgba(255, 215, 0, 0.5);
}

/* ===================================
   Floating KakaoTalk Button
   =================================== */

.kakao-floating-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #FEE500;
    color: #3C1E1E;
    border: none;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    box-shadow: 
        0 4px 20px rgba(254, 229, 0, 0.4),
        0 0 30px rgba(254, 229, 0, 0.3);
    z-index: 998;
    animation: fadeInUp 0.6s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.kakao-floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 6px 30px rgba(254, 229, 0, 0.6),
        0 0 50px rgba(254, 229, 0, 0.5);
    background: #FFD700;
}

.kakao-floating-btn .fab {
    font-size: 1.8rem;
    margin-bottom: 2px;
}

.kakao-text {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-top: 2px;
}

/* ===================================
   Modal
   =================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--overlay-dark);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--background-card);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    padding: var(--spacing-xl);
    position: relative;
    animation: modalSlideIn 0.4s ease-out;
    box-shadow: 
        0 10px 50px rgba(0, 0, 0, 0.8),
        0 0 100px var(--shadow-gold);
    border: 2px solid var(--border-color);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-icon {
    text-align: center;
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

.modal-content h2 {
    font-family: var(--font-heading);
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.modal-body {
    background-color: rgba(255, 215, 0, 0.03);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    border: 1px solid var(--border-color);
    color: var(--text-medium);
}

.modal-body p {
    margin-bottom: 0.5rem;
}

.modal-body strong {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.modal-actions {
    text-align: center;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    /* Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background-color: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: 0 4px 20px var(--shadow-gold);
        border-right: 2px solid var(--border-color);
        transition: left 0.4s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 1.1rem;
    }

    /* Logo */
    .logo-image {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .title-sub {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Sections */
    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Process */
    .process-steps {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .process-step {
        max-width: 100%;
    }

    /* Info */
    .info-content {
        grid-template-columns: 1fr;
    }

    /* Form */
    .application-form {
        padding: var(--spacing-md);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .service-option-choices {
        flex-direction: column;
    }

    .radio-label {
        width: 100%;
    }

    .total-price {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    /* Contact */
    .contact-info {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-contact {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    /* Scroll to Top */
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    /* KakaoTalk Floating Button */
    .kakao-floating-btn {
        bottom: 80px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .kakao-floating-btn .fab {
        font-size: 1.5rem;
    }

    .kakao-text {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xl: 2.5rem;
        --spacing-lg: 2rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .title-main {
        font-size: 2rem;
    }

    .title-sub {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .process-step,
    .contact-item {
        padding: var(--spacing-md);
    }

    /* Floating Buttons - Smaller Size */
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .kakao-floating-btn {
        bottom: 70px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .kakao-floating-btn .fab {
        font-size: 1.3rem;
    }

    .kakao-text {
        font-size: 0.55rem;
    }
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}
 
.sale-banner {
    background: #ff3b3b;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;

    font-size: 20px;
    font-weight: 900;      /* 👈 이렇게 */
    letter-spacing: 1px;
}
    
    
    
    
