/* ==========================================
   SIMULATION PAGE STYLES
   Using Variables from navbar.css
   ========================================== */

/* Main Page Container */
.simulation-page {
    background: var(--light-bg);
    min-height: 100vh;
    padding-top: 80px; /* Space for navbar */
}

/* ==========================================
   HERO SECTION
   ========================================== */
.simulation-hero {
    background: white;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.simulation-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.simulation-hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================
   SIMULATIONS GRID SECTION
   ========================================== */
.simulations-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.simulations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

/* ==========================================
   SIMULATION CARDS
   ========================================== */
.simulation-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #E5E7EB;
}

.simulation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(46, 125, 50, 0.15);
    border-color: var(--accent-green);
}

/* Card Image Container */
.card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: var(--light-bg);
}

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

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

/* Card Content */
.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 1rem;
}

/* Play Button */
.play-button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-main);
}

.play-button:hover {
    background: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.play-button:active {
    transform: translateY(0);
}

/* Play Icon */
.play-icon {
    width: 0;
    height: 0;
    border-left: 12px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 4px;
}

/* ==========================================
   FOOTER
   ========================================== */
.simulation-footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.simulation-footer p {
    color: #D1D5DB;
    margin: 0;
    font-size: 0.875rem;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet */
@media (max-width: 991px) {
    .simulation-hero {
        padding: 3rem 1.5rem;
    }
    
    .simulations-section {
        padding: 3rem 1.5rem;
    }
    
    .simulations-grid {
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .simulation-page {
        padding-top: 70px;
    }
    
    .simulation-hero h1 {
        font-size: 2rem;
    }
    
    .simulation-hero p {
        font-size: 1rem;
    }
    
    .simulations-section {
        padding: 2rem 1rem;
    }
    
    .simulations-grid {
        gap: 1.5rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .card-content h3 {
        font-size: 1.25rem;
    }
    
    .card-image {
        height: 180px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .simulation-hero {
        padding: 2rem 1rem;
    }
    
    .play-button {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}
