/* ================================================
   COMPONENTS.CSS — Buttons, Cards, Forms, UI Elements
   ================================================ */

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--radius-full);
    transition: all var(--duration-md) var(--ease-out);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: currentColor;
    opacity: 0;
    transition: opacity var(--duration-fast) ease;
    border-radius: inherit;
}

.btn:hover::after { opacity: 0.06; }
.btn:active { transform: scale(0.97); }

/* Primary — filled accent */
.btn-primary {
    background: var(--accent);
    color: var(--text-inverse);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(184, 155, 113, 0.3);
}

/* Secondary — outline */
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-dark);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Dark */
.btn-dark {
    background: var(--bg-dark);
    color: var(--text-inverse);
}
.btn-dark:hover {
    background: var(--bg-dark-soft);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* Ghost */
.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    padding: 10px 20px;
}
.btn-ghost:hover { color: var(--accent); }

/* Small */
.btn-sm {
    padding: 10px 24px;
    font-size: 0.8125rem;
}

/* Icon only */
.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    font-size: 1.1rem;
}

/* Arrow link */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--duration-md) var(--ease-out);
    letter-spacing: 0.02em;
}

.link-arrow .arrow {
    display: inline-block;
    transition: transform var(--duration-md) var(--ease-out);
}

.link-arrow:hover {
    color: var(--accent);
}
.link-arrow:hover .arrow {
    transform: translateX(4px);
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 32px;
    transition: all var(--duration-md) var(--ease-out);
}

.card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.card-flat {
    background: var(--bg-warm);
    border: none;
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--duration-md) var(--ease-out);
}

.card-flat:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

/* Glass Card — only for pricing / modal / FAB */
.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

/* Service card */
.service-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--duration-md) var(--ease-out);
    cursor: pointer;
    text-align: left;
}

.service-card:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-card);
    transform: translateY(-6px);
}

.service-card .card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    transition: all var(--duration-md) var(--ease-out);
}

.service-card:hover .card-icon {
    background: var(--accent);
    color: var(--text-inverse);
}

.service-card h3 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.service-card .card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-card .card-price {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.service-card .card-price strong {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
}

/* ===== PRICE TABLE — Solid Cards on Warm BG ===== */
.price-tab {
    display: none;
}

.price-tab.active {
    display: block;
}

.price-card {
    padding: 36px;
    border-radius: var(--radius-xl);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    transition: all var(--duration-md) var(--ease-out);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.price-card.popular {
    border-color: var(--accent);
    box-shadow: 0 0 0 1.5px var(--accent), var(--shadow-md);
}

.price-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.price-card .badge {
    display: inline-block;
    background: var(--accent);
    color: var(--text-inverse);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.price-card h3 {
    margin-bottom: 4px;
    font-size: 1.25rem;
}

.price-card .price-value {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 16px 0;
    letter-spacing: -0.03em;
    line-height: 1;
}

.price-card .price-value small {
    font-size: 0.875rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9375rem;
}

.price-row:last-of-type { border-bottom: none; }

.price-row .zone { color: var(--text-secondary); }

.price-row .price {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Gender switch tabs */
.tab-switch {
    display: inline-flex;
    background: var(--bg-white);
    border-radius: var(--radius-full);
    padding: 4px;
    gap: 2px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
}

.tab-switch button {
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--duration-md) var(--ease-out);
    letter-spacing: 0.02em;
}

.tab-switch button.active {
    background: var(--accent);
    color: var(--text-inverse);
    box-shadow: 0 2px 8px rgba(184, 155, 113, 0.3);
}

.tab-switch button:hover:not(.active) {
    color: var(--text-primary);
    background: var(--bg-warm);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    font-size: 0.9375rem;
    color: var(--text-primary);
    transition: all var(--duration-fast) ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-bg);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input.error {
    border-color: #E25555;
    box-shadow: 0 0 0 3px rgba(226, 85, 85, 0.08);
}

.form-error {
    font-size: 0.75rem;
    color: #E25555;
    margin-top: 6px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6B6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 24px 0;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
    cursor: pointer;
    transition: color var(--duration-fast) ease;
    gap: 16px;
}

.faq-question:hover { color: var(--accent); }

.faq-question .faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    font-size: 1rem;
    transition: all var(--duration-md) var(--ease-out);
}

.faq-item.active .faq-icon {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-inverse);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-md) var(--ease-out),
                padding var(--duration-md) var(--ease-out);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== PROCESS GRID ===== */
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.process-header {
    position: relative;
}

/* ===== STEPPER ===== */
.stepper {
    display: grid;
    gap: 0;
}

.step-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 24px;
    align-items: start;
    position: relative;
}

.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-bg);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all var(--duration-md) var(--ease-out);
}

.step-item:hover .step-number {
    background: var(--accent);
    color: var(--text-inverse);
}

.step-line {
    width: 2px;
    flex-grow: 1;
    background: var(--border);
    margin-top: 8px;
    min-height: 40px;
}

.step-item:last-child .step-line { display: none; }

.step-content {
    padding-bottom: 40px;
}

.step-content h4 { margin-bottom: 8px; }

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ===== REVIEW CARD — Premium Awwwards Style ===== */
.reviews-section {
    position: relative;
}

.reviews-section .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.reviews-rating-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.reviews-rating-badge .rating-score {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
}

.reviews-rating-badge .rating-stars {
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.reviews-rating-badge .rating-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.review-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-md) var(--ease-out);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    opacity: 0;
    transition: opacity var(--duration-md) ease;
}

.review-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

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

.review-quote-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.review-quote-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.review-stars .star {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.review-stars .star.empty {
    color: var(--border);
}

.review-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1875rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-inverse);
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.review-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Swiper arrows */
.reviews-nav {
    display: flex;
    gap: 8px;
    margin-top: 40px;
    justify-content: center;
    align-items: center;
}

.reviews-nav .swiper-button-custom {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-md) var(--ease-out);
    color: var(--text-primary);
}

.reviews-nav .swiper-button-custom:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-inverse);
    transform: scale(1.05);
}

.reviews-nav .swiper-pagination-custom {
    display: flex;
    gap: 6px;
    margin: 0 16px;
}

.reviews-swiper .swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 32px;
}

.reviews-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--border-dark);
    opacity: 1;
    transition: all var(--duration-fast) ease;
}

.reviews-swiper .swiper-pagination-bullet-active {
    background: var(--accent);
    width: 24px;
    border-radius: var(--radius-full);
}

/* ===== WHY-US FEATURE ===== */
.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
}

.feature-text h4 { margin-bottom: 6px; }

.feature-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== MODAL — Premium Booking Experience ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--gutter);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease-out);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 0;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.04);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s var(--ease-out);
    position: relative;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

/* Top accent bar */
.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 36px 36px 0;
    margin-bottom: 8px;
}

.modal-header h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.625rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.modal-header .modal-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all var(--duration-md) var(--ease-out);
    background: transparent;
    flex-shrink: 0;
    margin: -4px -4px 0 0;
}

.modal-close:hover {
    background: var(--bg-warm);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal form,
.modal #bookingSuccess {
    padding: 24px 36px 36px;
}

/* Better form inputs in modal */
.modal .form-group {
    margin-bottom: 18px;
}

.modal .form-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.modal .form-input {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-size: 0.9375rem;
    background: var(--bg-primary);
    transition: all var(--duration-fast) ease;
}

.modal .form-input:focus {
    background: var(--bg-white);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-bg);
}

.modal .btn-primary {
    height: 52px;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    letter-spacing: 0.06em;
}

/* Success state */
.modal #bookingSuccess {
    text-align: center;
}

.modal .success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--text-inverse);
    font-size: 2rem;
}

/* ===== FAB ===== */
.fab-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 900;
}

.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    transition: all var(--duration-md) var(--ease-out);
    color: var(--text-primary);
}

.fab-btn:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-lg);
}

.fab-btn.fab-primary {
    background: var(--accent);
    color: var(--text-inverse);
    border: none;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.fab-btn.fab-primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 8px 32px rgba(184, 155, 113, 0.35);
}

.fab-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-dark);
    color: var(--text-inverse);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-fast) ease;
}

.fab-btn:hover .fab-tooltip { opacity: 1; }

/* ===== BACK TO TOP ===== */
.back-to-top {
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: all var(--duration-md) var(--ease-out);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* ===== MAP BUTTONS ===== */
.map-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.map-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--bg-warm);
    color: var(--text-primary);
    transition: all var(--duration-fast) ease;
}

.map-buttons a:hover {
    background: var(--accent-bg);
    color: var(--accent);
}

/* ===== BADGE / TAG ===== */
.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--accent-bg);
    color: var(--accent);
}

/* ===== DIVIDER ===== */
.divider {
    height: 1px;
    background: var(--border);
    margin: var(--section-gap) 0;
}

/* ===== GRID HELPERS ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-4 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
}

