/*
Theme Name: Anur Child
Theme URI: http://themeforest.net/user/wpoceans/portfolio/
Author: wpoceans
Author URI: http://themeforest.net/user/wpoceans
Description: Anur - Portfolio WordPress Theme
Template:	anur
Version: 1.0
Text Domain: anur-child
*/

/* ==========================================================================
   CSS Custom Properties - Design System
   ========================================================================== */
:root {
  /* Primary Colors */
  --primary: #0066cc;
  --primary-dark: #004d99;
  --primary-light: #3388dd;

  /* Accent Colors - AC Blue Tones */
  --accent: #00a8e8;
  --accent-dark: #0088cc;
  --accent-light: #33c4f0;

  /* Neutral Colors */
  --dark: #1a1a2e;
  --dark-lighter: #252540;
  --gray-900: #2d2d44;
  --gray-700: #4a4a5a;
  --gray-500: #6b6b7b;
  --gray-300: #9e9eae;
  --gray-100: #e8e8ec;
  --light: #f8f9fc;
  --white: #ffffff;

  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Typography */
  --font-body: 'Muli', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(0, 102, 204, 0.15);

  /* Border Radius */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==========================================================================
   Global Improvements
   ========================================================================== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Better text rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Selection styling */
::selection {
  background: var(--primary);
  color: var(--white);
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ==========================================================================
   Typography Enhancements
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-title h2,
.section-title-s4 h2 {
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--dark) 0%, var(--gray-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title > span,
.section-title-s4 > span {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.section-title > span:before,
.section-title-s4 > span:before {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  height: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   Button Styles - Modern & Premium
   ========================================================================== */
.theme-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 16px 40px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: var(--shadow), 0 4px 14px rgba(0, 102, 204, 0.35);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
}

.theme-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left var(--transition-slow);
}

.theme-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 8px 25px rgba(0, 102, 204, 0.4);
  color: var(--white);
}

.theme-btn:hover::before {
  left: 100%;
}

.theme-btn:active {
  transform: translateY(-1px);
}

/* Secondary Button */
.theme-btn-s2 {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 14px 38px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.theme-btn-s2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--primary);
  transition: width var(--transition);
  z-index: -1;
}

.theme-btn-s2:hover {
  color: var(--white);
  border-color: var(--primary);
}

.theme-btn-s2:hover::before {
  width: 100%;
}

/* ==========================================================================
   Blog Post Cards - Modern Design
   ========================================================================== */
.wpo-blog-pg-section .post,
.wpo-blog-section .wpo-blog-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
}

.wpo-blog-pg-section .post:hover,
.wpo-blog-section .wpo-blog-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* Post Image */
.wpo-blog-pg-section .entry-media,
.wpo-blog-section .wpo-blog-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.wpo-blog-pg-section .entry-media img,
.wpo-blog-section .wpo-blog-img img {
  transition: transform var(--transition-slow);
  width: 100%;
  height: auto;
  display: block;
}

.wpo-blog-pg-section .post:hover .entry-media img,
.wpo-blog-section .wpo-blog-item:hover .wpo-blog-img img {
  transform: scale(1.08);
}

/* Image Overlay Effect */
.wpo-blog-pg-section .entry-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.03) 100%);
  pointer-events: none;
}

/* Entry Meta */
.wpo-blog-pg-section .entry-meta {
  padding: 20px 28px 0;
  background: transparent;
}

.wpo-blog-pg-section .entry-meta ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.wpo-blog-pg-section .entry-meta ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 500;
}

.wpo-blog-pg-section .entry-meta ul li i {
  color: var(--primary);
  font-size: 14px;
}

.wpo-blog-pg-section .entry-meta ul li a {
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.wpo-blog-pg-section .entry-meta ul li a:hover {
  color: var(--primary);
}

/* Entry Details */
.wpo-blog-pg-section .entry-details {
  padding: 24px 28px 28px;
  background: transparent;
}

.wpo-blog-pg-section .post h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.wpo-blog-pg-section .post h3 a {
  color: var(--dark);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.wpo-blog-pg-section .post h3 a:hover {
  color: var(--primary);
}

.wpo-blog-pg-section .post p {
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Read More Button - Modern Style */
.wpo-blog-pg-section .post a.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 10px 20px;
  background: rgba(0, 102, 204, 0.08);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.wpo-blog-pg-section .post a.read-more::after {
  content: '→';
  font-size: 16px;
  transition: transform var(--transition);
}

.wpo-blog-pg-section .post a.read-more:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateX(4px);
}

.wpo-blog-pg-section .post a.read-more:hover::after {
  transform: translateX(4px);
}

/* ==========================================================================
   Service Cards
   ========================================================================== */
.wpo-service-section .wpo-service-item,
.wpo-service-section-s2 .wpo-service-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.wpo-service-section .wpo-service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.wpo-service-section .wpo-service-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.wpo-service-section .wpo-service-item:hover::before {
  transform: scaleX(1);
}

.wpo-service-section .wpo-service-item .wpo-service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
  transition: all var(--transition);
}

.wpo-service-section .wpo-service-item:hover .wpo-service-icon {
  transform: scale(1.1) rotate(5deg);
}

.wpo-service-section .wpo-service-item .wpo-service-icon i {
  font-size: 40px;
  color: var(--white);
}

/* ==========================================================================
   Project/Portfolio Cards
   ========================================================================== */
.wpo-project-section .wpo-project-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.wpo-project-section .wpo-project-item img {
  transition: transform var(--transition-slow);
}

.wpo-project-section .wpo-project-item:hover img {
  transform: scale(1.1);
}

.wpo-project-section .wpo-project-item .wpo-project-text {
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
  padding: 30px;
}

/* ==========================================================================
   Form Inputs - Modern Style
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  transition: all var(--transition-fast);
  -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--gray-300);
}

/* ==========================================================================
   Footer Enhancements
   ========================================================================== */
.wpo-footer {
  background: linear-gradient(180deg, var(--dark) 0%, #0f0f1a 100%);
}

.wpo-footer .widget-title h3 {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.wpo-footer .widget-title h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 2px;
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.back-to-top {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.error-404-section .error h2 {
  font-size: 180px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
}

.error-404-section .error-message h3 {
  color: var(--dark);
  font-weight: 600;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.wow {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 991px) {
  .theme-btn {
    padding: 14px 30px;
    font-size: 14px;
  }

  .wpo-blog-pg-section .post h3 {
    font-size: 20px;
  }

  .wpo-blog-pg-section .entry-details {
    padding: 20px 24px 24px;
  }
}

@media (max-width: 767px) {
  .theme-btn {
    padding: 12px 24px;
    font-size: 13px;
  }

  .wpo-blog-pg-section .post {
    border-radius: var(--radius-md);
  }

  .wpo-blog-pg-section .entry-media {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .wpo-blog-pg-section .post h3 {
    font-size: 18px;
  }

  .error-404-section .error h2 {
    font-size: 100px;
  }
}

/* ==========================================================================
   Existing Widget Styles (preserved)
   ========================================================================== */
.widget.text-widget {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.widget.link-widget {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.widget.link-widget .widget-title h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

.widget.link-widget .menu-sidenav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget.link-widget .menu-sidenav li {
  margin-bottom: 12px;
}

.widget.link-widget .menu-sidenav li a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 15px;
}

.widget.link-widget .menu-sidenav li a:before {
  content: "›";
  position: absolute;
  left: 0;
  color: #1877f2;
  font-size: 18px;
  font-weight: bold;
}

.widget.link-widget .menu-sidenav li a:hover {
  color: #1877f2;
  padding-left: 20px;
}

.widget.link-widget .menu-sidenav li.current-menu-item a {
  color: #1877f2;
  font-weight: 500;
}

.about-widget .logo.widget-title {
  margin-bottom: 20px;
}

.about-widget .logo img {
  max-width: 200px;
  height: auto;
}

.about-widget p {
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.social-icons {
  margin-top: 20px;
}

.social-icons ul {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.text-widget > li {
  display: inline-block;
  margin-right: 15px;
}

.text-widget > li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #2d2d2d;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
}

.text-widget > li a:hover {
  background: #1877f2;
  transform: translateY(-3px);
}

.text-widget > li:last-child a:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}










/* ==========================================================================
   Share Buttons - Light Mode Fix
   ========================================================================== */
.wpo-blog-single-section .tag-share-s2 .tag a,
.wpo-blog-single-section .tag-share .share.tag a {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-100);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  padding: 0;
  font-size: 14px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

/* Social brand colors */
.wpo-blog-single-section .tag-share-s2 .tag ul > li:first-child a,
.wpo-blog-single-section .tag-share .share.tag ul > li:first-child a {
  color: #1877f2;
}

.wpo-blog-single-section .tag-share-s2 .tag ul > li:nth-child(2) a,
.wpo-blog-single-section .tag-share .share.tag ul > li:nth-child(2) a {
  color: #1da1f2;
}

.wpo-blog-single-section .tag-share-s2 .tag ul > li:nth-child(3) a,
.wpo-blog-single-section .tag-share .share.tag ul > li:nth-child(3) a {
  color: #0a66c2;
}

.wpo-blog-single-section .tag-share-s2 .tag ul > li:nth-child(4) a,
.wpo-blog-single-section .tag-share .share.tag ul > li:nth-child(4) a {
  color: #e60023;
}

/* Hover - fill with brand color */
.wpo-blog-single-section .tag-share-s2 .tag ul li:first-child a:hover,
.wpo-blog-single-section .tag-share .share.tag ul li:first-child a:hover {
  background: #1877f2 !important;
  color: #fff !important;
  border-color: #1877f2;
}

.wpo-blog-single-section .tag-share-s2 .tag ul li:nth-child(2) a:hover,
.wpo-blog-single-section .tag-share .share.tag ul li:nth-child(2) a:hover {
  background: #1da1f2 !important;
  color: #fff !important;
  border-color: #1da1f2;
}

.wpo-blog-single-section .tag-share-s2 .tag ul li:nth-child(3) a:hover,
.wpo-blog-single-section .tag-share .share.tag ul li:nth-child(3) a:hover {
  background: #0a66c2 !important;
  color: #fff !important;
  border-color: #0a66c2;
}

.wpo-blog-single-section .tag-share-s2 .tag ul li:nth-child(4) a:hover,
.wpo-blog-single-section .tag-share .share.tag ul li:nth-child(4) a:hover {
  background: #e60023 !important;
  color: #fff !important;
  border-color: #e60023;
}

/* Ensure icon inherits white on hover */
.wpo-blog-single-section .tag-share-s2 .tag ul li a:hover i,
.wpo-blog-single-section .tag-share .share.tag ul li a:hover i {
  color: #fff !important;
}

/* Share label text */
.wpo-blog-single-section .tag-share-s2 .tag > span,
.wpo-blog-single-section .tag-share .share.tag > span {
  color: var(--dark);
}

/* Note: Removed transparent background overrides - now using modern card design */

/* ==========================================================================
   Blog Single Post - Tags & Share Fixes
   ========================================================================== */

/* --- Tag Links (Etiquetas) --- */
.wpo-blog-single-section .tag-share .tag a {
  background: var(--light) !important;
  color: var(--gray-700) !important;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-full);
  padding: 5px 18px !important;
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
  transition: all var(--transition);
}

.wpo-blog-single-section .tag-share .tag a:hover {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-color: var(--primary);
}

/* "Etiquetas:" label */
.wpo-blog-single-section .tag-share .tag > span {
  color: var(--dark) !important;
}

/* --- Share Icons: Force Horizontal Layout --- */
.wpo-blog-single-section .tag-share-s2 .tag {
  display: flex !important;
  align-items: center !important;
}

.wpo-blog-single-section .tag-share-s2 .tag ul {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.wpo-blog-single-section .tag-share-s2 .tag ul li {
  float: none !important;
  display: inline-block;
}

/* --- Remove ALL yellow/gold (#ffb100) from blog elements --- */
.wpo-blog-single-section .tag-share .tag a:hover,
.wpo-blog-single-section .tag-share-s2 .tag a:hover {
  color: var(--white) !important;
}
