/* ===================================
   웨딩센스 - 이용안내 페이지 스타일
   style-guide.css
   =================================== */

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    padding: 8rem 0 5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #fff5f7 0%, #fff0f3 50%, #ffe5ec 100%);
}

.hero-3d-wrapper {
    position: relative;
}

.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.heart {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--rose-gold);
    transform: rotate(-45deg);
    animation: float 15s infinite ease-in-out;
    opacity: 0.1;
}

.heart::before,
.heart::after {
    content: '';
    width: 30px;
    height: 30px;
    position: absolute;
    background: var(--rose-gold);
    border-radius: 50%;
}

.heart::before {
    top: -15px;
    left: 0;
}

.heart::after {
    left: 15px;
    top: 0;
}

.heart-1 { top: 10%; left: 10%; animation-delay: 0s; }
.heart-2 { top: 30%; left: 80%; animation-delay: 2s; width: 20px; height: 20px; }
.heart-3 { top: 60%; left: 20%; animation-delay: 4s; width: 40px; height: 40px; }
.heart-4 { top: 80%; left: 70%; animation-delay: 6s; }
.heart-5 { top: 40%; left: 50%; animation-delay: 8s; width: 25px; height: 25px; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-45deg); }
    50% { transform: translateY(-30px) rotate(-45deg); }
}

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

.hero-text-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-breadcrumb .breadcrumb {
    background: transparent;
    justify-content: center;
    padding: 0;
    margin-bottom: 1.5rem;
}

.hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: var(--rose-gold);
}

.hero-breadcrumb .breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.hero-breadcrumb .breadcrumb-item a:hover {
    color: var(--rose-gold);
}

.hero-breadcrumb .breadcrumb-item.active {
    color: var(--rose-gold);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-title .gradient-text {
    background: var(--romantic-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .highlight {
    position: relative;
    color: var(--rose-gold);
}

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

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

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.hero-buttons .btn-primary {
    background: var(--romantic-gradient);
    border: none;
    color: white;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(232, 180, 184, 0.5);
}

.hero-buttons .btn-outline-primary {
    color: var(--rose-gold);
    border: 2px solid var(--rose-gold);
}

.hero-buttons .btn-outline-primary:hover {
    background: var(--rose-gold);
    color: white;
    transform: translateY(-3px);
}

.hero-decoration {
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    z-index: 0;
}

.decoration-ring {
    width: 300px;
    height: 300px;
    border: 30px solid rgba(232, 180, 184, 0.1);
    border-radius: 50%;
    position: relative;
}

.decoration-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background-image: radial-gradient(circle, var(--rose-gold) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.1;
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-decoration {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ===================================
   Guide Steps Section
   =================================== */
.guide-steps-section {
    padding: 5rem 0;
    background: var(--white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.step-item {
    position: relative;
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-large);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary-light);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.step-content {
    margin-top: 1.5rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.step-desc {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
}

.step-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

/* Connect Steps with Lines - Updated for 4 columns */
@media (min-width: 992px) {
    .step-item:not(:nth-child(4n))::after {
        content: '';
        position: absolute;
        top: 20px;
        right: -1rem;
        width: 2rem;
        height: 2px;
        background: linear-gradient(90deg, var(--color-primary), transparent);
    }
}

/* ===================================
   Benefits Section
   =================================== */
.benefits-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.benefits-tabs {
    margin-top: 3rem;
}

.benefits-tabs .nav-tabs {
    border: none;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.benefits-tabs .nav-link {
    background: var(--white);
    color: var(--color-text);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition-base);
}

.benefits-tabs .nav-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.benefits-tabs .nav-link.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

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

.benefit-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-large);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: block;
}

.benefit-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--color-text-light);
    margin: 0;
}

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
    padding: 5rem 0;
    background: var(--white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion .accordion-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-medium);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background: var(--white);
    color: var(--color-text);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05) 0%, rgba(232, 180, 184, 0.05) 100%);
    color: var(--color-primary);
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff6b9d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.faq-accordion .accordion-body {
    padding: 1.5rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-wrapper {
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-large);
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
    margin-bottom: 1.5rem;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.contact-number,
.contact-id,
.contact-email {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.contact-time {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 1200px) {
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .step-item:nth-child(4n)::after {
        display: none;
    }
    
    .step-item:nth-child(3n)::after {
        display: none;
    }
}

@media (max-width: 992px) {
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step-item::after {
        display: none;
    }
    
    .step-item:not(:nth-child(2n))::after {
        content: '';
        position: absolute;
        top: 20px;
        right: -1rem;
        width: 2rem;
        height: 2px;
        background: linear-gradient(90deg, var(--color-primary), transparent);
    }
}

/* Tablet breakpoint - 3 cards in a row */
@media (min-width: 768px) and (max-width: 991px) {
    .contact-wrapper .row {
        display: flex;
        justify-content: space-between;
    }
    
    .contact-wrapper .col-md-6,
    .contact-wrapper .col-md-12 {
        flex: 0 0 auto;
        width: 32%;
    }
    
    .contact-info-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-info-card h3 {
        font-size: 1.25rem;
    }
    
    .contact-number,
    .contact-id,
    .contact-email {
        font-size: 1.1rem;
    }
}

/* Mobile breakpoint */
@media (max-width: 767px) {
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .step-item::after {
        display: none;
    }
    
    .benefit-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-tabs .nav-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .benefits-tabs .nav-link {
        width: 100%;
        text-align: center;
    }
    
    .contact-info-card {
        margin-bottom: 1.5rem;
    }
}

/* ===================================
   Animation Delays
   =================================== */
.step-item:nth-child(1) {
    animation-delay: 0.1s;
}

.step-item:nth-child(2) {
    animation-delay: 0.2s;
}

.step-item:nth-child(3) {
    animation-delay: 0.3s;
}

.step-item:nth-child(4) {
    animation-delay: 0.4s;
}

.benefit-item {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.benefit-item:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-item:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-item:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-item:nth-child(4) {
    animation-delay: 0.4s;
}