/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* MAIN COLOR #040016
   GREY COLOR #d2dbe0;
   WHITE COLOR #FFF
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: #040016;

  /* border-bottom: 10px solid #040016; */
}

.container {
  max-width: 960px;
  width: 90%;
  margin: 0 auto;
}

li,
button,
a {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #040016;
  text-decoration: none;
}

header {
  background: linear-gradient(360deg, #fff, #d2dbe0);
  /* background-color: #fff; */
  color: black;
  border-top: 30px solid #d2dbe0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  margin-bottom: 30px;
}

.header-serv {
  margin-bottom: 0;
}

section {
  margin-bottom: 96px;
}

.trainer {
  border-radius: 20px;
}

h1 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 32px;
}

h2 {
  margin-bottom: 48px;
  font-size: 30px;
  letter-spacing: -0.5px;
}

.nav__links {
  list-style: none;
  text-transform: uppercase;
}

.nav__links li {
  display: inline-block;
  padding: 0px 20px;
}

.nav__links li a:hover {
  color: rgb(188, 8, 5);
}

.logo {
  margin-left: 30px;
}

.logo-photo {
  border-radius: 30px;
}

button {
  padding: 9px 25px;
  color: #fff;
  background-color: rgb(159, 51, 21);
  border: none;
  cursor: pointer;
  border-radius: 50px;
  margin-right: 40px;
}

button:hover {
  background-color: rgb(212, 66, 25);
}

.btn:link,
.btn:visited {
  background-color: rgb(159, 51, 21);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;

  display: inline-block;
  border-radius: 100px;
}

.btn:hover,
.btn:active {
  background-color: rgb(212, 66, 25);
}

.btn--big {
  margin-top: 32px;
  font-size: 18px;
  padding: 16px 32px;
}

.sec-1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 80px;
  margin-top: 64px;
}

.sec-1-text-box {
  align-self: center;
}

.sec-text-1 {
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 1.7;
}

.grid-3-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 80px;
}

.features-icon {
  stroke: rgb(212, 66, 25);
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
}

.features-title {
  margin-bottom: 16px;
  font-size: 20px;
}

.features-text {
  font-size: 16px;
  line-height: 1.7;
}

/* CONTACT PAGE */

.contact-section {
  background: #fff;
  padding-bottom: 30px;
  font-family: "Inter", sans-serif;
  text-align: center;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-container h2 {
  font-size: 2rem;
  color: #9f3315;
  margin-bottom: 1rem;
}

.contact-container p {
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.contact-card a {
  display: flex; /* Κάνει το εικονίδιο + κείμενο σε σειρά */
  flex-direction: column; /* Βάζει εικονίδιο πάνω, κείμενο κάτω */
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #040016;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: #d2dbe0;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-card a i {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: #9f3315;
}

.contact-card a:hover {
  background: #9f3315;
  transform: translateY(-5px);
  color: #fff;
}

.contact-card a:hover i {
  color: #fff;
}

.note {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: rgb(212, 65, 25);
}

/* PROJECT PAGE */

.project-intro {
  padding-top: 20px;
}

.project-hero {
  text-align: center;
  margin-top: 64px;
  margin-bottom: 64px;
}

.modern-title {
  font-size: 52px;
  font-weight: 800;
  text-align: center;
  color: #040016; /* Μαύρο */
  letter-spacing: -1px;
}

.modern-title span {
  display: block;
  font-size: 24px;
  font-weight: 400;
  color: #9f3315; /* Το κόκκινο brand */
  margin-top: 10px;
}

/* PROJECT PAGE */

.project-hero p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.project-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 96px;
}

.project-section.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.project-section.reverse .project-text {
  direction: ltr;
}

.project-text h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #9f3315;
}

.project-text p {
  font-size: 18px;
  line-height: 1.7;
}

.project-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-cta {
  text-align: center;
  margin: 64px 0;
}

.project-cta h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

/* SERVICES PAGE */

.services-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(0deg, #d2dbe0, #fff);
}

.services-section h2 {
  font-size: 42px;
  margin-bottom: 64px;
  color: #9f3315;
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
}

.service-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.service-card img {
  width: 64px;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #040016;
}

.service-card p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #333;
}

.service-card ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 24px;
  color: #555;
}

.service-card .btn {
  display: inline-block;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: 50px;
  background: linear-gradient(90deg, #9f3315, rgb(205, 127, 106));
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-card .btn:hover {
  background: rgb(212, 65, 25);
  /* background: linear-gradient(90deg, rgb(205, 127, 106), #9f3315); */
  transform: translateY(-2px);
}

/* ΦΟΡΜΑ ΝΟΥΜΕΡΟ 1 */
.form-container {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.form-container h1 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #9f3315;
  text-align: center;
}

.form-intro {
  text-align: center;
  margin-bottom: 32px;
  font-size: 16px;
  color: #495057;
}

.form-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-box label {
  font-weight: 500;
  margin-bottom: 6px;
  color: #040016;
}

.form-box input,
.form-box textarea,
.form-box select {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  transition: all 0.2s ease;
}

.form-box input:focus,
.form-box textarea:focus,
.form-box select:focus {
  outline: none;
  border-color: #9f3315;
  box-shadow: 0 0 0 3px rgba(159, 51, 21, 0.2);
}

.form-box button {
  background: linear-gradient(90deg, #9f3315, rgb(205, 127, 106));
  border: none;
  border-radius: 50px;
  padding: 14px;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.form-box button:hover {
  background: rgb(212, 65, 25);
  transform: translateY(-3px);
}

/* ΦΟΡΜΑ ΝΟΥΜΕΡΟ 2 */

.form-box-2 label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-box label:hover {
  background: #f1f1f1;
  border-color: #9f3315;
}

.form-box input[type="checkbox"] {
  transform: scale(1.2);
  accent-color: #9f3315; /* για ωραίο χρώμα στο checkbox */
}

/* ERROR STYLING */
.error-message {
  color: #d9534f;
  font-size: 14px;
  margin-top: 6px;
  margin-left: 4px;
}

input.error,
select.error,
textarea.error {
  border: 2px solid #d9534f !important;
  background-color: #fff5f5;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 15px;
  margin: 20px auto;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
  max-width: 600px;
}

footer {
  padding-bottom: 80px;
  font-size: 14px;
  color: #495057;
  text-align: center;
  /* border-top: 5px dotted #d2dbe0; */
}
