/*
Theme Name: The Wizard of Oza
Theme URI: https://thewizardofozaa.com
Author: The Wizard of Oza
Author URI: https://thewizardofozaa.com
Description: A magical, whimsical portfolio theme showcasing creative projects and professional services
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wizard-of-oza
*/

/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --deep-blue: #1a1d3f;
    --mystical-purple: #6b46c1;
    --royal-purple: #9333ea;
    --gold: #f59e0b;
    --light-gold: #fbbf24;
    --glow-blue: #60a5fa;
    --dark-bg: #0f1117;
    --card-bg: #1e1e2e;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --gradient-primary: linear-gradient(135deg, #6b46c1 0%, #9333ea 50%, #f59e0b 100%);
    --gradient-dark: linear-gradient(180deg, #0f1117 0%, #1a1d3f 100%);
    --shadow-glow: 0 0 20px rgba(107, 70, 193, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    color: var(--light-gold);
}

h3 {
    font-size: 1.8rem;
    color: var(--glow-blue);
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--light-gold);
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* ===========================
   Navigation
   =========================== */
.main-navigation {
    background: rgba(15, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(107, 70, 193, 0.2);
    color: var(--gold);
    transform: translateY(-2px);
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(107, 70, 193, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(107, 70, 193, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Container & Sections
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section {
    margin-bottom: 6rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1rem auto;
    border-radius: 2px;
}

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

.card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid rgba(107, 70, 193, 0.2);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(107, 70, 193, 0.4);
    border-color: var(--mystical-purple);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.card-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===========================
   Chronicles (Blog)
   =========================== */
.chronicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.chronicle-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.chronicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(107, 70, 193, 0.4);
}

.chronicle-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.chronicle-content {
    padding: 1.5rem;
}

.chronicle-date {
    color: var(--mystical-purple);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.chronicle-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.chronicle-excerpt {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    gap: 0.8rem;
}

/* ===========================
   Portfolio Gallery
   =========================== */
.portfolio-section {
    margin-bottom: 4rem;
}

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

.portfolio-item {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(107, 70, 193, 0.4);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.portfolio-description {
    color: var(--text-muted);
}

/* ===========================
   Contact Form
   =========================== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold);
    font-weight: 600;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(15, 17, 23, 0.5);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 8px;
    color: var(--text-light);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--mystical-purple);
    box-shadow: 0 0 10px rgba(107, 70, 193, 0.3);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(107, 70, 193, 0.5);
}

/* ===========================
   Social Links
   =========================== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--mystical-purple);
    color: white;
    transform: translateY(-3px);
}

/* ===========================
   Footer
   =========================== */
.site-footer {
    background: rgba(15, 17, 23, 0.95);
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(107, 70, 193, 0.2);
}

.footer-text {
    color: var(--text-muted);
}

/* ===========================
   Magical Effects
   =========================== */
.sparkle {
    position: fixed;
    pointer-events: none;
    animation: sparkleFloat 3s ease-in-out infinite;
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(180deg);
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .card-grid,
    .chronicles-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* ===========================
   Utility Classes
   =========================== */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}
