/*
Theme Name: Franks Bobcat Service
Theme URI: https://www.franksbobcatservice.com
Author: Antigravity
Description: Custom WordPress theme for Franks Bobcat Service - Pine Island & Lee County grading, landscaping, and equipment services.
Version: 1.0.0
Text Domain: franksbobcat
*/

:root {
  --primary-color: #f59e0b;       /* Construction Bobcat Amber / Gold */
  --primary-hover: #d97706;
  --secondary-color: #1e293b;     /* Slate Navy / Charcoal */
  --secondary-light: #334155;
  --accent-color: #10b981;        /* Palm / Landscape Green */
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --font-heading: 'Lora', Georgia, serif;
  --font-brand: 'Yellowtail', cursive, Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background-color: #ffffff;
  border-bottom: 2px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand-wrapper {
  display: flex;
  flex-direction: column;
}

.site-title {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--secondary-color);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.site-tagline-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: #111827;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.call-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--secondary-color);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}

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

/* Hero Section */
.hero-section {
  position: relative;
  background-color: var(--secondary-color);
  color: #ffffff;
  padding: 5rem 0;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.82) 100%);
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: #111827;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 600;
  font-size: 1.15rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Section Common */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.service-img-wrapper {
  height: 230px;
  overflow: hidden;
  position: relative;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.05);
}

.service-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.service-list {
  list-style: none;
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.service-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Photo Gallery Section */
.gallery-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Service Area & Callout */
.callout-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0f172a 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  text-align: center;
}

.callout-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.callout-text {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.callout-phone {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}

.callout-phone:hover {
  color: #fde047;
}

/* Footer */
.site-footer {
  background-color: #0b1120;
  color: #94a3b8;
  padding: 3rem 0 1.5rem 0;
  border-top: 1px solid #1e293b;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-family: var(--font-brand);
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
  color: #64748b;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .site-title {
    font-size: 1.8rem;
  }
  .header-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .main-nav ul {
    justify-content: center;
  }
}
