/*
Theme Name: Artikus v1.1
Theme URI: https://artikus.cz
Author: Daniel Chovanec
Author URI: https://artikus.cz
Description: Code by Dando
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Artikus-v1.0
*/

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: #1a1a2e;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #4361ee;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #3a0ca3;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

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

.logo a {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-menu li a {
    display: block;
    padding: 8px 16px;
    color: #4a4a6a;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.nav-menu li a:hover {
    background: rgba(67, 97, 238, 0.08);
    color: #4361ee;
}

.nav-menu .current-menu-item a {
    background: rgba(67, 97, 238, 0.1);
    color: #4361ee;
    font-weight: 600;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(67, 97, 238, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 24px;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 20px 0;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 40px 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #4361ee, #7209b7);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(67, 97, 238, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(67, 97, 238, 0.45);
    color: #ffffff;
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin: 0 0 12px 0;
    color: #1a1a2e;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0 0 60px 0;
}

/* ===== About Section ===== */
.about-section {
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

.about-placeholder {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4361ee, #7209b7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(67, 97, 238, 0.3);
}

.initials {
    font-size: 5rem;
    font-weight: 800;
    color: #ffffff;
}

.about-text h2 {
    font-size: 2rem;
    margin: 0 0 20px 0;
    color: #1a1a2e;
}

.about-text p {
    color: #4a4a6a;
    line-height: 1.8;
}

/* ===== Services Section ===== */
.services-section {
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(67, 97, 238, 0.15);
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.2rem;
    margin: 0 0 12px 0;
    color: #1a1a2e;
}

.service-card p {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact-section {
    background: #ffffff;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

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

.contact-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c757d;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-item a {
    font-size: 1.2rem;
    font-weight: 500;
    color: #4361ee;
}

/* ===== Footer ===== */
#site-footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.footer-col p {
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-menu li a:hover {
    color: #ffffff;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list li {
    margin-bottom: 10px;
}

.contact-list a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom .footer-copyright {
    margin: 0 0 6px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.footer-bottom .footer-credit {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom .footer-credit a {
    color: #bd00ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .footer-credit a:hover {
    color: #39ff14;
}

/* ===== Content Area (index.php) ===== */
.content-area {
    padding-top: 100px;
    padding-bottom: 60px;
}

.content-area article {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.content-area h2 a {
    color: #1a1a2e;
    font-weight: 700;
}

.entry-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 16px;
}

.read-more {
    display: inline-block;
    font-weight: 600;
    margin-top: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header-inner {
        height: 60px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-placeholder {
        width: 200px;
        height: 200px;
    }

    .initials {
        font-size: 3.5rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Responsive menu JS ===== */
@media (max-width: 768px) {
    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}