/* ============================================
   CARDCODE - RESPONSIVE STYLESHEET
   ============================================ */

/* TABLET */
@media (max-width: 768px) {
    /* Header */
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
        padding-top: 80px;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    .main-nav a {
        padding: 15px 20px;
        border-radius: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Nové sekce - responzivita */
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-item {
        padding: 30px 15px;
        min-height: 120px;
    }

    .stats-inline {
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat-inline-item strong {
        font-size: 24px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 16px;
    }

    /* Hero */
    .hero-banner {
        height: 350px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.45));
        padding: 0 4%;
        justify-content: center;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-kicker {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .hero-slogan {
        font-size: 28px;
        letter-spacing: 1.8px;
        gap: 0 8px;
    }

    .hero-headline {
        font-size: 24px;
        letter-spacing: 1px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        font-size: 16px;
        padding: 12px 30px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .hero p {
        font-size: 16px;
    }

    /* Statistics Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Services Buttons - 2 sloupce na tabletu */
    .services-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Personalizace - 2 sloupce na tabletu */
    .personalization-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact Info Grid - 2 sloupce na tabletu */
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact Cards - na tabletu menší gap */
    .contact-blocks {
        gap: 25px;
    }

    /* Contact Wrapper - 1 sloupec na tabletu */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Footer Info */
    .footer-main {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .footer-col {
        flex: none;
        width: 100%;
    }

    .footer-map {
        flex: none;
        width: 100%;
        height: 250px;
        display: block;
    }

    .footer-map a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .footer-map img {
        height: 250px;
        width: 100%;
        object-fit: cover;
        display: block;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-buttons button {
        flex: 1;
    }

    /* O nás - tablet */
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-intro-section h2 {
        font-size: 28px;
    }

    .about-lead {
        font-size: 16px;
    }

    .milestones-timeline {
        padding-left: 0;
    }

    /* GDPR tabulky */
    .gdpr-table td:first-child {
        width: auto;
        white-space: normal;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Header */
    .logo {
        gap: 5px;
    }

    .logo img {
        height: 35px;
    }

    .logo-text {
        font-size: 16px;
    }

    .main-nav a {
        font-size: 14px;
    }

    /* Nové sekce - mobil */
    .why-section {
        padding: 40px 0;
    }

    .why-section h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .intro-text {
        font-size: 14px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .section-subtitle {
        font-size: 24px;
        margin: 30px 0 20px;
    }

    .services-section h2 {
        font-size: 24px;
    }

    .services-intro {
        font-size: 14px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .why-item {
        padding: 20px 15px;
        min-height: 100px;
    }

    .why-item h3 {
        font-size: 14px;
    }

    .stats-section {
        padding: 30px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 12px;
    }

    .testimonials-section {
        padding: 40px 0;
    }

    .testimonials-section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-quote {
        font-size: 48px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .cta-section {
        padding: 40px 0;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .cta-section p {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 12px 25px;
        font-size: 15px;
    }

    /* Hero */
    .hero-banner {
        height: 300px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .hero-overlay {
        /* Na mobilu udelame overlay rovnomerny aby text byl citelny pres celou sirku */
        background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.6));
        padding: 0 4%;
        justify-content: center;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-kicker {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
    }

    .hero-slogan {
        font-size: 20px;
        letter-spacing: 1.2px;
        gap: 0 5px;
        justify-content: center;
        margin-bottom: 12px;
    }

    .hero-headline {
        font-size: 20px;
        letter-spacing: 0.8px;
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-cta {
        font-size: 14px;
        padding: 10px 25px;
    }

    .hero {
        padding: 50px 15px;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .hero h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 14px;
    }

    /* O nás - mobile */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-intro-section h2 {
        font-size: 24px;
    }

    .about-section-title {
        font-size: 20px;
    }

    .about-milestones-section h2 {
        font-size: 22px;
    }

    .about-lead {
        font-size: 15px;
    }

    .process-step {
        padding: 20px 15px;
    }

    .milestones-timeline::before {
        left: 45px;
    }

    .milestone-year {
        width: 45px;
        font-size: 14px;
    }

    .milestone-text h3 {
        font-size: 15px;
    }

    .milestone-text p {
        font-size: 13px;
    }

    /* Sections */
    .about-intro,
    .services,
    .statistics {
        padding: 40px 15px;
    }

    .services h2,
    .about-text h2 {
        font-size: 24px;
    }

    /* Statistics Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Services Buttons - 1 sloupec na mobilu */
    .services-buttons {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Personalizace - 1 sloupec na mobilu */
    .personalization-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-btn {
        min-height: 100px;
        padding: 20px 15px;
    }

    .service-card {
        padding: 15px 10px;
    }

    .service-card img {
        width: 60px;
        height: 60px;
    }

    .service-card h3 {
        font-size: 14px;
    }

    /* Footer Info */
    .footer-info {
        padding: 30px 0 20px;
    }

    .footer-main {
        flex-direction: column;
        padding: 0 15px;
        gap: 0;
        align-items: stretch;
    }

    .footer-col {
        text-align: center;
        margin-bottom: 25px;
        flex: none;
        width: 100%;
    }

    .footer-col p {
        font-size: 13px;
    }

    .footer-col h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .footer-logo {
        height: 35px;
        margin-bottom: 10px;
    }

    .footer-map {
        flex: none;
        width: 100%;
        height: 200px;
        margin-top: 20px;
        display: block;
    }

    .footer-map a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .footer-map img {
        height: 200px;
        width: 100%;
        object-fit: cover;
        display: block;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    /* Footer */
    .footer {
        padding: 30px 15px 15px;
    }

    .footer-section h3 {
        font-size: 14px;
    }

    .footer-section p {
        font-size: 12px;
    }

    .footer-bottom {
        font-size: 12px;
    }

    /* Cookie Notice */
    .cookie-content {
        padding: 0;
    }

    .cookie-notice {
        padding: 15px;
    }

    .cookie-content p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .cookie-buttons {
        gap: 5px;
    }

    .cookie-buttons button {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* GDPR tabulky - mobilní vertikální layout */
    .gdpr-table,
    .gdpr-table tbody,
    .gdpr-table tr,
    .gdpr-table td {
        display: block;
        width: 100%;
    }

    .gdpr-table tr {
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .gdpr-table td:first-child {
        font-size: 13px;
        padding-bottom: 2px;
    }

    .gdpr-table td:last-child {
        padding-top: 2px;
    }
}

/* SMALL MOBILE */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero h2 {
        font-size: 16px;
    }

    .services-buttons {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .contact-blocks {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 35px;
    }

    .contact-info-box {
        padding: 5px 20px;
    }

    .contact-info-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .contact-info-value {
        text-align: left;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-full iframe {
        height: 300px;
    }

    .stat-number {
        font-size: 24px;
    }
}

