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

:root {
    --ivory-white: #F9F9F6;
    --warm-beige: #E8E1DA;
    --gold: #C7A875;
    --deep-black: #0E0E0E;
    --soft-gray: #BFBFBF;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--deep-black);
    background-color: var(--ivory-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin: 20px auto 0;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.animate-fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(249, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navigation.scrolled {
    background: rgba(249, 249, 246, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--deep-black);
    text-decoration: none;
    transition: var(--transition);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    color: var(--deep-black);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

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

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

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

.nav-cta {
    padding: 10px 25px !important;
    background: var(--gold);
    color: white !important;
    border-radius: 25px;
}

.nav-cta:hover {
    background: var(--deep-black) !important;
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--deep-black);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

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

.btn-gold:hover {
    background-color: var(--deep-black);
    border-color: var(--deep-black);
    transform: translateY(-2px);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 18px 35px;
    background: linear-gradient(135deg, var(--gold), #B39968);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(199, 168, 117, 0.3);
    transition: var(--transition);
    z-index: 999;
}

.floating-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(199, 168, 117, 0.4);
    background: linear-gradient(135deg, var(--deep-black), #2a2a2a);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
}

/* Image optimization */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

.service-image,
.portfolio-image,
.hero-image,
.studio-image {
    background-size: cover;
    background-repeat: no-repeat;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-slider {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.hero-slider .swiper-slide {
    height: 100vh;
}

.hero-image {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 90%;
    max-width: 800px;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.hero-description {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.9;
}

/* About Section */
.about-section {
    background-color: var(--ivory-white);
}

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

.studio-image-wrapper {
    max-width: 900px;
    margin: 0 auto 50px;
}

.studio-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.about-text {
    max-width: 700px;
    margin: 0 auto 80px;
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-top: 80px;
}

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

.feature-icon {
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--deep-black);
}

.feature-item p {
    color: var(--soft-gray);
}

/* Services Section */
.services-section {
    background-color: var(--warm-beige);
}

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

.service-card {
    background: white;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.service-card:nth-child(4) .service-image {
    height: 400px !important;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.service-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 4px 0;
    color: var(--soft-gray);
    font-size: 13px;
}

.service-features li::before {
    content: '•';
    color: var(--gold);
    margin-right: 10px;
}

/* Portfolio Section */
.portfolio-filter {
    text-align: center;
    margin-bottom: 50px;
}

.filter-btn {
    background: none;
    border: 2px solid transparent;
    padding: 10px 30px;
    margin: 0 10px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    grid-auto-flow: dense;
}

.portfolio-item {
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.portfolio-item:nth-child(odd) {
    grid-row: span 2;
}

.portfolio-item[data-category="profile"] {
    grid-row: span 2;
}

.portfolio-item[data-category="profile"]:nth-child(even) {
    grid-row: span 2;
}

.portfolio-item[data-category="profile"] .portfolio-image {
    background-position: center top !important;
}

.portfolio-image {
    width: 100%;
    transition: var(--transition);
    position: relative;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-image::before {
    opacity: 1;
}

/* Pricing Section */
.pricing-section {
    background-color: var(--ivory-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.pricing-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.pricing-card.featured {
    border-color: var(--gold);
    transform: scale(1.02);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 500;
}

.pricing-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

.price {
    font-size: 30px;
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: 700;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Reservation Form */
.reservation-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 8px;
}

.reservation-form h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    background: var(--ivory-white);
    font-size: 16px;
    transition: var(--transition);
}

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

.btn-submit {
    width: 100%;
    background: var(--deep-black);
    color: white;
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--deep-black), var(--gold));
}

/* Testimonial Section */
.testimonial-section {
    background-color: var(--warm-beige);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 50px;
    text-align: center;
    border-radius: 8px;
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 30px;
    color: #666;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-initial {
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--soft-gray);
    font-size: 14px;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
}

.contact-info {
    padding: 20px 0;
}

.info-item {
    margin-bottom: 40px;
}

.info-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.info-item p {
    color: #666;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    width: 48px;
    height: 48px;
    border: 2px solid var(--deep-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.social-link:hover svg {
    fill: white;
}

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

/* Footer */
.footer {
    background-color: var(--deep-black);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-copy {
    color: var(--soft-gray);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.footer-links a {
    color: var(--soft-gray);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Swiper Custom Styles */
.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .pricing-grid {
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Navigation Mobile */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--ivory-white);
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .about-features {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .reservation-form {
        padding: 40px 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 15px 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .services-grid {
        gap: 15px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-content h3 {
        font-size: 20px;
    }
    
    .service-content p {
        font-size: 13px;
    }
    
    .service-features li {
        font-size: 12px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .pricing-card h3 {
        font-size: 22px;
    }
    
    .price {
        font-size: 26px;
    }
    
    .pricing-features li {
        font-size: 13px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
}