/*
Theme Name: Dubai Trending
Theme URI: https://dubaitrending.ae
Author: Dubai Trending Editorial
Author URI: https://dubaitrending.ae
Description: Ultra-fast, luxury lifestyle and city magazine theme designed for Hostinger WordPress and LiteSpeed Cache. Includes featured hero layouts, district filtering, Michelin dining guides, and dark-mode elegance.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: dubai-trending
Tags: luxury, magazine, city-guide, news, litespeed, dark-theme, grid-layout, block-patterns, full-site-editing
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --dt-bg-main: #0a0a0a;
  --dt-bg-card: #141414;
  --dt-bg-card-hover: #1c1c1c;
  --dt-border: #262626;
  --dt-accent: #d97706;
  --dt-accent-hover: #f59e0b;
  --dt-text-main: #f5f5f5;
  --dt-text-muted: #a3a3a3;
  --dt-font-display: 'Playfair Display', Georgia, serif;
  --dt-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

body {
  background-color: var(--dt-bg-main);
  color: var(--dt-text-main);
  font-family: var(--dt-font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .serif {
  font-family: var(--dt-font-display);
  font-weight: 700;
  color: #ffffff;
}

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

a:hover {
  color: var(--dt-accent-hover);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.dt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dt-border);
}

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

.dt-logo {
  font-family: var(--dt-font-display);
  font-size: 22px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 800;
}

.dt-logo span {
  color: var(--dt-accent);
  font-weight: 400;
}

.dt-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.dt-nav a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dt-text-muted);
}

.dt-nav a:hover, .dt-nav .current-menu-item a {
  color: #fff;
}

/* Badge */
.dt-badge {
  display: inline-block;
  background: rgba(217, 119, 6, 0.15);
  color: var(--dt-accent-hover);
  border: 1px solid rgba(217, 119, 6, 0.3);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* Cards Grid */
.dt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin: 40px 0 64px 0;
}

.dt-card {
  background: var(--dt-bg-card);
  border: 1px solid var(--dt-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s;
}

.dt-card:hover {
  transform: translateY(-4px);
  border-color: #404040;
}

.dt-card-thumb {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.dt-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dt-card-title {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.dt-card-excerpt {
  color: var(--dt-text-muted);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}

.dt-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--dt-border);
  padding-top: 14px;
  font-size: 12px;
  color: var(--dt-text-muted);
}

/* Footer */
.dt-footer {
  background: #050505;
  border-top: 1px solid var(--dt-border);
  padding: 56px 0 32px 0;
  font-size: 13px;
  color: var(--dt-text-muted);
}

.dt-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 860px) {
  .dt-nav { display: none; }
  .dt-grid { grid-template-columns: 1fr; }
  .dt-footer-grid { grid-template-columns: 1fr; }
}
