/* Tab Content Areas */
.tab-content {
    display: none;
    flex: 1;
    flex-direction: column;
}

.tab-content.active {
    display: flex;
}

/* Tab 2: Take me somewhere */
#takeme-content {
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

#takeme-content h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2.5em;
    font-weight: 600;
    text-align: center;
}

#takeme-content > p {
    color: #5a6c7d;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.category-card {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(82, 199, 122, 0.2);
    border-color: #52c77a;
}

.category-icon {
    font-size: 4em;
    margin-bottom: 15px;
}

.category-card h3 {
    color: #2d5e3f;
    margin-bottom: 10px;
    font-size: 1.4em;
    font-weight: 600;
}

.category-card p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Tab 3: Find a Drone Driver */
#driver-content {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

#driver-content h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: 600;
}

#driver-content p {
    color: #5a6c7d;
    margin-bottom: 30px;
}

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

.driver-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.driver-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.driver-card h3 {
    color: #3498db;
    margin-bottom: 10px;
    font-weight: 600;
}

.driver-card p {
    color: #666;
    margin: 8px 0;
}

/* Tab 4: Introduce a Drone Video */
#introduce-content {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

#introduce-content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: 600;
}

#introduce-content > p {
    color: #5a6c7d;
    margin-bottom: 30px;
}

.form-map-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.form-section {
    width: 100%;
}

.map-section {
    width: 100%;
}

#add-video-map {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

@media (max-width: 968px) {
    .form-map-container {
        grid-template-columns: 1fr;
    }
}

/* Tab 5: About Us */
#about-content {
    padding: 0;
    max-width: 100%;
}

.about-hero {
    background: linear-gradient(135deg, #2d5e3f 0%, #3a7d52 50%, #4a9d6f 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
}

.about-hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5em;
    opacity: 0.95;
    font-weight: 300;
}

.mission-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.mission-card {
    text-align: center;
    padding: 30px;
}

.mission-icon {
    font-size: 5em;
    margin-bottom: 20px;
}

.mission-card h2 {
    color: #2d5e3f;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.mission-card p {
    color: #5a6c7d;
    line-height: 1.8;
    font-size: 1.05em;
}

.vision-section {
    background: #f8f9fa;
    padding: 60px 40px;
    text-align: center;
}

.vision-section h2 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 25px;
}

.vision-section > p {
    color: #5a6c7d;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.2em;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    background: white;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.stat-number {
    font-size: 3.5em;
    font-weight: 700;
    color: #52c77a;
    margin-bottom: 10px;
}

.stat-label {
    color: #5a6c7d;
    font-size: 1.1em;
}

.join-section {
    padding: 80px 40px;
    text-align: center;
    background: white;
}

.join-section h2 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.join-section > p {
    color: #5a6c7d;
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.join-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Tablet and below */
@media (max-width: 991px) {
    #takeme-content {
        padding: 20px;
    }
    
    #takeme-content h2 {
        font-size: 2em;
    }
    
    .categories-grid-compact {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    #takeme-content {
        padding: 15px;
    }
    
    #takeme-content h2 {
        font-size: 1.5em;
        margin-bottom: 8px;
    }
    
    #takeme-content > p {
        font-size: 0.9em;
    }
    
    /* Categories grid for mobile */
    .categories-grid-compact {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
        padding: 0;
    }
    
    .category-compact-card {
        padding: 12px 8px;
        border-radius: 8px;
    }
    
    .category-icon {
        font-size: 28px;
    }
    
    .category-name {
        font-size: 10px;
        font-weight: 600;
    }
    
    .category-count {
        font-size: 9px;
    }
    
    /* About section mobile */
    .about-content {
        padding: 20px 15px;
    }
    
    .about-content h2 {
        font-size: 1.8em;
    }
    
    .about-content h3 {
        font-size: 1.3em;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-item {
        padding: 20px 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2.5em;
    }
    
    .join-section {
        padding: 40px 20px;
    }
    
    .join-section h2 {
        font-size: 1.8em;
    }
    
    .join-section > p {
        font-size: 1em;
    }
}

/* Very small mobile */
@media (max-width: 400px) {
    .categories-grid-compact {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 6px;
    }
    
    .category-compact-card {
        padding: 10px 6px;
    }
    
    .category-icon {
        font-size: 24px;
    }
    
    .category-name {
        font-size: 9px;
    }
}
