/**
 * File: calcwood_about.css
 * Path: calcwood.tomashorsky.com/about/calcwood_about.css
 * Info: Specifické styly pro prezentační stránku (O projektu). Zajišťuje moderní "luxusní" vzhled, zig-zag layout a karty.
 * Verze a aktuální datum: 04-04-26 v_1.3
 */

/* Hero sekce (Úvod) */
.th-about-hero { text-align: center; margin-bottom: 60px; }
.th-about-hero h1 { font-size: 36px; color: #f9c343; margin-bottom: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.th-about-hero p { font-size: 18px; color: #ccc; max-width: 800px; margin: 0 auto 40px auto; line-height: 1.6; }

/* Video kontejner - Responzivní 16:9 s maximální šířkou proti rozpadu */
.th-about-video-container {
    max-width: 900px;
    margin: 0 auto 15px auto;
    width: 100%;
}
.th-about-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Poměr 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    border: 1px solid #333;
    background: #000;
}
.th-about-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.th-video-note {
    font-size: 14px;
    color: #888;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
    font-style: italic;
}

/* Zig-Zag Layout (Text + Fotka) */
.th-about-zigzag { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 80px; }
.th-about-zigzag.reverse { direction: rtl; }
.th-about-zigzag.reverse > * { direction: ltr; }
.th-about-zigzag img { width: 100%; border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.5); border: 1px solid #333; object-fit: cover; aspect-ratio: 16/9; }

/* Texty a nadpisy s ikonami */
.th-about-text h2 { color: #f9c343; font-size: 28px; margin-top: 0; margin-bottom: 25px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.th-about-text p { color: #bbb; line-height: 1.7; font-size: 16px; margin-bottom: 15px; }
.th-about-text ul { color: #bbb; line-height: 1.7; font-size: 16px; padding-left: 20px; margin-bottom: 20px; }
.th-about-text li { margin-bottom: 12px; }
.th-about-text strong { color: #fff; }

/* Karty pro kalkulačky */
.th-about-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-bottom: 60px; }
.th-about-card { background: linear-gradient(145deg, #222, #1a1a1a); border: 1px solid #333; border-radius: 16px; padding: 30px; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.th-about-card:hover { transform: translateY(-5px); border-color: #f9c343; box-shadow: 0 10px 30px rgba(249, 195, 67, 0.1); }
.th-about-card h3 { color: #fff; margin-top: 0; margin-bottom: 15px; font-size: 20px; display: flex; align-items: center; gap: 12px; }
.th-about-card h3 > div { display: flex; align-items: center; justify-content: center; }
.th-about-card h3 svg { width: 24px !important; height: 24px !important; flex-shrink: 0; }
.th-about-card p { color: #aaa; font-size: 15px; line-height: 1.6; margin: 0; }

/* Zvýrazněný blok */
.th-about-highlight { background: rgba(249, 195, 67, 0.05); border: 1px solid rgba(249, 195, 67, 0.2); border-radius: 16px; padding: 40px; margin-bottom: 40px; text-align: center; }
.th-about-highlight.dark { background: #151515; border-color: #333; }
.th-about-highlight h3 { color: #f9c343; margin-top: 0; font-size: 24px; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.th-about-highlight p { color: #ccc; line-height: 1.6; font-size: 16px; max-width: 800px; margin: 0 auto; }

/* Globální styly pro SVG ikony v nadpisech */
.th-icon-svg { width: 28px; height: 28px; stroke: #f9c343; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.th-icon-svg-fill { width: 28px; height: 28px; fill: #f9c343; flex-shrink: 0; }

/* Feedback blok */
.th-feedback-wrapper { display: flex; align-items: flex-start; gap: 40px; background: linear-gradient(145deg, #1a1a1a, #111); border: 1px solid #333; border-radius: 16px; padding: 40px; margin-bottom: 60px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.th-feedback-icon { background: rgba(249, 195, 67, 0.1); border-radius: 50%; padding: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.th-feedback-icon svg { width: 40px; height: 40px; stroke: #f9c343; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.th-feedback-content { flex-grow: 1; }
.th-feedback-content h3 { color: #fff; font-size: 24px; margin-top: 0; margin-bottom: 15px; }
.th-feedback-content p { color: #bbb; font-size: 16px; line-height: 1.6; margin-bottom: 10px; margin-top: 0; }
.th-feedback-email { font-size: 15px; color: #888 !important; }
.th-feedback-email strong { color: #f9c343; }

/* Formulář uvnitř feedback bloku */
.th-feedback-action { flex-shrink: 0; width: 100%; max-width: 460px; } /* Zvětšeno pro lepší vyváženost */
.th-feedback-form { display: flex; flex-direction: column; gap: 15px; }
.th-feedback-input, .th-feedback-textarea { width: 100%; padding: 14px 20px; border-radius: 12px; border: 1px solid #444; background: #222; color: #fff; font-size: 15px; outline: none; transition: border-color 0.3s ease; box-sizing: border-box; font-family: inherit; }
.th-feedback-input:focus, .th-feedback-textarea:focus { border-color: #f9c343; }
.th-feedback-input::placeholder, .th-feedback-textarea::placeholder { color: #777; }
.th-feedback-textarea { resize: vertical; min-height: 120px; }
.th-feedback-btn { background: #f9c343; color: #111; font-weight: bold; padding: 15px 30px; border-radius: 50px; text-decoration: none; transition: background 0.3s ease, transform 0.2s ease; border: none; cursor: pointer; font-size: 16px; align-self: flex-start; }
.th-feedback-btn:hover { background: #ffce54; transform: translateY(-2px); }

/* Patička s logem */
.hub-footer { text-align: center; padding: 40px 20px; margin-top: 60px; border-top: 1px solid #222; }
.hub-footer img { height: auto; max-height: 80px; opacity: 1; }

/* Mobilní zobrazení */
@media (max-width: 768px) {
    .th-about-zigzag { grid-template-columns: 1fr; gap: 30px; margin-bottom: 50px; }
    .th-about-zigzag.reverse { direction: ltr; }
    .th-about-hero h1 { font-size: 28px; }
    .th-about-hero p { font-size: 16px; }
    .th-about-text h2 { font-size: 24px; }
    .th-about-highlight { padding: 25px 15px; }
    .th-feedback-wrapper { flex-direction: column; text-align: center; gap: 30px; padding: 30px 20px; align-items: center; }
    .th-feedback-action { max-width: 100%; }
    .th-feedback-btn { align-self: center; }
}

/* =======================================================
   CALCWOOD PRO - SPECIFICKÉ TŘÍDY PRO PRODEJNÍ STRÁNKU
   ======================================================= */
.th-promo-wrapper { max-width: 1100px; margin: 40px auto; padding: 40px 20px; }
.th-promo-header { position: relative; display: flex; justify-content: center; text-align: center; margin-bottom: 50px; }
.th-promo-flags { position: absolute; top: -20px; right: 0; }
.th-promo-logo-link { text-decoration: none; display: inline-flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 auto 15px auto; }
.th-promo-logo-img { height: 50px; }
.th-promo-logo-text { margin: 0; font-size: 32px; color: #fff; font-weight: 800; letter-spacing: 2px; }
.th-promo-logo-dot { color: #f9c343; }

.th-promo-hero { text-align: center; margin-bottom: 40px; }
.th-promo-badge-top { display: inline-block; background: #f9c343; color: #000; font-weight: bold; padding: 5px 15px; border-radius: 20px; font-size: 14px; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.th-promo-badge-icon { vertical-align: middle; margin-right: 5px; margin-top: -2px; }
.th-promo-hero h1 { color: #fff; font-size: 42px; margin: 0 0 15px 0; }
.th-promo-hero h1 span { color: #f9c343; }
.th-promo-hero p { color: #bbb; font-size: 18px; max-width: 700px; margin: 0 auto; }
.th-promo-purchase-wrap { text-align: center; margin-bottom: 60px; max-width: 800px; margin-left: auto; margin-right: auto; }

.th-pro-active-box { text-align: center; margin-bottom: 60px; background: rgba(20, 20, 20, 0.8); border-top: 4px solid #f9c343; padding: 40px; border-radius: 12px; max-width: 800px; margin-left: auto; margin-right: auto; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.th-pro-crown-wrapper { display: inline-flex; align-items: center; justify-content: center; width: 85px; height: 85px; background: #f9c343; border-radius: 50%; margin-bottom: 20px; }
.th-pro-crown-icon { width: 45px; height: 45px; background-color: #141414; -webkit-mask: url('/shared/img/icon_crown_solid.svg') no-repeat center / contain; mask: url('/shared/img/icon_crown_solid.svg') no-repeat center / contain; }
.th-pro-active-box h2 { color: #fff; margin-top: 0; font-size: 32px; margin-bottom: 15px; }
.th-pro-active-box h2 span { color: #f9c343; }
.th-pro-active-box p { color: #bbb; font-size: 18px; margin-bottom: 0; line-height: 1.6; }

.th-promo-reasons-box { text-align: left; margin-bottom: 50px; padding: 40px; border-top: 4px solid #f9c343; border-radius: 12px; background: rgba(20, 20, 20, 0.8); }
.th-promo-reasons-box h3 { color: #f9c343; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 30px; font-size: 26px; gap: 10px; }
.th-promo-reasons-box h3 svg { width: 30px; height: 30px; margin: 0; fill: #f9c343; }
.th-promo-reasons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.th-promo-reason-item { display: flex; gap: 15px; align-items: flex-start; }
.th-promo-reason-num { background: #f9c343; color: #000; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 16px; flex-shrink: 0; }
.th-promo-reason-item h4 { color: #fff; margin: 0 0 5px 0; font-size: 18px; }
.th-promo-reason-item p { color: #aaa; margin: 0; font-size: 14px; line-height: 1.5; }

.th-promo-zigzag-img { border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); width: 100%; height: auto; }
.th-promo-zigzag-last { margin-bottom: 40px; }

/* Responzivita pro PRO stránku */
@media (max-width: 900px) {
    .th-promo-header { flex-direction: column; gap: 20px; }
    .th-promo-flags { position: relative; top: 0; }
    .th-promo-hero h1 { font-size: 32px; }
    .th-pro-active-box h2 { font-size: 26px; }
    .th-promo-reasons-box { padding: 25px; }
    .th-promo-reasons-box h3 { font-size: 22px; }
}