/* Base Styles */
:root {
  /* Color System */
  --cherry-red: #DD0A35;
  --cherry-dark-red: #B00029;
  --cherry-light-red: #FF4D6D;
  
  --primary: var(--cherry-red);
  --primary-dark: var(--cherry-dark-red);
  --primary-light: var(--cherry-light-red);
  
  --secondary: #1A1A1A;
  --secondary-light: #333333;
  --secondary-dark: #000000;
  
  --accent: #FFD700;
  --accent-dark: #DAA520;
  
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  
  --gray-100: #F9FAFB;
  --gray-200: #F3F4F6;
  --gray-300: #E5E7EB;
  --gray-400: #D1D5DB;
  --gray-500: #9CA3AF;
  --gray-600: #6B7280;
  --gray-700: #4B5563;
  --gray-800: #374151;
  --gray-900: #1F2937;
  
  /* Typography */
  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  
  /* Spacing - 8px system */
  --space-1: 0.5rem;   /* 8px */
  --space-2: 1rem;     /* 16px */
  --space-3: 1.5rem;   /* 24px */
  --space-4: 2rem;     /* 32px */
  --space-5: 2.5rem;   /* 40px */
  --space-6: 3rem;     /* 48px */
  --space-8: 4rem;     /* 64px */
  --space-10: 5rem;    /* 80px */
  --space-12: 6rem;    /* 96px */
  
  /* Borders */
  --border-radius-sm: 0.25rem;   /* 4px */
  --border-radius: 0.5rem;       /* 8px */
  --border-radius-lg: 1rem;      /* 16px */
  --border-radius-xl: 1.5rem;    /* 24px */
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 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);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition: 300ms ease;
  --transition-slow: 500ms ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  line-height: 1.5;
  color: var(--gray-900);
  background-color: var(--gray-100);
  overflow-x: hidden;
  padding-top: 80px; /* Add padding to account for fixed header */
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, .btn {
  font-family: var(--font-family);
  cursor: pointer;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-2);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-2);
}

section {
  padding: var(--space-6) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-4);
  position: relative;
  padding-bottom: var(--space-2);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  transition: background-color var(--transition);
}

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

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

.logo h1 {
  font-size: 1.75rem;
  margin-bottom: 0;
  color: var(--secondary);
}

.logo h1 span {
  color: var(--primary);
}

/* Navigation */
.nav-menu {
  display: flex;
  gap: var(--space-2);
}

.nav-menu a {
  display: inline-block;
  padding: var(--space-1) var(--space-2);
  font-weight: 600;
  color: var(--gray-800);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--secondary);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
  border: 2px solid var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  border-color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Call Button */
.call-button {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 99;
}

.call-button a {
  display: flex;
  align-items: center;
  background-color: var(--primary);
  color: white;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.call-button a:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.call-button i {
  margin-right: var(--space-1);
  font-size: 1.25rem;
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: white;
  padding: var(--space-6) 0 var(--space-2);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.footer-column h3 {
  color: var(--gray-200);
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-1);
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-column ul li {
  margin-bottom: var(--space-1);
}

.footer-column ul li a:hover {
  color: var(--primary-light);
}

.social-icons {
  display: flex;
  gap: var(--space-1);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.social-icons a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-2);
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header .container {
    height: 70px;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: white;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    transition: height var(--transition);
    box-shadow: var(--shadow);
  }
  
  .nav-menu.active {
    height: auto;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu a {
    display: block;
    padding: var(--space-2);
    border-bottom: 1px solid var(--gray-200);
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
  
  .footer-columns {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .call-button {
    left: 1rem;
    bottom: 1rem;
  }
  
  .call-button span {
    display: none;
  }
  
  .call-button a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    justify-content: center;
  }
  
  .call-button i {
    margin-right: 0;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  section {
    padding: var(--space-4) 0;
  }
}