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

/* Body and base styles */
body {
  font-family: 'Playfair Display','Times New Roman',serif;
  background-color: #E0DFD9;
  color: #333;
}
.about-us {
  padding: 100px 20px;
  background-color: #edece9;
  font-family: 'Playfair Display',arial, serif;
}

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

.about-card {
  display: flex;
  flex-direction: row; /* ensures horizontal layout */
  align-items: stretch;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.15);
}

.about-image {
  flex: 1;
  min-width: 30%;
  max-height: 100%;
  overflow: hidden;
}

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


.about-text {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #111;
}

.about-text h2 {
  font-size: 2.1rem;
  margin-bottom: 24px;
  color: #000;
  letter-spacing: -0.5px;
}

/* English heading */
.about-text .en-heading {
  font-size: 2.1rem;
}

/* Greek heading - slightly smaller */
.about-text .el-heading {
  font-size: 1.65rem;
}


.about-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #444;
}

.about-text p + p {
  margin-top: 1.2rem;
}

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

.about-card {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.2s;
}

/* MOBILE BASE STYLES */
@media (max-width: 768px) {
 
  .about-card {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }

  .about-text {
    padding: 10px;
  }


}

