:root {
  --primary: #0a2351;
  --accent: #28a745;
  --whatsapp: #25D366;
  --text: #333;
  --light-bg: #f8f9fa;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; color: var(--text); line-height: 1.6; overflow-x: hidden; }
html { scroll-behavior: smooth; }
.container { max-width: 1100px; margin: auto; padding: 0 20px; }

/* NAVBAR */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 5px 0; border-bottom: 1px solid #eee; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 80px; width: auto; object-fit: contain; }
.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 25px; }
.nav-links a { text-decoration: none; color: var(--primary); font-weight: 500; }
.btn-nav { background: var(--primary); color: white !important; padding: 10px 20px; border-radius: 5px; }

/* HERO */
.hero { 
  height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; 
  color: white; text-align: center; padding-top: 100px; background-size: cover; background-position: center;
  animation: heroSlideshow 21s ease-in-out infinite;
}
@keyframes heroSlideshow {
  0%, 28% { background-image: linear-gradient(rgba(5, 15, 35, 0.7), rgba(5, 15, 35, 0.7)), url('img/5b7f8679-3785-4572-a380-815480f2f664.jpeg'); }
  33%, 61% { background-image: linear-gradient(rgba(5, 15, 35, 0.7), rgba(5, 15, 35, 0.7)), url('img/6f7cc9c3-f10a-4a96-b072-633ccbab32e2.jpeg'); }
  66%, 100% { background-image: linear-gradient(rgba(5, 15, 35, 0.7), rgba(5, 15, 35, 0.7)), url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=1200&q=80'); }
}
.hero h1 { font-size: 3rem; margin-bottom: 20px; padding: 0 10px; }
.badge { background: var(--accent); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; margin-bottom: 20px; display:inline-block;}

/* BUTTONS */
.btn-primary { background: var(--accent); color: white; padding: 15px 30px; border-radius: 5px; border:none; font-weight:600; cursor:pointer; font-size:1rem;}
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero-contact-btns { display: flex; gap: 10px; }
.btn-outline { border: 2px solid white; color: white; padding: 12px 20px; text-decoration:none; border-radius:5px; display:flex; align-items:center; gap:8px;}
.btn-whatsapp { background: var(--whatsapp); color: white; padding: 12px 20px; text-decoration:none; border-radius:5px; display:flex; align-items:center; gap:8px;}

/* SERVICES */
.services { padding: 80px 0; background: var(--light-bg); }
.section-title { text-align: center; margin-bottom: 50px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.service-card .content { padding: 25px; }
.service-card h3 { color: var(--primary); margin: 10px 0; }
.service-card p { font-size: 0.9rem; color: #666; }
.img-container { height: 200px; }
.img-container img { width: 100%; height: 100%; object-fit: cover; }

/* CONTACT FORM */
.contact { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.form-group { display: flex; gap: 15px; }
input, select, textarea { padding: 12px; border: 1px solid #ddd; border-radius: 5px; width: 100%; font-family: inherit; font-size: 1rem; }
.btn-submit { background: var(--primary); color: white; border: none; padding: 15px; border-radius: 5px; font-weight: 600; cursor: pointer; }

/* PHOTO PREVIEW */
.preview-item { position: relative; height: 80px; border-radius: 5px; overflow: hidden; border: 1px solid #ddd; }
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.remove-img { position: absolute; top: 2px; right: 2px; background: rgba(0,0,0,0.5); color: white; border-radius: 50%; width: 20px; height: 20px; text-align: center; cursor: pointer; line-height: 18px; }

/* FOOTER */
footer { background: var(--primary); color: white; }

/* --- MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .navbar .container { justify-content: center; }
  .hero { height: auto; padding: 120px 20px 60px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { flex-direction: column; gap: 20px; margin-top: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-group { flex-direction: column; }
  .hero-contact-btns { width: 100%; justify-content: center; }
  .btn-outline, .btn-whatsapp { flex: 1; justify-content: center; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
}