/**
 * Victorian Flying Sites - Public CSS
 */

/* Container */
.vfs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Single Site Styles */
.vfs-single-site {
    background: #f5f5f5;
}

/* Hero Section */
.vfs-site-hero {
    position: relative;
    background: #333;
    color: #fff;
    margin-bottom: 40px;
}

.vfs-hero-image {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.vfs-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vfs-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 60px 0 30px;
}

.vfs-site-title {
    font-size: 3em;
    margin: 0 0 15px;
    color: #fff;
}

.vfs-site-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
}

.vfs-site-code {
    background: rgba(255,255,255,0.2);
    padding: 5px 10px;
    border-radius: 3px;
}

.vfs-site-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.vfs-status-active {
    background: #4CAF50;
}

.vfs-status-inactive {
    background: #f44336;
}

.vfs-status-restricted {
    background: #FF9800;
}

.vfs-quality-score {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vfs-score-value {
    font-size: 24px;
    font-weight: bold;
}

.vfs-site-ratings {
    display: flex;
    gap: 10px;
}

.vfs-rating {
    background: #fff;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

/* Quick Info Bar */
.vfs-quick-info {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.vfs-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.vfs-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vfs-icon {
    width: 24px;
    height: 24px;
    background: #0073aa;
    display: inline-block;
}

/* Content Grid */
.vfs-content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

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

/* Sections */
.vfs-section {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vfs-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.vfs-section h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #555;
}

/* AI Summaries */
.vfs-summary-block {
    background: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #0073aa;
    margin-bottom: 20px;
}

.vfs-summary-block h3 {
    margin-top: 0;
}

/* Tabs */
.vfs-tabs {
    margin-top: 20px;
}

.vfs-tab-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #e0e0e0;
}

.vfs-tab-nav li {
    margin-right: 20px;
}

.vfs-tab-nav a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.vfs-tab-nav li.active a {
    color: #0073aa;
    border-bottom-color: #0073aa;
}

.vfs-tab-content {
    padding: 20px 0;
}

.vfs-tab-pane {
    display: none;
}

.vfs-tab-pane.active {
    display: block;
}

/* Details Grid */
.vfs-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 600px) {
    .vfs-details-grid {
        grid-template-columns: 1fr;
    }
}

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

.vfs-features-list li {
    padding: 5px 0 5px 25px;
    position: relative;
}

.vfs-features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.vfs-characteristics dt {
    font-weight: bold;
    margin-top: 10px;
}

.vfs-characteristics dd {
    margin-left: 0;
    margin-bottom: 10px;
}

/* Weather */
.vfs-weather-grid {
    display: grid;
    gap: 20px;
}

.vfs-season {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.vfs-season h5 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #0073aa;
}

/* Map */
.vfs-map {
    height: 400px;
    margin-bottom: 20px;
}

.vfs-map-links {
    text-align: center;
}

/* Sidebar */
.vfs-sidebar {
    position: sticky;
    top: 20px;
}

.vfs-widget {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vfs-widget h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.vfs-status-indicator {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.vfs-facts-list {
    list-style: none;
    padding: 0;
}

.vfs-facts-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.vfs-links-list {
    list-style: none;
    padding: 0;
}

.vfs-links-list li {
    margin-bottom: 10px;
}

.vfs-links-list a {
    color: #0073aa;
    text-decoration: none;
}

.vfs-links-list a:hover {
    text-decoration: underline;
}

.vfs-related-list {
    list-style: none;
    padding: 0;
}

.vfs-related-list li {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vfs-related-list a {
    color: #333;
    text-decoration: none;
}

.vfs-related-list .vfs-score {
    background: #0073aa;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
}

/* Buttons */
.vfs-button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.vfs-button-primary {
    background: #0073aa;
    color: #fff;
}

.vfs-button-primary:hover {
    background: #005a87;
    color: #fff;
}

/* Archive Page */
.vfs-archive-header {
    background: #333;
    color: #fff;
    padding: 60px 0;
    margin-bottom: 40px;
}

.vfs-archive-title {
    font-size: 3em;
    margin: 0;
}

.vfs-filters {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vfs-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.vfs-sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.vfs-site-card {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.vfs-site-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.vfs-card-image {
    height: 200px;
    overflow: hidden;
}

.vfs-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.vfs-card-title {
    margin: 0 0 10px;
    font-size: 1.5em;
}

.vfs-card-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.vfs-card-description {
    color: #666;
    margin-bottom: 15px;
}

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

/* Search Form */
.vfs-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.vfs-search-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.vfs-search-button {
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.vfs-search-button:hover {
    background: #005a87;
}

/* Loading */
.vfs-loading {
    text-align: center;
    padding: 40px;
}

.vfs-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: vfs-spin 1s linear infinite;
}

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

/* Responsive */
@media (max-width: 1200px) {
    .vfs-site-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .vfs-site-title {
        font-size: 2em;
    }
    
    .vfs-hero-image {
        height: 300px;
    }
    
    .vfs-info-grid {
        grid-template-columns: 1fr;
    }
    
    .vfs-sites-grid {
        grid-template-columns: 1fr;
    }
}