/* === DoraBox — Main Stylesheet === */
:root {
  --color-dark: #1D1B22;
  --color-dark-secondary: #2C2A33;
  --color-accent: #E2553D;
  --color-accent-hover: #C94A34;
  --color-bg: #F9F7F3;
  --color-white: #FFFFFF;
  --color-text: #3A3640;
  --color-text-light: #6B6770;
  --color-border: #E5E0D9;
  --color-muted: #B0ADA5;
  --color-success: #5B8C6F;
  --color-hero-end: #3D2A36;
  --font-heading: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === NAVIGATION (class-based selector) === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-dark);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--color-dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.navbar-brand span {
  color: var(--color-accent);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.navbar-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--color-white);
}

.navbar-links .nav-cta {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.navbar-links .nav-cta:hover {
  background-color: var(--color-accent-hover);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.navbar-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO (homepage class) === */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-hero-end) 50%, var(--color-dark) 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 85, 61, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 140, 111, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-content h1 span {
  color: var(--color-accent);
}

.hero-content .hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-muted);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

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

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226, 85, 61, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.hero-card .hero-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.hero-card .hero-stat {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.hero-card .hero-label {
  font-size: 0.95rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === ABOUT SECTION === */
.about-section {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.section-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--color-text);
}

.about-features .feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.about-visual {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-secondary) 100%);
  border-radius: 20px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 85, 61, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.about-visual h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.about-stat .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat .stat-label {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* === SERVICES SECTION === */
.services-section {
  padding: 100px 0;
  background-color: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 85, 61, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.services-section .section-label {
  color: var(--color-accent);
}

.services-section .section-title {
  color: var(--color-white);
}

.services-section .section-desc {
  color: var(--color-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.service-card {
  background-color: var(--color-dark-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 36px 30px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border: 1px solid rgba(226, 85, 61, 0.3);
}

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

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* === PROCESS SECTION === */
.process-section {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step .step-number {
  width: 56px;
  height: 56px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.process-step h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.93rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* === CONTACT SECTION === */
.contact-section {
  padding: 100px 0;
  background-color: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.contact-section .section-label {
  color: var(--color-accent);
}

.contact-section .section-title {
  color: var(--color-white);
}

.contact-section .section-desc {
  color: var(--color-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item .contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(226, 85, 61, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item .contact-text {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.contact-item .contact-text strong {
  display: block;
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 2px;
}

.contact-form {
  background-color: var(--color-dark-secondary);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--color-white);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6B6A70;
}

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

.form-submit-wrapper {
  text-align: right;
}

.form-message {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-message.success {
  color: var(--color-success);
}

.form-message.error {
  color: var(--color-accent);
}

/* === FOOTER === */
.site-footer {
  background-color: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.92rem;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.88rem;
  color: var(--color-muted);
}

.footer-bottom .footer-legal {
  display: flex;
  gap: 24px;
}

.footer-bottom .footer-legal a {
  font-size: 0.88rem;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer-bottom .footer-legal a:hover {
  color: var(--color-accent);
}

/* === SCROLL REVEAL === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
  }
  .navbar-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: var(--color-dark-secondary);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }
  .navbar-links.open {
    transform: translateY(0);
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
