:root {
    --primary-color: #1a1a1a;
    --secondary-color: #f8f8f8;
    --accent-color: #c5a47e;
    --text-color: #333;
    --light-text-color: #f0f0f0;
    --font-primary: 'Cormorant Garamond', serif;
    --font-secondary: 'Nanum Myeongjo', serif;
}

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

body {
    font-family: var(--font-secondary);
    background-color: var(--secondary-color);
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

#header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 1rem 4rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.logo a {
    color: var(--light-text-color);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 2px;
}

#header.scrolled .logo a {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 3rem;
}

nav a {
    color: var(--light-text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

#header.scrolled nav a {
    color: var(--text-color);
}

nav a:hover, #header.scrolled nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text-color);
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 4px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Content Sections */
.content-section {
    padding: 10rem 0;
    background-color: #fff;
}

.content-section:nth-child(odd) {
    background-color: var(--secondary-color);
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: var(--accent-color);
}

.section-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 2;
    text-align: center;
    color: #555;
}

/* Signature Program (Treatments) */
.treatment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.treatment-card {
    background: #fff;
    padding: 4rem 2rem;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.card-number {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
    letter-spacing: 2px;
}

.treatment-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.treatment-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #777;
}

/* Contact Section Layout */
.contact-wrapper {
    display: flex;
    gap: 5rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-form-container {
    flex: 1.2;
}

.info-item {
    margin-bottom: 3rem;
}

.info-item h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
}

.info-item p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Form Styling */
#reservation-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-row {
    display: flex;
    gap: 2rem;
}

.form-group-row .form-group {
    flex: 1;
}

#reservation-form input,
#reservation-form select,
#reservation-form textarea {
    width: 100%;
    padding: 1rem 0.5rem;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

#reservation-form input:focus,
#reservation-form select:focus,
#reservation-form textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

#reservation-form label {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.submit-btn {
    margin-top: 1rem;
    padding: 1.5rem;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: none;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--accent-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-wrapper {
        flex-direction: column;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .treatment-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3.5rem;
    }
}

/* Footer */
#footer {
    background-color: #111;
    color: #888;
    padding: 4rem 0;
    text-align: center;
}

#footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    margin-top: 1.5rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.8rem;
}

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