/* Base styles */
:root {
  --primary-color: #21313e;
  --secondary-color: #7c7464;
  --accent-color: #5c9cfc;
  --light-bg: #fafafa;
  --text-dark: #21313e;
  --text-light: #ffffff;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
}

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

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

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

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

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

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Header & Navigation */
header {
  padding: 1rem 0;
  border-bottom: 1px solid #f1f1f1;
}

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

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo span {
  color: var(--accent-color);
}

.nav-desktop {
  display: none;
}

.nav-desktop a {
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--accent-color);
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 1rem;
}

.search-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-color);
  transition: color 0.3s;
}

.search-button:hover {
  color: var(--accent-color);
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  background-color: white;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--accent-color);
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Search Modal */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
  justify-content: center;
  align-items: center;
}

.search-modal.active {
  display: flex;
}

.search-modal-content {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  width: 100%;
  max-width: 28rem;
}

.search-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.search-modal-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

.search-modal-close {
  background: none;
  border: none;
  cursor: pointer;
}

.search-form {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(92, 156, 252, 0.2);
}

.search-submit {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #718096;
  cursor: pointer;
}

.search-submit:hover {
  color: var(--accent-color);
}

/* Hero Banner */
.hero-banner {
  background-color: var(--primary-color);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.hero-text {
  color: white;
}

.hero-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-paragraph {
  font-size: 1.125rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-banner {
    padding: 6rem 0;
  }

  .hero-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

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

/* Intro Section */
.intro-section {
  padding: 3rem 0;
}

.intro-heading {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.intro-text {
  text-align: center;
  font-size: 1.125rem;
  max-width: 56rem;
  margin: 0 auto 3rem;
}

.intro-image {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  border-radius: 0.5rem;
  overflow: hidden;
}

.intro-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 768px) {
  .intro-section {
    padding: 4rem 0;
  }

  .intro-heading {
    font-size: 1.875rem;
  }
}

/* Contact Section */
.contact-section {
  padding: 3rem 0;
  background-color: #f8f9fa;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-text {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(92, 156, 252, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 8rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s, opacity 0.3s;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: rgba(33, 49, 62, 0.9);
}

.btn-block {
  display: block;
  width: 100%;
}

.alert {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

/* Location Map */
.location-info {
  margin-bottom: 2rem;
}

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

.map-container {
  position: relative;
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-top: 2rem;
}

.map-image {
  width: 100%;
  height: auto;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.map-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

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

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-address {
  color: #cbd5e0;
  margin-bottom: 1rem;
}

.footer-group {
  margin-bottom: 1.5rem;
}

.footer-label {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--accent-color);
  transition: text-decoration 0.3s;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social a {
  color: #cbd5e0;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding: 1.5rem 0;
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-copyright {
  font-size: 0.875rem;
  color: #a0aec0;
  text-align: center;
  margin-bottom: 1rem;
}

.footer-to-top {
  font-size: 0.875rem;
  color: #a0aec0;
  transition: color 0.3s;
}

.footer-to-top:hover {
  color: white;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-copyright {
    margin-bottom: 0;
  }
}

/* Privacy Policy Page */
.page-content {
  padding: 3rem 0;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.prose {
  color: var(--text-dark);
  max-width: 65ch;
  margin: 0 auto;
}

.prose p {
  margin-bottom: 1.5rem;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.prose ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.prose ul li {
  margin-bottom: 0.5rem;
}

.prose strong {
  font-weight: 700;
}

@media (min-width: 768px) {
  .page-content {
    padding: 4rem 0;
  }

  .page-title {
    font-size: 2.25rem;
  }

  .prose h3 {
    font-size: 1.5rem;
  }
}
