/* 
  Colors Palette:
  Primary Red: #d90429 (Deep Modern Red)
  Accent Red: #ef233c
  Light/White: #ffffff
  Light Gray: #f8f9fa
  Dark Accent 1: #2b2d42
  Dark Accent 2: #1a1a24
  Text Gray: #6c757d
*/

:root {
  --primary-red: #d90429;
  --accent-red: #ef233c;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --border-color: #e9ecef;
  --dark-bg: #1a1a24;
  --dark-accent: #2b2d42;
  --text-dark: #2b2d42;
  --text-light: #f8f9fa;
  --text-gray: #6c757d;
  
  --shadow-sm: 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);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--light-gray);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
  color: var(--dark-accent);
  font-weight: 800;
  line-height: 1.2;
}

.text-accent {
  color: var(--primary-red);
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--primary-red);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-gray);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(217, 4, 41, 0.39);
}

.btn-primary:hover {
  background-color: var(--accent-red);
  box-shadow: 0 6px 20px rgba(217, 4, 41, 0.23);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-red);
  border-color: var(--primary-red);
}

.btn-outline:hover {
  background-color: var(--primary-red);
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: var(--light-gray);
  transform: translateY(-2px);
}

.btn-gradient {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-red) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(217, 4, 41, 0.39);
}

.btn-gradient:hover {
  box-shadow: 0 6px 20px rgba(217, 4, 41, 0.4);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: 10px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 5px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition);
}

.header.scrolled .header-container {
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-accent);
  display: flex;
  align-items: center;
}

.logo-accent {
  color: var(--primary-red);
  margin-right: 4px;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-list a {
  font-weight: 600;
  color: var(--dark-accent);
  transition: var(--transition);
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-red);
  transition: var(--transition);
}

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

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

.header-actions {
  display: flex;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-accent);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--white);
  padding: 100px 20px 40px;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  transition: right 0.4s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: auto;
}

.mobile-nav-list a {
  font-size: 1.25rem;
  font-weight: 600;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(26, 26, 36, 0.85), rgba(26, 26, 36, 0.7)), url('https://images.unsplash.com/photo-1578844251758-2f71da64c96f?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: bg-zoom 20s infinite alternate;
}

@keyframes bg-zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.hero-content {
  color: var(--white);
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease-out;
}

.hero-content p {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
  animation: fadeUp 1s ease-out;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  animation: fadeUp 1.2s ease-out;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeUp 1.4s ease-out;
}

.feature-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(217, 4, 41, 0.2);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

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

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark-accent);
}

.service-content p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Contact */
.bg-dark-accent {
  background-color: var(--dark-bg);
  color: var(--white);
}

.bg-dark-accent .section-title h2 {
  color: var(--white);
}

.bg-dark-accent .section-title p {
  color: #a0aec0;
}

.container-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-subtitle {
  color: #a0aec0;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(217, 4, 41, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-red);
  flex-shrink: 0;
}

.info-item h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-item p {
  color: #cbd5e0;
}

.info-item a {
  color: var(--primary-red);
  font-weight: 600;
  font-size: 1.25rem;
  transition: var(--transition);
}

.info-item a:hover {
  text-decoration: underline;
}

.highlight-text {
  font-size: 1.1rem;
}

.highlight-text strong {
  color: var(--primary-red);
  font-size: 1.25rem;
}

.contact-cta {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.contact-cta p {
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-map {
  height: 100%;
  min-height: 500px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  border: 4px solid var(--dark-accent);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: #2d3748;
}

/* Footer */
.footer {
  background-color: #111116;
  color: #a0aec0;
  padding: 4rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 400px;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .container-contact {
    grid-template-columns: 1fr;
  }
  .contact-map {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .nav, .header-actions {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
