@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Special+Elite&display=swap');

:root {
    --primary-color: #dc3545; /* Bootstrap Red */
    --dark-color: #111111;
    --light-bg: #f8f9fa;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
}

body {
    font-family: 'Outfit', sans-serif;
    color: #212529;
    background-color: #f4f5f7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--primary-color);
}

/* Header */
.top-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.search-input {
    border-radius: 4px;
    border: 1px solid #ced4da;
    padding: 6px 12px 6px 35px;
    font-size: 14px;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") no-repeat 10px center;
    width: 220px;
    transition: width 0.3s ease;
}

.search-input:focus {
    width: 260px;
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Logo */
.logo-container {
    text-align: center;
}

.site-logo {
    font-family: 'Special Elite', cursive;
    font-size: 3rem;
    font-weight: bold;
    color: #212529;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.site-logo:hover {
    transform: scale(1.03);
    color: #000000;
}

/* Header Socials */
.social-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #000000;
    color: #ffffff !important;
    margin-left: 8px;
    font-size: 14px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-icon-circle:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Navigation */
.main-nav {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}

.main-nav .navbar-nav .nav-link {
    font-weight: 500;
    color: #333333;
    padding: 15px 18px;
    font-size: 15px;
    transition: all 0.2s ease;
    text-transform: capitalize;
}

.main-nav .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.main-nav .navbar-nav .nav-link.active {
    background-color: #000000;
    color: #ffffff !important;
    border-radius: 0;
}

/* Ticker Marquee */
.ticker-container {
    background-color: var(--primary-color);
    color: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ticker-wrap {
    display: flex;
    align-items: center;
}

.ticker-title {
    background-color: #b21f2d;
    padding: 8px 20px;
    margin: -8px 0;
    position: relative;
    z-index: 10;
    font-weight: 800;
    text-transform: uppercase;
}

.ticker-scroll {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.ticker-items {
    display: inline-block;
    animation: ticker-animation 150s linear infinite;
    padding-left: 100%;
}

.ticker-items:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 0 25px;
    color: #ffffff;
}

.ticker-item::after {
    content: "■";
    color: rgba(255, 255, 255, 0.5);
    margin-left: 25px;
    font-size: 10px;
    vertical-align: middle;
}

@keyframes ticker-animation {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Hero Section */
.hero-large-card {
    background: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 24px;
    overflow: hidden;
}

.hero-large-img-wrap {
    position: relative;
    padding-top: 50%; /* Compact Aspect Ratio */
    overflow: hidden;
}

.hero-large-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-large-card:hover .hero-large-img {
    transform: scale(1.03);
}

.hero-large-body {
    padding: 20px;
}

.post-cat-badge {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-meta-text {
    font-size: 12px;
    color: var(--text-muted);
}

.post-meta-text i {
    margin-right: 4px;
}

.hero-large-title {
    font-size: 1.45rem;
    line-height: 1.3;
    margin-top: 10px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-large-title a:hover {
    color: var(--primary-color);
}

.hero-sub-list-item {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 15px;
    display: flex;
    align-items: center;
}

.hero-sub-list-item:last-child {
    border-bottom: none;
}

.hero-sub-thumb-wrap {
    width: 100px;
    height: 75px;
    flex-shrink: 0;
    overflow: hidden;
    margin-right: 15px;
}

.hero-sub-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-sub-list-item:hover .hero-sub-thumb {
    transform: scale(1.05);
}

.hero-sub-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 5px 0 0 0;
}

/* Post Lists (Ultimele Stiri) */
.section-header {
    border-bottom: 2px solid #000000;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 24px;
    text-transform: capitalize;
}

.news-list-item {
    background: #ffffff;
    border: none;
    border-radius: 0;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.news-list-thumb-wrap {
    height: 160px;
    overflow: hidden;
}

.news-list-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-list-item:hover .news-list-thumb {
    transform: scale(1.04);
}

.news-list-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 8px;
    margin-bottom: 10px;
}

.news-list-readmore {
    font-weight: 700;
    font-size: 13px;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

.news-list-readmore:hover {
    letter-spacing: 1.5px;
    transition: all 0.2s ease;
}

.btn-more-articles {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 0;
    padding: 10px 24px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.btn-more-articles:hover {
    background-color: #b21f2d;
    color: #ffffff;
}

/* Sidebar Banners */
.sidebar-banner-card {
    background: transparent;
    border: none;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 0;
}

.sidebar-banner-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.sidebar-banner-card:hover .sidebar-banner-img {
    transform: scale(1.02);
}

.sidebar-banner-card.half-size .sidebar-banner-img {
    aspect-ratio: 2.4 / 1;
    object-fit: cover;
    max-height: 150px;
}

/* Bottom Banner */
.bottom-banner-container {
    padding: 30px 0;
    background: transparent;
    text-align: center;
}

.bottom-banner-img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* Details Page (Show) */
.article-detail-wrap {
    background: #ffffff;
    padding: 30px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 15px;
}

.share-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 10px;
    color: var(--text-muted);
}

.share-buttons {
    display: flex;
    align-items: center;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #ffffff !important;
    margin-left: 6px;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.fb { background-color: #3b5998; }
.share-btn.x { background-color: #000000; }
.share-btn.wa { background-color: #25d366; }
.share-btn.tg { background-color: #0088cc; }
.share-btn.mail { background-color: #6c757d; }

.article-main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 20px 0;
}

.article-content {
    font-size: 17px;
    line-height: 1.7;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content blockquote {
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 25px 0;
    font-style: italic;
    color: #495057;
}

/* Related articles */
.related-card {
    background: #ffffff;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    transition: transform 0.2s ease;
}

.related-card:hover {
    transform: translateY(-2px);
}

.related-thumb-wrap {
    height: 140px;
    overflow: hidden;
}

.related-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 8px;
    margin-bottom: 0;
}

/* Category header box */
.category-header-box {
    background-color: #111111;
    color: #ffffff;
    padding: 40px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-header-box h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
}

.category-header-box .desc-col {
    max-width: 50%;
    font-size: 14px;
    color: #cccccc;
    line-height: 1.6;
}

/* Contact page dark container */
.contact-form-box {
    background-color: #111111;
    color: #ffffff;
    padding: 35px;
    border-radius: 0;
}

.contact-form-box .form-control {
    background-color: #222222;
    border: 1px solid #333333;
    color: #ffffff;
    border-radius: 0;
    padding: 12px 15px;
    margin-bottom: 15px;
}

.contact-form-box .form-control:focus {
    background-color: #2a2a2a;
    border-color: var(--primary-color);
    box-shadow: none;
    color: #ffffff;
}

.contact-form-box .form-control::placeholder {
    color: #888888;
}

.contact-form-box button {
    background-color: var(--primary-color);
    border: none;
    color: #ffffff;
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 0;
    width: 100%;
}

.contact-form-box button:hover {
    background-color: #b21f2d;
}

/* Comments Form & List */
.comment-form-wrap {
    background-color: #f8f9fa;
    padding: 25px;
    margin-top: 30px;
}

.comment-list-wrap {
    margin-top: 30px;
}

.comment-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 18px;
    margin-bottom: 15px;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Footer */
footer {
    background-color: #0b0c10;
    color: #8f9296;
    padding: 60px 0 0 0;
    font-size: 14px;
    border-top: 4px solid var(--primary-color);
}

footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
}

footer .footer-logo {
    font-family: 'Special Elite', cursive;
    color: #ffffff;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #8f9296;
}

footer ul li a:hover {
    color: #ffffff;
}

footer .anpc-widget {
    background-color: #1a1a24;
    border: 1px solid #2e2f38;
    padding: 15px;
    margin-top: 20px;
    max-width: 280px;
}

footer .anpc-button {
    display: block;
    background-color: #0a0b0e;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 11px;
    text-align: center;
    border: 1px solid #ffd700;
    margin-bottom: 8px;
    font-weight: bold;
}

footer .anpc-button:hover {
    background-color: #ffd700;
    color: #000000;
}

footer .footer-bottom {
    background-color: #050608;
    padding: 20px 0;
    margin-top: 50px;
    font-size: 13px;
    border-top: 1px solid #1a1a24;
}

/* Pagination styles */
.pagination {
    margin-top: 25px;
}

.pagination .page-item .page-link {
    border-radius: 0;
    color: #000000;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    font-weight: 600;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.pagination .page-item .page-link:hover {
    background-color: #f1f2f4;
}

/* Responsive Header Styles */
@media (max-width: 767.98px) {
    .site-logo {
        font-size: 2rem !important;
    }
    .search-input {
        width: 120px !important;
        padding-left: 28px !important;
        background-position: 8px center !important;
        font-size: 13px !important;
    }
    .search-input:focus {
        width: 135px !important;
    }
    #weather-widget {
        font-size: 11px !important;
    }
    #weather-widget i {
        font-size: 14px !important;
    }
}

