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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #1a1a1a;
  color: #ffffff;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.header {
  padding: 30px 40px;
  text-align: center;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: #ffffff;
}

.hero-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

/* Contact Section */
.contact {
  background-color: #1a1a1a;
  padding: 80px 20px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 400;
  text-align: center;
  color: #ffffff;
  margin-bottom: 20px;
}

.divider {
  width: 50px;
  height: 2px;
  background-color: #8b7355;
  margin: 0 auto 25px;
}

.section-subtitle {
  text-align: center;
  color: #cccccc;
  font-size: 1rem;
  margin-bottom: 40px;
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-input {
  width: 100%;
  padding: 15px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #333333;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input::placeholder {
  color: #999999;
}

.form-input:focus {
  outline: none;
  border-color: #8b7355;
  box-shadow: 0 0 0 2px rgba(139, 115, 85, 0.1);
}

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

/* Checkbox */
.checkbox-group {
  margin: 25px 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.85rem;
  color: #999999;
  gap: 12px;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1px solid #666666;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background-color: #8b7355;
  border-color: #8b7355;
}

.checkmark::after {
  content: '';
  display: none;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  display: block;
}

.checkbox-text {
  line-height: 1.5;
}

/* Submit Button */
.btn-submit {
  display: block;
  width: auto;
  margin: 30px auto 0;
  padding: 14px 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #1a1a1a;
  background-color: #ffffff;
  border: 2px solid #1a1a1a;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: #1a1a1a;
  color: #ffffff;
  border-color: #ffffff;
}

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

/* reCAPTCHA Notice */
.recaptcha-notice {
  text-align: center;
  font-size: 0.75rem;
  color: #666666;
  margin-top: 40px;
}

.recaptcha-notice a {
  color: #888888;
  text-decoration: underline;
}

.recaptcha-notice a:hover {
  color: #ffffff;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  padding: 40px 20px;
  border-top: 1px solid #333333;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 0.85rem;
  color: #999999;
}

.footer-link {
  font-size: 0.85rem;
  color: #888888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

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

.modal.show {
  display: flex;
}

.modal-content {
  background-color: #2a2a2a;
  padding: 40px;
  border-radius: 4px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999999;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #ffffff;
}

#modal-message {
  font-size: 1rem;
  line-height: 1.6;
}

.modal-content.success #modal-message {
  color: #6ab04c;
}

.modal-content.error #modal-message {
  color: #eb4d4b;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }

  .header {
    padding: 20px;
  }

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

  .contact {
    padding: 60px 20px;
  }

  .footer-content {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .tagline {
    font-size: 2rem;
  }

  .form-input {
    padding: 12px 15px;
  }

  .btn-submit {
    width: 100%;
    padding: 14px 30px;
  }
}
