/* EasyWayIT Brand Styles */

:root {
  --primary-dark: #0c1232;
  --primary-red: #f73307;
  --primary-red-hover: #d92d06;
  --text-light: #f8fafc;
  --text-gray: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Navigation */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-red);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-white);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
}

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

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--primary-dark);
  transition: all 0.2s ease;
  border-bottom: 1px solid #f1f5f9;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: #f8fafc;
  color: var(--primary-red);
  padding-left: 24px;
}

/* Buttons */
.btn-primary {
  background: var(--primary-red);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(247, 51, 7, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid white;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-dark);
}

/* Hero Section */
.hero-gradient {
  background-color: #0c1232;
  background-image: linear-gradient(135deg, rgba(12, 18, 50, 0.92) 0%, rgba(26, 35, 126, 0.88) 100%), url('../images/futuristic-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.hero-pattern {
  /* Subtle overlay pattern for depth */
  background-image:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
}

.hero-bg {
  background-image: linear-gradient(rgba(12, 18, 50, 0.75), rgba(12, 18, 50, 0.85)), url('../images/website-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.hero-bg-cybersecurity {
  background-image: linear-gradient(rgba(12, 18, 50, 0.88), rgba(12, 18, 50, 0.92)), url('../images/cybersecurity-bg.jpg');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-bg-cloud {
  background-image: linear-gradient(rgba(12, 18, 50, 0.88), rgba(12, 18, 50, 0.92)), url('../images/cloud-bg.jpg');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-bg-managed {
  background-image: linear-gradient(rgba(12, 18, 50, 0.88), rgba(12, 18, 50, 0.92)), url('../images/managed-it-bg.jpg');
  background-size: cover;
  background-position: center calc(50% + 150px);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-bg-comanaged {
  background-image: linear-gradient(rgba(12, 18, 50, 0.75), rgba(12, 18, 50, 0.82)), url('../images/co-managed-bg.jpg');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-bg-frustration {
  background-image: linear-gradient(rgba(12, 18, 50, 0.88), rgba(12, 18, 50, 0.92)), url('../images/frustration.jpg');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-bg-default {
  background-image: linear-gradient(rgba(12, 18, 50, 0.75), rgba(12, 18, 50, 0.85)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-bg-cto {
  background-image: linear-gradient(rgba(12, 18, 50, 0.75), rgba(12, 18, 50, 0.85)), url('../images/cto-executive.jpg');
  background-size: cover;
  background-position: center top;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-bg-support {
  background-image: linear-gradient(rgba(12, 18, 50, 0.75), rgba(12, 18, 50, 0.85)), url('../images/EasyWayIT-Support.jpeg');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-bg-contact {
  background-image: linear-gradient(rgba(12, 18, 50, 0.75), rgba(12, 18, 50, 0.85)), url('../images/EasyWayIT-Contact.jpeg');
  background-size: 100% auto;
  background-position: center;
  background-color: #0c1232;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-bg-schedule {
  background-image: linear-gradient(rgba(12, 18, 50, 0.88), rgba(12, 18, 50, 0.92)), url('../images/training.jpg');
  background-size: cover;
  background-position: center;
  min-height: 40vh;
  display: flex;
  align-items: center;
}

.hero-bg-ai {
  background-image: linear-gradient(rgba(12, 18, 50, 0.75), rgba(12, 18, 50, 0.85)), url('../images/EasyWayIT-AI-Services.jpeg');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-bg-about {
  background-image: linear-gradient(rgba(12, 18, 50, 0.75), rgba(12, 18, 50, 0.85)), url('../images/cto-team.jpg');
  background-size: cover;
  background-position: center 20%;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

/* Cards */
.service-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--primary-red);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-red) 0%, #ff6b4a 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card .icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

/* Section styling */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: var(--text-gray);
}

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

/* Form Styles */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(247, 51, 7, 0.1);
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-dark);
  z-index: 200;
  padding: 80px 24px 24px;
  overflow-y: auto;
}

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

.mobile-menu a {
  display: block;
  padding: 16px 0;
  color: white;
  font-size: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}

/* Language badge */
.lang-badge {
  background: rgba(247, 51, 7, 0.1);
  color: var(--primary-red);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}
