/* ===== SPA PAGES — Redesigned Styles ===== */

/* ===== BREADCRUMB (on dark banner) ===== */
.breadcrumb-dark {
    --bs-breadcrumb-divider-color: rgba(255,255,255,0.3);
}
.breadcrumb-dark .breadcrumb-item a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
}
.breadcrumb-dark .breadcrumb-item a:hover {
    color: var(--white);
}
.breadcrumb-dark .breadcrumb-item.active {
    color: var(--white);
}

/* ===== PAGE BANNER ===== */
.page-banner {
    background: var(--gradient-primary);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(251,191,36,0.06);
    border-radius: 50%;
}
.page-banner-content {
    position: relative;
    z-index: 1;
}
.page-banner-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.2;
}
.page-banner-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin: 0;
}
@media (max-width: 768px) {
    .page-banner { padding: 100px 0 40px; }
}

/* ===== STATIC PAGES ===== */
.static-content-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(20,184,166,0.06);
}
.page-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-soft);
    margin: 0;
}

/* ===== DETAIL PAGE (service/product show) ===== */
.detail-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.detail-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}
.detail-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(20,184,166,0.06);
    box-shadow: var(--shadow-sm);
    margin-top: 1.5rem;
}
.detail-lead {
    font-size: 1.15rem;
    color: var(--dark-soft);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
}
.detail-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dark-soft);
}
.detail-text h2, .detail-text h3, .detail-text h4 {
    font-family: var(--font-heading);
    color: var(--dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.detail-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.detail-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}
.detail-price-wrap {
    display: flex;
    flex-direction: column;
}
.detail-old-price {
    font-size: 1rem;
    color: var(--gray);
    text-decoration: line-through;
}
.detail-qty-input {
    width: 80px;
    text-align: center;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-light);
    padding: 0.5rem;
    transition: var(--transition);
}
.detail-qty-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(20,184,166,0.1);
}

/* ===== DETAIL SIDEBAR ===== */
.detail-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(20,184,166,0.06);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}
.detail-sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
}
.detail-sidebar-title i { color: var(--primary); }
.detail-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.detail-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gray-light);
}
.detail-info-list li:last-child { border-bottom: none; }
.detail-info-label {
    color: var(--dark-soft);
    font-size: 0.9rem;
}
.detail-info-label i { color: var(--primary); margin-right: 0.4rem; }
.detail-info-value {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}
.detail-price-inline {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

/* ===== CONTACT PAGE ===== */
.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(20,184,166,0.06);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
}
.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(20,184,166,0.12);
}
.contact-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.75rem;
    background: var(--gradient-primary);
    box-shadow: 0 8px 24px rgba(20,184,166,0.25);
    transition: var(--transition-bounce);
}
.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(-6deg);
}
.contact-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
}
.contact-text {
    color: var(--dark-soft);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}
.contact-text a {
    color: var(--dark-soft);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-text a:hover {
    color: var(--primary);
}
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(20,184,166,0.06);
}
.contact-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* ===== CART PAGE ===== */
.empty-icon {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}
.empty-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}
.empty-text {
    color: var(--dark-soft);
    margin-bottom: 2rem;
}
.cart-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(20,184,166,0.06);
    box-shadow: var(--shadow-sm);
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
}
.cart-table thead th {
    color: var(--dark-soft);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem;
    border-bottom: 2px solid var(--gray-light);
}
.cart-table tbody td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--gray-light);
    vertical-align: middle;
}
.cart-table tbody tr:last-child td { border-bottom: none; }
.cart-price { color: var(--dark-soft); }
.cart-total {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.05rem;
}
.cart-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(20,184,166,0.06);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-summary-total span { color: var(--dark-soft); }
.cart-summary-total h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
}
.cart-summary-title {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--dark);
}
.cart-summary-title i { color: var(--primary); }
.cart-summary hr {
    border-color: var(--gray-light);
    margin: 1.5rem 0;
}
.cart-kvkk-label {
    font-size: 0.85rem;
}

/* ===== BOOKING PAGE ===== */
.booking-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(20,184,166,0.06);
    box-shadow: var(--shadow-md);
}
.booking-section { margin-bottom: 1rem; }
.booking-section-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
}
.booking-section-title i { color: var(--primary); }
.booking-divider {
    height: 1px;
    background: var(--gray-light);
    margin: 2rem 0;
}
.booking-submit { margin-top: 1.5rem; }

/* ===== BOOKING CONFIRM ===== */
.confirm-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(20,184,166,0.06);
}
.confirm-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #34d399);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 28px rgba(16,185,129,0.3);
}
.confirm-icon-circle i {
    font-size: 2.5rem;
    color: var(--white);
}
.confirm-number {
    color: var(--primary);
    font-size: 1.2rem;
    font-family: var(--font-heading);
}
.confirm-details {
    max-width: 400px;
}
.confirm-price {
    color: var(--secondary);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
}
.price-badge {
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

/* ===== PAYMENT REDIRECT ===== */
.payment-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(20,184,166,0.06);
}
.payment-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 28px rgba(20,184,166,0.3);
}
.payment-icon-circle i {
    font-size: 2.5rem;
    color: var(--white);
}
.payment-spinner {
    color: var(--primary) !important;
    width: 3rem !important;
    height: 3rem !important;
}

/* ===== FORM STYLES (shared) ===== */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-light);
    padding: 0.6rem 1rem;
    transition: var(--transition);
    font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(20,184,166,0.1);
}
.form-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* ===== PRICE STRIKE (shared) ===== */
.price-strike {
    color: var(--gray);
    text-decoration: line-through;
    font-weight: 400;
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .detail-img { height: 280px; }
    .detail-content { padding: 1.5rem; }
    .detail-sidebar { position: static; }
    .booking-card { padding: 1.5rem; }
    .cart-summary { position: static; }
    .detail-cta { flex-direction: column; align-items: flex-start; }
}
