/* 
   Satellite Tracker Styles 
   Simple, clean, and easy to read.
*/

/* Basic page reset to make things look consistent */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Nice readable font */
    background-color: #f0f2f5;
    /* Light grey background */
    color: #333;
    /* Dark grey text is easier to read than black */
    line-height: 1.6;
}

header {
    background-color: #2c3e50;
    /* Dark blue specific header color */
    color: white;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

header h1 {
    margin-bottom: 10px;
}

main {
    max-width: 1000px;
    /* Limits the width so it doesn't stretch too much on big screens */
    margin: 0 auto;
    /* Centers the main content */
    padding: 0 20px;
}

/* Map specific styles */
#map {
    height: 400px;
    /* We must give the map a height! */
    width: 100%;
    border-radius: 10px;
    /* Rounded corners look nice */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
    margin-bottom: 20px;
    border: 2px solid #ddd;
}

/* Dashboard Grid Styles */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Responsive grid */
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-card h3 {
    color: #7f8c8d;
    font-size: 0.9em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.stat-card span {
    font-size: 1.5em;
    /* Make the numbers big! */
    font-weight: bold;
    color: #2c3e50;
}

/* Info Section Styles */
.info-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.info-section h2 {
    color: #2980b9;
    margin-bottom: 15px;
}

.info-section p {
    margin-bottom: 15px;
}

footer {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-size: 0.9em;
    margin-top: auto;
}

footer a {
    color: #2980b9;
    text-decoration: none;
}