@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: hsl(35, 30%, 96%);
  --foreground: hsl(25, 30%, 15%);
  --card: hsl(35, 20%, 98%);
  --card-foreground: hsl(25, 30%, 15%);
  --popover: hsl(35, 20%, 98%);
  --popover-foreground: hsl(25, 30%, 15%);
  --primary: hsl(25, 40%, 35%);
  --primary-foreground: hsl(35, 30%, 95%);
  --secondary: hsl(30, 20%, 65%);
  --secondary-foreground: hsl(35, 30%, 95%);
  --muted: hsl(35, 20%, 92%);
  --muted-foreground: hsl(25, 15%, 45%);
  --accent: hsl(20, 60%, 50%);
  --accent-foreground: hsl(35, 30%, 95%);
  --destructive: hsl(0, 70%, 55%);
  --destructive-foreground: hsl(35, 30%, 95%);
  --border: hsl(35, 15%, 88%);
  --input: hsl(35, 15%, 90%);
  --ring: hsl(25, 40%, 35%);
  --radius: 0.5rem;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

/* Layout Components */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

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


/* Hero Banner Section */
.hero-banner {
  position: relative;
  height: 400px;
  overflow: hidden;
  width: 100%;
  display: block;
}

@media (min-width: 768px) {
  .hero-banner {
    height: 500px;
  }
}

@media (min-width: 1024px) {
  .hero-banner {
    height: 600px;
  }
}

.hero-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 10; /* keep behind overlay + text */
}

.hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
  z-index: 15;
}

.hero-banner-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  text-align: center;
  padding: 1rem;
}

.hero-banner-content * {
  pointer-events: auto;
}

.hero-banner-text {
  text-align: center;
  max-width: 32rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .hero-banner-text {
    max-width: 48rem;
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-banner-text {
    max-width: 64rem;
    padding: 0 2rem;
  }
}

.hero-banner-text h1 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-banner-text h1 {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-banner-text h1 {
    font-size: 3.75rem;
  }
}

.hero-banner-text h1 .accent {
  color: var(--accent);
}

.hero-banner-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .hero-banner-text p {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .hero-banner-text p {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-wrap: nowrap;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar.sticky {
  background-color: hsla(35, 20%, 98%, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

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

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

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

.navbar-link {
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-link:hover {
  color: #c63;
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-toggle { display: none; }
}

.mobile-menu {
  display: none;
  background-color: var(--background);
  border-top: 1px solid var(--border);
  padding: 1rem;
}

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

.mobile-menu a {
  display: block;
  color: var(--foreground);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
}

.mobile-menu a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

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

.btn-primary:hover {
  background-color: hsl(25, 40%, 30%);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-accent:hover {
  background-color: hsl(20, 60%, 45%);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.75rem 2rem;
}


/* Button Styles for Banner */
.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

/* Cards */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-content {
  padding: 1.5rem;
}

.card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-muted {
  background-color: hsl(35, 20%, 94%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-title { font-size: 2.5rem; }
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 40rem;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--input);
  color: var(--foreground);
  font-size: 0.875rem;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--ring);
  /* Use hsla or modern hsl */
  box-shadow: 0 0 0 3px hsla(25, 40%, 35%, 0.1);
  /* or: box-shadow: 0 0 0 3px hsl(25 40% 35% / 0.1); */
}

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

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0 1rem;
}

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

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

.footer h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer p {
  opacity: 0.8;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

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

.footer a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  opacity: 1;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.8;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.pt-20 { padding-top: 5rem; }
.pb-16 { padding-bottom: 4rem; }

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
  padding: 1rem;
  overflow-y: auto;
}

.modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--card);
  border-radius: var(--radius);
  max-width: 56rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--card-foreground);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted-foreground);
}

.modal-body {
  padding: 1.5rem;
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-group {
  display: inline-flex;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.25rem;
}

.filter-btn {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: calc(var(--radius) - 0.125rem);
  cursor: pointer;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
}

.filter-btn:hover {
  color: var(--foreground);
}

.filter-btn.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.skeleton {
  background-color: var(--muted);
  border-radius: var(--radius);
}

/* Upload Area */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: var(--primary);
  background-color: hsl(25, 40%, 35%, 0.05);
}

.upload-preview {
  max-width: 100%;
  max-height: 8rem;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
}

/* Contact Info */
.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary-foreground);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .hero-text h1 { font-size: 2rem; }
  .section-title { font-size: 1.875rem; }
  .modal-content { margin: 1rem; }
}
