/* ===================================
   CSS Reset & Base Styles
   =================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  overflow-x: hidden;
}

.logo-image {
  height: 50px;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===================================
   Typography
   =================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: 1rem;
}

.text-large {
  font-size: 1.125rem;
  line-height: 1.7;
}

/* ===================================
   Layout & Container
   =================================== */

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

.section {
  padding: 5rem 0;
}

.section-dark {
  background-color: #f8f8f8;
}

.centered {
  text-align: center;
}

/* ===================================
   Navigation
   =================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

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

.nav-link {
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #1a1a1a;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: #1a1a1a;
  transition: all 0.3s ease;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.95;
}

/* ===================================
   Page Header
   =================================== */

.page-header {
  padding: 8rem 0 4rem;
  text-align: center;
  background-color: #f8f8f8;
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.page-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* ===================================
   Section Titles
   =================================== */

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 300;
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 3rem;
  color: #666;
}

/* ===================================
   Values Grid
   =================================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.value-card {
  padding: 2rem 0;
}

.value-number {
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.value-title {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.value-description {
  color: #666;
  line-height: 1.7;
}

/* ===================================
   Featured Section
   =================================== */

.featured-image {
  margin: 3rem 0;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.featured-image:hover img {
  transform: scale(1.02);
}

.featured-text {
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #666;
}

/* ===================================
   Approach Grid
   =================================== */

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

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

.approach-image {
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 3 / 4;
}

.approach-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(20%);
}

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

.approach-title {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.approach-description {
  color: #666;
}

/* ===================================
   Buttons
   =================================== */

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #1a1a1a;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-full {
  width: 100%;
}

/* ===================================
   Content Grid (About Page)
   =================================== */

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-text {
  padding: 2rem 0;
}

.content-image {
  overflow: hidden;
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.intro-text {
  max-width: 900px;
  margin: 0 auto 3rem;
}

/* ===================================
   Values Detailed
   =================================== */

.values-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.value-detailed {
  text-align: center;
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1a1a1a;
  border-radius: 50%;
}

.value-icon svg {
  color: #1a1a1a;
}

.value-detailed-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ===================================
   Team Grid
   =================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
}

.team-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border-radius: 50%;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: all 0.3s ease;
}

.team-member:hover .team-image img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.team-role {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.team-bio {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===================================
   Service Detail
   =================================== */

.service-detail {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2rem;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-number {
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(0, 0, 0, 0.1);
  padding-top: 1rem;
}

.service-content {
  padding: 2rem 0;
}

.service-title {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.service-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 2rem;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #666;
}

.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #1a1a1a;
}

.service-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

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

/* ===================================
   Process Steps
   =================================== */

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
}

.process-step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1a1a1a;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 300;
}

.process-step-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.process-step-description {
  color: #666;
  line-height: 1.7;
}

/* ===================================
   Contact Grid
   =================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  margin-top: 3rem;
}

/* ===================================
   Contact Form
   =================================== */

.contact-form {
  margin-top: 2rem;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #ddd;
  background-color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-input.error {
  border-color: #dc3545;
}

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

.form-error {
  display: block;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.form-success {
  padding: 1rem;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  margin-top: 1rem;
  text-align: center;
}

/* ===================================
   Contact Info
   =================================== */

.contact-info-container {
  padding-top: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1a1a1a;
  border-radius: 50%;
}

.contact-info-content {
  flex: 1;
}

.contact-info-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-info-content p {
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ===================================
   Map
   =================================== */

.map-container {
  margin-top: 3rem;
}

.map-placeholder {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

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

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 2rem;
  text-align: center;
}

/* ===================================
   CTA Section
   =================================== */

.section-cta {
  padding: 6rem 0;
}

/* ===================================
   Footer
   =================================== */

.footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.footer-company {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===================================
   Cookie Consent Popup with Blocking Overlay
   =================================== */

.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0);
  z-index: 9999;
  display: none;
}

.cookie-overlay.show {
  display: block;
}

.cookie-consent {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  color: #1a1a1a;
  padding: 3rem;
  z-index: 10000;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  width: 90%;
  border-radius: 8px;
  display: none;
}

.cookie-consent.show {
  display: block;
}

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

.cookie-content p {
  margin: 0;
  line-height: 1.7;
  font-size: 1rem;
}

.cookie-link {
  color: #1a1a1a;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-link:hover {
  color: #333;
}

.cookie-content .btn {
  width: 100%;
  background-color: #1a1a1a;
  color: #ffffff;
}

.cookie-content .btn:hover {
  background-color: #333;
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}

.fade-in-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .content-grid,
  .content-grid.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .service-number {
    font-size: 3rem;
  }

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

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

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

  .section {
    padding: 3rem 0;
  }

  .page-header {
    padding: 6rem 0 3rem;
  }

  .values-grid,
  .approach-grid,
  .values-detailed,
  .team-grid,
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    min-height: 500px;
  }

  .hero-content {
    padding: 0 1.5rem;
  }
}
