/* Base Variables */
:root {
    --primary-color: #2c2c2c;
    --secondary-color: #dba979; /* Warm gold/beige */
    --accent-color: #f7f3ee;
    --text-main: #333333;
    --text-light: #777777;
    --bg-main: #ffffff;
    --bg-light: #faf9f7;
    --border-color: #eaeaea;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Noto Sans KR', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-main);
    overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
}

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

ul {
    list-style: none;
}

.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-8 { margin-top: 2rem; }
.text-white { color: #fff; }
.opacity-80 { opacity: 0.8; }
.text-3xl { font-size: 2.5rem; }
.relative { position: relative; }
.z-10 { z-index: 10; }

.subheading {
    display: block;
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.125rem;
}

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

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 2px;
    font-weight: 500;
    border: 1px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline-light {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 2px;
    font-weight: 300;
    letter-spacing: 0.1em;
    background: transparent;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('2026 원규 뉴샘플_webp/023.webp');
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: zoomOut 20s ease infinite alternate;
}

@keyframes zoomOut {
    0% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: -1;
}

.hero-content {
    color: #fff;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* Timeline (Flow) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    height: 100%;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 3rem;
}

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

.timeline-icon {
    position: absolute;
    left: 1rem;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(219, 169, 121, 0.2);
    z-index: 2;
}

.timeline-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.timeline-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

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

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.price-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

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

.price-card.recommended {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(219, 169, 121, 0.15);
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.price-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.price-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-color);
    line-height: 1;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    margin-left: 0.25rem;
}

.vat-info {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.5rem;
}

.price-body {
    padding: 2rem;
}

.features li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.features li i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.small-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

.divider {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin: 1.5rem 0;
}

.details li {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
}

.details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.details li strong {
    color: var(--text-main);
    font-weight: 500;
}

/* Banner Section */
.banner-section {
    position: relative;
    padding: 8rem 0;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    color: #fff;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.footer-info {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.info-item span {
    font-size: 0.9rem;
    line-height: 1.4;
}

.info-item strong {
    color: #fff;
    font-size: 1.1rem;
    display: block;
    margin-top: 0.25rem;
    font-weight: 400;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* Animation Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Gallery Section */
.gallery-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0 2rem;
}

.gallery-slider {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.gallery-slider::-webkit-scrollbar {
    display: none;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    padding: 0 1.5rem;
}

.slider-track img {
    height: 400px;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.slider-track img:hover {
    transform: scale(1.02);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: all 0.3s;
}

.slider-btn:hover {
    background: #fff;
    color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 1.5rem; }
.next-btn { right: 1.5rem; }

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 9999;
}

.float-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: #fff;
}

.float-phone {
    background-color: var(--secondary-color);
}

.float-kakao {
    background-color: #FEE500;
    color: #3C1E1E;
}

.float-kakao:hover {
    color: #3C1E1E;
}

/* Utilities */
.mo-br {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .floating-contact {
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 0.75rem;
    }
    .slider-track img { height: 280px; }
    .prev-btn { left: 0.5rem; }
    .next-btn { right: 0.5rem; }
    .float-btn {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
    .hero-bg {
        background-image: url('2026 원규 뉴샘플_webp/054.webp');
    }
    .mo-br {
        display: block;
    }
    .nav-links { display: none; } /* Simplified for demo, normally add hamburger menu */
    .hero-title { font-size: 2.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 1rem; }
    .timeline-icon { left: -0.25rem; }
    .timeline-item { padding-left: 3rem; }
    .footer-content { flex-direction: column; }
    .footer-info { flex-direction: column; gap: 1.5rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .banner-section { background-attachment: scroll; }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--secondary-color);
}
