/* ===== DREAM EVENT CONFIGURATOR ===== */

/* Progress Bar */
.cfg-progress {
    position: relative;
    margin-bottom: 50px;
    padding: 0 20px;
}
.cfg-progress-bar {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #F2D06B);
    border-radius: 2px;
    transition: width .5s cubic-bezier(.4,0,.2,1);
    z-index: 1;
}
.cfg-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 4px;
    background: rgba(212,175,55,.12);
    border-radius: 2px;
}
.cfg-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}
.cfg-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.cfg-step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    background: #f0f0f0;
    color: #999;
    border: 3px solid #e0e0e0;
    transition: all .4s cubic-bezier(.4,0,.2,1);
}
.cfg-step.active .cfg-step-num,
.cfg-step.completed .cfg-step-num {
    background: linear-gradient(135deg, #D4AF37, #F2D06B);
    color: #1A1A2E;
    border-color: #D4AF37;
    box-shadow: 0 4px 15px rgba(212,175,55,.4);
}
.cfg-step.completed .cfg-step-num::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
}
.cfg-step.completed .cfg-step-num {
    font-size: 0;
}
.cfg-step-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    transition: color .3s;
}
.cfg-step.active .cfg-step-label,
.cfg-step.completed .cfg-step-label {
    color: #D4AF37;
}

/* Wizard */
.cfg-wizard {
    min-height: 400px;
}
.cfg-panel {
    display: none;
    animation: cfgFadeIn .5s ease;
}
.cfg-panel.active {
    display: block;
}
@keyframes cfgFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.cfg-title {
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: #1A1A2E;
    margin-bottom: 10px;
}
.cfg-subtitle {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Grids */
.cfg-grid {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}
.cfg-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cfg-grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ─── Event Type Cards ─── */
.cfg-card {
    position: relative;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.cfg-card:hover {
    border-color: rgba(212,175,55,.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(212,175,55,.12);
}
.cfg-card.selected {
    border-color: #D4AF37;
    background: linear-gradient(135deg, #FFFDF5, #FFF8E7);
    box-shadow: 0 8px 30px rgba(212,175,55,.2);
    transform: translateY(-4px);
}
.cfg-card.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #D4AF37, #F2D06B);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    animation: cfgCheckPop .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes cfgCheckPop {
    from { transform: scale(0); }
    to { transform: scale(1); }
}
.cfg-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212,175,55,.1), rgba(212,175,55,.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #D4AF37;
    transition: all .3s;
}
.cfg-card.selected .cfg-card-icon {
    background: linear-gradient(135deg, #D4AF37, #F2D06B);
    color: #fff;
    box-shadow: 0 6px 20px rgba(212,175,55,.3);
}
.cfg-card h4 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #1A1A2E;
}
.cfg-card p {
    margin: 0;
    font-size: 13px;
    color: #888;
}

/* ─── Theme Cards ─── */
.cfg-theme-card {
    padding: 0;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
}
.cfg-theme-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .5s;
}
.cfg-theme-card:hover .cfg-theme-img {
    transform: scale(1.08);
}
.cfg-theme-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 50%, rgba(0,0,0,.05) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    z-index: 1;
}
.cfg-theme-overlay h4 {
    color: #fff;
    margin: 0 0 4px;
    font-size: 18px;
}
.cfg-theme-overlay p {
    color: rgba(255,255,255,.7);
    margin: 0;
    font-size: 13px;
}
.cfg-theme-card.selected {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212,175,55,.3), 0 12px 30px rgba(212,175,55,.2);
}

/* ─── Budget Cards ─── */
.cfg-budget-card {
    padding: 35px 25px;
}
.cfg-budget-icon {
    font-size: 32px;
    color: #D4AF37;
    margin-bottom: 15px;
}
.cfg-budget-card h4 {
    font-size: 22px;
    font-family: 'Playfair Display', Georgia, serif;
}
.cfg-budget-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: #e8e8e8;
    color: #666;
}
.cfg-budget-tag.gold { background: linear-gradient(135deg, #D4AF37, #F2D06B); color: #1A1A2E; }
.cfg-budget-tag.platinum { background: linear-gradient(135deg, #8E8E8E, #C0C0C0); color: #1A1A2E; }
.cfg-budget-tag.diamond { background: linear-gradient(135deg, #1A1A2E, #16213E); color: #D4AF37; }

/* ─── Service Cards ─── */
.cfg-service-card {
    padding: 25px 15px;
    position: relative;
}
.cfg-svc-icon {
    font-size: 28px;
    color: #D4AF37;
    margin-bottom: 10px;
}
.cfg-svc-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: transparent;
    transition: all .25s;
}
.cfg-service-card.selected .cfg-svc-check {
    background: linear-gradient(135deg, #D4AF37, #F2D06B);
    border-color: #D4AF37;
    color: #fff;
}

/* Navigation */
.cfg-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 0 20px;
}
.cfg-btn-prev {
    border-color: #D4AF37 !important;
    color: #D4AF37 !important;
}
.cfg-btn-next:disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* ===== RESULT PANEL ===== */
.cfg-result-header {
    text-align: center;
    margin-bottom: 40px;
}
.cfg-result-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #D4AF37, #F2D06B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 8px 30px rgba(212,175,55,.3);
    animation: cfgResultPop .6s cubic-bezier(.34,1.56,.64,1);
}
@keyframes cfgResultPop {
    from { transform: scale(0) rotate(-180deg); opacity: 0; }
    to { transform: scale(1) rotate(0); opacity: 1; }
}
.cfg-result-header h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    color: #1A1A2E;
    margin: 0 0 8px;
}
.cfg-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}
.cfg-result-card {
    background: #fff;
    border: 1px solid rgba(212,175,55,.2);
    border-radius: 16px;
    padding: 30px;
}
.cfg-result-card h4 {
    font-size: 18px;
    margin: 0 0 20px;
    color: #1A1A2E;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cfg-result-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
}
.cfg-result-row span {
    color: #888;
    font-size: 14px;
}
.cfg-result-row strong {
    color: #1A1A2E;
    font-size: 14px;
    text-align: right;
    max-width: 55%;
}
.cfg-estimate-price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    color: #D4AF37;
    font-weight: 700;
    text-align: center;
    margin: 20px 0 8px;
    animation: cfgPricePulse 2s ease-in-out infinite;
}
@keyframes cfgPricePulse {
    0%, 100% { text-shadow: 0 0 10px rgba(212,175,55,.2); }
    50% { text-shadow: 0 0 25px rgba(212,175,55,.4); }
}
.cfg-estimate-note {
    text-align: center;
    color: #999;
    font-size: 12px;
    margin: 0 0 25px;
}
.cfg-estimate-includes h5 {
    font-size: 14px;
    color: #1A1A2E;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cfg-estimate-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cfg-estimate-includes li {
    padding: 6px 0;
    color: #555;
    font-size: 13px;
}
.cfg-estimate-includes li::before {
    content: '✦ ';
    color: #D4AF37;
}

/* Mood Board */
.cfg-mood-board {
    margin-bottom: 40px;
}
.cfg-mood-board h4 {
    font-size: 20px;
    color: #1A1A2E;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
}
.cfg-mood-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    border-radius: 16px;
    overflow: hidden;
}
.cfg-mood-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform .3s;
}
.cfg-mood-grid img:hover {
    transform: scale(1.05);
}

/* CTA */
.cfg-result-cta {
    text-align: center;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(212,175,55,.15);
}
.cfg-result-cta p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    color: #1A1A2E;
    margin: 0 0 20px;
}
.cfg-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .cfg-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .cfg-grid-2 { grid-template-columns: 1fr; }
    .cfg-result-grid { grid-template-columns: 1fr; }
    .cfg-mood-grid { grid-template-columns: repeat(2, 1fr); }
    .cfg-theme-card { height: 180px; }
    .cfg-steps { gap: 0; }
    .cfg-step-label { font-size: 10px; display: none; }
    .cfg-step.active .cfg-step-label { display: block; }
    .cfg-estimate-price { font-size: 32px; }
}
@media (max-width: 480px) {
    .cfg-grid-3 { grid-template-columns: 1fr; }
    .cfg-mood-grid { grid-template-columns: 1fr 1fr; }
}
