/*
Theme Name: Santana Law
Theme URI: https://www.santana.legal/
Author: Custom Theme
Author URI: https://www.santana.legal/
Description: Professional bilingual law firm theme for Santana Law, Fort Myers, FL. Family Law, Personal Injury, and more. Clean, modern, responsive design inspired by the original site.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: santana-law
Tags: law-firm, attorney, bilingual, custom-menu, featured-images, responsive-layout, translation-ready
*/

/* ===== CSS Variables ===== */
:root {
  --navy: #0b1c2c;
  --navy-dark: #07131f;
  --navy-light: #142a40;
  --gold: #c9a227;
  --gold-light: #e0c15a;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --text: #333333;
  --text-light: #6c757d;
  --gray: #e9ecef;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Open Sans', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 6px;
  --max-width: 1200px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

/* ===== Typography ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  padding: 10px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a {
  color: var(--gold);
  font-weight: 600;
}

.top-bar a:hover {
  color: var(--gold-light);
}

/* ===== Header / Navigation ===== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.site-logo img {
  height: 60px;
  width: auto;
}

.site-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 700;
}

.main-nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav .current-menu-item a::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--gold);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11,28,44,0.92) 0%, rgba(11,28,44,0.7) 50%, rgba(11,28,44,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 60px 0;
}

.hero-eyebrow {
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  opacity: 0.95;
  line-height: 1.6;
}

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

/* ===== About Section ===== */
.about-section {
  background: var(--off-white);
}

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

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.about-content h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 16px;
  color: var(--text);
}

.about-content .btn {
  margin-top: 16px;
}

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

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--gold);
  text-align: center;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(201, 162, 39, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.75rem;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card a {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-card a:hover {
  color: var(--navy);
}

/* ===== Practice Areas ===== */
.practice-section {
  background: var(--navy);
  color: var(--white);
}

.practice-section .section-title,
.practice-section .section-subtitle {
  color: var(--white);
}

.practice-section .section-subtitle {
  opacity: 0.85;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.practice-item {
  background: var(--navy-light);
  padding: 28px 24px;
  border-radius: 10px;
  border-left: 4px solid var(--gold);
  transition: var(--transition);
}

.practice-item:hover {
  background: rgba(201, 162, 39, 0.15);
  transform: translateX(4px);
}

.practice-item h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 600;
}

.practice-item p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.15rem;
  margin-bottom: 28px;
  opacity: 0.9;
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(201, 162, 39, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
}

.contact-item span,
.contact-item a {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: var(--gold);
}

.contact-form {
  background: var(--off-white);
  padding: 36px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-brand p {
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-brand .contact-line {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-brand a {
  color: var(--gold);
}

.footer-brand a:hover {
  color: var(--gold-light);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.page-header p {
  opacity: 0.85;
  font-size: 1.1rem;
}

/* ===== Content Area ===== */
.page-content {
  padding: 60px 0;
}

.entry-content {
  max-width: 800px;
  margin: 0 auto;
}

.entry-content h2 {
  margin: 32px 0 16px;
  font-size: 1.75rem;
}

.entry-content h3 {
  margin: 24px 0 12px;
  font-size: 1.35rem;
}

.entry-content p {
  margin-bottom: 16px;
}

.entry-content ul {
  margin: 16px 0 16px 24px;
  list-style: disc;
}

.entry-content li {
  margin-bottom: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid,
  .practice-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 16px 24px;
    display: none;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid var(--gray);
  }

  .main-nav a {
    display: block;
    padding: 14px 0;
  }

  .hero {
    min-height: 520px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .services-grid,
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .top-bar .container {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
