/* CSS Variables */
:root {
  --primary-color: #16a34a;
  --secondary-color: #ea580c;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --green-100: #dcfce7;
  --green-300: #86efac;
  --red-500: #ef4444;
  --yellow-400: #facc15;
}

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

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--white);
}

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

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

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

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

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

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

.logo {
  width: 3rem;
  height: 3rem;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

.brand-info h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.brand-info p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.phone-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
}

.phone-number a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.5rem;
}

.booking-btn {
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.booking-btn:hover {
  background: #c2410c;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .phone-number a {
    font-size: 1.25rem;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--green-100) 0%, var(--white) 100%);
  padding: 4rem 0 6rem;
}

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

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

.hero-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .hero-text h2 {
    font-size: 3rem;
  }
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.badge-icon {
  width: 3rem;
  height: 3rem;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.badge-title {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.badge-subtitle {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Services Section */
.services {
  padding: 4rem 0 6rem;
  background: var(--white);
}

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

.section-header h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .section-header h3 {
    font-size: 2.5rem;
  }
}

.section-header p {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto;
}

.service-overview {
  margin-bottom: 4rem;
}

.service-overview img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .service-overview img {
    height: 20rem;
  }
}

.service-info {
  text-align: center;
  margin-top: 1rem;
}

.service-info h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.service-info p {
  color: var(--gray-600);
}

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

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

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

.service-card {
  background: var(--gray-100);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

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

.service-image {
  width: 100%;
  height: 12rem;
  background: var(--gray-200);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.service-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 0 6rem;
  background: var(--gray-100);
}

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

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

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

.testimonial-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  background: rgba(22, 163, 74, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary-color);
}

.testimonial-name {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.testimonial-rating {
  display: flex;
  color: var(--yellow-400);
}

.testimonial-content {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Booking Section */
.booking {
  padding: 4rem 0 6rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, #15803d 100%);
  color: var(--white);
}

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

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

.booking-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .booking-info h3 {
    font-size: 2.5rem;
  }
}

.booking-info > p {
  font-size: 1.25rem;
  color: var(--green-100);
  margin-bottom: 2rem;
}

.benefits {
  margin-bottom: 2rem;
}

.benefit {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.benefit i {
  color: var(--green-300);
  margin-right: 0.75rem;
}

.urgent-notice {
  background: var(--red-500);
  color: var(--white);
  padding: 1rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.urgent-title {
  font-weight: 600;
}

.urgent-text {
  font-size: 0.875rem;
}

/* Booking Form */
.booking-form {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  color: var(--gray-800);
}

.booking-form h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

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

.form-group > label {
  display: block;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

/* Address Grid */
.address-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

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

.address-field {
  display: flex;
  flex-direction: column;
}

.address-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.address-field input,
.address-field select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.address-field input:focus,
.address-field select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.error-message {
  color: var(--red-500);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.submit-btn {
  width: 100%;
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  background: #15803d;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-btn.loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.emergency-contact {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.emergency-contact p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.emergency-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--secondary-color);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.emergency-call:hover {
  background: #c2410c;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0;
}

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

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.footer-brand-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-brand-info p {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.company-desc {
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.contact-item i {
  color: var(--primary-color);
}

.contact-label {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-link {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--gray-300);
}

.contact-text {
  color: var(--gray-300);
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-list li {
  display: flex;
  align-items: center;
  color: var(--gray-300);
}

.service-list i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--gray-700);
  margin: 2rem 0;
}

.footer-bottom {
  text-align: center;
  color: var(--gray-400);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

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

.modal-content {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-header i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.modal-body {
  margin-bottom: 2rem;
}

.modal-body p {
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.modal-close {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-close:hover {
  background: #15803d;
}

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

/* Loading animation */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}