/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #c25a28;
  --secondary: #5d8aa8;
  --accent: #4a7c59;
  --background: #f8f9fa;
  --text: #2c3e50;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-600: #4b5563;
  --gray-700: #374151;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: white;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Lora", serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hidden {
  display: none !important;
}

/* Scroll offset for fixed header */
.section {
  scroll-margin-top: 5rem;
}

/* Header */
.header {
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  color: var(--text);
}

.logo-img {
  width: 40px;
  height: 40px;
  margin: 0.5rem 0;
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.nav-icon {
  width: 16px;
  height: 16px;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.menu-icon,
.close-icon {
  width: 24px;
  height: 24px;
}

.nav-mobile {
  padding: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: white;
  border-top: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  overflow: hidden;
}

.nav-mobile.hidden {
  max-height: 0;
  padding: 0;
  opacity: 0;
}

.nav-mobile:not(.hidden) {
  max-height: 300px;
  opacity: 1;
}

.nav-link-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.75rem 0;
  font-size: 1rem;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-link-mobile:hover,
.nav-link-mobile:active {
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 300px;
  width: 100%;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-content {
  padding: 1rem 1.5rem 2rem;
  text-align: left;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: white;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
}

/* Main Content */
.main-content {
  background: white;
  padding: 2rem 0;
}

.section {
  margin-bottom: 2rem;
}

.section-gray {
  background: var(--gray-50);
  padding: 2rem 0;
}

.section-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.section-grid-reverse {
  flex-direction: column-reverse;
}

.section-text {
  flex: 1;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
  border-left: 4px solid;
  padding-left: 0.75rem;
  line-height: 1.3;
}

.section-title-red {
  border-color: var(--primary);
}

.section-title-blue {
  border-color: var(--secondary);
}

.section-title-green {
  border-color: var(--accent);
}

.text-paragraph {
  color: var(--gray-700);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.section-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.image-container {
  position: relative;
  height: 180px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.section-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hours Section */
.hours-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hours-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hours-icon {
  width: 2rem;
  height: 2rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.hours-day {
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.25rem;
}

.hours-time {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.hours-time-small {
  font-size: 0.9rem;
  color: var(--text);
}

.section-image-single {
  flex: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

.building-image-container {
  position: relative;
  width: 100%;
  max-width: 20rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.building-image-container::before {
  content: "";
  display: block;
  padding-top: 75%;
}

.building-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  flex: 1;
  width: 100%;
}

.service-card {
  background: white;
  padding: 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.service-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.service-description {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* Contact Section */
.contact-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.contact-label {
  font-weight: 500;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 0.9rem;
  color: var(--text);
  display: block;
  line-height: 1.4;
}

.section-map {
  flex: 1;
  width: 100%;
}

.map-container {
  background: white;
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  height: 250px;
}

.map-iframe {
  border-radius: 0.5rem;
  width: 100%;
  height: 100%;
}

/* Footer */
.footer {
  background: var(--text);
  color: white;
  padding: 1.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-section h3 {
  margin-bottom: 0.75rem;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-section p {
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-bottom {
  border-top: 1px solid #4b5563;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
}

/* Responsive Design */
@media (min-width: 480px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

@media (min-width: 768px) {
  .header-content {
    height: 5rem;
  }

  .logo {
    font-size: 1.25rem;
    gap: 0.75rem;
  }

  .logo-img {
    width: 60px;
    height: 60px;
    margin: 1rem 0;
  }

  .nav-desktop {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }

  .hero {
    height: 500px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    white-space: nowrap;
  }

  .hero-content {
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 3rem 3rem;
  }

  .main-content {
    padding: 4rem 0;
  }

  .section {
    margin-bottom: 4rem;
    scroll-margin-top: 6rem;
  }

  .section-gray {
    padding: 4rem 0;
  }

  .section-grid {
    flex-direction: row;
    gap: 2rem;
  }

  .section-grid-reverse {
    flex-direction: row-reverse;
  }

  .section-title {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
  }

  .text-paragraph {
    font-size: 1rem;
  }

  .image-container {
    height: 250px;
  }

  .building-image-container {
    max-width: 28rem;
  }

  .hours-card {
    padding: 2rem;
  }

  .hours-list {
    gap: 1.5rem;
  }

  .hours-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hours-day {
    font-size: 1.125rem;
  }

  .hours-time {
    font-size: 1.25rem;
  }

  .hours-time-small {
    font-size: 1.125rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
  }

  .service-title {
    font-size: 1.125rem;
  }

  .service-description {
    font-size: 0.875rem;
  }

  .contact-card {
    padding: 2rem;
  }

  .contact-list {
    gap: 1.5rem;
  }

  .contact-icon {
    width: 2rem;
    height: 2rem;
  }

  .contact-label {
    font-size: 1.125rem;
  }

  .contact-value {
    font-size: 1.125rem;
  }

  .map-container {
    height: 400px;
    padding: 1rem;
  }

  .footer {
    padding: 2rem 0;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .footer-section p {
    font-size: 1rem;
  }

  .footer-bottom {
    padding-top: 1.5rem;
  }

  .footer-bottom p {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .hero {
    height: 600px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Remove focus outline styles that create orange borders */
a:focus,
button:focus,
.nav-link:focus,
.nav-link-mobile:focus,
.mobile-menu-btn:focus {
  outline: none;
  box-shadow: none;
}

/* Optional: Add subtle focus indication without orange border */
.nav-link:focus,
.nav-link-mobile:focus {
  color: var(--primary);
}

.mobile-menu-btn:focus {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0.25rem;
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .mobile-menu-btn {
    -webkit-appearance: none;
    -webkit-user-select: none;
  }

  .nav-link-mobile {
    -webkit-user-select: none;
  }
}
