/*
Theme Name: Modern Content Theme
Theme URI: https://example.com
Author: AI Assistant
Description: A modern theme for Blogs and Articles with distinct sections, dynamic header/footer, and responsive design.
Version: 1.0
Text Domain: modern-content
*/


/* --- Reset & Basic Styles --- */

:root {
    --primary-color: #2563eb;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f3f4f6;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width:90%;
    margin: 0 auto;
    padding: 0 20px;
}


/* --- Header --- */

.site-header {
    background: #182234;
    padding:0px 0;
    color: #d4af37;animation-name
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-logo {
    max-height: 50px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-navigation ul li {
    margin-left: 25px;
}

.main-navigation ul li a {
    font-weight: 600;
    font-size: 16px;
}


/* --- Hero Section --- */

.hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}


/* --- Grids (Blog/Article) --- */

.section-title {
    font-size: 2rem;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    margin: 40px 0 20px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap:20px;
    margin-bottom: 50px;
}

.post-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-cat {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: bold;
}

.post-title {
    font-size: 1.25rem;
    margin: 10px 0;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}


/* --- Single Page --- */

.single-content {
    background: var(--white);
    border-radius:0px;
    margin: 40px auto;
}

.single-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.single-thumb img{
	margin: auto;
    width: 100%;
    border-radius: 6px;
}
/* --- Footer --- */

.site-footer {
    background: #111827;
    color: #9ca3af;
    padding: 40px 0;
    margin-top: 0px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
.lecksect{
	background: #fff7dd;
}
.footer-widget h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #374151;
}

:root {
    --lux-black:#0f172a;
    --lux-dark:#111827;
    --lux-gold:#d4af37;
    --lux-white:#ffffff;
    --lux-gray:#9ca3af;
}

body {
    font-family: 'Inter', sans-serif;
    background:#f8fafc;
    color:#1e293b;
    margin:0;
}

/* HERO */

.lux-hero {
    background: #d4af37;
    color: #182234;
    padding: 40px 0;
    text-align: center;
}

.lux-tagline {
    letter-spacing:2px;
    font-size:12px;
    text-transform:uppercase;
    color:#1c2638;
}

.lux-hero h1 {
    font-size:50px;
    margin:0px 0;
}

.lux-btn {
    display:inline-block;
    margin-top:30px;
    background:var(--lux-gold);
    color:#000;
    padding:14px 40px;
    border-radius:50px;
    font-weight:700;
}

/* SECTION */

.lux-section {
    padding:40px 0;
}

.dark-bg {
    background:#cdd0d5;
}

.lux-heading {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
    margin-top: 0px;
}

.lux-heading.light {
    color:#111827;
}

/* FEATURED */

.lux-featured {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.lux-featured img {
    border-radius:16px;
}

.lux-badge {
    background:var(--lux-gold);
    padding:6px 16px;
    font-size:12px;
    border-radius:30px;
    font-weight:600;
}

.lux-featured-content h3 {
    font-size:28px;
    margin:20px 0;
}

.lux-outline-btn {
    border:2px solid var(--lux-gold);
    padding:10px 25px;
    border-radius:30px;
    color:var(--lux-gold);
    font-weight:600;
}

/* GRID */

.lux-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
    gap:20px;
}
.lux-card-content h4{
	margin:0px;
}
.lux-card {
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,0.08);
    transition:0.3s;
}

.dark-bg .lux-card {
    background:#1e293b;
    color:#fff;
}

.lux-card:hover {
    transform:translateY(-10px);
}

.lux-card img {
    width:100%;
    height:240px;
    object-fit:cover;
}

.lux-card-content {
    padding:25px;
}

.lux-link {
    display:inline-block;
    margin-top:15px;
    color:var(--lux-gold);
    font-weight:600;
}

/* RESPONSIVE */

@media(max-width:768px){
    .lux-featured{
        grid-template-columns:1fr;
    }
    .lux-hero h1{
        font-size:34px;
    }
}


.lux-pagination {
    margin-top:50px;
    text-align:center;
}

.lux-pagination a,
.lux-pagination span {
    display:inline-block;
    padding:10px 18px;
    margin:5px;
    border-radius:30px;
    background:#1e293b;
    color:#fff;
    font-weight:600;
}

.lux-pagination .current {
    background:#d4af37;
    color:#000;
}

.dark-bg .lux-pagination a {
    background:#111827;
}

/* sidebaar css */


.lux-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.lux-main {
    flex: 1;
}

.lux-sidebar {
    width: 300px;
    position: sticky;
    top: 100px;
}

@media (max-width: 991px) {
    .lux-layout {
        flex-direction: column;
    }

    .lux-sidebar {
        width: 100% !important;
        position: static;
        height: auto;
    }
}


.lux-widget {
    background: #fff;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
	border: 1px solid #d4af37;
}

.lux-widget h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.lux-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lux-widget ul li {
    margin-bottom: 10px;
}

.lux-widget ul li a {
    text-decoration: none;
    color: #333;
}

.lux-widget form {
    display: flex;
    gap: 10px;
}

.lux-widget input {
    flex: 1;
    padding: 8px;
	border: 1px solid #d4af37;
}

.lux-widget button {
    padding: 8px 14px;
    background: #d4af37;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* Sidebar Modern Minimal */
.lux-sidebar {
    width: 20%;
    position: sticky;
    top:0px;
	margin-top:30px;
}

/* Clean card style */
.lux-minimal {
    background: #ffffff;
    padding: 20px;
    border-radius:6px;
    margin-bottom:20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid #d4af37;
}

/* Section Title */
.lux-side-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.lux-side-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background: #d4af37;
    position: absolute;
    left: 0;
    bottom: -8px;
}

/* Recent Post Item */
.lux-recent-item {
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
    align-items: center;
    border-bottom: 1px solid #d4af37;
    padding-top: 10px;
}

.lux-recent-thumb img {
    width: 70px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.lux-recent-content a {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    display: block;
    line-height: 1.4;
    transition: 0.3s;
}

.lux-recent-content a:hover {
    color: #d4af37;
}

.lux-recent-content span {
    font-size: 12px;
    color: #777;
}

/* Categories Modern Pills */
.lux-category-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lux-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f8f9fb;
    border-radius: 30px;
    font-size: 13px;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
    border: 1px solid transparent;
}

.lux-category-pill span {
    background: #111827;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
}

.lux-category-pill:hover {
    background: #fff;
    border-color: #d4af37;
    color: #111;
}

.trend-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px;
}
.link-list, .cat-list, .trend-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}
.trend-rank {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #eee;
    display: grid;
    place-items: center;
    font-size: .85rem;
    font-weight: 700;
    background: #f8f8f8;
}
section.side-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #d4af37;
}

/* FOOTER CSS */

/* Footer Base */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 80px 0 30px;
    margin-top: 80px;
}

/* Layout */
.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-widget h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Text */
.footer-widget p {
    font-size: 14px;
    line-height: 1.7;
}

/* Menu */
.footer-menu,
.footer-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li,
.footer-posts li {
    margin-bottom: 10px;
}

.footer-menu a,
.footer-posts a {
    text-decoration: none;
    color: #cbd5e1;
    font-size: 14px;
    transition: 0.3s;
}

.footer-menu a:hover,
.footer-posts a:hover {
    color: #d4af37;
}

/* Newsletter */
.footer-newsletter {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 6px;
    border: none;
    outline: none;
}

.footer-newsletter button {
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    background: #d4af37;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.footer-newsletter button:hover {
    background: #f1c75b;
}

/* Bottom Section */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 13px;
}

.footer-social a {
    margin-left: 15px;
    text-decoration: none;
    color: #cbd5e1;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #d4af37;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}


/* Footer Content Layout */
.footer-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-post-item:last-child {
    border-bottom: none;
}

/* Image */
.footer-thumb img {
    width: 70px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

/* Content */
.footer-post-content a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.4;
    transition: 0.3s;
}

.footer-post-content a:hover {
    color: #d4af37;
}

.footer-post-content span {
    font-size: 12px;
    color: #fff;
    margin-top: 4px;
    display: block;
}

.footer-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-post-item:last-child {
    border-bottom: none;
}

/* Thumbnail */
.footer-thumb img {
    width: 75px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
}

/* Content */
.footer-post-content {
    flex: 1;
}

.footer-type {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #d4af37;
    color: #000;
    padding: 3px 8px;
    border-radius: 20px;
    margin-bottom: 6px;
}

.footer-post-content a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    line-height: 1.4;
    transition: 0.3s;
}

.footer-post-content a:hover {
    color: #d4af37;
}

.footer-date {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 5px;
    display: block;
}

.article-cat {
    background: #f4f4f4;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    margin-right: 8px;
    color: #111;
}
