/* ==========================================================================
   Main Styles - Honza Dolejš Personal Website
   ========================================================================== */

/* Root Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    line-height: 1.6;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }

p {
    line-height: 1.7;
    color: var(--text-light);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 600px;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-name {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1.4;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-block {
    margin-bottom: 2.5rem;
}

.about-block h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.375rem;
}

.about-block p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-block strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about-image-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.about-image-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image-grid img:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.375rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Digiskills Section */
.digiskills {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
}

.digiskills-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.digiskills-block {
    margin-bottom: 2.5rem;
}

.digiskills-block h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.375rem;
}

.digiskills-block p {
    color: var(--text-light);
    line-height: 1.7;
}

.digiskills-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.digiskills-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.digiskills-image img:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.digiskills-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

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

.digiskills-approach h3 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 3rem;
}

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

.step-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.step-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.step-item h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.step-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Experience Section */
.experience {
    padding: 60px 0 100px;
    background-color: var(--white);
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.experience-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.experience-image img:hover {
    transform: scale(1.02);
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.experience-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.experience-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.experience-text h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.experience-text p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--gray-50);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.contact-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.contact-image img:hover {
    transform: scale(1.02);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text h3 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.contact-text p {
    color: var(--text-light);
    font-size: 0.875rem;
}

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

/* Footer */
.footer {
    padding: 3rem 0;
    background-color: var(--gray-900);
    color: var(--white);
    border-top: 1px solid var(--gray-800);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Utility Classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
} 