/*
Theme Name: NOW GO TREND
Theme URI: https://www.nowgotrend.com
Author: Your Name
Author URI: https://https://www.nowgotrend.com
Description: A vibrant, customizable celebrity news and biography theme with 5 beautiful color schemes. Features include theme switcher, responsive design, and modern aesthetics perfect for entertainment and lifestyle blogs.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thecityceleb
Tags: blog, news, entertainment, two-columns, custom-colors, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready

TheCityCeleb WordPress Theme, Copyright 2024
TheCityCeleb is distributed under the terms of the GNU GPL
*/

/* Global Styles & Theme System */
:root {
    /* Default Theme - Classic Magenta/Cyan */
    --primary-color: #C2185B;
    --secondary-color: #00BCD4;
    --accent-color: #880E4F;
    --primary-gradient: linear-gradient(135deg, #C2185B 0%, #880E4F 100%);
    --secondary-gradient: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
    --text-color: #333;
    --light-bg: #f5f5f5;
    --dark-bg: #222;
    --white: #fff;
    --font-heading: 'Roboto Condensed', sans-serif;
    --font-body: 'Roboto Condensed', sans-serif;
    --transition-speed: 0.3s;
}

/* Ocean Theme */
[data-theme="ocean"] {
    --primary-color: #006064;
    --secondary-color: #00ACC1;
    --accent-color: #004D40;
    --primary-gradient: linear-gradient(135deg, #006064 0%, #004D40 100%);
    --secondary-gradient: linear-gradient(135deg, #00ACC1 0%, #0097A7 100%);
}

/* Sunset Theme */
[data-theme="sunset"] {
    --primary-color: #FF6F00;
    --secondary-color: #FF1744;
    --accent-color: #D84315;
    --primary-gradient: linear-gradient(135deg, #FF6F00 0%, #D84315 100%);
    --secondary-gradient: linear-gradient(135deg, #FF1744 0%, #C51162 100%);
}

/* Forest Theme */
[data-theme="forest"] {
    --primary-color: #2E7D32;
    --secondary-color: #66BB6A;
    --accent-color: #1B5E20;
    --primary-gradient: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    --secondary-gradient: linear-gradient(135deg, #66BB6A 0%, #43A047 100%);
}

/* Royal Theme */
[data-theme="royal"] {
    --primary-color: #4A148C;
    --secondary-color: #FFD700;
    --accent-color: #311B92;
    --primary-gradient: linear-gradient(135deg, #4A148C 0%, #311B92 100%);
    --secondary-gradient: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.main-header {
    background: var(--white);
    border-bottom: 4px solid var(--primary-color);
}

.top-bar {
    background: #000;
    color: #fff;
    padding: 5px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.theme-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.theme-label {
    font-size: 0.85rem;
    margin-right: 5px;
}

.theme-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 3px 10px;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 3px;
    transition: all var(--transition-speed);
    font-family: var(--font-body);
    text-transform: uppercase;
    font-weight: 600;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.theme-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.social-icons a {
    color: #fff;
    margin-right: 10px;
    font-weight: bold;
}

.search-box {
    display: flex;
}

.search-box input {
    padding: 3px 8px;
    border: none;
    border-radius: 3px 0 0 3px;
}

.search-box button {
    background: var(--secondary-color);
    border: none;
    color: #fff;
    padding: 3px 8px;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
}

.logo-area {
    padding: 20px 0;
    text-align: left;
    background: var(--primary-gradient);
    color: var(--white);
    transition: background var(--transition-speed);
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
    line-height: 1;
    transition: all var(--transition-speed);
}

.tagline {
    font-size: 0.9rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
.main-nav {
    background: var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background var(--transition-speed);
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
}

/* Section Headers */
.section-header {
    border-bottom: 3px solid var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 5px;
    transition: border-color var(--transition-speed);
}

.section-header h2 {
    background: var(--primary-color);
    color: #fff;
    display: inline-block;
    padding: 5px 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
    margin: 0;
    position: absolute;
    bottom: -3px;
    left: 0;
    transition: background var(--transition-speed);
}

.section-header.alternate {
    border-bottom-color: var(--secondary-color);
}

.section-header.alternate h2 {
    background: var(--secondary-color);
}

/* Featured Section Grid */
.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.featured-card {
    grid-column: span 2;
    position: relative;
}

.card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15),
        0 0 20px var(--primary-color);
}

.card-img {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: #fff;
    padding: 3px 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    transition: background var(--transition-speed);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.card-content {
    padding: 15px;
}

.featured-card .card-content {
    background: #000;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.small-card .card-img {
    height: 180px;
}

.small-card h3 {
    font-size: 1.1rem;
}

/* Articles List */
.list-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.item-img {
    width: 150px;
    flex-shrink: 0;
}

.item-img img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.item-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #222;
}

.item-content h3 a:hover {
    color: var(--primary-color);
}

.excerpt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 5px;
}

.meta {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
}

/* Sidebar */
.widget {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    border-left: 5px solid var(--primary-color);
    padding-left: 10px;
    margin-bottom: 20px;
    color: #222;
    transition: border-color var(--transition-speed);
}

.social-widget {
    display: grid;
    gap: 10px;
}

.social-btn {
    text-align: center;
    padding: 10px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    background: #555;
    cursor: pointer;
}

.social-btn.fb {
    background: #3b5998;
}

.social-btn.tw {
    background: #1da1f2;
}

.social-btn.ig {
    background: #c32aa3;
}

.social-btn.yt {
    background: #ff0000;
}

.popular-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.popular-list .count {
    background: var(--secondary-color);
    color: #fff;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: background var(--transition-speed);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.popular-list a {
    font-weight: 700;
    font-size: 0.95rem;
}

.ad-placeholder {
    background: #f0f0f0;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    border: 1px dashed #ccc;
}

/* Footer */
.main-footer {
    background: #111;
    color: #ccc;
    padding: 50px 0 20px;
    font-size: 0.9rem;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.main-footer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

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

.main-footer a:hover {
    color: var(--secondary-color);
    transition: color var(--transition-speed);
}

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

/* Responsive */
@media (max-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .main-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul.show {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        margin-left: auto;
    }

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

    .featured-card {
        grid-column: span 1;
    }

    .footer-cols {
        grid-template-columns: 1fr;
    }
}