/* Γενικά βασικά styles */
.t1 p,
.d1 div p,
.d2 div p,
.t3 p,
.b p {
    color: #666;
    font-size: 1px;
    opacity: 0;
    animation: fadeInText 1.5s ease forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInText {
    to {
        opacity: 1;
        font-size: 20px;
        color: #666;
    }
}

.banner {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(source/visit-background.jpg);
}

.m1 {
    padding: 50px;
}

.t1 {
    text-align: center;
}

.t1 h1 {
    font-size: 45px;
    margin: 0 0 15px 0;
}

.t1 p {
    font-size: 25px;
}

.d1 {
    margin: 100px 25px 25px 25px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* σημαντικό για μικρές οθόνες */
    gap: 20px;
}

.d1 div {
    width: 525px;
    height: 295.8px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.d1 div img {
    border-radius: 10px;
    height: 100%;
    width: 100%;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
    object-fit: cover;
}

.d1 div img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.d1 div h1 {
    margin: 70px 0 10px 0;
    font-size: 40px;
}

.d1 div p {
    margin: 10px 0 5px 0;
    font-size: 20px;
}

.m2 {
    padding: 25px;
    margin: 50px 0 50px 0;
}

.d2 {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap; /* σημαντικό */
    gap: 20px;
}

.d2 div {
    width: 600px;
    overflow: hidden;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.d2 div h1 {
    font-size: 45px;
}

.d2 div p {
    margin: 20px 0 30px 0;
    font-size: 20px;
}

.d2 div a {
    text-decoration: none;
    color: black;
}

.d2 div img {
    border-radius: 5px;
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.rd {
    color: #0f411a;
}

.m3 {
    padding: 25px 50px 50px 50px;
}

.t3 {
    width: 100%;
    text-align: center;
    margin: 0 0 30px 0;
}

.t3 h1 {
    font-size: 45px;
}

.t3 p {
    font-size: 25px;
}

.d3 {
    text-align: center;
}

.d4 {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap; /* σημαντικό */
    gap: 20px;
}

.b {
    width: 600px;
    margin: 100px 0 0 0;
    box-sizing: border-box;
}

.b h2 {
    font-size: 40px;
    text-align: left;
    margin: 25px 0 10px 0;
}

.b p {
    font-size: 20px;
    text-align: left;
}

.m5 {
    width: 100%;
    text-align: center;
}

.m5 img {
    width: 800px;
    border-radius: 10px;
    cursor: pointer;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.slider {
    margin: auto;
    margin-top: 70px;
    margin-bottom: 100px;
    width: 600px;
    height: 375px;
    border-radius: 10px;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    position: relative;
}

.slide {
    width: 600px;
    height: 375px;
    display: flex;
    max-width: 100%;
    height: auto;
}

.slide input {
    display: none;
}

.imgs {
    transition: margin-left 1s ease-in-out;
}

.imgs img {
    width: 600px;
    height: 375px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* navigation buttons */
.nav_man {
    color: #0f411a;
    position: absolute;
    width: 600px;
    margin-top: 337.5px;
    display: flex;
    justify-content: center;
    max-width: 100%;
}

.man_btn {
    border: 2px solid #0f411a;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.man_btn:not(:last-child) {
    margin-right: 40px;
}

.man_btn:hover {
    background: #0f411a;
    transform: scale(1.15);
    box-shadow: 0 0 8px #0f411a;
}

#radio1:checked ~ .f {
    margin-left: 0;
}

#radio2:checked ~ .f {
    margin-left: -600px;
}

#radio3:checked ~ .f {
    margin-left: -1200px;
}

#radio4:checked ~ .f {
    margin-left: -1800px;
}

#radio5:checked ~ .f {
    margin-left: -2400px;
}

#radio6:checked ~ .f {
    margin-left: -3000px;
}

/* automatic navigation */
.nav_auto {
    position: absolute;
    display: flex;
    width: 600px;
    justify-content: center;
    margin-top: 337.5px;
    max-width: 100%;
}

.nav_auto div {
    border: 2px solid #0f411a;
    padding: 5px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav_auto div:not(:last-child) {
    margin-right: 40px;
}

.nav_auto div:hover {
    transform: scale(1.15);
    box-shadow: 0 0 8px #0f411a;
}

#radio1:checked ~ .nav_auto .auto-btn1 {
    background: #0f411a;
}

#radio2:checked ~ .nav_auto .auto-btn2 {
    background: #0f411a;
}

#radio3:checked ~ .nav_auto .auto-btn3 {
    background: #0f411a;
}

#radio4:checked ~ .nav_auto .auto-btn4 {
    background: #0f411a;
}

#radio5:checked ~ .nav_auto .auto-btn5 {
    background: #0f411a;
}

#radio6:checked ~ .nav_auto .auto-btn6 {
    background: #0f411a;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Για tablets και μικρές οθόνες (μέχρι 900px) */
@media (max-width: 900px) {
    .d1 div,
    .d2 div,
    .b {
        width: 90% !important;
        height: auto !important;
        margin: 20px auto !important;
    }

    .d1,
    .d2,
    .d4 {
        flex-direction: column !important;
        align-items: center !important;
    }

    .m1,
    .m2,
    .m3 {
        padding: 20px !important;
    }

    .t1 h1,
    .d2 div h1,
    .t3 h1,
    .b h2 {
        font-size: 32px !important;
    }

    .t1 p,
    .d1 div p,
    .d2 div p,
    .t3 p,
    .b p {
        font-size: 16px !important;
    }

    .m5 img {
        width: 100% !important;
    }

    .slider,
    .slide {
        width: 100% !important;
        height: auto !important;
    }

    .imgs img {
        width: 100% !important;
        height: auto !important;
    }

    .nav_man,
    .nav_auto {
        width: 100% !important;
        margin-top: 320px !important;
        justify-content: center !important;
        position: relative !important;
    }

    .man_btn,
    .nav_auto div {
        padding: 8px !important;
        margin-right: 20px !important;
    }
}

/* Για μικρές οθόνες κινητών (μέχρι 480px) */
@media (max-width: 480px) {
    .t1 h1,
    .d2 div h1,
    .t3 h1,
    .b h2 {
        font-size: 24px !important;
    }

    .t1 p,
    .d1 div p,
    .d2 div p,
    .t3 p,
    .b p {
        font-size: 14px !important;
    }

    .man_btn,
    .nav_auto div {
        padding: 6px !important;
        margin-right: 15px !important;
        font-size: 14px !important;
    }

    .m1, .m2, .m3 {
        padding: 15px !important;
    }
}

/* Για πολύ μικρές οθόνες (μέχρι 360px) */
@media (max-width: 360px) {
    .t1 h1,
    .d2 div h1,
    .t3 h1,
    .b h2 {
        font-size: 20px !important;
    }

    .t1 p,
    .d1 div p,
    .d2 div p,
    .t3 p,
    .b p {
        font-size: 12px !important;
    }

    .man_btn,
    .nav_auto div {
        padding: 5px !important;
        margin-right: 10px !important;
        font-size: 12px !important;
    }

    .m1, .m2, .m3 {
        padding: 10px !important;
    }
}
/* CSS – Επαγγελματικό Design */
body {
    font-family: 'Helvetica Neue', sans-serif;
    color: #2a2a2a;
    background-color: #fff;
    margin: 0;
    padding: 0;
  }
  
  .services {
    background-color: #f4f4f4;
    padding: 80px 20px;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section-title {
    font-size: 2.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    color: #1c1c1c;
  }
  
  .section-subtitle {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.2rem;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
  
  .service-box {
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  }
  
  .service-box h3 {
    color: #333;
    margin-bottom: 12px;
    font-size: 1.25rem;
    transition: color 0.3s ease;
  }
  
  .service-box p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    transition: color 0.3s ease;
  }
  
  .service-box:hover {
    background-color: #D1CBB9;
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  }
  
  .service-box:hover h3,
  .service-box:hover p {
    color: #1c1c1c;
  }
  
  .faq-box {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
  }
  
  .faq-box h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #1c1c1c;
  }
  
  .faq-box p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 10px;
  }
  
  .faq-box ul {
    list-style: disc;
    padding-left: 20px;
    color: #444;
  }
  


   @import url('https://fonts.googleapis.com/css2?family=EB+Garamond&display=swap');

  .section {
    max-width: 600px;
    margin: 40px auto;
    font-family: 'EB Garamond', serif;
    color: #333;
  }

  .section h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 2rem;
  }

  .faq-container {
    display: flex;
    gap: 20px;
    justify-content: center;
  }

  .faq-box {
    cursor: pointer;
    width: 60px;
    height: 60px;
    background: #444;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 8px;
    user-select: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
  }

  .faq-box:hover {
    background: #666;
  }

  /* Popup modal styling */
  .popup {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .popup-content {
    background: #f5f5f5;
    padding: 25px 30px;
    max-width: 520px;
    width: 90%;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    font-family: 'EB Garamond', serif;
    text-align: justify;
  }

  .popup-content h3 {
    margin-top: 0;
    color: #222;
  }

  .popup-content ul {
    padding-left: 1.2em;
    margin: 1em 0;
  }

  .close-btn {
    position: absolute;
    top: 18px;
    right: 25px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #777;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .close-btn:hover {
    color: #000;
  }

.responsive-icon {
  width: 150vw;           /* Σχεδόν όλο το πλάτος της οθόνης σε μικρές οθόνες */
  max-width: 1000px;      /* Αρχικό max για κινητά */
  height: auto;
  display: block;
  margin: 10px auto;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.responsive-icon:hover {
  transform: scale(1.1);
}

/* Για μεγάλες οθόνες - π.χ. πάνω από 1024px */
@media screen and (min-width: 1024px) {
  .responsive-icon {
    width: 450px;        /* Σταθερό πλάτος 450px */
    max-width: none;     /* Καταργούμε το max-width */
  }
}
