/* Savanti Investments WordPress Theme - Exact Design Match */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: #1a2332;
  color: #ffffff;
  line-height: 1.6;
}

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

/* Header Navigation */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 40px);
  max-width: 1160px;
}

.main-navigation {
  background: rgba(59, 130, 246, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.logo-img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

.logo-text {
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.dropdown-arrow {
  margin-left: 4px;
  font-size: 10px;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 8px;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover {
  background: rgba(59, 130, 246, 0.2);
  color: white;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-outline {
  background: transparent;
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-1px);
}

.phone-link {
  padding: 8px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 16px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 1px;
}

/* Insights Hero Section */
.insights-hero {
  height: 100vh;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.insights-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="g"><stop offset="0%" stop-color="rgba(59,130,246,0.1)"/><stop offset="100%" stop-color="transparent"/></radialGradient></defs><circle cx="500" cy="500" r="400" fill="url(%23g)"/></svg>') no-repeat center;
  background-size: cover;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.breadcrumb {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 24px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero-title {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Main Content */
.main-content {
  margin-top: 0;
  background: #1a2332;
  min-height: 100vh;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
  padding: 60px 0;
}

/* Posts Section */
.posts-section {
  min-width: 0;
}

.post-card {
  display: flex;
  gap: 24px;
  background: rgba(51, 65, 85, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  transition: all 0.3s ease;
}

.post-card:hover {
  background: rgba(51, 65, 85, 0.5);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

.post-image {
  flex-shrink: 0;
  width: 280px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.category-tag {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.post-title {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.3;
}

.post-title a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: #93c5fd;
}

.post-excerpt {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  color: white;
  font-weight: 500;
  font-size: 14px;
}

.post-date {
  color: #94a3b8;
  font-size: 12px;
}

.post-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #94a3b8;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.widget {
  background: rgba(51, 65, 85, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
}

.widget h3 {
  color: white;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Search Widget */
.search-form {
  position: relative;
}

.search-container {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.search-field {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: white;
  font-size: 14px;
}

.search-field::placeholder {
  color: #94a3b8;
}

.search-field:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
}

.search-submit {
  background: rgba(59, 130, 246, 0.3);
  border: none;
  padding: 12px 16px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-submit:hover {
  background: rgba(59, 130, 246, 0.5);
}

.search-icon {
  font-size: 14px;
}

/* Categories Widget */
.categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-list li {
  margin-bottom: 8px;
}

.categories-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.categories-list a:hover {
  background: rgba(59, 130, 246, 0.2);
  color: white;
}

.category-count {
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

/* Trending Posts Widget */
.trending-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trending-post {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trending-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.trending-post h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.4;
}

.trending-post h4 a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.trending-post h4 a:hover {
  color: #93c5fd;
}

.trending-post p {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.trending-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #6b7280;
}

/* Single Post Styles */
.single-hero {
  height: 70vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.single-hero .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.single-hero .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 2;
}

.single-hero .hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.single-hero .breadcrumb a {
  color: #93c5fd;
  text-decoration: none;
}

.single-hero .hero-title {
  font-size: 3rem;
  font-weight: 300;
  margin: 16px 0 24px;
  color: white;
  line-height: 1.2;
  max-width: 800px;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.author-role {
  color: #94a3b8;
  font-size: 12px;
}

/* Single Content */
.single-content {
  background: #1a2332;
  padding-top: 0;
}

.single-content .content-grid {
  padding-top: 60px;
}

.article-content {
  background: rgba(51, 65, 85, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
}

.article-body {
  color: #e2e8f0;
  line-height: 1.7;
  font-size: 16px;
}

.article-body h2 {
  color: #60a5fa;
  font-weight: 500;
  font-size: 1.75rem;
  margin: 2rem 0 1rem;
}

.article-body h3 {
  color: #93c5fd;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 1.5rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body strong {
  color: #60a5fa;
  font-weight: 600;
}

/* Article Tags */
.article-tags {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-tags h4 {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(168, 85, 247, 0.2);
  color: #c4b5fd;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Social Share */
.article-share {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-share h4 {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 16px;
}

.share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.share-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  color: white;
  transform: translateY(-1px);
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.author-avatar-large img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(59, 130, 246, 0.3);
}

.author-bio .author-info {
  flex: 1;
}

.author-bio h4 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.author-bio .author-role {
  color: #60a5fa;
  font-weight: 500;
  margin-bottom: 12px;
}

.author-description {
  color: #cbd5e1;
  line-height: 1.6;
}

/* Post Navigation */
.post-navigation {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.nav-previous,
.nav-next {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.nav-next {
  text-align: right;
}

.nav-subtitle {
  color: #94a3b8;
  font-size: 12px;
  display: block;
  margin-bottom: 8px;
}

.nav-title {
  color: white;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.4;
}

.nav-title:hover {
  color: #93c5fd;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.page-numbers {
  display: flex;
  gap: 8px;
  align-items: center;
}

.page-numbers a,
.page-numbers span {
  padding: 8px 16px;
  border-radius: 8px;
  color: #cbd5e1;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.page-numbers a:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
  color: white;
}

.page-numbers .current {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-color: #3b82f6;
  color: white;
}

/* Footer */
.site-footer {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 40px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-section p {
  color: #cbd5e1;
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #60a5fa;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .sidebar {
    order: -1;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .single-hero .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .post-card {
    flex-direction: column;
  }
  
  .post-image {
    width: 100%;
    height: 200px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .single-hero .hero-title {
    font-size: 2rem;
  }
  
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-links {
    grid-template-columns: 1fr;
  }
  
  .share-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }
  
  .nav-container {
    padding: 8px 16px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .single-hero .hero-title {
    font-size: 1.75rem;
  }
  
  .article-content {
    padding: 24px;
  }
  
  .container {
    padding: 0 16px;
  }
}