/* Abogado Mike - Static Site Styles */
:root {
  --navy: #0a2540;
  --navy-dark: #061a2e;
  --gold: #c9a227;
  --gold-light: #e6c35c;
  --white: #ffffff;
  --gray: #f5f7fa;
  --text: #333333;
  --muted: #666666;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  background: var(--navy);
  color: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo {
  font-size: 1.4rem;
  font-weight: bold;
}
.logo span { color: var(--gold); }
.phone-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1rem;
}
.phone-cta:hover { background: var(--gold-light); }

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin-top: 10px;
}
nav a { color: var(--white); font-weight: 500; }
nav a:hover, nav a.active { color: var(--gold); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #123a5f 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 15px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 25px; }
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 30px;
  border-radius: 5px;
  font-weight: bold;
  margin: 5px;
}
.btn:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--white);
}

/* Sections */
section { padding: 60px 0; }
section h2 {
  text-align: center;
  color: var(--navy);
  margin-bottom: 30px;
  font-size: 2rem;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card {
  background: var(--gray);
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}
.card h3 { color: var(--navy); margin-bottom: 10px; }

/* Testimonials */
.testimonial {
  background: var(--gray);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}
.testimonial p { font-style: italic; margin-bottom: 10px; }
.testimonial .author { font-weight: bold; color: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { background: var(--navy); color: var(--white); padding: 30px; border-radius: 8px; }
.contact-info h3 { color: var(--gold); margin-bottom: 15px; }
form { display: flex; flex-direction: column; gap: 15px; }
input, textarea, select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}
textarea { min-height: 120px; }
button[type="submit"] {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}
button[type="submit"]:hover { background: var(--gold-light); }

/* Footer */
footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 40px 0 20px;
  text-align: center;
}
footer a { color: var(--gold); }
.footer-info { margin-bottom: 15px; }

/* Slider */
.slider {
  position: relative;
  max-width: 100%;
  height: 480px;
  overflow: hidden;
  margin-bottom: 0;
  background: #0a2540; /* navy background so letterboxing looks clean */
}
.slider img {
  width: 100%;
  height: 480px;
  object-fit: contain; /* show the full image, no heavy cropping */
  object-position: center;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
}
.slider img.active {
  display: block;
  animation: fade 1s;
}
@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}
.slider-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 37, 64, 0.85);
  color: white;
  padding: 20px 40px;
  border-radius: 8px;
  text-align: center;
  max-width: 80%;
}
.slider-caption h2 { color: var(--gold); margin-bottom: 8px; font-size: 1.8rem; }
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(201, 162, 39, 0.8);
  color: var(--navy);
  border: none;
  padding: 15px 18px;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 5px;
  z-index: 10;
}
.prev { left: 20px; }
.next { right: 20px; }
.prev:hover, .next:hover { background: var(--gold); }

@media (max-width: 768px) {
  .slider, .slider img { height: 340px; }
  .slider-caption { padding: 12px 20px; bottom: 20px; }
  .slider-caption h2 { font-size: 1.3rem; }
  .prev, .next { padding: 10px 12px; font-size: 1.2rem; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  nav ul { flex-direction: column; gap: 10px; }
  .contact-grid { grid-template-columns: 1fr; }
  header .container { flex-direction: column; text-align: center; }
}
