/* style.css | version 1.5 (Final Green Theme - Cleaned) */

:root {
    /* --- COLOR PALETTE --- */
    --bg-color: #0f172a;        /* Dark Slate Background */
    --text-color: #e2e8f0;      /* Light Text */
    --heading-color: #f0fdf4;   /* Mint White Headings */
    
    /* THE GREEN ACCENTS */
    --accent-color: #4ade80;    /* Bright Green (Main) */
    --accent-hover: #86efac;    /* Lighter Green (Hover) */
    --btn-text: #064e3b;        /* Dark Green (Text on Button) */
    
    /* MOON VISUALS & CARDS */
    --card-bg: #1e293b;        
    --border-color: #334155;    
}

/* --- Base Styles --- */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Gadugi', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--heading-color);
    margin-top: 0;
}

a {
    color: var(--accent-color); /* Green Links */
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-hover);
}

/* --- Layout --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* --- Header --- */
.site-header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--heading-color);
}

.logo-icon {
    color: var(--accent-color); /* Green Icon */
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.4); /* Green Glow */
}

.realtime-info {
    font-size: 0.9rem;
    color: #94a3b8;
}

.time-sep {
    margin: 0 0.5rem;
    color: var(--border-color);
}

/* --- Hero --- */
.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.lead {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

/* --- Live Status Badge --- */
.live-status {
    background: rgba(74, 222, 128, 0.1); /* Green Background Tint */
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--accent-color); /* Green Border */
    margin-bottom: 2rem;
    color: var(--accent-color); /* Green Text */
    font-weight: bold;
}

/* --- Moon Image Display --- */
.moon-image-container {
    margin: 2rem auto;
    padding: 2rem; /* Kept padding from original .moon-visual-container */
    width: 200px; 
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.real-moon-image {
    max-width: 100%;
    max-height: 100%;
    /* Optional: add a subtle glow to the image itself */
    /* Note: changed glow color to match green theme */
    filter: drop-shadow(0 0 15px rgba(74, 222, 128, 0.4));
}

/* --- CTA BUTTON (Green) --- */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color); /* BRIGHT GREEN BACKGROUND */
    color: var(--btn-text);                /* DARK GREEN TEXT */
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: var(--accent-hover);
    color: #022c22;
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.5); /* Strong Green Glow on Hover */
}

/* --- Features --- */
.features {
    padding: 4rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.feature-card h3 {
    color: var(--accent-color); /* Green Titles */
    margin-bottom: 1rem;
}

.feature-card p {
    color: #cbd5e1;
    margin: 0;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    padding: 2rem 0;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}