/* ==========================================================================
   VILMIO MODERN DESIGN - Simplified version
   ========================================================================== */

:root {
  --gradient-primary: linear-gradient(135deg, #004080 0%, #002855 100%);
  --gradient-secondary: linear-gradient(135deg, #21D8C9 0%, #1ab5a8 100%);
  --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.15);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Prevent horizontal overflow */
body, html {
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Navigation - Desktop only enhancements
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  #header {
    background: linear-gradient(135deg, rgba(0, 64, 128, 0.95) 0%, rgba(0, 40, 85, 0.98) 100%);
    border-radius: 0 0 24px 24px;
    border-bottom: 1px solid rgba(33, 216, 201, 0.2);
  }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
#hero .hero-hashtags {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scroll button - turquoise */
#hero .btn-get-started {
  background: var(--gradient-secondary) !important;
  border: none !important;
}

#hero .btn-get-started i {
  color: white !important;
}

/* Main hero - same gradient as navigation */
#hero:not(.section-bg) {
  background: linear-gradient(135deg, rgba(0, 64, 128, 0.95) 0%, rgba(0, 40, 85, 0.98) 100%);
}

/* Product/Project hero - light gradient background with dark text */
#hero.section-bg {
  background: linear-gradient(180deg, #f8fafc 0%, #e8f4f8 50%, #f1f5f9 100%) !important;
}

#hero.section-bg h1,
#hero.section-bg .hero-title {
  color: var(--primary-color) !important;
  text-shadow: none;
}

#hero.section-bg .hero-subtitle {
  color: #475569 !important;
}

#hero.section-bg .hero-hashtags {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section backgrounds for product pages */
.section-bg {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

/* Alternating backgrounds for features */
#features {
  background: white;
}

#specifications {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

/* --------------------------------------------------------------------------
   Section Titles - Modern underline
   -------------------------------------------------------------------------- */
.section-title h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--primary-color);
}

.section-title h2::after {
  background: var(--gradient-secondary);
  height: 4px;
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Service Cards
   -------------------------------------------------------------------------- */
.services .icon-box {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.services .icon-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.services .icon-box:hover h3,
.services .icon-box:hover h4 {
  color: var(--secondary-color) !important;
}

/* --------------------------------------------------------------------------
   Feature Sections (Product pages) - Sexy styling
   -------------------------------------------------------------------------- */
#features,
.about {
  padding: 80px 0;
}

/* Feature lists - card style */
#features ul,
.about ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#features ul li,
.about ul li {
  position: relative;
  padding: 18px 20px 18px 55px;
  margin-bottom: 15px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--secondary-color);
  transition: var(--transition-smooth);
  line-height: 1.6;
}

#features ul li:hover,
.about ul li:hover {
  transform: translateX(8px);
  box-shadow: 0 5px 25px rgba(33, 216, 201, 0.15);
  border-left-color: #1ab5a8;
}

#features ul li::before,
.about ul li::before {
  content: '✓';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  color: white;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Feature paragraphs */
#features p,
.about p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #475569;
}

/* Images in features */
#features img,
.about img {
  border-radius: 16px;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

#features img:hover,
.about img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 15px 40px rgba(33, 216, 201, 0.2));
}

/* Horizontal dividers */
#features hr,
.about hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  margin: 50px 0;
  opacity: 0.3;
}

/* Space elements */
#features .space,
.about .space {
  height: 40px;
}

/* --------------------------------------------------------------------------
   Tables - Modern styling
   -------------------------------------------------------------------------- */
.table {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  background: white;
  border: none;
  margin: 30px 0;
}

.table thead {
  background: var(--gradient-primary);
}

.table thead th {
  color: white;
  border: none;
  padding: 18px 24px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid #f1f5f9;
}

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

.table tbody tr:hover {
  background: linear-gradient(90deg, rgba(33, 216, 201, 0.08) 0%, rgba(33, 216, 201, 0.02) 100%);
}

.table td {
  padding: 16px 24px;
  vertical-align: middle;
  border: none;
  color: #334155;
}

.table td:first-child {
  font-weight: 600;
  color: var(--primary-color);
}

/* Specifications section */
#specifications {
  padding: 80px 0;
}

#specifications .section-title {
  margin-bottom: 40px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-get-manual {
  background: var(--gradient-secondary) !important;
  border: none !important;
  border-radius: 50px !important;
}

.btn-get-manual:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(33, 216, 201, 0.4) !important;
}

/* --------------------------------------------------------------------------
   Back to Top - Turquoise
   -------------------------------------------------------------------------- */
.back-to-top {
  background: var(--gradient-secondary) !important;
}

.back-to-top i {
  color: white !important;
}

/* --------------------------------------------------------------------------
   Contact Form
   -------------------------------------------------------------------------- */
#contact .info,
#contact .php-email-form {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

#contact .php-email-form input:focus,
#contact .php-email-form textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(33, 216, 201, 0.1);
}

/* --------------------------------------------------------------------------
   Footer - Modern styling
   -------------------------------------------------------------------------- */
#footer {
  background: var(--gradient-primary);
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

#footer .footer-main {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand section */
#footer .footer-brand h3 {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

#footer .footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

/* Social icons */
#footer .footer-social {
  display: flex;
  gap: 12px;
}

#footer .footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

#footer .footer-social a:hover {
  background: var(--gradient-secondary);
  transform: translateY(-3px);
}

/* Section titles */
#footer h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

#footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-secondary);
  border-radius: 1px;
}

/* Footer links */
#footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-links li {
  margin-bottom: 12px;
}

#footer .footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

#footer .footer-product-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#footer .footer-product-link-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.95;
}

#footer .footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

/* Contact info */
#footer .footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-contact li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

#footer .footer-contact i {
  color: var(--secondary-color);
  font-size: 1rem;
}

/* Footer bottom */
#footer .footer-bottom {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

#footer .copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

#footer .copyright strong {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  #footer {
    padding: 40px 0 0;
    text-align: center;
  }

  #footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  #footer .footer-social {
    justify-content: center;
  }

  #footer .footer-contact li {
    justify-content: center;
  }

  #footer .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Blog Cards
   -------------------------------------------------------------------------- */
.blog-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}
