/**
 * Wedding Service Page Styles
 * Aesthetic: Editorial Luxury Magazine
 */

/* ========================================
   Typography Imports
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --service-font-display: 'Cormorant Garamond', 'Noto Serif KR', Georgia, serif;
    --service-font-body: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Rose Gold Palette */
    --rose-gold: #c9a87c;
    --rose-gold-dark: #b8956a;
    --rose-gold-light: #f5ebe0;
    --rose-gold-muted: #d4c4b0;

    /* Neutral Palette */
    --cream: #faf8f5;
    --cream-dark: #f5f0e8;
    --charcoal: #2d2d2d;
    --charcoal-light: #4a4a4a;
    --warm-gray: #8a8279;
    --warm-gray-light: #b5ada3;

    /* Accent */
    --blush: #e8d4d4;
    --champagne: #f7e7ce;
}

/* ========================================
   Page Hero - Editorial Style
   ======================================== */
.service-hero {
    position: relative;
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
    text-align: center;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(201, 168, 124, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 168, 124, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.service-hero-content {
    position: relative;
    z-index: 1;
}

.service-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    border: 1px solid var(--rose-gold-muted);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    color: var(--rose-gold);
    font-size: 1.75rem;
    animation: heroIconFloat 3s ease-in-out infinite;
}

@keyframes heroIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.service-hero-subtitle {
    display: block;
    font-family: var(--service-font-display);
    font-size: 0.9rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.15em;
    color: var(--rose-gold);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.service-hero-title {
    font-family: var(--service-font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--charcoal);
    margin: 0 0 16px;
    letter-spacing: 0.02em;
}

.service-hero-desc {
    font-family: var(--service-font-body);
    font-size: 1rem;
    color: var(--warm-gray);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Decorative Divider */
.service-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.service-hero-divider::before,
.service-hero-divider::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rose-gold-muted), transparent);
}

.service-hero-divider span {
    color: var(--rose-gold);
    font-size: 0.75rem;
}

/* ========================================
   Service Tabs - Elegant Navigation
   ======================================== */
.service-tabs-wrapper {
    background: #fff;
    border-bottom: 1px solid rgba(201, 168, 124, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.service-tabs-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
}

.service-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 32px;
    background: transparent;
    border: none;
    color: var(--warm-gray);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.service-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--rose-gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.service-tab:hover {
    color: var(--charcoal);
}

.service-tab:hover::after {
    width: 40px;
}

.service-tab.active {
    color: var(--rose-gold-dark);
}

.service-tab.active::after {
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--rose-gold), transparent);
}

.service-tab-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.service-tab:hover .service-tab-icon {
    transform: scale(1.1);
}

.service-tab-label {
    font-family: var(--service-font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* ========================================
   Service Content Section
   ======================================== */
.service-content {
    padding: 60px 0 80px;
    background: var(--cream);
    min-height: 60vh;
}

.service-content-header {
    text-align: center;
    margin-bottom: 48px;
}

.service-content-title {
    font-family: var(--service-font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal);
    margin: 0 0 8px;
}

.service-content-count {
    font-family: var(--service-font-body);
    font-size: 0.875rem;
    color: var(--warm-gray);
}

/* ========================================
   Service Cards - Magazine Style
   ======================================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    position: relative;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rose-gold-light), var(--rose-gold), var(--rose-gold-light));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(201, 168, 124, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

/* Card Thumbnail */
.service-card-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--cream-dark);
}

.service-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card-thumbnail-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--cream-dark) 0%, var(--rose-gold-light) 100%);
    color: var(--rose-gold);
}

.service-card-thumbnail-placeholder i {
    font-size: 3rem;
    opacity: 0.6;
    margin-bottom: 8px;
}

.service-card-thumbnail-placeholder span {
    font-family: var(--service-font-display);
    font-size: 0.875rem;
    font-style: italic;
    opacity: 0.7;
}

/* Card Body */
.service-card-body {
    padding: 28px;
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.service-card-name {
    font-family: var(--service-font-display);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--charcoal);
    margin: 0;
    line-height: 1.3;
}

.service-card-price {
    flex-shrink: 0;
    padding: 6px 14px;
    background: var(--rose-gold-light);
    border-radius: 20px;
    font-family: var(--service-font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--rose-gold-dark);
    white-space: nowrap;
}

.service-card-desc {
    font-family: var(--service-font-body);
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Features List */
.service-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-card-features li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--cream);
    border-radius: 4px;
    font-family: var(--service-font-body);
    font-size: 0.8rem;
    color: var(--charcoal-light);
}

.service-card-features li i {
    color: var(--rose-gold);
    font-size: 0.7rem;
}

/* Card Footer */
.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--cream-dark);
}

.service-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--rose-gold);
    border-radius: 4px;
    font-family: var(--service-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--rose-gold-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card-btn:hover {
    background: var(--rose-gold);
    color: #fff;
}

.service-card-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.service-card-btn:hover i {
    transform: translateX(3px);
}

.service-card-meta {
    font-family: var(--service-font-body);
    font-size: 0.75rem;
    color: var(--warm-gray-light);
}

/* ========================================
   Empty State
   ======================================== */
.service-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: 4px;
}

.service-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
    background: var(--cream);
    border-radius: 50%;
    color: var(--warm-gray-light);
    font-size: 2.5rem;
}

.service-empty-title {
    font-family: var(--service-font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal);
    margin: 0 0 12px;
}

.service-empty-desc {
    font-family: var(--service-font-body);
    font-size: 0.95rem;
    color: var(--warm-gray);
    max-width: 320px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.service-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--rose-gold);
    border: none;
    border-radius: 4px;
    font-family: var(--service-font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-empty-btn:hover {
    background: var(--rose-gold-dark);
    transform: translateY(-2px);
}

/* ========================================
   CTA Section
   ======================================== */
.service-cta {
    position: relative;
    margin-top: 60px;
    padding: 56px 48px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--rose-gold), var(--champagne));
}

.service-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.service-cta-content {
    flex: 1;
}

.service-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    margin-bottom: 16px;
    background: var(--blush);
    border-radius: 20px;
    font-family: var(--service-font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rose-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-cta-title {
    font-family: var(--service-font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--charcoal);
    margin: 0 0 12px;
    line-height: 1.3;
}

.service-cta-desc {
    font-family: var(--service-font-body);
    font-size: 0.95rem;
    color: var(--warm-gray);
    margin: 0;
    line-height: 1.6;
}

.service-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--rose-gold) 0%, var(--rose-gold-dark) 100%);
    border: none;
    border-radius: 4px;
    font-family: var(--service-font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(201, 168, 124, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.service-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201, 168, 124, 0.4);
}

.service-cta-btn i {
    font-size: 1.1rem;
}

/* ========================================
   Animations
   ======================================== */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    animation: serviceCardReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes serviceCardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 991px) {
    .service-grid {
        gap: 24px;
    }

    .service-card-thumbnail {
        height: 180px;
    }

    .service-cta {
        padding: 40px 32px;
    }

    .service-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .service-hero {
        padding: 60px 0 48px;
    }

    .service-hero-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-tabs-container {
        padding: 0 12px;
    }

    .service-tab {
        padding: 16px 20px;
    }

    .service-tab-icon {
        font-size: 1.25rem;
    }

    .service-tab-label {
        font-size: 0.75rem;
    }

    .service-content {
        padding: 40px 0 60px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card-thumbnail {
        height: 200px;
    }

    .service-card-body {
        padding: 24px;
    }

    .service-card-name {
        font-size: 1.25rem;
    }

    .service-card-features {
        gap: 6px;
    }

    .service-card-features li {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    .service-card-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .service-card-btn {
        justify-content: center;
    }

    .service-card-meta {
        text-align: center;
    }

    .service-cta {
        margin-top: 40px;
        padding: 32px 24px;
    }

    .service-cta-title {
        font-size: 1.375rem;
    }

    .service-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-tabs {
        gap: 0;
    }

    .service-tab {
        padding: 14px 12px;
        flex: 1;
    }

    .service-tab-label {
        font-size: 0.7rem;
    }

    .service-card-header {
        flex-direction: column;
        gap: 12px;
    }

    .service-card-price {
        align-self: flex-start;
    }
}
