/* EMERGENCY FIX */
.service-icon,
.difference-icon,
.philosophy-icon {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
}
.service-icon svg,
.difference-icon svg,
.philosophy-icon svg {
  width: 24px !important;
  height: 24px !important;
}
section {
  padding: 3rem 0 !important;
}
.about-section,
.philosophy-section,
.what-we-build-section,
.how-different-section,
.contact-section {
  padding: 3rem 0 !important;
}
.infrastructure-footer {
  background: transparent !important;
}
.site-footer {
  margin-bottom: 0 !important;
}
/* END EMERGENCY FIX */

/*
Theme Name: Davinci Lab
Version: 1.0.2
*/

:root {
  --primary-red: #d03e24;
  --deep-charcoal: #2e2e33;
  --light-gray: #f4f4f4;
  --text-gray: #6b7280;
  --dark-bg: #1a1a1a;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--deep-charcoal);
  background: var(--dark-bg);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
}

.logo-image {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-navigation a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-navigation a:hover {
  color: white;
}

.header-cta {
  background: linear-gradient(135deg, var(--primary-red), #ff4444);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s;
}

.header-cta:hover {
  transform: translateY(-2px);
}

/* Hero */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--dark-bg) 0%,
    #2d1810 50%,
    var(--primary-red) 100%
  );
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-quote {
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2rem;
  color: white;
}

.hero-title .highlight {
  color: var(--primary-red);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-explore {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-explore:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
}

.philosophy-section .section-title,
.how-different-section .section-title,
.contact-section .section-title {
  color: var(--deep-charcoal);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  background: var(--dark-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
}

.philosophy-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.philosophy-title {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.5rem;
}

.philosophy-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.philosophy-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.philosophy-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.philosophy-icon svg {
  width: 16px;
  height: 16px;
  stroke: white;
  stroke-width: 2;
}

.philosophy-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
}

.story-content {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.7;
}

.story-title {
  font-size: 1.75rem;
  color: white;
  margin-bottom: 1.5rem;
}

.story-highlight {
  color: var(--primary-red);
  font-weight: 600;
}

.story-paragraph {
  margin-bottom: 1.25rem;
}

/* Philosophy Section */
.philosophy-section {
  background: linear-gradient(135deg, #f8fafc 0%, var(--light-gray) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    rgba(208, 62, 36, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-red);
  stroke-width: 2;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--deep-charcoal);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-gray);
  line-height: 1.6;
}

/* What We Build */
.what-we-build-section {
  background: var(--dark-bg);
}

.build-pathway {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.pathway-stage {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stage-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.stage-title {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
}

.stage-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.stage-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.feature-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-red);
  stroke-width: 2;
  flex-shrink: 0;
}

.stage-cta {
  color: var(--primary-red);
  font-weight: 600;
  text-decoration: none;
}

.stage-vision {
  background: rgba(208, 62, 36, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-red);
  color: white;
}

.pathway-arrow svg {
  width: 40px;
  height: 40px;
  stroke: var(--primary-red);
  stroke-width: 2;
}

/* How Different */
.how-different-section {
  background: linear-gradient(135deg, #f8fafc 0%, var(--light-gray) 100%);
}

.differences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.difference-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.difference-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.difference-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    rgba(208, 62, 36, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.difference-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-red);
  stroke-width: 2;
}

.difference-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--deep-charcoal);
  margin-bottom: 1rem;
}

.difference-description {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Contact */
.contact-section {
  background: linear-gradient(135deg, #f8fafc 0%, var(--light-gray) 100%);
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--primary-red);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--deep-charcoal);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-red);
}

.form-textarea {
  height: 120px;
  resize: vertical;
}

.submit-button {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-red), #ff4444);
  color: white;
  padding: 1.25rem;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.3s;
}

.submit-button:hover {
  transform: translateY(-2px);
}

.privacy-notice {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(208, 62, 36, 0.05);
  border-radius: 8px;
}

.privacy-notice svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-red);
}

/* Footer */
.site-footer {
  background: var(--dark-bg);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
}

.footer-about {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.footer-about-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 0.9rem;
}

.footer-disclaimer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.infrastructure-footer {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.infrastructure-footer img {
  height: 18px;
}

/* Notifications */
.notification-popup {
  position: fixed;
  top: 100px;
  right: 1.5rem;
  z-index: 10000;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  max-width: 350px;
  transform: translateX(400px);
  transition: transform 0.4s;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.notification-popup.notification-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.notification-popup.notification-error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.notification-popup.show {
  transform: translateX(0);
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.close-notification {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
}

/* WordPress Admin Bar */
.wp-admin-bar-showing .site-header {
  top: 32px;
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .main-navigation {
    display: none;
  }

  section {
    padding: 3rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .differences-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .build-pathway {
    flex-direction: column;
  }

  .pathway-arrow {
    transform: rotate(90deg);
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .wp-admin-bar-showing .site-header {
    top: 46px;
  }
}
