/* Dark Theme Package Details Layout */

body.dark-package-theme {
    background-color: #ffffff;
    color: #333333;
}

body.dark-package-theme .header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

body.dark-package-theme .header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

body.dark-package-theme .header .nav-links a,
body.dark-package-theme .header .logo {
    color: #1a1a1a;
}

body.dark-package-theme .hero-inner {
    padding-top: 100px;
}

/* Override existing breadcrumb bg */
body.dark-package-theme .breadcrumb-bar {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

/* Typography for Dark Theme */
body.dark-package-theme .timeline-title {
    color: #1a1a1a;
    font-size: 2.2rem;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 15px;
    font-weight: 600;
}

/* Day Block Layout */
.dark-day-block {
    display: flex;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
}

.dark-day-sidebar {
    width: 90px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    flex-shrink: 0;
}

.dark-day-sidebar .day-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e8c56b;
    font-weight: 600;
    margin-bottom: 5px;
}

.dark-day-sidebar .day-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    line-height: 1;
}

.dark-day-content {
    padding: 30px;
    flex-grow: 1;
}

.dark-day-header h3 {
    font-size: 1.6rem;
    color: #333333;
    margin-bottom: 8px;
    font-weight: 600;
}

.dark-day-header p {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* Vertical Timeline Events */
.dark-event-list {
    position: relative;
}

/* The vertical line */
.dark-event-list::before {
    content: '';
    position: absolute;
    left: 19px; /* center of 40px icon */
    top: 40px;
    bottom: 0;
    width: 1px;
    background: rgba(0,0,0,0.1);
}

.dark-event-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

/* Make sure the last item doesn't have a line trailing past it */
.dark-event-item:last-child {
    margin-bottom: 0;
}

.dark-event-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 2;
    flex-shrink: 0;
}

/* Outline line segment per item instead of full line (optional, using full line above is easier) */
.dark-event-icon.highlight {
    background: rgba(232, 197, 107, 0.1);
    border-color: rgba(232, 197, 107, 0.3);
}

.dark-event-details {
    padding-top: 5px;
}

.dark-event-details h4 {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 8px;
    font-weight: 600;
}

.dark-event-details p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
}

.dark-travel-tip {
    margin-top: 30px;
    background: #18231e;
    border-left: 3px solid #6fc28e;
    padding: 16px 20px;
    border-radius: 4px;
}

.dark-travel-tip h5 {
    color: #6fc28e;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dark-travel-tip p {
    color: #cccccc;
    font-size: 0.95rem;
    margin: 0;
}

/* Sidebar overriding for dark theme */
.dark-sidebar-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.dark-sidebar-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.dark-sidebar-content {
    padding: 24px;
}

.dark-sidebar-content h3 {
    font-size: 1.4rem;
    color: #333333;
    margin-bottom: 12px;
}

.dark-sidebar-duration {
    display: inline-block;
    border: 1px solid rgba(232, 197, 107, 0.3);
    color: #e8c56b;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.dark-sidebar-services {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.dark-sidebar-services span {
    background: #f5f5f5;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dark-sidebar-services span i {
    color: #e8c56b;
}

.btn-whatsapp-green {
    background: #25d366;
    color: #ffffff;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-whatsapp-green:hover {
    background: #20ba59;
}

.dark-sidebar-back {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #555555;
    font-size: 0.9rem;
}

.dark-sidebar-back:hover {
    color: #333333;
}

/* Stats Bottom Grid */
.dark-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.dark-stat-card {
    background: #1b3629;
    border-radius: 8px;
    padding: 24px 15px;
    text-align: center;
}

.dark-stat-card h4 {
    color: #e8c56b;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.dark-stat-card p {
    color: #a0bcae;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    .dark-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dark-day-block {
        flex-direction: column;
    }
    .dark-day-sidebar {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
        align-items: baseline;
    }
    .dark-day-sidebar .day-label {
        margin: 0;
    }
    .dark-day-sidebar .day-number {
        font-size: 1.5rem;
    }
}
