/* =============================================
   Psí salon Čeníšek — Main Stylesheet
   ============================================= */

:root {
    --primary:        #4BBAB5;
    --primary-dark:   #3a9e99;
    --primary-light:  #e8f8f7;
    --dark:           #2c3e50;
    --text:           #444444;
    --text-light:     #777777;
    --bg-light:       #f8f9fa;
    --footer-bg:      #3d4a5a;
    --white:          #ffffff;
    --border:         #e0e0e0;
    --shadow:         0 4px 20px rgba(0,0,0,.08);
    --radius:         8px;
    --font:           'Poppins', sans-serif;
    --font-heading:   'Poppins', sans-serif;
    --container:      1100px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); font-size: 16px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
ul { list-style: none; }

/* Container */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s ease;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* =============================================
   Top Bar
   ============================================= */
.top-bar {
    background: var(--dark);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: flex-end; }
.top-bar a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}
.top-bar a:hover { color: var(--primary); }

/* =============================================
   Header / Navigation
   ============================================= */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-img {
    height: 52px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list li a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    border-radius: 4px;
    transition: color .2s, background .2s;
}
.nav-list li a:hover,
.nav-list li.current-menu-item a {
    color: var(--primary);
    background: var(--primary-light);
}
.nav-cta { margin-left: 12px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all .3s;
    border-radius: 2px;
}

/* =============================================
   Sections — shared
   ============================================= */
section { padding: 100px 0; }

.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    color: var(--dark);
    margin-bottom: 16px;
}
.section-header p {
    font-size: 17px;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}
.section-cta {
    text-align: center;
    margin-top: 60px;
}

/* =============================================
   About Section
   ============================================= */
.section-about {
    padding: 110px 0;
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: center;
}
.about-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 52px);
    color: var(--dark);
    margin-bottom: 28px;
    line-height: 1.15;
}
.about-text p {
    margin-bottom: 20px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
}
.about-text .btn { margin-top: 12px; }

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-dog-illustration {
    width: 100%;
    max-width: 340px;
}
.dog-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 30px rgba(75,186,181,.15));
}

/* =============================================
   Services Grid
   ============================================= */
.section-services { background: var(--bg-light); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.service-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
}
.service-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.6;
}

/* =============================================
   Pricing Section
   ============================================= */
.section-cenik-preview { background: var(--white); }
.section-cenik-full { background: var(--white); padding: 80px 0; }

/* Ceník tables (rendered by plugin) */
.psi-cenik-wrap { width: 100%; overflow-x: auto; }
.psi-cenik-wrap h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--dark);
    margin: 40px 0 16px;
}
.psi-cenik-wrap h3:first-child { margin-top: 0; }

.psi-cenik-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 32px;
    min-width: 600px;
}
.psi-cenik-table th,
.psi-cenik-table td {
    padding: 12px 10px;
    border: 1px solid var(--border);
    text-align: center;
}
.psi-cenik-table thead th {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .03em;
}
.psi-cenik-table thead th.col-service {
    background: var(--dark);
    text-align: left;
    min-width: 160px;
}
.psi-cenik-table thead .col-subheader th {
    background: var(--primary-dark);
    font-size: 11px;
    font-weight: 500;
    padding: 6px 8px;
}
.psi-cenik-table tbody tr:nth-child(even) td { background: var(--bg-light); }
.psi-cenik-table tbody td.col-service { text-align: left; font-weight: 500; color: var(--dark); }
.psi-cenik-table tbody td { color: var(--text); }
.psi-cenik-table tbody tr:hover td { background: var(--primary-light); }

.psi-cenik-notice {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 16px 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 13.5px;
    color: var(--text);
    line-height: 1.6;
    margin-top: 8px;
}
.psi-cenik-notice strong { display: block; margin-bottom: 6px; color: var(--dark); }

/* =============================================
   Parking
   ============================================= */
.section-parking {
    background: var(--primary-light);
    padding: 68px 0;
}
.parking-box {
    display: flex;
    align-items: center;
    gap: 36px;
    max-width: 700px;
    margin: 0 auto;
}
.parking-icon { color: var(--primary); flex-shrink: 0; }
.parking-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.parking-text p { color: var(--text); }

/* =============================================
   Contact Section
   ============================================= */
.section-contact { background: var(--bg-light); }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 64px;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.contact-map iframe { display: block; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}
.contact-item h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-light);
    margin-bottom: 4px;
}
.contact-item a,
.contact-item address {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}
.contact-item a:hover { color: var(--primary); }
.contact-item .btn { font-size: 12px; padding: 5px 12px; font-weight: 600; }
.contact-item .btn-outline { color: var(--primary); }
.contact-item .btn-outline:hover { background: var(--primary); color: var(--white); }

/* =============================================
   Page Header
   ============================================= */
.section-page-header {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}
.section-page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 12px;
}
.section-page-header p { color: rgba(255,255,255,.75); font-size: 17px; }
.post-meta { color: rgba(255,255,255,.6); font-size: 14px; margin-top: 8px; }

/* =============================================
   Page Content
   ============================================= */
.section-page-content { background: var(--white); }
.section-galerie-full { background: var(--white); padding: 60px 0; }
.page-content, .post-content-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.entry-content h2,
.entry-content h3 {
    font-family: var(--font-heading);
    color: var(--dark);
    margin: 32px 0 12px;
}
.entry-content p { margin-bottom: 16px; line-height: 1.75; }
.entry-content ul,
.entry-content ol {
    margin: 0 0 16px 24px;
    list-style: disc;
}
.post-thumbnail { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.post-thumbnail img { width: 100%; }
.post-navigation { margin-top: 40px; }

/* =============================================
   Archive / Posts Grid
   ============================================= */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.post-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .2s;
}
.post-card:hover { transform: translateY(-4px); }
.post-card-image { display: block; overflow: hidden; aspect-ratio: 16/9; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-card-image img { transform: scale(1.04); }
.post-card-image--placeholder {
    background: linear-gradient(135deg, var(--primary-light), #daf2f1);
    aspect-ratio: 16/9;
}
.post-card-body { padding: 32px; }
.post-card-meta { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.post-card-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.post-card-title a:hover { color: var(--primary); }
.post-card-excerpt { font-size: 14px; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }

.pagination { margin-top: 48px; text-align: center; }
.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin: 0 2px;
    font-size: 14px;
    transition: all .2s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.no-posts { text-align: center; color: var(--text-light); padding: 40px 0; }

/* =============================================
   Footer
   ============================================= */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.85); }
.footer-top { padding: 80px 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
    gap: 60px;
}
.footer-logo-img { margin-bottom: 12px; filter: brightness(0) invert(1); opacity: .85; }
.footer-brand .footer-logo-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--white);
    margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.65); }

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--primary);
    margin-bottom: 16px;
}
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255,255,255,.8);
}
.footer-contact a { color: rgba(255,255,255,.8); }
.footer-contact a:hover { color: var(--primary); }
.footer-objednat { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 8px; }

.footer-navigate-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--white);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: background .2s;
}
.footer-navigate-btn:hover { background: var(--primary-dark); }

.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,.75); transition: color .2s; }
.footer-nav a:hover { color: var(--primary); }

.map-placeholder {
    background: rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}
.map-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    transition: color .2s;
}
.map-link:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
}
.footer-bottom p {
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,.45);
}
.footer-bottom a { color: var(--primary); }
.footer-bottom a:hover { text-decoration: underline; }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    section { padding: 72px 0; }

    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px;
        box-shadow: 0 8px 20px rgba(0,0,0,.1);
        gap: 0;
    }
    .main-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; width: 100%; }
    .nav-list li a { padding: 10px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
    .nav-cta { margin: 16px 0 4px; text-align: center; }

    .site-header { position: relative; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; }
    .about-dog-illustration { max-width: 220px; }

    .services-grid { grid-template-columns: 1fr 1fr; }

    .posts-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .parking-box { flex-direction: column; text-align: center; }

    .contact-layout { grid-template-columns: 1fr; }
    .contact-map iframe { height: 240px; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .about-text h1 { font-size: 28px; }
}
