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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  background-color: #4a5568;
  color: white;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  height: 32px;
}

@media (min-width: 768px) {
  .logo {
    height: 40px;
  }
}

.logo-link {
  display: flex;
  align-items: center;
}

.nav {
  display: none;
  gap: 16px;
  font-size: 13px;
  font-weight: 300;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    gap: 24px;
    font-size: 14px;
  }
}

.nav-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-link:hover {
  color: #d1d5db;
}

.language-selector {
  background-color: white;
  color: #1f2937;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid #d1d5db;
  min-width: 100px;
}

@media (min-width: 768px) {
  .language-selector {
    font-size: 14px;
  }
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: pan-y;
}

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

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

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .carousel-overlay {
    background-color: rgba(0, 0, 0, 0.3);
  }
}

.carousel-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 0 20px;
  max-width: 100%;
}

.carousel-heading {
  font-family: 'Lato', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  transition: opacity 0.5s;
  line-height: 1.3;
}

@media (min-width: 480px) {
  .carousel-heading {
    font-size: 2rem;
    letter-spacing: 0.12em;
  }
}

@media (min-width: 768px) {
  .carousel-heading {
    font-size: 3rem;
    letter-spacing: 0.15em;
    margin-bottom: 32px;
  }
}

@media (min-width: 1024px) {
  .carousel-heading {
    font-size: 4rem;
  }
}

.btn-consultation {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 300;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 4px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
  .btn-consultation {
    padding: 12px 40px;
    font-size: 16px;
  }
}

.btn-consultation:hover,
.btn-consultation:active {
  background-color: white;
  color: #4a5568;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

@media (min-width: 768px) {
  .carousel-dots {
    bottom: 32px;
    gap: 12px;
  }
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
  .carousel-dot {
    width: 12px;
    height: 12px;
  }
}

.carousel-dot.active {
  width: 24px;
  background-color: white;
}

@media (min-width: 768px) {
  .carousel-dot.active {
    width: 32px;
  }
}

.carousel-dot:hover,
.carousel-dot:active {
  background-color: rgba(255, 255, 255, 0.75);
}

/* Section Titles */
.section-title {
  font-size: 1.75rem;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  padding: 0 16px;
}

@media (min-width: 480px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 48px;
  }
}

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

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
    margin-bottom: 64px;
  }
}

.section-title.gold {
  color: #b8945f;
}

.section-title.white {
  color: white;
}

/* Services Section */
.services-section {
  padding: 48px 0;
  background-color: white;
}

@media (min-width: 768px) {
  .services-section {
    padding: 64px 0;
  }
}

@media (min-width: 1024px) {
  .services-section {
    padding: 80px 0;
  }
}

.services-grid {
  display: grid;
  gap: 32px;
}

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

.service-card {
  cursor: pointer;
}

.service-image {
  position: relative;
  height: 200px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .service-image {
    height: 256px;
    margin-bottom: 24px;
  }
}

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

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

.service-title {
  font-size: 1.25rem;
  font-weight: 400;
  color: #b8945f;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }
}

.service-description {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}

@media (min-width: 768px) {
  .service-description {
    font-size: 14px;
    text-align: justify;
  }
}

/* About Section */
.about-section {
  padding: 48px 0;
  background-color: #1f2024;
  color: white;
}

@media (min-width: 768px) {
  .about-section {
    padding: 64px 0;
  }
}

@media (min-width: 1024px) {
  .about-section {
    padding: 80px 0;
  }
}

.about-intro {
  color: #d1d5db;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  padding: 0 4px;
}

@media (min-width: 768px) {
  .about-intro {
    margin-bottom: 64px;
    text-align: center;
    line-height: 1.6;
  }
}

.values-grid {
  display: grid;
  gap: 32px;
  max-width: 1152px;
  margin: 0 auto;
}

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

.value-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .value-card {
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
    text-align: left;
  }
}

.value-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .value-icon {
    width: 80px;
    height: 80px;
  }
}

.value-content {
  flex: 1;
}

.value-title {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .value-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
}

.value-description {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .value-description {
    line-height: 1.6;
  }
}

/* Team Section */
.team-section {
  padding: 48px 0;
  background-color: white;
}

@media (min-width: 768px) {
  .team-section {
    padding: 64px 0;
  }
}

@media (min-width: 1024px) {
  .team-section {
    padding: 80px 0;
  }
}

.team-grid {
  display: grid;
  gap: 40px;
}

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

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

.team-member {
  text-align: center;
  padding: 0 8px;
}

.team-photo {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e5e7eb;
}

@media (min-width: 768px) {
  .team-photo {
    width: 192px;
    height: 192px;
    margin-bottom: 24px;
  }
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .team-name {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
}

.team-role {
  color: #b8945f;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
}

.team-contact {
  font-size: 12px;
  color: #4b5563;
  margin-bottom: 4px;
}

.team-bio {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  margin-top: 12px;
  text-align: left;
  padding: 0 4px;
}

@media (min-width: 768px) {
  .team-bio {
    margin-top: 16px;
    line-height: 1.6;
  }
}

/* Articles Section */
.articles-section {
  padding: 48px 0;
  background-color: #f9fafb;
}

@media (min-width: 768px) {
  .articles-section {
    padding: 64px 0;
  }
}

@media (min-width: 1024px) {
  .articles-section {
    padding: 80px 0;
  }
}

.articles-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

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

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

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

.article-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}

.article-card:hover,
.article-card:active {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.article-image {
  height: 160px;
}

@media (min-width: 768px) {
  .article-image {
    height: 192px;
  }
}

.gradient-1 {
  background: linear-gradient(135deg, #4a5568, #b8945f);
}

.gradient-2 {
  background: linear-gradient(135deg, #b8945f, #4a5568);
}

.article-content {
  padding: 20px;
}

@media (min-width: 768px) {
  .article-content {
    padding: 24px;
  }
}

.article-date {
  font-size: 13px;
  color: #b8945f;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .article-date {
    font-size: 14px;
  }
}

.article-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 10px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .article-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
}

.article-excerpt {
  color: #4b5563;
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .article-excerpt {
    margin-bottom: 16px;
  }
}

.article-link {
  color: #4a5568;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
}

.article-link:hover,
.article-link:active {
  color: #b8945f;
}

/* Contact Section */
.contact-section {
  padding: 48px 0;
  background-color: #eae7e5;
}

@media (min-width: 768px) {
  .contact-section {
    padding: 64px 0;
  }
}

@media (min-width: 1024px) {
  .contact-section {
    padding: 80px 0;
  }
}

.contact-grid {
  display: grid;
  gap: 32px;
}

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

.contact-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: #b8945f;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .contact-subtitle {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }
}

.contact-details {
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .contact-details {
    margin-bottom: 32px;
  }
}

.contact-label {
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 6px;
  color: #4b5563;
  font-size: 14px;
}

@media (min-width: 768px) {
  .contact-label {
    margin-top: 16px;
    margin-bottom: 8px;
  }
}

.contact-text {
  color: #4b5563;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.6;
}

.contact-link {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-link:hover,
.contact-link:active {
  color: #b8945f;
}

.contact-map {
  width: 100%;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .contact-map {
    height: 320px;
  }
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 768px) {
  .contact-form {
    gap: 16px;
  }
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  background-color: white;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

@media (min-width: 768px) {
  .form-input,
  .form-textarea {
    font-size: 14px;
  }
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #b8945f;
  box-shadow: 0 0 0 3px rgba(184, 148, 95, 0.1);
}

.form-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

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

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

@media (min-width: 768px) {
  .form-textarea {
    min-height: 140px;
  }
}

.form-submit {
  background-color: #000;
  color: white;
  padding: 12px 40px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  align-self: stretch;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 640px) {
  .form-submit {
    align-self: flex-start;
    padding: 12px 48px;
    font-size: 16px;
  }
}

.form-submit:hover,
.form-submit:active {
  background-color: #1f2937;
}

.form-submit:active {
  transform: scale(0.98);
}

/* Footer */
.footer {
  background-color: #4a5568;
  color: white;
  padding: 32px 20px;
}

@media (min-width: 768px) {
  .footer {
    padding: 48px 24px;
  }
}

.footer-privacy {
  text-align: center;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .footer-privacy {
    margin-bottom: 24px;
  }
}

.footer-link {
  color: white;
  font-size: 13px;
  text-decoration: none;
  transition: opacity 0.3s;
}

@media (min-width: 768px) {
  .footer-link {
    font-size: 14px;
  }
}

.footer-link:hover,
.footer-link:active {
  text-decoration: underline;
  opacity: 0.9;
}

.footer-disclaimer {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.7;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .footer-disclaimer {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
}

.disclaimer-title {
  font-weight: 600;
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .disclaimer-title {
    margin-bottom: 8px;
  }
}

.disclaimer-text {
  text-align: left;
}

@media (min-width: 768px) {
  .disclaimer-text {
    text-align: justify;
  }
}

.footer-copyright {
  text-align: center;
  font-size: 13px;
}

@media (min-width: 768px) {
  .footer-copyright {
    font-size: 14px;
  }
}

/* Mobile Menu Toggle (for future enhancement) */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

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

/* Ensure touch-friendly spacing on mobile */
@media (max-width: 767px) {
  a, button, input, select, textarea {
    min-height: 44px;
  }

  .nav-link {
    padding: 8px 4px;
  }
}

/* Prevent text selection on interactive elements */
button, .carousel-dot, .btn-consultation {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Smooth scrolling for all browsers */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Improve text readability on mobile */
@media (max-width: 767px) {
  body {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: 70px; /* Space for mobile action bar */
  }
}

/* Mobile Action Bar */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #4a5568;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  height: 70px;
}

@media (max-width: 767px) {
  .mobile-action-bar {
    display: flex;
  }
}

.mobile-action-buttons {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  gap: 0;
}

.mobile-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex: 1;
  height: 100%;
  transition: background-color 0.3s;
  -webkit-tap-highlight-color: transparent;
  border: none;
  margin: 0;
  padding: 0;
}

.mobile-action-btn:active {
  opacity: 0.8;
}

.mobile-action-btn.call {
  background-color: #22c55e;
}

.mobile-action-btn.call:active {
  background-color: #16a34a;
}

.mobile-action-btn.email {
  background-color: #4a5568;
}

.mobile-action-btn.email:active {
  background-color: #374151;
}

.mobile-action-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-action-icon svg {
  width: 40px;
  height: 40px;
}

.mobile-action-label {
  display: none;
}
