/* O2 SOLUTIONS - Main Stylesheet */

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

:root {
  --brand-orange: #F5A623;
  --brand-dark: #1A1A2E;
  --brand-navy: #16213E;
  --brand-light-orange: #FFB84D;
  --brand-dark-orange: #E59400;
  --bg-page: #FFFFFF;
  --text-primary: #1A1A2E;
  --text-body: #2C2C3E;
  --text-secondary: #6B6B7B;
  --text-muted: #9B9BA8;
  --border-light: rgba(0, 0, 0, 0.1);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
}

/* Typography */
.heading-1 {
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.heading-2 {
  font-weight: 600;
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.heading-3 {
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.body-large {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-body);
}

.body-medium {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.5;
  color: var(--text-body);
}

.body-small {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
  color: var(--brand-orange);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-body);
  font-size: 0.875rem;
  transition: color 0.3s;
}

.phone-link:hover {
  color: var(--brand-orange);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(to right, var(--brand-orange), var(--brand-light-orange));
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
  box-shadow: 0px 2px 8px rgba(245, 166, 35, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0px 4px 16px rgba(245, 166, 35, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(245, 166, 35, 0.3);
  border-radius: 9999px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(245, 166, 35, 0.1);
  border-color: var(--brand-orange);
}

/* Card */
.card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(245, 166, 35, 0.3);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section */
.section {
  padding: 5rem 1.5rem;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background: #1F2937;
  color: white;
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer h3, .footer h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: #9CA3AF;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--brand-orange);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #9CA3AF;
  font-size: 0.875rem;
  margin: 0;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: #25D366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #20BA5A;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--border-light);
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 768px) {
  .nav, .header-cta {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.bg-gray-50 { background-color: #F9FAFB; }
.bg-white { background-color: white; }
.bg-orange { background: linear-gradient(to right, var(--brand-orange), #FF8C00); }
.bg-dark { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-navy) 100%); }

.rounded-lg { border-radius: 12px; }
.shadow-sm { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }

/* Page specific styles will be added inline or in separate sections */
