/* ===================================================
   Aguilera Floor - Hardwood Flooring
   Colors: Warm Brown (#6d4c2e) + Forest Green (#4a7c59) + Beige (#f5efe8) + Amber (#c17817)
   =================================================== */

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

:root {
  --brown: #6d4c2e;
  --brown-dark: #4d331e;
  --brown-light: #8b6643;
  --green: #4a7c59;
  --green-dark: #356340;
  --green-light: #5e9a6e;
  --amber: #c17817;
  --amber-light: #dda048;
  --beige: #f5efe8;
  --beige-dark: #ede3d6;
  --cream: #fcf8f3;
  --dark: #1a100a;
  --white: #ffffff;
  --text: #2a1f14;
  --text-light: #6a5a4a;
  --text-muted: #9a8a7a;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 16px rgba(109, 76, 46, 0.1);
  --shadow-lg: 0 8px 32px rgba(109, 76, 46, 0.15);
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text);
  background: var(--beige);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--green); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-dark); }

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

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(74, 124, 89, 0.08);
  padding: 5px 16px; border-radius: 4px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.1rem; color: var(--brown-dark);
  margin-bottom: 14px; line-height: 1.2;
}

.section-desc { font-size: 1rem; color: var(--text-light); line-height: 1.7; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26, 16, 10, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74, 124, 89, 0.15);
}

.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 68px;
}

.logo { display: flex; align-items: center; gap: 8px; color: var(--white); }
.logo-icon { font-size: 1.3rem; }
.logo-text { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.5px; }

.nav-list { display: flex; list-style: none; gap: 4px; }
.nav-list a {
  padding: 8px 16px; border-radius: 4px;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem; font-weight: 500;
}

.nav-list a:hover, .nav-list a.active {
  color: var(--amber-light); background: rgba(193, 120, 23, 0.1);
}

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--dark); overflow: hidden; padding-top: 68px;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(109,76,46,0.2), transparent 60%);
}

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

.hero-badge {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber-light);
  background: rgba(193, 120, 23, 0.1);
  padding: 5px 16px; border-radius: 4px; margin-bottom: 18px;
}

.hero-title { font-size: 2.8rem; line-height: 1.1; color: var(--white); margin-bottom: 18px; font-weight: 700; }
.hero-title .highlight { color: var(--amber); }

.hero-desc { font-size: 1rem; color: rgba(255,255,255,0.55); margin-bottom: 30px; max-width: 520px; line-height: 1.7; }
.hero-desc strong { color: var(--green-light); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 30px; border-radius: 4px;
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.3px;
  border: none; cursor: pointer; transition: var(--transition); text-align: center;
}

.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4); color: var(--white); }

.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: var(--amber-light); color: var(--amber-light); }

.btn-light { background: var(--cream); color: var(--brown-dark); }
.btn-light:hover { transform: translateY(-2px); color: var(--brown-dark); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }

.btn-full { width: 100%; }

/* Wood texture visual */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.wood-texture { display: flex; flex-direction: column; gap: 12px; width: 300px; }
.wood-plank {
  height: 60px; border-radius: 6px;
  position: relative; overflow: hidden;
}
.wood-plank::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(0,0,0,0.06) 20px, rgba(0,0,0,0.06) 21px);
}
.wood-plank-1 {
  background: linear-gradient(90deg, #8b6643, #a07850, #8b6643);
  animation: slideIn 0.8s ease-out 0.2s both;
}
.wood-plank-2 {
  background: linear-gradient(90deg, #6d4c2e, #7a5533, #6d4c2e);
  animation: slideIn 0.8s ease-out 0.4s both;
}
.wood-plank-3 {
  background: linear-gradient(90deg, #4d331e, #5a3d26, #4d331e);
  animation: slideIn 0.8s ease-out 0.6s both;
}
@keyframes slideIn {
  from { transform: translateX(-60px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.hero-divider { position: absolute; bottom: -2px; left: 0; right: 0; line-height: 0; }
.hero-divider svg { width: 100%; height: 60px; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.srv-card {
  background: var(--cream); padding: 32px 24px;
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid rgba(109, 76, 46, 0.04);
  transition: var(--transition);
}

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

.srv-icon { width: 46px; height: 46px; margin-bottom: 16px; color: var(--green); }
.srv-icon svg { width: 100%; height: 100%; }

.srv-card h3 { font-size: 1.15rem; color: var(--brown-dark); margin-bottom: 8px; }
.srv-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

/* Gallery */
.gallery { background: var(--beige-dark); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.gallery-placeholder {
  aspect-ratio: 4/3; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; color: var(--white);
  letter-spacing: 1px;
  transition: var(--transition);
}

.gallery-placeholder:hover { transform: scale(1.03); }

.gallery-1 { background: linear-gradient(135deg, #8b6643, #6d4c2e); }
.gallery-2 { background: linear-gradient(135deg, #5a3d26, #3d2818); }
.gallery-3 { background: linear-gradient(135deg, #c9a87a, #a07850); }
.gallery-4 { background: linear-gradient(135deg, #7a4050, #5a3038); }

/* Stats */
.stats { background: var(--brown-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { padding: 20px; }
.stat-number { display: block; font-size: 2.8rem; font-weight: 700; color: var(--amber-light); margin-bottom: 6px; }
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.55); font-weight: 500; }

/* CTA */
.cta-box {
  background: linear-gradient(135deg, var(--brown), var(--brown-dark));
  padding: 55px; border-radius: var(--radius-lg); text-align: center; color: var(--white);
}
.cta-box h2 { font-size: 1.9rem; margin-bottom: 10px; }
.cta-box p { font-size: 1rem; margin-bottom: 22px; opacity: 0.85; }

/* Footer */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.45);
  padding: 55px 0 0;
}

.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 36px; padding-bottom: 36px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { margin-top: 14px; font-size: 0.85rem; line-height: 1.7; }
.footer-links h4, .footer-contact h4 { color: var(--white); margin-bottom: 14px; font-size: 0.9rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--amber-light); }
.footer-contact p { font-size: 0.85rem; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 18px 0; text-align: center; font-size: 0.82rem; }

/* Page Banner */
.page-banner { padding: 130px 0 55px; background: linear-gradient(135deg, var(--dark), var(--brown-dark)); text-align: center; color: var(--white); }
.page-banner h1 { font-size: 2.3rem; margin-bottom: 10px; }
.page-banner p { font-size: 1rem; color: rgba(255,255,255,0.55); }

/* Service Detail */
.services-list { display: flex; flex-direction: column; gap: 20px; }
.det-block {
  display: grid; grid-template-columns: 40px 1fr; gap: 20px;
  background: var(--cream); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.det-num { font-size: 1.3rem; font-weight: 800; color: var(--amber); }
.det-content h3 { font-size: 1.15rem; color: var(--brown-dark); margin-bottom: 8px; }
.det-content p { color: var(--text-light); margin-bottom: 10px; line-height: 1.65; font-size: 0.92rem; }
.det-content ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.det-content li { position: relative; padding-left: 16px; color: var(--text-light); font-size: 0.85rem; }
.det-content li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; background: var(--green); border-radius: 50%; }

/* About*/
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h2 { font-size: 1.9rem; color: var(--brown-dark); margin-bottom: 16px; }
.about-text p { color: var(--text-light); margin-bottom: 14px; line-height: 1.7; }
.ab-card { background: var(--dark); border-radius: var(--radius-lg); overflow: hidden; }
.ab-card-top { padding: 22px; text-align: center; color: var(--amber-light); font-weight: 600; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ab-location { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.3); margin-top: 4px; font-weight: 400; }
.ab-card-body { padding: 18px 22px; }
.ab-row { display: flex; justify-content: space-between; padding: 11px 0; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.ab-row:last-child { border-bottom: none; }
.ab-row span:first-child { color: rgba(255,255,255,0.35); }
.ab-val { color: var(--white); font-weight: 500; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.val-card {
  background: var(--cream); padding: 28px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center;
  border-top: 3px solid var(--amber);
  transition: var(--transition);
}
.val-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.val-card h3 { font-size: 1.1rem; color: var(--brown-dark); margin-bottom: 10px; }
.val-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { background: var(--cream); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card h3 { font-size: 1.2rem; color: var(--brown-dark); margin-bottom: 24px; }
.c-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.c-icon { font-size: 1.2rem; flex-shrink: 0; }
.c-row strong { display: block; font-size: 0.82rem; color: var(--brown-dark); margin-bottom: 3px; }
.c-row p, .c-row a { font-size: 0.9rem; color: var(--text-light); }
.contact-form { background: var(--cream); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.2rem; color: var(--brown-dark); margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 5px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 10px 14px; border: 1px solid rgba(109, 76, 46, 0.12);
  border-radius: 4px; font-size: 0.9rem; font-family: inherit; color: var(--text);
  background: var(--white); transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(193, 120, 23, 0.1);
}

/* Legal */
.legal-text { max-width: 800px; margin: 0 auto; }
.legal-text h2 { font-size: 1.25rem; color: var(--brown-dark); margin: 28px 0 10px; }
.legal-text p { color: var(--text-light); margin-bottom: 10px; line-height: 1.65; }
.legal-text ul { padding-left: 18px; margin-bottom: 14px; }
.legal-text li { color: var(--text-light); margin-bottom: 5px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav { position: fixed; top: 68px; left: 0; right: 0; background: var(--dark); padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.06); transform: translateY(-100%); opacity: 0; transition: var(--transition); pointer-events: none; }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-list { flex-direction: column; gap: 4px; }
  .nav-list a { display: block; text-align: center; padding: 12px; }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .det-block { grid-template-columns: 1fr; text-align: center; }
  .det-content ul { grid-template-columns: 1fr; }
  .det-content li::before { display: none; }
  .cta-box { padding: 36px 20px; }
  .cta-box h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}
