/* eNani Digital Tools - LED Focused Design System */

:root {
  /* Brand Colors */
  --color-primary: #1A1A1A;
  /* Black - Headings, Main Areas */
  --color-secondary: #E8E4D9;
  /* Beige - Backgrounds */
  --color-accent: #2A7F7F;
  /* Teal - Buttons, Highlights */
  --color-text: #374151;
  /* Charcoal - Body Text */
  --color-white: #FFFFFF;
  --color-light-grey: #F3F4F6;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-float: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Spacing & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

  /* Fonts */
  --font-heading: 'Quicksand', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 10px;
}

.mb-2 {
  margin-bottom: 20px;
}

.mb-3 {
  margin-bottom: 30px;
}

.mb-4 {
  margin-bottom: 40px;
}

.mt-2 {
  margin-top: 20px;
}

.mt-4 {
  margin-top: 40px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: #236c6c;
  /* Darker Teal */
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

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

.btn-secondary:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 50px;
  /* Adjust based on actual logo ratio */
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--color-primary);
  position: relative;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  background-color: var(--color-secondary);
  background-image: radial-gradient(circle at top right, rgba(42, 127, 127, 0.1), transparent 40%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 24px;
  color: var(--color-primary);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  color: var(--color-text);
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.hero-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
  text-align: left;
}

.hero-service-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.hero-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.hero-service-card h3 {
  margin-bottom: 10px;
  color: var(--color-accent);
}

/* Sections General */
section {
  padding: 80px 0;
}

.section-bg-light {
  background-color: var(--color-light-grey);
}

.section-bg-beige {
  background-color: var(--color-secondary);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

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

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--color-accent);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-price {
  font-size: 1.1rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.service-card ul {
  margin-bottom: 30px;
  flex-grow: 1;
}

.service-card li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}

.service-card li::before {
  content: "•";
  color: var(--color-accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Upgrade Section */
.upgrade-section {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 100px 0;
}

.upgrade-section h2 {
  color: var(--color-white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin: 60px 0;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.8;
  margin-bottom: 10px;
  line-height: 1;
}

.step-card h3 {
  color: var(--color-white);
  margin-bottom: 10px;
}

.step-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* Sectors */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.sector-card {
  background: var(--color-secondary);
  padding: 30px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.sector-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.sector-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

/* About Overlay */
.about-section {
  background-color: white;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.about-content p {
  margin-bottom: 24px;
}

.about-highlight {
  background-color: var(--color-secondary);
  padding: 30px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
  margin: 40px 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  padding: 20px;
}

.contact-detail {
  margin-bottom: 30px;
}

.contact-detail h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.map-frame {
  width: 100%;
  height: 300px;
  background: #ccc;
  border-radius: var(--radius-md);
  margin-top: 20px;
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-box {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  background: var(--color-light-grey);
  font-family: inherit;
}

.form-textarea {
  height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer a {
  opacity: 0.8;
}

.footer a:hover {
  opacity: 1;
  color: var(--color-accent);
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

/* Sticky WhatsApp */
.sticky-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  font-weight: 600;
  transition: transform 0.3s;
}

.sticky-whatsapp:hover {
  transform: scale(1.05);
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  /* Add JS toggle logic integration later */
  .mobile-menu-btn {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow-lg);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* Desktop Grid Fixes */
@media (min-width: 992px) {

  .hero-services-grid,
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}