/* Reset a základní styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2563eb;
    --light-blue: #dbeafe;
    --dark-blue: #1e40af;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header a navigace */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    display: none;
}

/* Hamburger menu */
.menu-toggle {
    display: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Navigační menu */
.nav-menu {
    display: block;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

/* Hero sekce */
.hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    padding: 80px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-blue);
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Sekce O mně */
.about {
    padding: 80px 20px;
    background-color: var(--white);
}

.about h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 40px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-column p {
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer p {
    margin: 10px 0;
}

/* Responzivní design pro mobil */
@media screen and (max-width: 768px) {
    /* Zobrazit hamburger menu */
    .hamburger {
        display: flex;
    }

    /* Skrýt logo na mobilu */
    .logo {
        display: none;
    }

    /* Navigační menu - mobilní verze */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 70%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        padding: 30px;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu a {
        font-size: 1.2rem;
    }

    /* Animace hamburger menu */
    .menu-toggle:checked ~ .nav-menu {
        left: 0;
    }

    .menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hero sekce - mobilní */
    .hero h1 {
        font-size: 2rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    /* O mně - mobilní (sloupce pod sebou) */
    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Desktop verze - zobrazit logo */
@media screen and (min-width: 769px) {
    .logo {
        display: block;
    }

    .hamburger {
        display: none;
    }
}

/* Logo odkaz */
.logo a {
    text-decoration: none;
    color: var(--primary-blue);
}

.logo a:hover {
    color: var(--dark-blue);
}

/* Sekce s nadpisem stránky */
.page-title {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    padding: 60px 20px;
    text-align: center;
}

.page-title h1 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Sekce zájmů */
.interest-section {
    padding: 60px 20px;
    background-color: var(--white);
}

.interest-section.alt-bg {
    background-color: #f9fafb;
}

.interest-section h2 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 30px;
}

.interest-content {
    max-width: 900px;
    margin: 0 auto;
}

.interest-content p {
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Fotogalerie */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responzivní design pro galerii */
@media screen and (max-width: 768px) {
    .page-title h1 {
        font-size: 2rem;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item img {
        height: 200px;
    }

    .interest-section {
        padding: 40px 20px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

