/*
Theme Name: Astrobility
Theme URI: https://astrobility.com
Description: The world's first integrated astronomical wisdom platform - combining Western, Vedic, Chinese, and Numerological systems
Version: 1.0.0
Author: Astrobility LLC
Author URI: https://astrobility.com
License: Proprietary
License URI: https://astrobility.com/license
Text Domain: astrobility
Tags: astrology, cosmic, integration, vedic, chinese, numerology
*/

/* ============================================================================
   GLOBAL RESET & BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: #f8fafc;
}

a {
    color: #7c3aed;
    transition: color 0.2s ease;
}

a:hover {
    color: #5b21b6;
}

/* ============================================================================
   HEADER NAVIGATION
   ========================================================================== */

.main-navigation a:hover {
    color: #ecc94b !important;
}

/* ============================================================================
   BUTTONS
   ========================================================================== */

.button,
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.button:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
    color: white;
}

/* ============================================================================
   CONTAINERS
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================================================
   CARDS
   ========================================================================== */

.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ============================================================================
   FORMS
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #7c3aed;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #475569;
}

/* ============================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

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

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .site-header .container {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ============================================================================
   COSMIC GRADIENT BACKGROUNDS
   ========================================================================== */

.cosmic-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cosmic-gradient-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* ============================================================================
   LOADING STATES
   ========================================================================== */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
