/* Sun-Themed AI Accelerators Blog - Professional Design */

:root {
    --sun-deep-orange: #ff6b35;
    --sun-orange: #f7931e;
    --sun-gold: #ffd93d;
    --sun-yellow: #ffeb3b;
    --sun-amber: #ffc107;
    --warm-red: #d62828;
    --warm-brown: #8b4513;
    --cream: #fff8e1;
    --warm-white: #fffaf0;
    --text-dark: #2d1810;
    --text-medium: #4a2c2a;
    --border-warm: #f4a460;
    --shadow-orange: rgba(255, 107, 53, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    background: linear-gradient(to bottom, 
        var(--warm-white) 0%, 
        var(--cream) 50%, 
        #ffe0b2 100%);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
}

/* Sun Decorative Elements */
body::before {
    content: '';
    position: fixed;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, 
        rgba(255, 235, 59, 0.15) 0%, 
        rgba(255, 193, 7, 0.1) 40%, 
        transparent 70%);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}

/* Header */
header {
    background: linear-gradient(135deg, 
        var(--sun-deep-orange) 0%, 
        var(--sun-orange) 50%, 
        var(--sun-gold) 100%);
    box-shadow: 0 4px 20px var(--shadow-orange);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--warm-red);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.site-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(139, 69, 19, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.sun-icon {
    font-size: 2.5rem;
    animation: rotateSun 20s linear infinite;
    filter: drop-shadow(0 0 10px rgba(255, 235, 59, 0.8));
}

@keyframes rotateSun {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.site-subtitle {
    color: var(--warm-white);
    font-size: 0.95rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(139, 69, 19, 0.5);
}

/* Navigation */
nav {
    width: 100%;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    list-style: none;
    max-width: 1000px;
    margin: 0 auto;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: block;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(139, 69, 19, 0.5);
}

nav a:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 69, 19, 0.3);
}

nav a.active {
    background: white;
    color: var(--sun-deep-orange);
    font-weight: 600;
    text-shadow: none;
}

/* Main Container */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.1) 0%, 
        rgba(255, 217, 61, 0.15) 100%);
    border: 2px solid var(--border-warm);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 15px var(--shadow-orange);
    text-align: center;
}

.hero h1 {
    color: var(--sun-deep-orange);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(255, 107, 53, 0.2);
}

.hero p {
    color: var(--text-medium);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Section */
section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(244, 164, 96, 0.3);
}

section h2 {
    color: var(--sun-deep-orange);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--sun-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

section h3 {
    color: var(--sun-orange);
    font-size: 1.4rem;
    margin: 1.8rem 0 1rem 0;
}

section h4 {
    color: var(--warm-brown);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem 0;
}

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

section ul, section ol {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-dark);
}

section li {
    margin-bottom: 0.5rem;
}

section strong {
    color: var(--warm-brown);
    font-weight: 600;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow-x: auto;
    display: block;
}

thead {
    background: linear-gradient(90deg, var(--sun-deep-orange), var(--sun-orange));
}

th {
    color: white;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(139, 69, 19, 0.5);
}

td {
    padding: 0.75rem;
    border-bottom: 1px solid #ffe0b2;
    color: var(--text-dark);
    font-size: 0.9rem;
}

tbody tr:hover {
    background: var(--cream);
}

tbody tr:nth-child(even) {
    background: #fffaf0;
}

tbody tr:nth-child(even):hover {
    background: var(--cream);
}

/* Links */
a {
    color: var(--sun-deep-orange);
    text-decoration: underline;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--warm-red);
    text-decoration: none;
}

/* Images Section */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.image-card {
    border: 2px solid var(--border-warm);
    border-radius: 10px;
    overflow: hidden;
    background: var(--cream);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px var(--shadow-orange);
}

.image-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #ddd;
}

.image-caption {
    padding: 0.75rem;
    background: linear-gradient(90deg, var(--cream), white);
}

.image-caption h4 {
    color: var(--sun-deep-orange);
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
}

.image-caption p {
    font-size: 0.8rem;
    color: var(--text-medium);
    margin: 0;
}

/* Citations */
.citation {
    font-size: 0.85rem;
    color: var(--warm-brown);
    vertical-align: super;
}

.references {
    background: linear-gradient(135deg, var(--cream) 0%, #fff3e0 100%);
}

.references ol {
    margin-left: 1.5rem;
}

.references li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, 
        var(--warm-brown) 0%, 
        #654321 100%);
    color: var(--warm-white);
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 3px solid var(--sun-deep-orange);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-content p {
    margin-bottom: 0.5rem;
    color: var(--warm-white);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.footer-links a {
    color: var(--sun-gold);
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Verification Notes */
.verification {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 2px solid #4caf50;
}

.verification h2 {
    color: #2e7d32;
    border-bottom-color: #81c784;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 1rem;
    }
    
    .site-title {
        font-size: 1.6rem;
    }
    
    .sun-icon {
        font-size: 2rem;
    }
    
    nav ul {
        gap: 0.3rem;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    main {
        padding: 1rem;
    }
    
    section {
        padding: 1.25rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    table {
        font-size: 0.8rem;
    }
    
    th, td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.3rem;
        flex-direction: column;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
}
