/* ============================================
   CARDCODE - PAGE CONTENT STYLES
   ============================================ */

/* Breadcrumb - hlavni definice je v style.css */

.hero {
    background-color: var(--bg-white);
    padding: 30px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero p {
    font-size: 16px;
    color: var(--text-light);
}

.page-content {
    padding: 60px 20px;
    background-color: var(--bg-white);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px 0;
    color: var(--text-dark);
}

.content-wrapper h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 15px 0;
    color: var(--text-dark);
}

.content-wrapper p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.content-wrapper ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-wrapper li {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.8;
}

.services-list {
    list-style-type: disc;
}

.features-list {
    list-style-type: none;
    margin-left: 0;
}

.features-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
}

.link-button {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.link-button:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

/* CONTACT FORM STYLES */
.contact-form {
    max-width: 700px;
    margin: 40px auto;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    background-color: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group.full {
    grid-column: 1 / -1;
}

/* FILE INPUT STYLES */
.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.file-label {
    display: block;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background-color: #ffffff;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    color: #999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.file-input:hover + .file-label {
    background-color: #f5f5f5;
    border-color: var(--primary-color);
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* CHECKBOX STYLES */
.checkbox-group {
    margin-top: 25px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    position: relative;
    width: auto;
    height: auto;
    margin: 5px 10px 0 0;
    cursor: pointer;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-group span {
    flex: 1;
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* CHECKBOX OPTIONS (poptávkový formulář) */
.checkbox-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.checkbox-option:hover {
    border-color: var(--accent-color);
    background: var(--accent-light);
}

.checkbox-option input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    box-shadow: none;
    border-radius: 3px;
}

.form-submit {
    background-color: var(--accent-color);
    color: white;
    padding: 16px 50px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    width: auto;
    display: inline-block;
}

.form-submit:hover {
    background-color: #b5362a;
    box-shadow: none;
    transform: translateY(-2px);
}

/* TABLE STYLES */
.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
}

.table-wrapper th {
    background-color: var(--primary-color);
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.table-wrapper td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.table-wrapper tr:hover {
    background-color: var(--bg-light);
}

/* BLOCKQUOTE STYLES */
blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-light);
}

/* GDPR TABLE STYLES */
.gdpr-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.gdpr-table tr {
    border-bottom: 1px solid #e8e8e8;
}

.gdpr-table tr:last-child {
    border-bottom: none;
}

.gdpr-table td {
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
    vertical-align: top;
}

.gdpr-table td:first-child {
    width: 200px;
    background-color: #f5f7fa;
    color: var(--text-dark);
    font-weight: 500;
    white-space: nowrap;
}

.gdpr-table tr:hover td {
    background-color: #f0f4f8;
}

.gdpr-table tr:hover td:first-child {
    background-color: #e8eef5;
}

/* CONTACT PAGE STYLES - NEW LAYOUT */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0 60px 0;
}

.info-box {
    background-color: #f5f5f5;
    padding: 25px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.info-box:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.info-box h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.info-box p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

.info-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.info-box a:hover {
    text-decoration: underline;
}

/* FORM SECTION */
.form-section {
    max-width: 700px;
    margin: 0 auto 60px auto;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e8e8e8;
}

.form-section h2 {
    margin-bottom: 40px;
    color: var(--text-dark);
    font-weight: 700;
}

.form-section .contact-form {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

/* MAP FULL WIDTH */
.map-full-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    margin: 40px 0;
}

.map-full {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-full iframe {
    display: block;
    width: 100%;
}

/* OLD STYLES - DEPRECATED */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 40px 0;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #333333;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-item {
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.detail-item p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

.detail-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.detail-item a:hover {
    text-decoration: underline;
}

/* MAP IN SIDEBAR */
.detail-map {
    margin-top: 30px;
}

.map-small {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.map-small iframe {
    display: block;
    width: 100%;
    height: 300px;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-form-wrapper h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #333333;
}

.form-note {
    color: var(--text-light);
    font-size: 13px;
    margin-top: 10px;
}

/* SERVICES DETAIL STYLES */
.services-details-section {
    padding: 10px 0 40px;
    background-color: #ffffff;
}

.services-details-section .container {
    max-width: 900px;
}

.services-details-section h2 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.services-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 0;
}

.service-detail {
    padding: 35px 30px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color, #e8e8e8);
    text-align: center;
    scroll-margin-top: 100px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.service-detail:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

.service-detail h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.service-detail h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.service-detail p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 auto 15px;
    font-size: 14px;
}

.service-detail .service-detail-cta {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* TECH TAGS */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.tech-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--accent-light);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border: 1px solid rgba(212,74,49,0.2);
}

.tech-tag:hover {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* PROCESS LIST STYLES */
.process-list {
    list-style: decimal;
    margin-left: 25px;
    margin-bottom: 20px;
}

.process-list li {
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.8;
}

.process-list strong {
    color: var(--text-dark);
}

/* FAQ STYLES */
.faq {
    margin: 40px 0;
}

.faq-item {
    background-color: var(--bg-white);
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.faq-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 14px;
}

/* RESPONSIVE PAGE CONTENT */
@media (max-width: 768px) {
    .page-content {
        padding: 40px 20px;
    }

    .content-wrapper h2 {
        font-size: 24px;
    }

    .content-wrapper h3 {
        font-size: 18px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-details-section {
        padding: 20px 0 30px;
    }

    .service-detail h3 {
        font-size: 18px;
    }

    .service-detail p {
        font-size: 13px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 30px 15px;
    }

    .content-wrapper h2 {
        font-size: 20px;
    }

    .content-wrapper h3 {
        font-size: 16px;
    }

    .content-wrapper p {
        font-size: 14px;
    }

    .contact-form {
        padding: 15px;
    }

    .table-wrapper {
        font-size: 14px;
    }

    .table-wrapper th,
    .table-wrapper td {
        padding: 8px;
    }
}

/* ============================================
   FORM VALIDATION STYLES
   ============================================ */

/* Povinná pole - hvězdička */
.form-group label .required {
    color: #d32f2f;
    margin-left: 3px;
}

/* Validace - chybné pole */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #d32f2f;
    background-color: #fff5f5;
}

.form-group input.error:focus,
.form-group textarea.error:focus,
.form-group select.error:focus {
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* Validace - správné pole */
.form-group input.valid,
.form-group textarea.valid,
.form-group select.valid {
    border-color: #4caf50;
    background-color: #f1f8f4;
}

.form-group input.valid:focus,
.form-group textarea.valid:focus,
.form-group select.valid:focus {
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Error message pod polem */
.form-group .error-message {
    display: block;
    color: #d32f2f;
    font-size: 13px;
    margin-top: 5px;
    animation: fadeIn 0.3s ease;
}

/* Success message */
.form-success-message {
    background-color: #4caf50;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    animation: slideDown 0.4s ease;
}

.form-success-message h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 400;
}

.form-success-message p {
    margin: 0;
    font-size: 15px;
}

/* Error message - hlavní */
.form-error-message {
    background-color: #d32f2f;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    animation: slideDown 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   CONTACT LINES STYLE
   ============================================ */

.contact-lines {
    max-width: 500px;
    margin: 30px auto 0;
}

.contact-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-line:last-child {
    border-bottom: none;
}

.contact-line-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.contact-line-value {
    font-size: 14px;
    color: var(--text-dark);
    text-align: right;
}

.contact-line-value a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-line-value a:hover {
    text-decoration: underline;
}

/* ============================================
   CONTACT INFO BOX STYLE
   ============================================ */

.contact-info-box {
    max-width: 550px;
    margin: 35px auto 0;
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 10px 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-top: 4px solid var(--accent-color);
}

.contact-info-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid #ececec;
}

.contact-info-row:last-child {
    border-bottom: none;
}

.contact-info-icon {
    font-size: 22px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.contact-info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.contact-info-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    flex-shrink: 0;
}

.contact-info-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    text-align: right;
}

.contact-info-value a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-value a:hover {
    text-decoration: underline;
}

/* ============================================
   O NÁS PAGE STYLES
   ============================================ */

/* Intro sekce */
.about-intro-section {
    padding: 20px 0 40px;
    background-color: var(--bg-white);
    text-align: center;
}

.about-intro-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.about-lead {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 12px;
    font-weight: 400;
}

.about-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto;
}

.about-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 35px 0 20px;
    text-align: center;
}

/* Jak pracujeme - proces */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 25px 15px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.process-step:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.process-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.process-step h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* Milníky timeline */
.about-milestones-section {
    padding: 40px 0;
    background-color: var(--bg-white);
}

.about-milestones-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.milestones-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 0;
}

.milestones-timeline::before {
    content: '';
    position: absolute;
    left: 55px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.milestone-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
    position: relative;
}

.milestone-item:last-child {
    margin-bottom: 0;
}

.milestone-year {
    flex-shrink: 0;
    width: 55px;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-color);
    text-align: right;
    padding-top: 2px;
    position: relative;
}

.milestone-year::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 2px solid var(--bg-white);
    z-index: 1;
}

.milestone-text {
    flex: 1;
    padding-left: 10px;
}

.milestone-text h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.milestone-text p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}
