/* Custom styling and modern enhancements for Svatby Inspirace */

/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 33, 33, 0.96);
    color: #ffffff;
    padding: 16px 20px;
    z-index: 999999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    display: none;
    transition: all 0.3s ease;
}

#cookie-consent-banner.show {
    display: block;
    animation: slideUp 0.35s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-content {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-text {
    flex: 1 1 500px;
    margin: 0;
    color: #e0e0e0;
}

.cookie-text a {
    color: #f7a8b8;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cookie-accept {
    background-color: #2e7d32;
    color: #ffffff;
}

.btn-cookie-accept:hover {
    background-color: #1b5e20;
}

.btn-cookie-reject {
    background-color: transparent;
    color: #bdbdbd;
    border: 1px solid #757575;
}

.btn-cookie-reject:hover {
    background-color: rgba(255,255,255,0.08);
    color: #ffffff;
    border-color: #9e9e9e;
}

/* Enhancements to Kale Theme */
.img-responsive {
    max-width: 100%;
    height: auto;
}

.entry-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
}

/* ==========================================================================
   Typography - Google Fonts:
   - Dancing Script: Widget Titles (h3.widget-title, .widget-title)
   - Cormorant Garamond Bold: All other Headings (h1-h6, .entry-title, .page-title, etc.)
   - Playfair Display: Header Tagline (.tagline, .tagline p)
   - Inter: Body and Text in Posts & Pages
   ========================================================================== */

/* Header Tagline */
.tagline,
.tagline p {
    font-family: 'Playfair Display', sans-serif !important;
    font-size: 18px !important;
    text-transform: uppercase !important;
}

/* Widget Titles in Dancing Script (calligraphy style) */
h3.widget-title,
.widget-title,
.widget-title span,
.sidebar .widget-title,
.sidebar .widget-title span {
    font-family: 'Dancing Script', cursive, sans-serif !important;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none !important;
    letter-spacing: 0.5px;
    color: #1a1a1a;
}

/* All Other Headings in Google Font Cormorant Garamond (Bold 700) */
h1, h2, h3:not(.widget-title), h4, h5, h6,
.entry-title,
.entry-title a,
.page-title,
.blog-feed-title,
.blog-feed > h2,
.featured-posts-title,
.entry-title-post,
.single-content h2,
.single-content h3,
.single-content h4,
.page-content h2,
.page-content h3,
.page-content h4,
.related-posts h3 {
    font-family: 'Cormorant Garamond', Garamond, Georgia, 'Times New Roman', serif !important;
    font-weight: 700;
    text-transform: none !important;
    letter-spacing: normal;
}

/* Heading Sizes & Spacing */
h1, .entry-title, h1.entry-title, h1.page-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
    letter-spacing: -0.2px;
}

@media (max-width: 767px) {
    h1, .entry-title, h1.entry-title, h1.page-title {
        font-size: 28px;
        font-weight: 700;
    }
}

.blog-feed > h2,
.blog-feed-title,
.featured-posts-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.blog-feed-posts .entry {
    margin-bottom: 35px;
}

.blog-feed-posts .entry-title {
    margin-top: 12px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.blog-feed-posts .entry-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-feed-posts .entry-title a:hover {
    color: #a7825d;
}

/* Body and Post/Page Content in Google Font Inter */
body,
p,
.entry-content,
.single-content,
.single-content p,
.single-content li,
.page-content,
.page-content p,
.page-content li,
.entry-summary,
.taxonomy-description,
.reading-time,
.credit,
.footer-copyright {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

.single-content,
.page-content {
    font-size: 16.5px;
    line-height: 1.85;
    color: #374151;
    font-weight: 400;
}

.single-content p,
.page-content p {
    margin-bottom: 22px;
}

.single-content ul,
.single-content ol,
.page-content ul,
.page-content ol {
    margin-bottom: 22px;
    padding-left: 28px;
    line-height: 1.8;
}

.single-content li,
.page-content li {
    margin-bottom: 8px;
}

.single-content img,
.page-content img {
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: 4px;
}

.single-content h2,
.page-content h2 {
    font-size: 30px;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 14px;
    color: #1a1a1a;
    line-height: 1.3;
}

.single-content h3,
.page-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 12px;
    color: #1a1a1a;
    line-height: 1.35;
}

.single-content h4,
.page-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 22px;
    margin-bottom: 10px;
    color: #374151;
    line-height: 1.4;
}

.single-content blockquote,
.page-content blockquote {
    border-left: 3px solid #a7825d;
    padding: 12px 20px;
    margin: 24px 0;
    background: #fdfbf7;
    font-style: italic;
    color: #555;
}

/* Pagination */
.pagination-blog-feed {
    text-align: center;
    margin: 40px 0;
    clear: both;
}

.pagination-blog-feed .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border: 1px solid #ddd;
    color: #555;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s;
}

.pagination-blog-feed .page-numbers.current,
.pagination-blog-feed .page-numbers:hover {
    background-color: #a7825d;
    border-color: #a7825d;
    color: #fff;
}

/* Search bar dropdown toggle */
.header-row-3 .navbar-nav > li.search > a#toggle-main_search {
    cursor: pointer;
    font-size: 14px;
    padding: 15px 12px;
    transition: color 0.2s;
}

.header-row-3 .navbar-nav > li.search > a#toggle-main_search:hover {
    color: #a7825d;
}

.header-row-3 .dropdown-menu.main_search {
    position: absolute;
    right: 0;
    left: auto;
    top: 100%;
    min-width: 260px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1000;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .header-row-2 .logo img {
        max-width: 100%;
        height: auto;
    }
    .header-row-3 .navbar-nav {
        margin: 0;
    }
}
