/*
 Theme Name:   High Tech Child
 Template:     astra
 Description:  High Tech - Greek-focused Technology News Theme
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child
*/

/* High Tech - Custom Theme CSS */
/* Greek Blue Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --ht-blue: #0066FF;
    --ht-blue-dark: #0052CC;
    --ht-blue-light: #E6F0FF;
    --ht-gold: #FFB800;
    --ht-gold-light: #FFF4D9;
    --ht-dark: #1A1A2E;
    --ht-gray: #6B7280;
    --ht-gray-light: #F3F4F6;
    --ht-white: #FFFFFF;
    --ht-green: #10B981;
    --ht-red: #EF4444;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--ht-dark) 0%, #16213E 50%, #0F3460 100%);
    color: var(--ht-white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--ht-white) 0%, var(--ht-blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ht-gold);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--ht-blue);
    color: var(--ht-white);
    border-color: var(--ht-blue);
}

.btn-primary:hover {
    background: var(--ht-blue-dark);
    border-color: var(--ht-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--ht-white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--ht-white);
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ht-dark);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--ht-gray);
}

/* Section Greek */
.section-greek {
    background: var(--ht-white);
    padding: 60px 20px;
    margin: 0;
}

.section-greek .section-header h2 {
    color: var(--ht-blue);
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tech Card */
.tech-card {
    background: var(--ht-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.tech-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--ht-blue) 0%, var(--ht-blue-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tech-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-card-image .placeholder {
    font-size: 4rem;
    opacity: 0.3;
}

.tech-card-content {
    padding: 24px;
}

.tech-card-source {
    display: inline-block;
    background: var(--ht-blue-light);
    color: var(--ht-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.tech-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ht-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.tech-card h3 a {
    color: inherit;
    text-decoration: none;
}

.tech-card h3 a:hover {
    color: var(--ht-blue);
}

/* Tech Quote */
.tech-quote-wrapper {
    padding: 20px;
    background: var(--ht-gray-light);
    border-radius: 12px;
    margin-bottom: 16px;
}

.tech-quote {
    border-left: 4px solid var(--ht-blue);
    padding-left: 16px;
    font-style: italic;
    color: var(--ht-gray);
    margin-bottom: 12px;
}

.tech-quote p {
    font-size: 1rem;
    line-height: 1.6;
}

.article-source {
    text-align: center;
    margin-top: 16px;
}

.read-more-btn {
    display: inline-block;
    background: var(--ht-blue);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--ht-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

/* Footer */
.site-footer {
    background: var(--ht-dark);
    color: var(--ht-white);
    padding: 40px 20px;
    text-align: center;
}

.site-footer a {
    color: var(--ht-blue-light);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--ht-gold);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* Navigation Menu */
.main-navigation {
    background: var(--ht-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-navigation ul {
    display: flex;
    gap: 32px;
    justify-content: center;
    list-style: none;
    padding: 16px;
}

.main-navigation a {
    color: var(--ht-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--ht-blue);
}

/* Language Page Styles */
.language-page {
    padding: 60px 20px;
}

.language-page .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.language-page .tech-grid {
    max-width: 1200px;
    margin: 0 auto;
}

/* Category Badge Colors */
.category-ellinika {
    background: var(--ht-blue-light);
    color: var(--ht-blue);
}

.category-english {
    background: #F0FDF4;
    color: #166534;
}

.category-francais {
    background: #FFF7ED;
    color: #C2410C;
}

/* Card Image Placeholder */
.no-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

/* Site Banner Override */
.site-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213E 50%, #0f3460 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.site-banner h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Post Cards */
.post-article {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.post-article img {
    width: 100%;
    height: auto;
    display: block;
}

.post-article .content {
    padding: 24px;
}