/* ==========================================================================
   Brooks Brothers Greece — static site
   One stylesheet, no frameworks. Mobile-first where it matters, desktop ≥1240px.
   ========================================================================== */

:root {
  --bg: #f0efed;
  --bg-page: #dfdeda;
  --white: #fff;
  --text: #66676b;
  --dark: #121217;
  --navy: #001f37;
  --navy-2: #272b47;
  --gold: #8d754f;
  --grey: #848484;
  --footer-bg: #e7e7e7;
  --footer-text: #666;
  --sub-bg: #f2f2f2;
  --font: "Times New Roman", Times, "Liberation Serif", "Nimbus Roman", serif;
  --container: 1280px;
  --gutter: 1%;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --logo-h: 128px;
  --nav-h: 60px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg-page); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/18px var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; border: 0; }
a { color: var(--gold); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold); }
::selection { background: var(--gold); color: #fff; }
p { margin: 0 0 15px; }
ul, ol { margin: 0 0 15px; padding-left: 20px; }
hr { border: 0; height: 1px; background: rgba(0, 0, 0, .08); margin: 0 auto 15px; }
strong, b { font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
iframe { border: 0; width: 100%; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font); margin: 0 0 15px; font-weight: 400; }
h1, .t-h1 { font-size: 25px; line-height: 25px; color: var(--gold); }
h2 { font-size: 30px; line-height: 30px; color: var(--dark); }
h3 { font-size: 23px; line-height: 26px; color: var(--dark); font-weight: 700; }
h4, .t-h4 { font-size: 17px; line-height: 25px; color: var(--dark); letter-spacing: 1px; }
h5, .t-h5 { font-size: 15px; line-height: 23px; color: var(--dark); }
h6, .t-h6 { font-size: 13px; line-height: 22px; color: #545458; letter-spacing: 1px; }
.t-h3 { font-size: 23px; line-height: 26px; color: var(--dark); font-weight: 700; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.align-center { margin-left: auto; margin-right: auto; text-align: center; }
img.align-center { margin-left: auto; margin-right: auto; }
.align-left { float: left; margin: 0 15px 15px 0; }
.align-right { float: right; margin: 0 0 15px 15px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: calc(-1 * var(--logo-h)); z-index: 100;
  background: var(--white);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 2px 5px rgba(0, 0, 0, .1); }
.topbar-inner { position: relative; text-align: center; }
.logo {
  display: flex; align-items: center; justify-content: center;
  height: var(--logo-h); margin: 0 var(--gutter);
  border-bottom: 1px solid rgba(0, 0, 0, .08); padding: 15px 0;
}
.logo img { width: auto; max-height: 97px; }
.logo-sticky { display: none !important; }

.site-nav { height: var(--nav-h); }
.menu { list-style: none; margin: 0; padding: 0; display: inline-flex; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > .sub-toggle {
  position: relative; display: block; padding: 0 20px; line-height: var(--nav-h);
  font-size: 19px; letter-spacing: 1px; color: var(--navy);
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.menu > li > a::before, .menu > li > .sub-toggle::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px;
  background: var(--grey); transform: scaleX(0); transform-origin: center;
  transition: transform .35s var(--ease);
}
.menu > li:hover > a::before, .menu > li:hover > .sub-toggle::before,
.menu > li.current > a::before, .menu > li.current > .sub-toggle::before { transform: scaleX(1); }
.menu > li.current > a, .menu > li.current > .sub-toggle { color: var(--grey); }

.sub-menu {
  list-style: none; margin: 0; padding: 0; position: absolute; left: 0; top: 100%;
  min-width: 190px; background: var(--sub-bg); text-align: left; z-index: 10;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.menu > li:hover > .sub-menu, .menu > li:focus-within > .sub-menu, .menu > li.open > .sub-menu {
  opacity: 1; visibility: visible; transform: none;
}
.sub-menu li + li { border-top: 1px solid rgba(0, 0, 0, .05); }
.sub-menu a { display: block; padding: 10px 10px 10px 20px; font-size: 15px; line-height: 18px; color: #5f5f5f; }
.sub-menu a:hover, .sub-menu a[aria-current] { color: #2e2e2e; }

.nav-toggle {
  display: none; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 22px; height: 1px; background: #333;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1239px) {
  :root { --logo-h: 104px; }
  .site-header { top: 0; }
  .logo { border-bottom: 0; padding: 0 64px; margin: 0; }
  .logo img { max-height: 92px; }
  .nav-toggle { display: block; top: calc(var(--logo-h) / 2); }
  .site-nav {
    height: auto; max-height: 0; overflow: hidden; text-align: left;
    border-top: 1px solid rgba(0, 0, 0, .06);
    transition: max-height .4s var(--ease);
  }
  .nav-open .site-nav { max-height: 80vh; overflow-y: auto; }
  .menu { display: block; padding: 10px 0 16px; }
  .menu > li > a, .menu > li > .sub-toggle { line-height: 44px; padding: 0 0 0 4px; font-size: 19px; width: 100%; text-align: left; }
  .menu > li > a::before, .menu > li > .sub-toggle::before { display: none; }
  .menu > li.has-sub > .sub-toggle::after {
    content: "+"; position: absolute; right: 4px; top: 0; font-size: 30px; font-weight: 300; color: #444; opacity: .33;
  }
  .menu > li.has-sub.open > .sub-toggle::after { content: "–"; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none; background: none;
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .menu > li.open > .sub-menu { max-height: 400px; }
  .menu > li:hover > .sub-menu:not(.force) { opacity: 1; }
  .sub-menu li + li { border: 0; }
  .sub-menu a { padding: 0 20px 0 18px; line-height: 44px; font-size: 17px; }
}
@media (max-width: 767px) {
  :root { --logo-h: 104px; }
  .logo { justify-content: flex-start; padding: 0 64px 0 50px; }
  .logo img { max-height: 95px; }
}

/* ---------- Grid (sections → wraps → items) ---------- */
.site-main { display: block; }
.sec { position: relative; background-repeat: no-repeat; background-position: center top; }
.sec.bg-cover { background-size: cover; }
.sec.bg-contain { background-size: contain; }
.sec-full > .container { max-width: none; }
.sec-deco { position: absolute; left: 0; right: 0; background-repeat: repeat-x; z-index: 2; }
.sec-deco.top { top: 0; }
.sec-deco.bottom { bottom: 0; }
.row, .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; }
.wrap { flex: 0 0 auto; position: relative; }
.wrap.va-middle { align-self: center; }
.wrap.va-bottom { align-self: flex-end; }
.item { flex: 0 0 auto; margin: 0 var(--gutter) 40px; min-width: 0; }

.wrap.w-1 { width: 100%; }       .item.w-1 { width: 98%; }
.wrap.w-1-2 { width: 50%; }      .item.w-1-2 { width: 48%; }
.wrap.w-1-3 { width: 33.333%; }  .item.w-1-3 { width: 31.333%; }
.wrap.w-2-3 { width: 66.666%; }  .item.w-2-3 { width: 64.666%; }
.wrap.w-1-4 { width: 25%; }      .item.w-1-4 { width: 23%; }
.wrap.w-3-4 { width: 75%; }      .item.w-3-4 { width: 73%; }
.wrap.w-1-5 { width: 20%; }      .item.w-1-5 { width: 18%; }
.wrap.w-2-5 { width: 40%; }      .item.w-2-5 { width: 38%; }
.wrap.w-3-5 { width: 60%; }      .item.w-3-5 { width: 58%; }
.wrap.w-4-5 { width: 80%; }      .item.w-4-5 { width: 78%; }
.wrap.w-1-6 { width: 16.666%; }  .item.w-1-6 { width: 14.666%; }
.wrap.w-5-6 { width: 83.333%; }  .item.w-5-6 { width: 81.333%; }

.it-spacer { min-height: 1px; margin-bottom: 0; }
.it-divider { margin-bottom: 0; }
.divider { height: 1px; margin: 0 auto 40px; background: rgba(0, 0, 0, .08); }
.divider.no-line { background: none; }

@media (max-width: 767px) {
  .container { padding: 0 25px; }
  .sec-full > .container { padding: 0; }
  .wrap[class*="w-"], .item[class*="w-"] { width: 100%; margin-left: 0; margin-right: 0; }
  .wrap { margin-top: 0 !important; }
  .it-spacer { display: none; }
  .hide-m { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1239px) {
  .container { padding: 0 2%; }
  .hide-t { display: none !important; }
}
@media (min-width: 1240px) { .hide-d { display: none !important; } }

/* ---------- Content blocks ---------- */
.rich > :last-child, .prose > :last-child { margin-bottom: 0; }
.rich img, .prose img { display: inline-block; vertical-align: middle; }
.rich img.align-center, .prose img.align-center { display: block; }
.prose { padding: 0 0 40px; }
.sec > .container.prose { padding: 30px var(--gutter) 40px; }

.img { margin: 0; position: relative; overflow: hidden; }
.img img { width: 100%; }
.img.align-center img { margin: 0 auto; width: auto; max-width: 100%; }
.img.linked > a { display: block; overflow: hidden; }
.img.linked img { transition: transform .8s var(--ease), opacity .4s; }
.img.linked:hover img { transform: scale(1.03); }
.img .caption { display: block; background: var(--bg); color: #666; padding: 0 0 10px; text-align: center; line-height: 18px; }
.img-title { margin: 15px 0 0; text-align: center; }
.img-title a { color: var(--dark); }
.img-title a:hover { color: var(--gold); }

.btn, button[type="submit"] {
  display: inline-block; padding: 10px 20px; margin: 0 0 15px; border: 2px solid var(--navy-2);
  background: transparent; color: var(--navy-2); font-size: 15px; line-height: 21px; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.btn:hover, button[type="submit"]:hover { background: var(--navy-2); color: #fff; }

/* Trailer box (Άνδρας / Γυναίκα) */
.trailer { display: block; position: relative; overflow: hidden; text-align: center; line-height: 0; }
.trailer img { width: 100%; transition: transform 1.2s var(--ease); }
.trailer:hover img { transform: scale(1.04); }
.trailer-desc {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 27px 15px 30px; line-height: normal;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .15);
}
.trailer-sub { display: inline-block; background: #fff; color: var(--dark); padding: 4px 10px; margin-bottom: 10px; font-size: 13px; }
.trailer-title { display: block; color: #fff; font-size: 30px; line-height: 30px; }
.trailer-line { display: block; height: 1px; width: 0; margin: 0 auto; background: #fff; transition: width .5s var(--ease); }
.trailer:hover .trailer-line { width: 20%; margin-top: 10px; }

/* Hover colour box (Καταστήματα) */
.hover-box {
  position: relative; background: var(--hb-bg, var(--bg)); border: var(--hb-bw, 1px) solid var(--hb-bd, var(--gold));
  text-align: center; color: var(--dark); transition: background-color .35s var(--ease);
}
.hover-box:hover { background: var(--hb-bg-h, var(--hb-bg, var(--bg))); }
.hover-box-inner { padding: 10px; }
.hover-box h1, .hover-box h2, .hover-box h3, .hover-box h4 { margin-bottom: 15px; }
.hover-box .stretched { color: inherit; }
.hover-box .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hover-box-inner { color: #000; }
.hover-box a { display: block; color: #000; }
.hover-box h1 a, .hover-box h2 a, .hover-box h3 a, .hover-box h4 a { display: inline; color: inherit; }
.hover-box a:not(.stretched) { position: relative; z-index: 2; }
.hover-box a:not(.stretched):hover { color: var(--gold); }
.hover-box .gf { margin-bottom: 15px; }
.hover-box .hr-narrow { width: 30px; margin: 0 auto 30px; background: rgba(0, 0, 0, .1); }
.hover-box .gf { font-size: 15px; line-height: 15px; color: var(--dark); }

.fancy-heading { text-align: center; padding: 0 0 20px; }
.fancy-heading .title { font-size: 45px; line-height: 50px; color: var(--gold); margin: 0; }

/* Video */
.video video { width: 100%; height: auto; background: #000; }
.video-embed { position: relative; aspect-ratio: 16 / 9; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Slider */
.slider { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform .6s var(--ease); }
.slide { flex: 0 0 100%; display: flex; justify-content: center; }
.slide img { width: auto; max-width: 100%; }
.slider-btn {
  position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .8); transition: background-color .25s;
}
.slider-btn:hover { background: #fff; }
.slider-btn::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px;
  border: solid var(--navy); border-width: 0 0 1px 1px;
}
.slider-btn.prev { left: 0; }
.slider-btn.prev::before { transform: translate(-30%, -50%) rotate(45deg); }
.slider-btn.next { right: 0; }
.slider-btn.next::before { transform: translate(-70%, -50%) rotate(-135deg); }

/* ---------- Single portfolio item / post ---------- */
.single { padding: 60px 0 20px; }
.single-photo { margin: 0 var(--gutter) 40px; text-align: center; }
.single-photo img { display: inline-block; max-height: 80vh; width: auto; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); }
.page-post .single-photo img { width: 100%; max-height: none; max-width: 1054px; }
.project-meta { margin: 0 var(--gutter) 40px; max-width: 418px; background: rgba(0, 0, 0, .02); border: 1px solid rgba(0, 0, 0, .04); }
.project-meta div { display: flex; gap: 20px; padding: 8px 10px; }
.project-meta dt { font-weight: 700; }
.project-meta dd { margin: 0; }
.single .prose { margin: 0 var(--gutter); }

.related { padding: 0 0 40px; }
.related-title { font-size: 17px; line-height: 25px; letter-spacing: 1px; margin: 0 var(--gutter) 20px; }
.cards { display: flex; flex-wrap: wrap; }
.card { width: 31.333%; margin: 0 var(--gutter) 40px; }
.card-img { display: block; overflow: hidden; background: #fff; border: 1px solid rgba(0, 0, 0, .06); border-bottom-width: 12px; }
.card-img img { width: 100%; transition: transform .8s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-date { font-size: 11px; color: #a8a8a8; margin: 12px 0 4px; }
.card-body { padding: 0; }
.card-title { font-size: 17px; line-height: 25px; letter-spacing: 1px; font-weight: 400; margin: 0 0 10px; }
.card-title a { color: var(--dark); }
.card-title a:hover { color: var(--gold); }
.card hr { width: 30px; height: 2px; background: var(--navy-2); margin: 0 0 15px; }
@media (max-width: 767px) {
  .card { width: 100%; margin-left: 0; margin-right: 0; }
  .single { padding-top: 30px; }
}

/* ---------- 404 ---------- */
.error-404 { padding: 100px 0 120px; text-align: center; }
.error-code { font-size: 120px; line-height: 1; color: rgba(0, 31, 55, .1); margin: 0 0 20px; }
.error-404 h1 { font-size: 30px; line-height: 34px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); }
.footer-cols { display: flex; flex-wrap: wrap; padding: 60px 0 50px; }
.footer-col { width: 31.333%; margin: 0 var(--gutter) 40px; }
.footer-title { font-size: 17px; line-height: 25px; letter-spacing: 1px; color: var(--footer-text); margin: 15px 0; }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: var(--navy); }
.footer-links { list-style: none; padding: 0; margin: 15px 0 0; line-height: 32px; }
.footer-links li { position: relative; padding-left: 18px; }
.footer-links li::before {
  content: ""; position: absolute; left: 3px; top: 13px;
  border: 4px solid transparent; border-left: 6px solid var(--gold);
}
.footer-links a { display: inline-block; transition: transform .25s var(--ease), color .25s; }
.footer-links a:hover { transform: translateX(3px); }
.social { display: flex; gap: 4px; }
.social img { transition: opacity .25s; }
.social a:hover img { opacity: .75; }
.newsletter label { display: block; font-weight: 700; margin-bottom: 10px; }
.newsletter input[type="email"] {
  display: block; width: 230px; max-width: 100%; padding: 10px; margin: 0 3px 15px;
  border: 1px solid #b3b0b4; background: #fff; color: #000; font-size: 13px;
}
.newsletter input[type="email"]:focus { border-color: var(--gold); outline: 0; }
.newsletter .check { display: flex; gap: 6px; align-items: flex-start; }
.newsletter .check input { margin: 2px 0 0; }
.newsletter button[type="submit"] { margin: 15px 3px 0; padding: 11px 20px; border-color: var(--gold); font-size: 13px; }
.newsletter .hp { position: absolute; left: -9999px; }
.form-msg { margin: 10px 0 0; min-height: 18px; }
.form-msg.ok { color: #2e7d32; }
.form-msg.err { color: #b3261e; }
.footer-copy { border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; padding: 30px 0 33px; }
.footer-copy .container { padding: 0 20px; }
@media (max-width: 959px) {
  .footer-col { width: 98%; }
}

/* Back to top */
.to-top {
  position: fixed; right: 75px; bottom: 20px; z-index: 90; width: 46px; height: 46px;
  border: 2px solid var(--navy-2); background: rgba(255, 255, 255, .6);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .25s;
}
.to-top::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px;
  border: solid var(--navy-2); border-width: 1px 0 0 1px; transform: translate(-50%, -25%) rotate(45deg);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-2); }
.to-top:hover::before { border-color: #fff; }
@media (max-width: 767px) { .to-top { right: 15px; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .88); opacity: 0; transition: opacity .3s var(--ease); cursor: zoom-out; padding: 30px;
}
.lightbox.show { opacity: 1; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; transform: scale(.97); transition: transform .35s var(--ease); }
.lightbox.show img { transform: none; }
.lightbox button {
  position: absolute; top: 15px; right: 15px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
}
.lightbox button::before, .lightbox button::after {
  content: ""; position: absolute; left: 11px; top: 21px; width: 22px; height: 2px; background: #fff;
}
.lightbox button::before { transform: rotate(45deg); }
.lightbox button::after { transform: rotate(-45deg); }

/* ---------- Reveal on scroll (enabled by JS only) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .to-top, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
