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

:root {
  --background: #fafafa;
  --foreground: #262626;
  --card: #ffffff;
  --card-foreground: #262626;
  --primary: #262626;
  --primary-foreground: #fafafa;
  --secondary: #f5f5f5;
  --secondary-foreground: #262626;
  --muted: #f5f5f5;
  --muted-foreground: #808080;
  --accent: #a85332;
  --accent-foreground: #fafafa;
  --border: #e5e5e5;
  --input: #e5e5e5;
  --radius: 0.375rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  min-height: 100vh;
}

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

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background-color: var(--card);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--foreground);
  text-decoration: none;
}

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

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: var(--foreground);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}

.dropdown-toggle:hover {
  color: var(--accent);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--card);
  min-width: 500px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  z-index: 1;
  padding: 1rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.dropdown:hover .dropdown-content {
  display: grid;
}

.dropdown-item {
  display: block;
  padding: 0.75rem;
  color: var(--foreground);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.dropdown-item-title {
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.dropdown-item-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.dropdown-item:hover .dropdown-item-desc {
  color: var(--accent-foreground);
}

.btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

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

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

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

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.2;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.hero-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
}

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

/* Section */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

.section-text {
  font-size: 1.125rem;
  text-align: center;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

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

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

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

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

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

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

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

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

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

/* Card */
.card {
  background-color: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

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

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.card-text {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Product/Service Detail Page */
.detail-hero {
  background-color: var(--secondary);
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.detail-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.detail-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.detail-content {
  max-width: 48rem;
  margin: 0 auto;
}

.detail-section {
  margin-bottom: 2rem;
}

.detail-section h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.detail-section p {
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.detail-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--muted-foreground);
}

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

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

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

.contact-card {
  text-align: center;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--accent-foreground);
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.contact-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  background-color: var(--card);
  padding: 2rem 0;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

.footer-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--foreground);
}

/* About Section */
.about-section {
  padding: 5rem 0;
}

.about-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.about-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

.about-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
