/* ===================================
   Aurora Dream Theme - Bohye Detail Page Design
   ================================== */

/* CSS Variables */
:root {
    /* Aurora Gradient Colors */
    --aurora-purple: #1A0B2E;
    --aurora-teal: #16213E;
    --aurora-navy: #0F2027;
    --aurora-purple-light: #2D1B4E;
    --aurora-teal-light: #1F3A5F;
    
    /* Brand Colors */
    --gold: #C9A24A;
    --gold-light: #D4B56A;
    --gold-dark: #A68835;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.6);
    
    /* Background Overlays */
    --overlay-dark: rgba(15, 32, 39, 0.9);
    --overlay-light: rgba(26, 11, 46, 0.7);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-bg-hover: rgba(255, 255, 255, 0.08);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 20px rgba(201, 162, 74, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: linear-gradient(135deg, 
        var(--aurora-purple) 0%, 
        var(--aurora-teal) 50%, 
        var(--aurora-navy) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Aurora Animated Background Overlay */
.aurora-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(0, 191, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(201, 162, 74, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: auroraShift 20s ease-in-out infinite;
}

@keyframes auroraShift {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.8; transform: scale(1.1) rotate(5deg); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--overlay-dark);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 162, 74, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

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

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-title .highlight {
    color: inherit;
    position: relative;
    cursor: text;
    text-decoration: none;
    transition: all 0.3s ease;
    user-select: none;
}

/* 호버 시 아주 은은한 힌트만 */
.hero-title .highlight:hover {
    color: var(--text-primary);
    opacity: 0.95;
}

/* 길게 누르는 동안에만 골드색으로 */
.hero-title .highlight:active {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.hero-subtitle .brand-name {
    color: var(--gold);
    font-weight: 600;
}

.hero-tagline {
    font-size: 1.125rem;
    color: var(--gold-light);
    font-weight: 500;
    margin-bottom: 3rem;
    font-style: italic;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Quick Consult Box */
.quick-consult-box {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold);
    border-radius: var(--radius-md);
    animation: slideDown 0.3s ease-out;
}

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

.quick-consult-box h3 {
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.quick-form-group {
    margin-bottom: 1.25rem;
}

.quick-form-group label {
    display: block;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-form-group input,
.quick-form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 162, 74, 0.3);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.quick-form-group input:focus,
.quick-form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.quick-form-group textarea {
    resize: vertical;
}

#quickConsultForm button {
    width: 100%;
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--aurora-navy);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(201, 162, 74, 0.4);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--card-bg-hover);
    border-color: var(--gold-light);
    color: var(--gold);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Section Styles */
.section {
    position: relative;
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: rgba(15, 32, 39, 0.3);
    backdrop-filter: blur(10px);
}

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

.about-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 162, 74, 0.2);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.about-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--aurora-navy);
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 162, 74, 0.15);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.service-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    color: var(--text-secondary);
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* Process Section */
.process {
    background: rgba(26, 11, 46, 0.4);
    backdrop-filter: blur(10px);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 162, 74, 0.2);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.process-step:hover {
    background: var(--card-bg-hover);
    border-color: var(--gold);
    transform: translateX(10px);
}

.process-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--aurora-navy);
}

.process-content h3 {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.process-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.process-content strong {
    color: var(--gold-light);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 162, 74, 0.15);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, var(--aurora-purple-light), var(--aurora-teal-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-overlay {
    text-align: center;
    color: var(--text-primary);
}

.portfolio-overlay i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.portfolio-overlay span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Contact Section */
.contact {
    background: rgba(15, 32, 39, 0.3);
    backdrop-filter: blur(10px);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 162, 74, 0.2);
    border-radius: var(--radius-md);
    padding: 2.5rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 162, 74, 0.3);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Select dropdown options styling */
.form-group select option {
    background: var(--aurora-navy);
    color: var(--text-primary);
    padding: 0.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-box {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 162, 74, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.contact-box h3 {
    font-size: 1.125rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.contact-box p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-box a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-box i {
    margin-right: 0.5rem;
    color: var(--gold);
}

/* Footer */
.footer {
    background: var(--overlay-dark);
    border-top: 1px solid rgba(201, 162, 74, 0.2);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 162, 74, 0.1);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 32, 39, 0.95);
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-teal));
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--gold);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
}

.modal-body h3 {
    color: var(--gold);
    margin: 1.5rem 0 1rem;
}

.modal-body ol,
.modal-body ul {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    line-height: 1.8;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal-body code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: var(--gold-light);
    font-family: 'Courier New', monospace;
}

.token-generator {
    background: var(--card-bg);
    border: 1px solid rgba(201, 162, 74, 0.3);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
}

.token-generator strong {
    color: var(--gold);
    font-size: 1.25rem;
    font-family: 'Courier New', monospace;
}

.modal-note {
    background: rgba(201, 162, 74, 0.1);
    border-left: 3px solid var(--gold);
    padding: 1rem;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .quick-consult-box {
        padding: 1.5rem;
    }
    
    .quick-consult-box h3 {
        font-size: 1rem;
    }
    
    .about-grid,
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .process-icon {
        margin: 0 auto;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero-cta,
    .scroll-indicator,
    .modal {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
