body {
    background-color: var(--light);
    transition: background-color 0.3s ease;
}

.virtual-tour-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.tour-header {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.tour-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 68, 136, 0.8), rgba(0, 179, 179, 0.8)), 
                url('https://images.unsplash.com/photo-1524055988636-436cfa46e59e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover;
    z-index: -1;
    filter: blur(2px);
}

.tour-header h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-weight: 800;
}

.tour-header p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 0 auto 30px;
    font-weight: 300;
}

.tour-company {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    margin-top: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

.tour-company img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

/* Main Content */
.tour-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .tour-content {
        grid-template-columns: 1fr;
    }
}

/* Tour Viewer */
.tour-viewer-section {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.tour-viewer-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.viewer-header {
    padding: 20px;
    background: var(--darker-gray);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.tour-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.tour-viewer {
    position: relative;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    height: 0;
    background: var(--dark-gray);
}

.tour-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.tour-controls {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--darker-gray);
    border-top: 1px solid var(--light-gray);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.control-group {
    display: flex;
    gap: 10px;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--dark-gray);
    border: 1px solid var(--light-gray);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--dark);
}

.control-btn:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.control-btn.primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.control-btn.primary:hover {
    background: var(--primary-light);
}

/* POI Section */
.poi-section {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 30px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.poi-header {
    padding: 20px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.poi-list {
    padding: 20px;
}

.poi-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.poi-item:last-child {
    border-bottom: none;
}

.poi-item:hover {
    background: var(--light-gray);
}

.poi-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.poi-content {
    flex: 1;
}

.poi-content h3 {
    margin-bottom: 10px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.poi-content p {
    color: var(--gray);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.poi-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.poi-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--light-gray);
    color: var(--dark);
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.poi-btn:hover {
    background: var(--primary);
    color: white;
}

/* Sidebar */
.tour-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.card-header {
    padding: 20px;
    background: var(--darker-gray);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-body {
    padding: 20px;
    background: var(--dark-gray);
}

.info-item {
    display: flex;
    margin-bottom: 15px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.info-label {
    font-weight: 600;
    min-width: 100px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.info-value {
    flex: 1;
    color: var(--gray);
    transition: color 0.3s ease;
}

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

.info-value a:hover {
    text-decoration: underline;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--light-gray);
    color: var(--dark);
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gallery-item {
    border-radius: var(--rounded-md);
    overflow: hidden;
    aspect-ratio: 1/1;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Similar Tours */
.similar-tours {
    margin-top: 50px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.tour-card {
    background: var(--dark-gray);
    border-radius: var(--rounded-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

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

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

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

.tour-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.tour-card-content {
    padding: 20px;
}

.tour-card-title {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.tour-card-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.tour-card-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.tour-card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-card-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.tour-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--dark-gray);
    color: var(--dark);
    text-decoration: none;
    border-radius: var(--rounded-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tour-button:hover {
    background-color: var(--primary);
    color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .virtual-tour-container {
        padding: 15px;
    }
    
    .tour-header {
        padding: 30px 15px;
    }
}

@media (max-width: 768px) {
    .virtual-tour-container {
        padding: 12px;
    }
    
    .tour-header {
        padding: 25px 12px;
    }
    
    .tour-header h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .tour-header p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .tour-company {
        padding: 8px 15px;
        font-size: 0.95rem;
    }
    
    .tour-content {
        gap: 20px;
        margin-top: 20px;
    }
    
    .viewer-header {
        padding: 15px;
    }
    
    .tour-title {
        font-size: 1.2rem;
    }
    
    .tour-stats {
        gap: 15px;
    }
    
    .stat-item {
        font-size: 0.85rem;
    }
    
    .tour-controls {
        flex-direction: column;
        gap: 10px;
        padding: 12px 15px;
    }
    
    .control-group {
        width: 100%;
        justify-content: center;
    }
    
    .control-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .poi-header {
        padding: 15px;
    }
    
    .poi-list {
        padding: 15px;
    }
    
    .poi-item {
        padding: 15px;
        gap: 15px;
    }
    
    .poi-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .card-header {
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .info-item {
        margin-bottom: 12px;
        font-size: 0.9rem;
    }
    
    .info-label {
        min-width: 80px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .similar-tours {
        margin-top: 40px;
    }
    
    .section-title {
        margin-bottom: 20px;
        font-size: 1.5rem;
    }
    
    .tours-grid {
        gap: 20px;
    }
    
    .tour-card-content {
        padding: 15px;
    }
    
    .tour-card-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .virtual-tour-container {
        padding: 10px;
    }
    
    .tour-header {
        padding: 20px 10px;
    }
    
    .tour-header h1 {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .tour-header p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .tour-company {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .tour-company img {
        width: 32px;
        height: 32px;
    }
    
    .tour-content {
        gap: 15px;
        margin-top: 15px;
    }
    
    .viewer-header {
        padding: 12px;
        flex-direction: column;
        gap: 10px;
    }
    
    .tour-title {
        font-size: 1rem;
    }
    
    .tour-stats {
        gap: 10px;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
    
    .stat-item {
        font-size: 0.8rem;
    }
    
    .tour-controls {
        flex-direction: column;
        gap: 8px;
        padding: 10px 12px;
    }
    
    .control-btn {
        padding: 10px 12px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
    
    .poi-header {
        padding: 12px;
    }
    
    .poi-list {
        padding: 12px;
    }
    
    .poi-item {
        padding: 12px;
        gap: 12px;
        flex-direction: column;
    }
    
    .poi-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .poi-content h3 {
        font-size: 0.95rem;
    }
    
    .poi-content p {
        font-size: 0.85rem;
    }
    
    .poi-actions {
        flex-wrap: wrap;
    }
    
    .poi-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .card-header {
        padding: 12px;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 12px;
    }
    
    .info-item {
        margin-bottom: 10px;
        font-size: 0.85rem;
        flex-direction: column;
    }
    
    .info-label {
        min-width: auto;
        margin-bottom: 4px;
    }
    
    .info-value {
        font-size: 0.85rem;
    }
    
    .tag {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-item {
        aspect-ratio: 1/1;
    }
    
    .similar-tours {
        margin-top: 30px;
    }
    
    .section-title {
        margin-bottom: 15px;
        font-size: 1.3rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tour-card-image {
        height: 150px;
    }
    
    .tour-badge {
        top: 10px;
        right: 10px;
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    
    .tour-card-content {
        padding: 12px;
    }
    
    .tour-card-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .tour-card-location {
        font-size: 0.85rem;
        margin-bottom: 10px;
        gap: 5px;
    }
    
    .tour-card-content p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .tour-card-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .tour-card-stats span {
        font-size: 0.8rem;
    }
    
    .tour-button {
        padding: 6px 12px;
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
    }
}