/* Tour Page Complete Redesign - Bootstrap 5 Based */

.dj-main-nav {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    padding: 0 !important;
}


/* Reset and Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f8fafc;
}


/* Container Styles */

.dj-page-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}


/* Breadcrumb Section */

.dj-breadcrumb-section {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.dj-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
}

.dj-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dj-breadcrumb-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 700;
}

.dj-breadcrumb-link:hover {
    color: #3b82f6;
}

.dj-breadcrumb-current {
    color: #1f2937;
    font-weight: 600;
}

.dj-breadcrumb-separator {
    color: #9ca3af;
    font-size: 0.75rem;
}

.dj-tour-header-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.dj-tour-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.dj-tour-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.dj-meta-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.dj-meta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #3b82f6;
    color: #ffffff;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.dj-meta-content h6 {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dj-meta-content span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
}


/* Image Gallery */

.dj-image-gallery {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.dj-main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0.75rem;
}


/* Info Sections */

.dj-section-header {
    background: #f8fafc;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 15px;
}

.dj-section-header:hover {
    background: #f1f5f9;
}

.dj-section-chevron {
    font-size: 1rem;
    color: #6b7280;
    transition: transform 0.2s;
    margin-left: 10px;
}

.dj-section-chevron.expanded {
    transform: rotate(180deg);
}


/* Services Grid */

.dj-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.dj-service-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

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

.dj-service-icon.included {
    color: #10b981;
}

.dj-service-icon.excluded {
    color: #ef4444;
}

.dj-service-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

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

.dj-service-list li {
    position: relative;
    padding: 0.375rem 0 0.375rem 1.5rem;
    font-size: 0.875rem;
    color: #374151;
}

.dj-service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 0.375rem;
    height: 0.375rem;
    background: #3b82f6;
    border-radius: 50%;
}

.dj-reservation-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.dj-reservation-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    text-align: center;
}

.dj-reservation-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.dj-reservation-body {
    padding: 1.5rem;
}


/* Form Fields */

.dj-form-group {
    margin-bottom: 1.25rem;
}

.dj-form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.dj-form-label i {
    font-size: 0.875rem;
    color: #6b7280;
}

.dj-form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 15px;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dj-form-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


/* Room Configuration */

.dj-room-config {
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

.dj-room-header {
    display: flex;
    align-items: center;
    justify-content: between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.dj-room-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.dj-guest-controls {
    display: grid;
    gap: 0.75rem;
}

.dj-guest-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.dj-guest-label i {
    font-size: 0.875rem;
    color: #6b7280;
}

.dj-guest-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dj-counter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.dj-counter-btn:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.dj-counter-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dj-counter-value {
    min-width: 2rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
}


/* Summary and Total */

.dj-summary-card {
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

.dj-summary-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
}

.dj-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0;
    font-size: 0.875rem;
}

.dj-summary-label {
    color: #6b7280;
}

.dj-summary-value {
    font-weight: 600;
    color: #1f2937;
}

.dj-total-card {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.dj-total-label {
    font-size: 1rem;
    font-weight: 600;
}

.dj-total-value {
    font-size: 1.5rem;
    font-weight: 700;
}


/* Action Button */

.dj-reservation-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1rem;
}

.dj-reservation-btn:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.dj-reservation-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.dj-help-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.dj-help-link:hover {
    color: #3b82f6;
}


/* Sidebar Cards */

.dj-sidebar-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.dj-sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}


/* Popular Tours */

.dj-popular-tour {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.dj-popular-tour:last-child {
    border-bottom: none;
}

.dj-tour-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.dj-tour-info {
    flex: 1;
    min-width: 0;
}

.dj-tour-price {
    font-size: 0.875rem;
    font-weight: 700;
    color: #10b981;
}


/* Responsive Design */

@media (max-width: 1199px) {
    .dj-reservation-sticky {
        position: static;
    }
}

@media (max-width: 991px) {
    .dj-main-content {
        padding: 1.5rem 0;
    }
    .dj-tour-header-card {
        padding: 1.5rem;
    }
    .dj-tour-title {
        font-size: 1.75rem;
    }
    .dj-tour-meta-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 0.75rem;
    }
    .dj-meta-item {
        padding: 0.75rem;
    }
    .dj-reservation-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .dj-main-content {
        padding: 1rem 0;
    }
    .dj-tour-header-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    .dj-tour-title {
        font-size: 1.5rem;
    }
    .dj-tour-meta-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .dj-meta-item {
        padding: 0.75rem;
    }
    .dj-meta-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }
    .dj-image-gallery {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    .dj-main-image {
        height: 250px;
    }
    .dj-info-section {
        margin-bottom: 1rem;
    }
    .dj-section-header {
        padding: 1rem 1.25rem;
    }
    .dj-services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .dj-reservation-body {
        padding: 1rem;
    }
    .dj-sidebar-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .dj-breadcrumb-section {
        padding: 0.75rem 0;
    }
    .dj-tour-header-card {
        padding: 0.75rem;
    }
    .dj-tour-title {
        font-size: 1.25rem;
    }
    .dj-tour-subtitle {
        font-size: 1rem;
    }
    .dj-meta-item {
        padding: 0.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    .dj-meta-icon {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
    }
    .dj-image-gallery {
        padding: 0.5rem;
        margin-left: 0px !important;
    }
    .dj-main-image {
        height: 200px;
    }
    .dj-section-header {
        padding: 0.75rem 1rem;
    }
    .dj-section-content {
        padding: 1rem;
    }
    .dj-service-card {
        padding: 1rem;
    }
    .dj-reservation-header {
        padding: 1rem;
    }
    .dj-reservation-body {
        padding: 0.75rem;
    }
    .dj-guest-row {
        padding: 0.5rem;
    }
    .dj-counter-btn {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
    }
    .dj-counter-value {
        min-width: 1.75rem;
        font-size: 0.75rem;
    }
    .dj-sidebar-card {
        padding: 0.75rem;
    }
    .dj-tour-image {
        width: 50px;
        height: 50px;
    }
}


/* Utility Classes */

.dj-hidden {
    display: none !important;
}

.dj-visible {
    display: block !important;
}

.dj-flex {
    display: flex !important;
}

.dj-grid {
    display: grid !important;
}


/* Loading States */

.dj-loading {
    opacity: 0.6;
    pointer-events: none;
}

.dj-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: dj-spin 1s linear infinite;
}

@keyframes dj-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.dj-footer-certification-card {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dj-footer-certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.dj-cert-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.dj-cert-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-right: 15px;
    flex-shrink: 0;
}

.dj-cert-icon i {
    font-size: 20px;
    color: #fff;
}

.dj-cert-title {
    flex: 1;
}

.dj-cert-company {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dj-cert-subtitle {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
}

.dj-cert-badge {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.dj-cert-shield {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.dj-cert-shield i {
    font-size: 16px;
    color: #fff;
}

.dj-cert-info {
    flex: 1;
}

.dj-cert-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.dj-cert-number {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* Responsive Design */

@media (max-width: 768px) {
    .dj-footer-certification-card {
        padding: 15px;
    }
    .dj-cert-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 12px;
    }
    .dj-cert-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .dj-cert-badge {
        justify-content: center;
    }
    .dj-cert-company {
        font-size: 15px;
    }
    .dj-cert-subtitle {
        font-size: 11px;
    }
    .dj-cert-number {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .dj-footer-certification-card {
        padding: 12px;
    }
    .dj-cert-icon {
        width: 45px;
        height: 45px;
    }
    .dj-cert-icon i {
        font-size: 18px;
    }
    .dj-cert-shield {
        width: 35px;
        height: 35px;
    }
    .dj-cert-shield i {
        font-size: 14px;
    }
    .dj-cert-company {
        font-size: 14px;
    }
    .dj-cert-subtitle {
        font-size: 10px;
    }
    .dj-cert-number {
        font-size: 15px;
    }
}


/* Header Auth Buttons */

.dj-header-auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
    height: 100%;
}

.dj-header-auth-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.dj-header-login-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    position: relative;
    backdrop-filter: blur(10px);
}

.dj-header-login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dj-header-register-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: #ffffff;
    border-color: #3b82f6;
    position: relative;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.dj-header-register-btn:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-color: #1e40af;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.dj-header-auth-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dj-header-auth-btn:hover i {
    transform: scale(1.05);
}


/* Ensure buttons are properly positioned in header */

.dj-header-contact-bar .col-lg-4 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}


/* Mobile responsive adjustments */

@media (max-width: 991px) {
    .dj-header-auth-buttons {
        display: none;
    }
}