/**
 * Rotak Nemovitosti - Frontend Styles
 */

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    --rotak-primary: #003D7A;
    --rotak-secondary: #E85D20;
    --rotak-text: #333333;
    --rotak-text-light: #666666;
    --rotak-border: #e0e0e0;
    --rotak-bg-light: #f8f9fa;
    --rotak-success: #28a745;
    --rotak-warning: #ffc107;
    --rotak-danger: #dc3545;
}

/* ==========================================================================
   Wrapper
   ========================================================================== */
.rotak-nemovitosti-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* ==========================================================================
   Filters
   ========================================================================== */
.rotak-filtry {
    background: var(--rotak-bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.rotak-filtry-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.rotak-filtr-group {
    flex: 1;
    min-width: 200px;
}

.rotak-filtr-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--rotak-text);
    margin-bottom: 5px;
}

.rotak-filtr-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--rotak-border);
    border-radius: 4px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.rotak-filtr-group select:focus {
    outline: none;
    border-color: var(--rotak-primary);
}

.rotak-filtr-submit {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

/* Buttons */
.rotak-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.rotak-btn-primary {
    background: var(--rotak-primary);
    color: white;
}

.rotak-btn-primary:hover {
    background: #002d5c;
    color: white;
}

.rotak-btn-secondary {
    background: white;
    color: var(--rotak-text);
    border: 1px solid var(--rotak-border);
}

.rotak-btn-secondary:hover {
    background: var(--rotak-bg-light);
    color: var(--rotak-text);
}

/* ==========================================================================
   Grid
   ========================================================================== */
.rotak-nemovitosti-grid {
    display: grid;
    gap: 25px;
}

.rotak-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.rotak-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.rotak-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .rotak-cols-4,
    .rotak-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .rotak-cols-4,
    .rotak-cols-3,
    .rotak-cols-2 {
        grid-template-columns: 1fr;
    }

    .rotak-filtry-form {
        flex-direction: column;
    }

    .rotak-filtr-group {
        width: 100%;
    }
}

/* ==========================================================================
   Property Card
   ========================================================================== */
.rotak-nemovitost-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.rotak-nemovitost-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.rotak-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Card Image - NO zoom on hover */
.rotak-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--rotak-bg-light);
}

.rotak-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* NO transition, NO zoom */
}

.rotak-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--rotak-text-light);
    font-size: 14px;
}

/* Badge */
.rotak-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    color: white;
}

.rotak-badge-v-prodeji {
    background: var(--rotak-success);
}

.rotak-badge-rezervovano {
    background: var(--rotak-secondary);
}

.rotak-badge-prodano {
    background: var(--rotak-text-light);
}

/* Card Content */
.rotak-card-content {
    padding: 20px;
}

.rotak-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--rotak-text);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.rotak-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.rotak-meta-item {
    font-size: 14px;
    color: var(--rotak-text-light);
}

.rotak-meta-item strong {
    color: var(--rotak-text);
}

.rotak-meta-location::before {
    content: "📍 ";
}

.rotak-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--rotak-primary);
}

/* Sold/Reserved overlay */
.stav-prodano .rotak-card-image::after,
.stav-rezervovano .rotak-card-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.stav-prodano .rotak-card-price {
    color: var(--rotak-text-light);
    text-decoration: line-through;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.rotak-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.rotak-pagination a,
.rotak-pagination span {
    display: inline-block;
    padding: 10px 15px;
    background: white;
    border: 1px solid var(--rotak-border);
    border-radius: 4px;
    color: var(--rotak-text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.rotak-pagination a:hover {
    background: var(--rotak-primary);
    border-color: var(--rotak-primary);
    color: white;
}

.rotak-pagination .current {
    background: var(--rotak-primary);
    border-color: var(--rotak-primary);
    color: white;
}

/* ==========================================================================
   No Results
   ========================================================================== */
.rotak-no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--rotak-bg-light);
    border-radius: 8px;
}

.rotak-no-results p {
    font-size: 18px;
    color: var(--rotak-text-light);
    margin: 0;
}

/* ==========================================================================
   Single Property Detail
   ========================================================================== */
.rotak-nemovitost-detail {
    max-width: 900px;
    margin: 0 auto;
}

.rotak-detail-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--rotak-primary);
    margin-bottom: 20px;
}

.rotak-detail-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--rotak-text);
    margin-bottom: 30px;
}

.rotak-detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.rotak-gallery-item {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
}

.rotak-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.rotak-gallery-item:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   Single Template Styles
   ========================================================================== */
.rotak-single-header {
    margin-bottom: 30px;
}

.rotak-single-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.rotak-single-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--rotak-text);
    margin: 0 0 10px 0;
}

.rotak-single-location {
    font-size: 18px;
    color: var(--rotak-text-light);
}

.rotak-single-gallery {
    margin-bottom: 40px;
}

.rotak-single-main-image {
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.rotak-single-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rotak-single-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.rotak-single-thumb {
    aspect-ratio: 4/3;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.rotak-single-thumb:hover,
.rotak-single-thumb.active {
    opacity: 1;
}

.rotak-single-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rotak-single-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .rotak-single-content {
        grid-template-columns: 1fr;
    }
}

.rotak-single-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.rotak-single-info-table tr {
    border-bottom: 1px solid var(--rotak-border);
}

.rotak-single-info-table th,
.rotak-single-info-table td {
    padding: 12px 0;
    text-align: left;
}

.rotak-single-info-table th {
    font-weight: 600;
    color: var(--rotak-text-light);
    width: 40%;
}

.rotak-single-info-table td {
    color: var(--rotak-text);
}

.rotak-single-sidebar {
    position: sticky;
    top: 20px;
}

.rotak-single-price-box {
    background: var(--rotak-bg-light);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.rotak-single-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--rotak-primary);
}

.rotak-single-agent {
    background: white;
    border: 1px solid var(--rotak-border);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.rotak-single-agent-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.rotak-single-agent a {
    display: block;
    padding: 12px;
    margin-bottom: 10px;
    background: var(--rotak-primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.rotak-single-agent a:hover {
    background: #002d5c;
}

.rotak-single-agent a.secondary {
    background: var(--rotak-secondary);
}

.rotak-single-agent a.secondary:hover {
    background: #c94a15;
}

/* Map */
.rotak-single-map {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
}

.rotak-single-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Case Study - Stats (Hero)
   ========================================================================== */
.rotak-case-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0;
}

.rotak-case-stat {
    text-align: center;
    min-width: 100px;
}

.rotak-case-stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--rotak-primary);
    line-height: 1;
}

.rotak-case-stat-label {
    display: block;
    font-size: 14px;
    color: var(--rotak-text-light);
    margin-top: 5px;
}

/* ==========================================================================
   Case Study - Timeline
   ========================================================================== */
.rotak-case-timeline {
    position: relative;
    padding-left: 50px;
    margin: 40px 0;
}

.rotak-case-timeline::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--rotak-border);
}

.rotak-timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.rotak-timeline-item:last-child {
    padding-bottom: 0;
}

.rotak-timeline-marker {
    position: absolute;
    left: -50px;
    top: 0;
    width: 36px;
    height: 36px;
    background: var(--rotak-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 1;
}

.rotak-timeline-content {
    background: var(--rotak-bg-light);
    padding: 20px 25px;
    border-radius: 8px;
}

.rotak-timeline-date {
    display: inline-block;
    background: var(--rotak-secondary);
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.rotak-timeline-content h4 {
    margin: 0 0 10px;
    color: var(--rotak-text);
    font-size: 18px;
}

.rotak-timeline-content p {
    margin: 0;
    color: var(--rotak-text-light);
    line-height: 1.6;
}

@media (max-width: 600px) {
    .rotak-case-timeline {
        padding-left: 40px;
    }
    .rotak-timeline-marker {
        left: -40px;
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .rotak-case-timeline::before {
        left: 13px;
    }
}

/* ==========================================================================
   Case Study - Results Cards
   ========================================================================== */
.rotak-case-results {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.rotak-case-results .rotak-result-card {
    background: white;
    border: 1px solid var(--rotak-border);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.rotak-case-results .rotak-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.rotak-case-results .rotak-result-highlight {
    background: var(--rotak-primary);
    border-color: var(--rotak-primary);
    color: white;
}

.rotak-result-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.rotak-result-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--rotak-primary);
    margin-bottom: 5px;
}

.rotak-result-highlight .rotak-result-number {
    color: white;
}

.rotak-result-label {
    font-size: 14px;
    color: var(--rotak-text-light);
    margin-bottom: 10px;
}

.rotak-result-highlight .rotak-result-label {
    color: rgba(255, 255, 255, 0.8);
}

.rotak-result-compare {
    font-size: 12px;
    color: var(--rotak-text-light);
    padding-top: 10px;
    border-top: 1px solid var(--rotak-border);
}

.rotak-result-highlight .rotak-result-compare {
    color: rgba(255, 255, 255, 0.7);
    border-top-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 992px) {
    .rotak-case-results {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .rotak-case-results {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Case Study - Testimonial
   ========================================================================== */
.rotak-case-testimonial {
    background: var(--rotak-bg-light);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}

.rotak-testimonial-stars {
    font-size: 28px;
    color: #ffc107;
    margin-bottom: 20px;
}

.rotak-case-testimonial blockquote {
    font-size: 18px;
    line-height: 1.7;
    color: var(--rotak-text);
    margin: 0 0 25px;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.rotak-testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.rotak-testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--rotak-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.rotak-testimonial-author strong {
    display: block;
    color: var(--rotak-text);
}

.rotak-testimonial-author span {
    display: block;
    font-size: 14px;
    color: var(--rotak-text-light);
}

/* ==========================================================================
   Case Study - Realtor Comment
   ========================================================================== */
.rotak-case-comment {
    background: white;
    border-left: 4px solid var(--rotak-primary);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
}

.rotak-case-comment blockquote {
    font-size: 17px;
    line-height: 1.7;
    color: var(--rotak-text);
    margin: 0 0 15px;
}

.rotak-case-comment cite {
    color: var(--rotak-primary);
    font-weight: 600;
    font-style: normal;
}

/* ==========================================================================
   Case Study Card (for listings)
   ========================================================================== */
.stav-pripadova-studie .rotak-badge {
    background: var(--rotak-primary);
}

.rotak-case-study-card {
    display: block;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.rotak-case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.rotak-case-study-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--rotak-primary);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.rotak-case-study-stats {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--rotak-text-light);
    margin-top: 10px;
}

/* ==========================================================================
   UTILITY CLASSES - pro DIVI integraci
   Plugin = data, DIVI = design
   ========================================================================== */

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */
.u-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.u-container-narrow {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.u-container-wide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Flex utilities */
.u-flex { display: flex; }
.u-flex-wrap { flex-wrap: wrap; }
.u-flex-center { align-items: center; justify-content: center; }
.u-flex-between { justify-content: space-between; }
.u-flex-col { flex-direction: column; }

/* Grid utilities */
.u-grid { display: grid; }
.u-grid-2 { grid-template-columns: repeat(2, 1fr); }
.u-grid-3 { grid-template-columns: repeat(3, 1fr); }
.u-grid-4 { grid-template-columns: repeat(4, 1fr); }
.u-grid-auto { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Gap utilities */
.u-gap-sm { gap: 10px; }
.u-gap-md { gap: 20px; }
.u-gap-lg { gap: 30px; }
.u-gap-xl { gap: 40px; }

/* --------------------------------------------------------------------------
   Spacing Utilities
   -------------------------------------------------------------------------- */
.u-mt-0 { margin-top: 0; }
.u-mt-sm { margin-top: 10px; }
.u-mt-md { margin-top: 20px; }
.u-mt-lg { margin-top: 40px; }
.u-mt-xl { margin-top: 60px; }

.u-mb-0 { margin-bottom: 0; }
.u-mb-sm { margin-bottom: 10px; }
.u-mb-md { margin-bottom: 20px; }
.u-mb-lg { margin-bottom: 40px; }
.u-mb-xl { margin-bottom: 60px; }

.u-py-sm { padding-top: 10px; padding-bottom: 10px; }
.u-py-md { padding-top: 20px; padding-bottom: 20px; }
.u-py-lg { padding-top: 40px; padding-bottom: 40px; }
.u-py-xl { padding-top: 60px; padding-bottom: 60px; }

.u-px-sm { padding-left: 10px; padding-right: 10px; }
.u-px-md { padding-left: 20px; padding-right: 20px; }
.u-px-lg { padding-left: 40px; padding-right: 40px; }

/* --------------------------------------------------------------------------
   Text Utilities
   -------------------------------------------------------------------------- */
.u-text-center { text-align: center; }
.u-text-left { text-align: left; }
.u-text-right { text-align: right; }

.u-text-sm { font-size: 14px; }
.u-text-md { font-size: 16px; }
.u-text-lg { font-size: 18px; }
.u-text-xl { font-size: 24px; }
.u-text-2xl { font-size: 32px; }
.u-text-3xl { font-size: 42px; }

.u-text-bold { font-weight: 700; }
.u-text-semibold { font-weight: 600; }
.u-text-normal { font-weight: 400; }

.u-text-primary { color: var(--rotak-primary); }
.u-text-secondary { color: var(--rotak-secondary); }
.u-text-muted { color: var(--rotak-text-light); }
.u-text-dark { color: var(--rotak-text); }
.u-text-white { color: white; }

.u-text-uppercase { text-transform: uppercase; }
.u-text-capitalize { text-transform: capitalize; }

/* --------------------------------------------------------------------------
   Background Utilities
   -------------------------------------------------------------------------- */
.u-bg-white { background-color: white; }
.u-bg-light { background-color: var(--rotak-bg-light); }
.u-bg-primary { background-color: var(--rotak-primary); }
.u-bg-secondary { background-color: var(--rotak-secondary); }
.u-bg-dark { background-color: var(--rotak-text); }
.u-bg-gray { background-color: #f0f0f0; }

/* --------------------------------------------------------------------------
   Card / Box Utilities
   -------------------------------------------------------------------------- */
.u-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.u-card-flat {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--rotak-border);
}

.u-card-elevated {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.u-rounded { border-radius: 8px; }
.u-rounded-lg { border-radius: 12px; }
.u-rounded-full { border-radius: 9999px; }

/* --------------------------------------------------------------------------
   Button Utilities
   -------------------------------------------------------------------------- */
.u-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.u-btn-primary {
    background: var(--rotak-secondary);
    color: white;
}

.u-btn-primary:hover {
    background: #c74d1a;
    color: white;
}

.u-btn-outline {
    background: transparent;
    border: 2px solid var(--rotak-primary);
    color: var(--rotak-primary);
}

.u-btn-outline:hover {
    background: var(--rotak-primary);
    color: white;
}

.u-btn-block {
    display: block;
    width: 100%;
}

.u-btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.u-btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   Badge Utilities
   -------------------------------------------------------------------------- */
.u-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.u-badge-primary {
    background: var(--rotak-primary);
    color: white;
}

.u-badge-secondary {
    background: var(--rotak-secondary);
    color: white;
}

.u-badge-success {
    background: var(--rotak-success);
    color: white;
}

.u-badge-light {
    background: var(--rotak-bg-light);
    color: var(--rotak-text);
}

/* --------------------------------------------------------------------------
   Spec Item (pro property specs)
   -------------------------------------------------------------------------- */
.rotak-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.rotak-spec-item {
    text-align: center;
    min-width: 100px;
}

.rotak-spec-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--rotak-text);
    line-height: 1.2;
}

.rotak-spec-label {
    font-size: 13px;
    color: var(--rotak-text-light);
    margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Amenities (pro vybavení)
   -------------------------------------------------------------------------- */
.rotak-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rotak-amenity-item {
    display: inline-block;
    background: var(--rotak-bg-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--rotak-text);
}

/* --------------------------------------------------------------------------
   Gallery (pro galerie)
   -------------------------------------------------------------------------- */
.rotak-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.rotak-gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
}

.rotak-gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.rotak-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.rotak-gallery-item:hover img {
    transform: scale(1.05);
}

.rotak-gallery-first {
    grid-column: span 2;
    grid-row: span 2;
}

@media (max-width: 600px) {
    .rotak-gallery-first {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* --------------------------------------------------------------------------
   Section Label (pro nadpisy sekcí)
   -------------------------------------------------------------------------- */
.u-section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rotak-secondary);
    margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   Responsive Utilities
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .u-grid-4,
    .u-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .u-grid-4,
    .u-grid-3,
    .u-grid-2 {
        grid-template-columns: 1fr;
    }

    .u-hide-mobile {
        display: none !important;
    }

    .rotak-specs {
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   Print Utilities
   -------------------------------------------------------------------------- */
@media print {
    .u-no-print {
        display: none !important;
    }
}
