/* ForestQuest Website Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Oswald", sans-serif;
  background: #1a2332;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  transition: all 0.3s ease;
}

.nav-menu ul li a:hover {
  color: #4a7c59 !important;
  transition: color 0.3s ease;
}

.mobile-menu-btn {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  background: #5a8c69 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(74, 124, 89, 0.3);
}

/* Gallery Styles */
.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.gallery-tabs .tab-btn:hover {
  background: #4a7c59 !important;
  color: #fff !important;
}

.gallery-tabs .tab-btn.active {
  background: #4a7c59 !important;
  color: #fff !important;
}

/* Form Styles */
.contact-form input:focus,
.contact-form button:hover {
  outline: none;
  box-shadow: 0 0 0 2px #4a7c59;
}

.contact-form button:hover {
  background: #5a8c69 !important;
  transform: translateY(-1px);
}

/* Cookie Consent */
.cookie-consent {
  animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block !important;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2d3741;
    padding: 20px;
    border-radius: 0 0 10px 10px;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .hero-title {
    font-size: 2.5rem !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .faq-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .cookie-consent {
    bottom: 10px !important;
    right: 10px !important;
    left: 10px !important;
    max-width: none !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    min-height: 80vh !important;
  }

  .hero-content {
    margin-top: 60px !important;
  }

  .hero-text {
    padding: 20px !important;
  }

  .about-section,
  .gallery-section,
  .faq-section,
  .contact-section {
    padding: 60px 0 !important;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Hover Effects */
.gallery-item,
.faq-item,
.footer-section a {
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: #4a7c59 !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a2332;
}

::-webkit-scrollbar-thumb {
  background: #4a7c59;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5a8c69;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus {
  outline: 2px solid #4a7c59;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .header,
  .cookie-consent,
  .cta-button {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .hero {
    background: #000 !important;
  }

  .about-section,
  .faq-section {
    background: #222 !important;
  }

  .gallery-section,
  .contact-section {
    background: #111 !important;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  body {
    background: #0a0f14;
  }
}

/* ForestQuest Contact Page Styles */

/* Hero Section */
.contact-hero {
  background: linear-gradient(135deg, #2d3741 0%, #1a2332 100%);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.05;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  color: #b0b0b0;
  font-size: 18px;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Methods */
.contact-methods {
  background: #1a2332;
  padding: 80px 0;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.method-card {
  background: #2d3741;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.method-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(74, 124, 89, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.method-card:hover {
  transform: translateY(-5px);
  border-color: #4a7c59;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.method-card:hover::before {
  left: 100%;
}

.method-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.method-card h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.method-card p {
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 20px;
}

.method-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.method-info strong {
  color: #4a7c59;
  font-size: 1.1rem;
  font-weight: 600;
}

.response-time {
  color: #888;
  font-size: 14px;
  font-style: italic;
}

.chat-btn {
  background: #4a7c59;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: "Oswald", sans-serif;
}

.chat-btn:hover {
  background: #5a8c69;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 124, 89, 0.3);
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  color: #4a7c59;
  text-decoration: none;
  padding: 8px 16px;
  border: 2px solid #4a7c59;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #4a7c59;
  color: #fff;
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-section {
  background: #2d3741;
  padding: 80px 0;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: #1a2332;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4a7c59, #5a8c69, #4a7c59);
  border-radius: 20px 20px 0 0;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.form-header p {
  color: #b0b0b0;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group label {
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #2d3741;
  border: 2px solid #3a4651;
  border-radius: 8px;
  padding: 12px 15px;
  color: #fff;
  font-size: 16px;
  font-family: "Oswald", sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a7c59;
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
  background: #3a4651;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888;
}

.form-group select {
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.error-message {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.error-message.show {
  display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.char-counter {
  text-align: right;
  color: #888;
  font-size: 12px;
  margin-top: 5px;
}

.char-counter.warning {
  color: #f39c12;
}

.char-counter.error {
  color: #e74c3c;
}

/* Priority Options */
.priority-options {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #b0b0b0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.radio-label:hover {
  color: #fff;
}

.radio-label input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #4a7c59;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
  background: #4a7c59;
  border-color: #4a7c59;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}

/* Checkbox Styles */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  color: #b0b0b0;
  line-height: 1.5;
  gap: 12px;
}

.checkbox-label:hover {
  color: #fff;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #4a7c59;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: #4a7c59;
  border-color: #4a7c59;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  font-size: 12px;
}

.checkbox-label a {
  color: #4a7c59;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 20px;
}

.btn-secondary,
.btn-primary {
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Oswald", sans-serif;
  position: relative;
  overflow: hidden;
}

.btn-secondary {
  background: transparent;
  color: #b0b0b0;
  border: 2px solid #4a7c59;
}

.btn-secondary:hover {
  background: #4a7c59;
  color: #fff;
  transform: translateY(-2px);
}

.btn-primary {
  background: #4a7c59;
  color: #fff;
  min-width: 180px;
}

.btn-primary:hover {
  background: #5a8c69;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(74, 124, 89, 0.3);
}

.btn-primary:disabled {
  background: #666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-loading {
  display: none;
}

.btn-primary.loading .btn-text {
  display: none;
}

.btn-primary.loading .btn-loading {
  display: inline;
}

/* FAQ Section */
.contact-faq {
  background: #1a2332;
  padding: 80px 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-header h2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.faq-header p {
  color: #b0b0b0;
  font-size: 18px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #2d3741;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #3a4651;
}

.faq-question h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.faq-toggle {
  color: #4a7c59;
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  width: 30px;
  text-align: center;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  color: #b0b0b0;
  line-height: 1.6;
  padding: 0 30px 25px;
  margin: 0;
}

/* Office Info */
.office-info {
  background: #2d3741;
  padding: 80px 0;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.office-card {
  background: #1a2332;
  padding: 40px;
  border-radius: 15px;
  border-left: 5px solid #4a7c59;
}

.office-card h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
}

.office-details p,
.contact-details {
  color: #b0b0b0;
  line-height: 1.8;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 1.2rem;
  margin-top: 2px;
}

.contact-item strong {
  color: #4a7c59;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-aos="fade-up"] {
  animation: slideInUp 0.6s ease-out;
}

[data-aos="fade-up"][data-aos-delay="100"] {
  animation-delay: 0.1s;
}

[data-aos="fade-up"][data-aos-delay="200"] {
  animation-delay: 0.2s;
}

[data-aos="fade-up"][data-aos-delay="300"] {
  animation-delay: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem !important;
  }

  .methods-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 30px 20px;
    margin: 0 15px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .priority-options {
    flex-direction: column;
    gap: 15px;
  }

  .form-actions {
    flex-direction: column-reverse;
    gap: 15px;
  }

  .btn-secondary,
  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .office-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .office-card {
    padding: 30px 20px;
  }

  .contact-item {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 100px 0 60px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .contact-methods,
  .contact-form-section,
  .contact-faq,
  .office-info {
    padding: 60px 0;
  }

  .method-card {
    padding: 30px 20px;
  }

  .form-container {
    padding: 25px 15px;
  }

  .faq-question {
    padding: 20px 15px;
  }

  .faq-answer p {
    padding: 0 15px 20px;
  }
}

/* Print Styles */
@media print {
  .contact-hero,
  .contact-methods,
  .contact-faq {
    display: none !important;
  }

  .contact-form-section {
    background: white !important;
  }

  .form-container {
    background: white !important;
    box-shadow: none !important;
    border: 1px solid #ccc;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    background: white !important;
    color: black !important;
    border: 1px solid #ccc !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .contact-hero {
    background: #000 !important;
  }

  .contact-methods,
  .contact-faq {
    background: #111 !important;
  }

  .contact-form-section,
  .office-info {
    background: #222 !important;
  }

  .method-card,
  .form-container,
  .faq-item,
  .office-card {
    border: 2px solid #4a7c59 !important;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .method-card:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none !important;
  }
}
