/* ==========================================================================
   Διά χειρός Χρυσούλας Ντέλλα — cdella.gr
   ========================================================================== */

/* Fonts (variable, Greek + Latin subsets) */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(../fonts/opensans-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(../fonts/opensans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 300 800; font-display: swap; src: url(../fonts/opensans-italic-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 300 800; font-display: swap; src: url(../fonts/opensans-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/roboto-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/roboto-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/poppins-300-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --gold: #D4AF37;
  --dark: #1A1A1A;
  --ink: #212121;
  --grey: #7A7A7A;
  --container: 1140px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: var(--dark);
}
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 .9em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul { margin: 0; padding-left: 40px; }
button { font: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.section { padding: 0 10px; }
.container { max-width: var(--container); margin: 0 auto; padding: 10px 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: relative; z-index: 99; min-height: 130px; padding: 10px 100px 0; }
.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 90px;
  padding: 4px 20px;
  background: #fff;
  border: 5px solid var(--gold);
  box-shadow: 0 0 30px rgba(0, 0, 0, .3);
}
.logo { flex: none; width: 18%; }
.logo img { display: block; width: 100%; }
.main-nav { margin-left: auto; margin-right: 10px; }
@media (min-width: 1025px) and (max-width: 1180px) { .logo { width: 15%; } }

.menu { display: flex; list-style: none; margin: 0; padding: 0; }
.menu-toggle { display: none; }

/* Main menu: one row on desktop, shrinks below ~1500px */
.main-nav .menu { gap: clamp(9px, 1.75vw, 35px); }
.main-nav .menu a {
  display: block;
  padding: 13px 0;
  font-family: "Open Sans", sans-serif;
  font-size: clamp(13px, 1.45vw, 22px);
  font-weight: 500;
  line-height: 20px;
  color: var(--gold);
  white-space: nowrap;
  transition: color .4s;
}
.main-nav .menu a:hover,
.main-nav .menu a:focus-visible,
.main-nav .menu a[aria-current="page"] { color: #000; }

.lang-switch {
  flex: none;
  padding: 4px 9px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--gold);
  border: 1px solid var(--gold);
  transition: color .3s, background-color .3s;
}
.lang-switch:hover,
.lang-switch:focus-visible { color: #fff; background: var(--gold); }

.site-main { padding-top: 20px; }

/* Hamburger + dropdown (tablet & mobile) */
@media (max-width: 1024px) {
  .site-header { padding: 0; }
  .header-bar { padding: 0 30px; }
  .main-nav { order: 3; margin: 0; }
  .lang-switch { margin-left: auto; }
  .main-nav .menu-toggle {
    display: flex;
    padding: 6px;
    color: #000;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .menu-toggle svg { width: 25px; height: 25px; fill: currentColor; }
  .menu-toggle .icon-close,
  .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }

  .main-nav .menu {
    position: absolute;
    top: 100%;
    left: -5px;
    right: -5px;
    display: none;
    flex-direction: column;
    gap: 0;
    margin-top: 20px;
    background: #C8C8C8;
    box-shadow: 0 20px 20px rgba(0, 0, 0, .25);
  }
  .main-nav .menu.is-open { display: flex; }
  .main-nav .menu li:not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, .3); }
  .main-nav .menu a { padding: 30px 20px; font-size: 18px; line-height: 27px; color: #1B1B1B; }
  .main-nav .menu a:hover,
  .main-nav .menu a:focus-visible,
  .main-nav .menu a[aria-current="page"] { color: #060606; background: #4A4A4A; }
}
@media (max-width: 767px) {
  .header-bar { min-height: 85px; }
  .logo { width: 168px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { margin-bottom: 5px; border-top: 3px solid var(--gold); background: var(--dark); font-family: "Open Sans", sans-serif; color: #BDBDBD; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 10px 40px;
}
.footer-brand .footer-title { margin: 0 0 14px; font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--gold); }
.footer-brand p { font-size: 15px; line-height: 1.6; }
.site-footer h2 { margin: 0 0 16px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.5; }
.footer-links li + li { margin-top: 8px; }
.site-footer a { transition: color .3s; }
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--gold); }
.footer-social { display: flex; gap: 18px; margin-top: 18px; }
.footer-social a { color: #fff; }
.footer-social svg { display: block; width: 22px; height: 22px; fill: currentColor; }
.footer-bottom { padding: 20px 10px 22px; border-top: 1px solid rgba(212, 175, 55, .3); font-family: "Roboto", sans-serif; font-size: 14px; text-align: center; color: #9E9E9E; }
.footer-bottom p { margin: 0; }
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 50px; text-align: center; }
  .footer-social { justify-content: center; }
}

/* ==========================================================================
   Entrance animations (main.js adds .is-in when the element scrolls into view)
   ========================================================================== */
.js [data-anim]:not(.is-in) { visibility: hidden; }
[data-anim].is-in { animation: 1.25s both; }
[data-anim="slide-in-up"].is-in { animation-name: slideInUp; }
[data-anim="fade-in"].is-in { animation-name: fadeIn; }
[data-anim="fade-in-up"].is-in { animation-name: fadeInUp; }
[data-anim="fade-in-left"].is-in { animation-name: fadeInLeft; }
@keyframes slideInUp { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { [data-anim].is-in { animation: none; } }

/* ==========================================================================
   Home
   ========================================================================== */
.page-home { background: var(--dark) url(../img/22-copy.webp); }
.hero { min-height: 100vh; margin-bottom: 60px; padding: 5% 0 7%; }
.hero .container { display: flex; flex-direction: column; gap: 10px; padding: 0; }
.hero h1 {
  font-family: "Open Sans", sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: #FBFBFB;
}
.hero-subtitle {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
  color: var(--gold);
}
.hero-quote,
.hero-source { width: 86%; align-self: center; font-family: "Open Sans", sans-serif; text-align: center; color: #fff; }
.hero-quote { margin-top: 30px; font-size: 18px; font-style: italic; }
.hero-source { font-size: 16px; }

.about { display: flex; margin-top: 70px; }
.about-image { width: 42.794%; margin-top: 1px; background: url(../img/thumbs/IMG_2258-scaled.webp) center / contain no-repeat; }
.about-text { display: flex; flex-direction: column; justify-content: center; width: 57.206%; padding: 5% 5% 15%; }
.about-text .text { font-family: "Open Sans", sans-serif; font-size: 18px; line-height: 1.3; color: #fff; }
.about-text .signature { font-family: "Open Sans", sans-serif; font-size: 16px; line-height: 1.4; color: #fff; text-align: end; }

@media (max-width: 1024px) {
  .hero h1 { font-size: 44px; }
  .hero-subtitle { font-size: 17px; }
  .about { flex-direction: column-reverse; margin-top: 0; }
  .about-image { width: 90%; max-width: 480px; margin: 0 auto; aspect-ratio: 2 / 3; }
  .about-text { width: 100%; padding: 5%; }
  .about-text .text,
  .about-text .signature { font-size: 20px; }

}
@media (max-width: 767px) {
  .hero { padding: 15% 0 0; }
  .hero h1 { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .about-text .text,
  .about-text .signature { font-size: 16px; }
}

/* ==========================================================================
   Page title as a quote (Βιογραφικό, Έκθεση, Επικοινωνία)
   ========================================================================== */
.page-quote { margin-top: 100px; }
.page-quote blockquote {
  margin: 0 0 60px;
  padding-left: 20px;
  border-left: 7px solid #F9FAFA;
  font-family: "Open Sans", sans-serif;
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  color: var(--gold);
}
.page-quote blockquote p { margin: 0; }
.page-quote--upper blockquote { text-transform: uppercase; }
.page-quote--nested .container { padding: 20px 10px; }
@media (max-width: 1024px) { .page-quote blockquote { font-size: 48px; } }
@media (max-width: 767px) { .page-quote blockquote { margin-bottom: 50px; font-size: 26px; } }

/* ==========================================================================
   Βιογραφικό
   ========================================================================== */
.bio-title { font-family: "Open Sans", sans-serif; font-size: 24px; font-weight: 500; line-height: 1; text-align: center; color: #fff; }
.bio { margin-bottom: 100px; }
.bio .text { columns: 2; column-gap: 80px; font-family: "Open Sans", sans-serif; font-size: 18px; line-height: 1.3; color: #fff; }
@media (max-width: 1024px) { .bio .text { font-size: 20px; } }
@media (max-width: 767px) { .bio .text { columns: 1; font-size: 16px; } }

/* ==========================================================================
   Έκθεση
   ========================================================================== */
.categories { margin-bottom: 100px; }
.categories .container { display: flex; }
.category { display: flex; flex-direction: column; width: 33%; padding: 10px; background: #fff; text-align: center; }
.category img { display: block; width: 100%; margin-bottom: 21px; transition: transform .3s; }
.category img:hover { transform: scale(.9); }
.category h3 { margin: 8px 0 16px; font-family: "Open Sans", sans-serif; font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--gold); }
@media (max-width: 767px) {
  .categories .container { flex-direction: column; }
  .category { width: 100%; }
}

/* ==========================================================================
   Gallery pages
   ========================================================================== */
.page-title { margin: 30px 0; }
.page-title h1 { font-family: "Open Sans", sans-serif; font-size: 32px; font-weight: 600; line-height: 1; color: #fff; }
.intro { margin-bottom: 30px; border-top: 5px solid var(--gold); border-bottom: 5px solid var(--gold); background: #fff; }
.intro .text { font-family: "Roboto", sans-serif; color: var(--grey); }
.gallery-section { margin-bottom: 60px; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 30px; }
.filters button {
  padding: 8px 18px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  color: var(--gold);
  background: none;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.filters button:hover,
.filters button[aria-pressed="true"] { color: #1B1B1B; background: var(--gold); }

/* Masonry: main.js deals the cards into --columns columns (shortest column first) */
.gallery { --columns: 3; display: flex; align-items: flex-start; margin: -10px; }
.gallery-col { flex: 1 1 0; min-width: 0; }
.card { position: relative; margin: 10px; }
.card[hidden] { display: none; }
.card img { display: block; width: 100%; }
.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-align: center;
  color: #fff;
  background: rgba(84, 89, 95, .6);
  opacity: 0;
  transition: opacity .4s;
}
.card:hover .card-overlay,
.card a:focus-visible .card-overlay { opacity: 1; }
.card-title { margin-bottom: 5px; font-family: "Open Sans", sans-serif; font-size: 22px; line-height: 1.2; }
.card-desc { margin-bottom: 5px; font-family: "Roboto", sans-serif; font-size: 14px; }
@media (max-width: 1024px) { .gallery { --columns: 2; } }
@media (max-width: 767px) {
  .gallery { margin: -6px; }
  .card { margin: 6px; }
  .card-title { font-size: 17px; }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .87);
  user-select: none;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 85vw; max-height: 86vh; object-fit: contain; }
.lightbox button {
  position: absolute;
  padding: 15px;
  color: rgba(238, 238, 238, .9);
  background: none;
  border: 0;
  cursor: pointer;
}
.lightbox button:hover { color: #fff; }
.lightbox svg { display: block; width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2; }
.lightbox-close { top: 0; right: 0; }
.lightbox-prev { left: 0; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; top: 0; left: 0; padding: 20px; font-size: 14px; color: rgba(238, 238, 238, .9); }
.lightbox--single .lightbox-prev,
.lightbox--single .lightbox-next { display: none; }

/* ==========================================================================
   Επικοινωνία
   ========================================================================== */
.contact-lead { max-width: 760px; margin: -20px auto 50px; font-family: "Open Sans", sans-serif; font-size: 20px; font-style: italic; line-height: 1.5; text-align: center; color: #fff; }
.contact { margin-bottom: 100px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 45px 20px 40px;
  background: #fff;
  border-top: 5px solid var(--gold);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
a.contact-card:hover,
a.contact-card:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-bottom: 22px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}
.contact-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h2 { margin: 0 0 10px; font-family: "Open Sans", sans-serif; font-size: 26px; font-weight: 600; line-height: 1.2; color: var(--gold); }
.contact-value { font-family: "Open Sans", sans-serif; font-size: 18px; color: #333; }
.social { display: flex; gap: 22px; margin-top: 4px; }
.social a { display: block; color: #333; transition: color .3s; }
.social a:hover,
.social a:focus-visible { color: var(--gold); }
.social svg { display: block; width: 28px; height: 28px; fill: currentColor; }
@media (max-width: 1024px) {
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .contact-card--social { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .contact-lead { margin-top: -10px; font-size: 17px; }
  .contact-cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   404
   ========================================================================== */
.page-404 { background: #fff; }
.not-found { max-width: var(--container); margin: 0 auto 50px; padding: 28px 10px 0; }
.not-found h1 { margin: 8px 0 16px; font-size: 40px; line-height: 1.2; }
