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

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Hero Section */
    .hero-container {
        padding: 0 1.5rem;
        gap: 3rem;
    }

    .hero-name {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-image img {
        height: 500px;
    }

    /* About Section */
    .about-content {
        gap: 3rem;
    }

    .about-image-grid img {
        height: 250px;
    }

    /* Digiskills Section */
    .digiskills-content {
        gap: 3rem;
    }

    .digiskills-image img {
        height: 250px;
    }

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

    .stat-item {
        margin-bottom: 1rem;
    }

    /* Experience & Contact */
    .experience-content,
    .contact-content {
        gap: 3rem;
    }

    .experience-image img,
    .contact-image img {
        height: 400px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        z-index: 999;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.125rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.125rem;
    }

    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1rem;
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-image img {
        height: 400px;
    }

    /* Sections */
    .about,
    .services,
    .digiskills,
    .experience,
    .contact {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }

    .about-text {
        order: 2;
    }

    .about-images {
        order: 1;
    }

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

    .about-block h3 {
        font-size: 1.25rem;
    }

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

    .about-image-grid img {
        height: 200px;
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    /* Experience Section */
    .experience-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .experience-image {
        order: 1;
    }

    .experience-list {
        order: 2;
        gap: 1.5rem;
    }

    .experience-item {
        padding: 1.25rem;
        gap: 1rem;
    }

    .experience-item:hover {
        transform: translateY(-4px);
        transform: none;
    }

    .experience-icon {
        font-size: 1.5rem;
    }

    .experience-text h3 {
        font-size: 1.125rem;
    }

    .experience-image img {
        height: 300px;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-image {
        order: 1;
    }

    .contact-info {
        order: 2;
    }

    .contact-methods {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .contact-method {
        padding: 1.25rem;
        gap: 1rem;
    }

    .contact-method:hover {
        transform: translateY(-2px);
    }

    .contact-icon {
        font-size: 1.25rem;
    }

    .contact-text h3 {
        font-size: 1rem;
    }

    .contact-text p {
        font-size: 0.875rem;
    }

    .contact-image img {
        height: 300px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        gap: 1.5rem;
    }

    /* Digiskills Section */
    .digiskills-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .digiskills-info {
        order: 2;
    }

    .digiskills-visual {
        order: 1;
    }

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

    .digiskills-block h3 {
        font-size: 1.25rem;
    }

    .digiskills-image img {
        height: 250px;
    }

    .digiskills-stats {
        grid-template-columns: repeat(3, 1fr);
        padding: 1.5rem;
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .digiskills-approach {
        margin-top: 3rem;
    }

    .digiskills-approach h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .approach-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-item {
        padding: 1.5rem;
    }

    .step-icon {
        font-size: 2rem;
    }

    .step-item h4 {
        font-size: 1.125rem;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    /* Navigation */
    .nav-container {
        padding: 0 1rem;
    }

    .nav-logo a {
        font-size: 1.25rem;
    }

    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Hero Section */
    .hero-name {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-image img {
        height: 300px;
    }

    /* Service Cards */
    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2rem;
    }

    /* Experience Items */
    .experience-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .experience-icon {
        font-size: 1.75rem;
    }

    /* Contact Methods */
    .contact-method {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    /* About Images */
    .about-image-grid img {
        height: 180px;
    }

    .experience-image img,
    .contact-image img {
        height: 250px;
    }

    /* Digiskills Section */
    .digiskills-image img {
        height: 200px;
    }

    .digiskills-stats {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .step-item {
        padding: 1.25rem;
    }

    .step-icon {
        font-size: 1.75rem;
    }

    .step-item h4 {
        font-size: 1rem;
    }
}

/* Landscape Mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: left;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-image img {
        height: 350px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .btn {
        width: auto;
        min-width: 140px;
    }
}

/* High DPI Displays */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2/1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
    /* Add specific styles for high DPI displays if needed */
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .hero-buttons,
    .contact-cta,
    .footer {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero-container,
    .about-content,
    .experience-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    img {
        max-width: 200px;
        height: auto;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark mode preferences */
@media (prefers-color-scheme: dark) {
    /* Můžete přidat dark mode styly později */
} 