/* Theme 2 Specific Styles - Modern Tech Magazine */

/* --- Global Reset & Typography --- */
body {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
}

/* Header Theme 2 - Different Structure */
.header-theme2 {
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-theme2 .nav-pills {
  white-space: nowrap;
  overflow-x: auto;
  flex-wrap: nowrap !important;
}

.header-theme2 .nav-pills .nav-link {
  border-radius: 0;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-size: clamp(0.7rem, 1.5vw, 0.875rem);
  padding-left: clamp(0.75rem, 2vw, 1rem) !important;
  padding-right: clamp(0.75rem, 2vw, 1rem) !important;
}

.header-theme2 .nav-pills .nav-link:hover {
  background-color: #1a1a1a;
  color: #fff !important;
}

.header-theme2 .nav-pills .nav-link.active {
  background-color: #1a1a1a;
  color: #fff !important;
}

/* Force single line menu */
.header-theme2 .nav-pills {
  display: flex;
  flex-wrap: nowrap;
}

@media (max-width: 991px) {
  .header-theme2 .nav-pills {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.theme-2 {
  max-width: 1400px;
}

a {
  transition: all 0.2s ease-in-out;
}

/* --- Color Palette (Teal & Dark) --- */
.text-primary-emphasis {
  color: #008080 !important; /* Teal text */
}

.btn-bd-primary {
  --bd-violet-bg: #008080; /* Teal */
  --bd-violet-rgb: 0, 128, 128;
  --bs-btn-bg: #008080;
  --bs-btn-border-color: #008080;
  --bs-btn-hover-bg: #006666;
  --bs-btn-hover-border-color: #006666;
  --bs-btn-active-bg: #004d4d;
  --bs-btn-active-border-color: #004d4d;
}

.btn-outline-primary {
    --bs-btn-color: #008080;
    --bs-btn-border-color: #008080;
    --bs-btn-hover-bg: #008080;
    --bs-btn-hover-border-color: #008080;
    --bs-btn-active-bg: #008080;
    --bs-btn-active-border-color: #008080;
}

/* --- Structural Overrides --- */
/* Remove Rounded Corners for "Tech" look */
.rounded, .rounded-0, .rounded-pill, .card, .btn, .img-thumbnail, .img-fluid, .badge {
  border-radius: 0 !important;
}

/* Hero Section */
.hero-section {
  min-height: 500px;
}

.hero-section h1 {
  font-size: 3.5rem;
  line-height: 1.1;
}

@media (max-width: 992px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
}

/* Article Items - Image Right Layout */
.article-item {
  transition: all 0.3s ease;
}

.article-item:hover {
  transform: translateX(5px);
}

.article-item img {
  transition: transform 0.3s ease;
}

.article-item:hover img {
  transform: scale(1.05);
}

/* Horizontal Scroll Cards */
.overflow-auto {
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.overflow-auto::-webkit-scrollbar {
  height: 8px;
}

.overflow-auto::-webkit-scrollbar-track {
  background: transparent;
}

.overflow-auto::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 0;
}

.flex-nowrap {
  flex-wrap: nowrap !important;
}

/* Cards */
.card {
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
  transform: translateY(-5px);
}

.card-img-top {
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* Buttons */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s ease;
}

.btn.btn-dark,
.btn-dark {
  background-color: #1a1a1a !important;
  border-color: #1a1a1a !important;
}

.btn.btn-dark:hover,
.btn-dark:hover {
  background-color: #000 !important;
  border-color: #000 !important;
}

.btn.btn-outline-dark,
.btn-outline-dark {
  border-width: 2px !important;
}

.btn.btn-outline-dark:hover,
.btn-outline-dark:hover {
  background-color: #1a1a1a !important;
  border-color: #1a1a1a !important;
  color: #fff !important;
}

.btn.btn-primary,
.btn-primary {
  background-color: #008080 !important;
  border-color: #008080 !important;
}

.btn.btn-primary:hover,
.btn-primary:hover {
  background-color: #006666 !important;
  border-color: #006666 !important;
}

.btn.btn-outline-primary,
.btn-outline-primary {
  border-color: #008080 !important;
  color: #008080 !important;
}

.btn.btn-outline-primary:hover,
.btn-outline-primary:hover {
  background-color: #008080 !important;
  border-color: #008080 !important;
  color: #fff !important;
}

/* Header Specifics */
.blog-header-logo {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 900; /* Extra bold */
  letter-spacing: 1px;
}

.nav-scroller .nav-link {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-scroller .nav-link:hover {
    color: #008080 !important;
}

/* Blog Post & Cards */
.blog-post-meta {
  color: #6c757d;
  border-left: 3px solid #008080;
  padding-left: 15px;
  margin-left: 5px;
}

.post-title h1 {
    font-size: 3rem;
}

/* Cards shadow on hover effect */
.card {
    transition: box-shadow 0.3s ease;
}
.card:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

/* Search Input */
.form-control:focus {
    border-color: #008080;
    box-shadow: 0 0 0 0.25rem rgba(0, 128, 128, 0.25);
}

/* Pagination */
.blog-pagination .btn {
    border-radius: 0;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* --- Keep necessary original styles --- */
.flex-auto { flex: 0 0 auto; }
.h-250 { height: 250px; }
@media (min-width: 768px) { .h-md-250 { height: 250px; } }
.blog-pagination { margin-bottom: 4rem; margin-top:2rem; }
.blog-post { margin-bottom: 4rem; }
.modal-header { border-bottom: none; }
.modal-dialog { width: 100%; height: 100%; margin: 0; padding: 0; }
.modal-backdrop { background-color:#fff; opacity:1!important; border: 10px solid rgba(136, 136, 136, .4); }
.modal-content { height: auto; min-height: 100%; border-radius: 0; background: none; box-shadow: none; }
.modal-body { text-align: center; }
.modal-body form { margin: 0 auto; float: none; width: 300px; }
.modal-content .close { opacity: 1; font-size: 30px; }
.list-unstyled p { margin-top:0.25rem; margin-bottom:0.25rem; }
.display-4 a { text-decoration: none; color: inherit !important; }
.display-4 { font-size: 2rem; line-height: 1; }
.lead { font-size: 1.2rem; font-weight: 300; }
.mb-0 { font-size:1.3rem; }
aside .mb-0 { font-size:1rem; }
aside h2, aside h4 { font-size:1.5rem; }
aside h3 { font-size: 1rem }
.display-5 { font-size: 1.5rem; margin-top:1rem; }
footer .mb-0 { font-size: 1rem; }
.bgimage { margin-top:1rem; }
.mobilonly { display: none; }
.banner { margin-right:1rem; }
.sponsor a { text-decoration: none; font-size: 1.5rem; }
.spacer { border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important; padding-bottom:1rem; }
.bd-placeholder-img { font-size: 1.125rem; text-anchor: middle; -webkit-user-select: none; -moz-user-select: none; user-select: none; width:100%; height:96px; }
@media (min-width: 768px) { .bd-placeholder-img-lg { font-size: 3.5rem; } }
.b-example-divider { width: 100%; height: 3rem; background-color: rgba(0, 0, 0, .1); border: solid rgba(0, 0, 0, .15); border-width: 1px 0; box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15); }
.b-example-vr { flex-shrink: 0; width: 1.5rem; height: 100vh; }
.bi { vertical-align: -.125em; fill: currentColor; }
.nav-scroller { position: relative; z-index: 2; height: 2.75rem; overflow-y: hidden; }
.nav-scroller .nav { display: flex; flex-wrap: nowrap; padding-bottom: 1rem; margin-top: -1px; overflow-x: auto; text-align: center; white-space: nowrap; -webkit-overflow-scrolling: touch; }
.bd-mode-toggle { z-index: 1500; }
.bd-mode-toggle .dropdown-menu .active .bi { display: block !important; }
@media (max-width: 768px) {
    .blog-header-logo { font-size: 1.2rem; }
    .bd-placeholder-img { width:100%; height:100%; }
    .mobilonly { display: block; }
}

  