/* ═══════════════════════════════════════════
   CSS STYLES - DevNova
═══════════════════════════════════════════ */

:root {
  --bg: #F2F0ED;
  --bg-alt: #FDE2D2;
  --accent: #C97B55;
  --accent-dark: #C97B55;
  --text: #1A1816;
  --text-light: #5a5a5a;
  --white: #ffffff;
  --card-bg: rgba(255,255,255,0.8);
  --shadow: 0 4px 20px rgba(26,24,22,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { 
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: 70px;
  background: rgba(242,240,237,0.95);
  border-bottom: 1px solid rgba(201,123,85,0.1);
}

.nav-logo {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text);
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.nav-logo span { color: var(--accent); }

.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text);
  text-decoration: none; transition: color var(--transition);
}

.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent); color: var(--white);
  padding: 8px 18px; border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
}

.nav-cta:hover { background: #1A1816; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); }

/* HERO */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 120px 6vw 80px;
}

.hero-badge {
  display: inline-block;
  background: var(--bg-alt);
  border-radius: 50px; padding: 8px 18px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
  max-width: 700px;
  color: var(--text);
}

h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text-light); max-width: 480px;
  line-height: 1.7; margin: 1.2rem auto 2rem;
}

.hero-btns {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}

.btn {
  display: inline-flex; align-items: center;
  padding: 14px 26px; border-radius: 50px;
  font-family: inherit; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; text-decoration: none; border: none;
  transition: all var(--transition);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--text); color: var(--white);
}

.btn-primary:hover { background: var(--accent); }

.btn-secondary {
  background: var(--white); color: var(--text);
  border: 1px solid rgba(26,24,22,0.1);
}

.btn-secondary:hover { border-color: var(--accent); }

/* SECTIONS */
section { position: relative; z-index: 1; }

.section-header { text-align: center; margin-bottom: 3rem; }

.section-label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.8rem;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.2;
}

.section-desc { font-size: 0.95rem; color: var(--text-light); max-width: 450px; margin: 0.8rem auto 0; }

/* PORTFOLIO */
#portfolio { 
  padding: 100px 6vw; 
  background: var(--bg-alt);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1100px; margin: 0 auto;
}

.portfolio-item {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.portfolio-item:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 12px 30px rgba(26,24,22,0.1); 
}

.portfolio-thumb {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-body { padding: 1.2rem 1.4rem; }

.portfolio-cat {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.3rem;
}

.portfolio-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }

.portfolio-desc { font-size: 0.8rem; color: var(--text-light); line-height: 1.5; }

/* SERVICES */
#services {
  padding: 100px 6vw;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px; margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(26,24,22,0.05);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(26,24,22,0.08);
}

.service-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }

.service-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; flex: 1; margin-bottom: 1rem; }

.service-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; border-top: 1px solid rgba(26,24,22,0.05);
}

.service-price { font-size: 1rem; font-weight: 700; color: var(--accent); }

.service-delay { font-size: 0.75rem; color: var(--text-light); }

.service-cta {
  background: var(--text); color: var(--white);
  border: none; border-radius: 50px; padding: 8px 16px;
  font-family: inherit; font-size: 0.75rem; font-weight: 600;
  cursor: pointer;
}

.service-cta:hover { background: var(--accent); }

/* MODAL */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(26,24,22,0.4);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  max-width: 450px; width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal { transform: translateY(0); }

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-light);
}

.modal-close:hover { background: var(--bg-alt); }

.modal h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.8rem; }

.modal-details {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin: 1rem 0;
}

.modal-tag {
  background: var(--bg); border-radius: 6px;
  padding: 6px 12px; font-size: 0.8rem; font-weight: 500; color: var(--text-light);
}

.modal-tag strong { color: var(--accent); }

.modal-desc { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1.5rem; }

.modal-actions { display: flex; flex-direction: column; gap: 0.8rem; }

.btn-whatsapp {
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 20px; border-radius: 50px;
  font-family: inherit; font-size: 0.9rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
}

.btn-whatsapp:hover { background: #1ebe5d; }

/* ABOUT */
#about {
  padding: 100px 6vw;
  background: var(--bg);
}

.about-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 4rem; align-items: center;
}

.about-visual {
  display: flex; align-items: center; justify-content: center;
}

.about-avatar {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 { margin-bottom: 1rem; }

.about-content p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1rem; }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }

.value-item {
  background: var(--white); border-radius: var(--radius-sm);
  padding: 1rem; border: 1px solid rgba(26,24,22,0.05);
}

.value-item h5 { font-size: 0.85rem; font-weight: 700; margin-bottom: 3px; }
.value-item p { font-size: 0.75rem; color: var(--text-light); margin: 0; }

/* CONTACT */
#contact { 
  padding: 100px 6vw; 
  background: var(--bg-alt);
}

.contact-inner {
  max-width: 500px; margin: 0 auto;
  background: var(--white); border-radius: 20px;
  padding: 2rem;
}

.form-group { margin-bottom: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }

input, textarea, select {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(26,24,22,0.1);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: inherit; font-size: 0.9rem; color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
}

textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%; margin-top: 0.5rem;
  background: var(--accent); color: var(--white);
  padding: 14px; border-radius: 50px;
  font-family: inherit; font-size: 0.95rem; font-weight: 600;
  border: none; cursor: pointer;
}

.form-submit:hover { background: var(--text); }

/* TOAST */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9000;
  display: flex; flex-direction: column; gap: 10px;
}

.toast {
  background: var(--text); color: var(--white);
  border-radius: 10px; padding: 12px 18px;
  font-size: 0.85rem; font-weight: 500;
  box-shadow: 0 8px 20px rgba(26,24,22,0.2);
  max-width: 300px;
}

/* FOOTER */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 3rem 6vw;
  text-align: center;
}

.footer-logo {
  font-size: 1.5rem; font-weight: 800;
  color: var(--white); margin-bottom: 0.5rem;
}

.footer-logo span { color: var(--accent); }

footer p { font-size: 0.85rem; margin-bottom: 1.5rem; }

.footer-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }

.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; }

.footer-links a:hover { color: var(--accent); }

.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 1.5rem 0; }

.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 1rem;
    position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(242,240,237,0.98);
    padding: 1.5rem 5vw;
    border-bottom: 1px solid rgba(26,24,22,0.1);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .about-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .about-visual { display: flex; justify-content: center; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-inner { padding: 1.5rem; }
  .portfolio-grid, .services-grid { grid-template-columns: 1fr; }
}

