:root {
    --primary-color: #006400;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --transition: all 0.3s ease;
}

/* Tour Section */
.tour-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 4rem);
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tour-header h1 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.tour-header p {
    font-size: 1.2rem;
    color: #666;
}

/* Tour Container */
.tour-container {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-frame {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 600px;
}

.iframe-container {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 600px;
    background: #000;
}

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

/* Instructions Grid */
.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.instruction-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.instruction-card:hover {
    transform: translateY(-5px);
    border-color: #006400;
}

.instruction-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #006400;
}

.instruction-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.instruction-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.instruction-card p {
    color: #666;
    line-height: 1.6;
}

/* Floor Selection Buttons */
.select-floor-text {
    text-align: center;
    color: #006400;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.floor-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.floor-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #006400;
    background-color: transparent;
    color: #006400;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.floor-btn:hover {
    background-color: #006400;
    color: white;
    transform: translateY(-2px);
}

.floor-btn.active {
    background-color: #006400;
    color: white;
}

/* External Link */
.external-link {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: white;
}

.external-link a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #006400;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.external-link a:hover {
    background-color: #004d00;
    transform: translateY(-2px);
}

.no-tours-message {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .tour-frame {
        min-height: 500px;
    }
    
    .iframe-container {
        min-height: 500px;
    }
    
    .floor-buttons {
        gap: 0.75rem;
    }
    
    .floor-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .tour-header h1 {
        font-size: 2.5rem;
    }

    .tour-frame {
        min-height: 400px;
    }

    .iframe-container {
        min-height: 400px;
    }

    .instruction-card {
        padding: 1.5rem;
    }
    
    .floor-buttons {
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .floor-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .tour-frame {
        min-height: 300px;
    }

    .iframe-container {
        min-height: 300px;
    }
    
    .floor-buttons {
        display: flex;
        justify-content: center;
        gap: 0.3rem;
        margin: 1rem 0;
    }
    
    .floor-btn {
        padding: 0.4rem 0.6rem;
        border: 1px solid #006400;
        font-size: 0.8rem;
        min-width: auto;
        width: auto;
        border-radius: 4px;
    }
    
    .select-floor-text {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
}

/* Footer Styles */
body .footer {
    background-color: #f8f9fa !important;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    position: relative;
    bottom: 0;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}

.copyright {
    text-align: center;
    width: 100%;
}

.copyright p {
    margin: 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}