/* ==========================================================================
   srbijafoto.rs - Glavni stilovi (Modern Light Theme & Serbian Tricolor Accent)
   ========================================================================== */

:root {
  --color-blue: #0c4076;
  --color-blue-dark: #082d54;
  --color-blue-light: #e8f0fe;
  --color-red: #c6363c;
  --color-red-dark: #a1252a;
  --color-red-light: #fdf2f2;
  --color-white: #ffffff;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-muted: #f1f5f9;
  --bg-accent: #f8faff;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-inverse: #ffffff;
  
  --border-color: #e2e8f0;
  --border-focus: #0c4076;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(12, 64, 118, 0.12), 0 10px 10px -5px rgba(12, 64, 118, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Tricolor Top Bar */
.tricolor-stripe {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--color-red) 0%, var(--color-red) 33.33%, var(--color-blue) 33.33%, var(--color-blue) 66.66%, #cbd5e1 66.66%, #cbd5e1 100%);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--color-blue-light);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.site-logo:hover .logo-mark {
  background: var(--color-blue);
  color: #ffffff;
  transform: translateY(-1px);
}

.logo-text {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
}

.logo-blue {
  color: var(--color-blue);
}

.logo-red {
  color: var(--color-red);
}

.logo-ext {
  color: var(--text-light);
  font-size: 0.82em;
  font-weight: 600;
  margin-left: 1px;
}

.site-footer .site-logo .logo-mark {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.site-footer .site-logo:hover .logo-mark {
  background: var(--color-red);
  color: #ffffff;
}

.site-footer .site-logo .logo-blue {
  color: #ffffff;
}

.site-footer .site-logo .logo-red {
  color: #f87171;
}

.site-footer .site-logo .logo-ext {
  color: #94a3b8;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-blue);
  background: var(--color-blue-light);
}

.btn-nav-tips {
  background: var(--color-red);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-nav-tips:hover {
  background: var(--color-red-dark);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 4rem 0 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-blue-light);
  color: var(--color-blue);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: var(--color-blue);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

/* Search Bar & Filters */
.search-wrapper {
  max-width: 650px;
  margin: 0 auto 2rem auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1.1rem 1.5rem 1.1rem 3.25rem;
  font-size: 1.05rem;
  font-family: inherit;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(12, 64, 118, 0.15);
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.2rem;
  pointer-events: none;
}

/* Filter Pills */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-btn:hover {
  background: var(--color-blue-light);
  color: var(--color-blue);
  border-color: rgba(12, 64, 118, 0.2);
}

.filter-btn.active {
  background: var(--color-blue);
  color: white;
  border-color: var(--color-blue);
  box-shadow: var(--shadow-sm);
}

.filter-btn .count {
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.08);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
}

.filter-btn.active .count {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

/* Wallpaper Grid */
.grid-section {
  padding: 3rem 0 5rem 0;
  flex: 1;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.section-count {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

/* Wallpaper Card */
.wallpaper-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.wallpaper-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(12, 64, 118, 0.25);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #e2e8f0;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.wallpaper-card:hover .card-media img {
  transform: scale(1.04);
}

.card-badge-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(12, 64, 118, 0.85);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-badge-res {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-red);
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.card-title a {
  color: var(--text-main);
}

.card-title a:hover {
  color: var(--color-blue);
}

.card-desc-snippet {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  gap: 0.5rem;
}

.btn-card-view {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-card-view:hover {
  color: var(--color-red);
}

.card-downloads {
  display: flex;
  gap: 0.4rem;
}

.btn-download-mini {
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.btn-download-mini:hover {
  background: var(--color-blue);
  color: white;
  border-color: var(--color-blue);
}

/* Single Wallpaper Page */
.single-wallpaper-hero {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0 3rem 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-blue);
}

.breadcrumbs i {
  font-size: 0.7rem;
  color: var(--text-light);
}

.single-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-item i {
  color: var(--color-blue);
}

.meta-item.location-item i {
  color: var(--color-red);
}

/* Big Image Preview Container */
.preview-container {
  background: #0f172a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  position: relative;
}

.preview-container img {
  width: 100%;
  height: auto;
  display: block;
}

.preview-fullscreen-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: white;
  border: none;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.preview-fullscreen-btn:hover {
  background: var(--color-blue);
}

/* Download Box */
.download-box {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}

.download-box-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.download-box-title i {
  color: var(--color-blue);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.download-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  background: var(--bg-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.download-card:hover {
  border-color: var(--color-blue);
  box-shadow: var(--shadow-sm);
  background: var(--color-blue-light);
}

.download-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.download-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.download-card.mobile-card .download-icon {
  background: var(--color-red);
}

.download-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.download-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-download-action {
  background: var(--color-blue);
  color: white !important;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-download-action:hover {
  background: var(--color-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.download-card.mobile-card .btn-download-action {
  background: var(--color-red);
}

.download-card.mobile-card .btn-download-action:hover {
  background: var(--color-red-dark);
}

/* Single Content & Photo Advice Layout */
.single-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.content-article {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.content-article h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.content-article p {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.content-article p:last-child {
  margin-bottom: 0;
}

/* Photo Tips Card */
.photo-tips-card {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-top: 4px solid var(--color-red);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.tips-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

.tips-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-blue);
}

.tips-header i {
  font-size: 1.5rem;
  color: var(--color-red);
}

.tips-item {
  margin-bottom: 1.25rem;
  display: flex;
  gap: 1rem;
}

.tips-item:last-child {
  margin-bottom: 0;
}

.tips-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.tips-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.tips-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Specs Sidebar */
.sidebar-specs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.specs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.specs-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.specs-card h3 i {
  color: var(--color-blue);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table th, .specs-table td {
  padding: 0.65rem 0;
  font-size: 0.9rem;
}

.specs-table th {
  text-align: left;
  color: var(--text-muted);
  font-weight: 600;
  width: 45%;
}

.specs-table td {
  text-align: right;
  color: var(--text-main);
  font-weight: 600;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.tag-pill {
  background: var(--bg-muted);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.tag-pill:hover {
  background: var(--color-blue-light);
  color: var(--color-blue);
}

/* Related Section */
.related-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

/* Pre-footer Partner Links Section (14 links) */
.pre-footer-section {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3.5rem 0;
}

.pre-footer-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pre-footer-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-red);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.pre-footer-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.partner-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.partner-card-link {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-main);
  transition: var(--transition);
}

.partner-card-link:hover {
  background: var(--color-blue-light);
  border-color: rgba(12, 64, 118, 0.25);
  transform: translateY(-2px);
  color: var(--color-blue);
}

.partner-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--color-blue);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.partner-card-link:hover .partner-icon {
  background: var(--color-blue);
  color: white;
  border-color: var(--color-blue);
}

.partner-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.partner-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Site Footer & Friends Links (6 links) */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 4rem 0 2rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-red);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-top: 1rem;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 0.65rem;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links-list a:hover {
  color: white;
  transform: translateX(3px);
}

.friends-badge-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.friend-item-link {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.friend-item-link:hover {
  background: var(--color-blue);
  color: white;
  border-color: var(--color-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* Lightbox Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  max-width: 95vw;
  max-height: 90vh;
  position: relative;
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-close-btn {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 1.75rem;
  cursor: pointer;
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-blue);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 99;
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile Drawer Menu */
.mobile-nav-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: white;
  border-bottom: 2px solid var(--border-color);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 49;
}

.mobile-nav-drawer.open {
  display: flex;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .single-details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .header-inner {
    height: 60px;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    font-size: 1.05rem;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-section {
    padding: 2.5rem 0 2rem 0;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .single-wallpaper-hero {
    padding: 1.25rem 0 2rem 0;
  }

  .breadcrumbs {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    gap: 0.35rem;
  }

  .single-title {
    font-size: 1.45rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .single-meta {
    font-size: 0.85rem;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  /* Single details & content article */
  .single-details-grid {
    gap: 1.75rem;
    margin-bottom: 2.5rem;
  }

  .content-article {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }

  .content-article h2 {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
  }

  .content-article p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1rem;
  }

  /* Photo tips card */
  .photo-tips-card {
    padding: 1.25rem 0.85rem;
    margin-top: 1.5rem;
    border-radius: var(--radius-md);
  }

  .tips-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.65rem;
  }

  .tips-header h3 {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .tips-header i {
    font-size: 1.25rem;
    flex-shrink: 0;
  }

  .tips-item {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .tips-icon-wrap {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .tips-text h4 {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .tips-text p {
    font-size: 0.85rem;
    line-height: 1.55;
  }

  /* Download box */
  .download-box {
    padding: 1.25rem 1rem;
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
  }

  .download-box-title {
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: 1rem;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .download-card {
    padding: 1rem;
  }

  /* Section header for related & category grids */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
  }

  .section-title {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .section-header .btn-card-view {
    font-size: 0.875rem;
  }

  .section-count {
    font-size: 0.85rem;
  }

  .related-section {
    padding: 2rem 0;
    margin-bottom: 1.5rem;
  }

  .wallpaper-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .card-content {
    padding: 1.15rem;
  }

  .card-title {
    font-size: 1.05rem;
  }

  .card-desc-snippet {
    font-size: 0.875rem;
  }

  /* Pre-footer partner links */
  .pre-footer-section {
    padding: 2.5rem 0;
  }

  .pre-footer-title {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .partner-links-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .site-footer {
    padding: 2.5rem 0 1.5rem 0;
  }

  .footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
  }
}
