/* Tour Detail Page Styles */

/* Breadcrumb */
.breadcrumb {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1rem 0;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--secondary-color);
}

.breadcrumb-separator {
    color: #6c757d;
}

.breadcrumb-current {
    color: #6c757d;
    font-weight: 500;
}

/* Tour Detail Section */
.tour-detail {
    padding: 3rem 0;
}

.tour-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.tour-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Amiri', serif;
}

.tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.tour-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0px;
}

.tour-meta i {
    color: var(--primary-color);
}

.tour-type {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    height: fit-content;
}

.tour-type.ekonomik {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.tour-type.lüks {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
}

.tour-price-section {
    text-align: right;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.price-from {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-note {
    font-size: 0.85rem;
    color: #6c757d;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Tour Gallery */
.tour-gallery {
    margin-bottom: 3rem;
}

.gallery-main {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.gallery-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.main-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-main:hover .main-image {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    pointer-events: none;
}

.gallery-main:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay span {
    font-size: 1.1rem;
    font-weight: 500;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.thumbnail {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.thumbnail:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-color: var(--primary-color);
}

.thumbnail:hover::before {
    transform: translateX(100%);
}

/* Tour Content */
.tour-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.content-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    border: 1px solid #f0f0f0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.section-title i {
    font-size: 1.25rem;
}

.tour-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
    font-size: 1rem;
    color: #495057;
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list.included i {
    color: #28a745;
    font-size: 1.1rem;
}

.services-list.not-included i {
    color: #dc3545;
    font-size: 1.1rem;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 10px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Sidebar */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-section {
    background: white;
    padding: 1.5rem!important;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.room-type,
.age-range {
    font-weight: 500;
    color: #495057;
}

.price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.price-note {
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 0.5rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-btn.phone {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.contact-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.contact-btn.reservation {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #495057;
}

.features-list i {
    color: var(--primary-color);
    width: 20px;
}

/* Related Tours */
.related-tours {
    padding: 3rem 0;
    background: #f8f9fa;
}

.related-tours .section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.tour-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--shadow-light);
}

.tour-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.05);
}

.tour-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 15px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.tour-badge.ekonomik {
    background: var(--primary-color);
}

.tour-badge.lüks {
    background: var(--secondary-color);
    color: var(--dark-green);
}

.tour-content {
    padding: 1.5rem 0;
}
.tour-content-related {
    padding: 1.5rem;
}
.tour-title {
    font-family: 'Amiri', serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.tour-duration {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tour-prices {
    margin-bottom: 1.5rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.price-label {
    color: var(--text-light);
}

.price-value {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.tour-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tour-features{
    padding: 10px 0px;
}

.tour-dates {
    font-size: 15px;
}

.tour-actions .btn {
    width: 100%;
    text-align: center;
}

.tour-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1rem;
}

.tour-actions .btn {
    width: 100%;
    text-align: center;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    margin: auto;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.modal-close:hover {
    color: #ccc;
}

.modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-main-modal {
    position: relative;
    max-height: 70vh;
}

.gallery-main-modal img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.gallery-nav:hover {
    background: rgba(0,0,0,0.8);
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.gallery-thumbnails-modal {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    max-height: 15vh;
    overflow-y: auto;
}

.modal-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
}

.modal-thumbnail.active,
.modal-thumbnail:hover {
    opacity: 1;
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tour-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-sidebar {
        order: -1;
    }
    
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .tour-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        align-items: center;
    }
    
    .tour-title {
        font-size: 2rem;
    }
    
    .tour-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .tour-price-section {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
    
    .price-from {
        align-items: center;
    }
    
    .main-image {
        height: 250px;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
    
    .thumbnail {
        height: 60px;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .sidebar-section {
        padding: 1rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .gallery-nav {
        padding: 0.5rem;
        font-size: 1.2rem;
    }
    
    .modal-thumbnail {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .tour-detail {
        padding: 1rem 0;
    }
    
    .tour-header {
        padding: 1.5rem;
    }
    
    .tour-title {
        font-size: 1.5rem;
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .tour-meta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .tour-meta span {
        justify-content: center;
    }
    
    .tour-price-section {
        width: 100%;
        align-items: center;
    }
    
    .main-image {
        height: 200px;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
}