/* ===== ΧΡΩΜΑΤΑ & ΓΡΑΜΜΑΤΟΣΕΙΡΕΣ ===== */
:root {
  --black: #0d0c0b;
  --cream: #ece6dc;
  --muted: #9a938a;
  --serif: "GFS Didot", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --side: 64px; /* κενό αριστερά-δεξιά */
}

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

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px var(--side);
  background: var(--black);
  border-bottom: 1px solid rgba(236, 230, 220, 0.08);
}

.header nav {
  display: flex;
  gap: 40px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-right {
  justify-content: flex-end;
}

.header nav a {
  opacity: 0.8;
  transition: opacity 0.2s;
}

.header nav a:hover {
  opacity: 1;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.logo img {
  height: 40px;
}

.logo span {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 var(--side);
  background:
    linear-gradient(
      to right,
      rgba(13, 12, 11, 0.9) 0%,
      rgba(13, 12, 11, 0.2) 65%
    ),
    url("../images/hero.jpg") center / cover,
    #2a231c;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1;
  text-transform: uppercase;
}

.hero-sub {
  margin: 28px 0 40px;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border: 1px solid var(--cream);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition:
    background 0.3s,
    color 0.3s;
}

.btn:hover {
  background: var(--cream);
  color: var(--black);
}

.hero-dots {
  position: absolute;
  left: var(--side);
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.hero-dots .line {
  width: 40px;
  height: 1px;
  background: var(--muted);
}

.hero-dots .active {
  color: var(--cream);
}

/* ===== ΚΙΝΗΤΑ ===== */
@media (max-width: 800px) {
  :root {
    --side: 20px;
  }
  .header {
    grid-template-columns: auto 1fr;
  }
  .header .nav-left {
    display: none;
  }
  .nav-right a:not(:last-child) {
    display: none;
  }
  .logo {
    align-items: flex-start;
  }
  .logo img {
    height: 30px;
  }
}

/* ===== DROP 01 ===== */
.drop {
  padding: 100px var(--side);
}

.drop-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 80px;
  margin-bottom: 40px;
}

.label {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.drop h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  text-transform: uppercase;
}

.drop-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}

.link {
  display: inline-flex;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--cream);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-img {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: #1a1815; /* φαίνεται όσο δεν υπάρχει φωτογραφία */
  background-size: cover;
  background-position: center;
  transition: transform 0.4s;
}

.product:hover .product-img {
  transform: scale(1.02);
}

button {
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  font: inherit;
}

.fav {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 20px;
}

.fav.active {
  color: #c9a46a; /* χρυσό όταν πατηθεί */
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
}

.product-info h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-info p {
  font-size: 13px;
  color: var(--muted);
}

.add svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--cream);
  stroke-width: 1.4;
}

/* Tablet: 2 προϊόντα ανά σειρά */
@media (max-width: 1000px) {
  .drop-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .drop-head .link {
    justify-self: start;
  }
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .drop {
    padding: 64px var(--side);
  }
  .products {
    gap: 16px;
  }
}

/* ===== ΠΕΡΙΣΣΟΤΕΡΑ ΑΠΟ ΡΟΥΧΑ ===== */
.story {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 100px var(--side);
  background:
    linear-gradient(
      to right,
      rgba(13, 12, 11, 0.85) 0%,
      rgba(13, 12, 11, 0.3) 50%,
      rgba(13, 12, 11, 0.7) 100%
    ),
    url("../images/story.jpg") center / cover,
    #241e18;
}

.story h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.05;
  margin-bottom: 28px;
}

.story-content p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 40px;
}

.story-side {
  text-align: right;
}

.story-side ul {
  list-style: none;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.3em;
  margin-right: -0.3em; /* ευθυγραμμίζει τα γράμματα δεξιά */
  text-transform: uppercase;
  color: var(--muted);
}

.story-side .divider {
  display: block;
  width: 60px;
  height: 1px;
  margin: 28px 0 28px auto;
  background: var(--muted);
}

.story-side img {
  height: 28px;
}

.logo img {
  height: 40px;
}

.story-side p {
  margin-top: 6px;
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Κινητά: όλα το ένα κάτω από το άλλο */
@media (max-width: 800px) {
  .story {
    flex-direction: column;
    align-items: flex-start;
    padding: 80px var(--side);
  }
  .story-content p br {
    display: none;
  }
  .story-side {
    text-align: left;
  }
  .story-side ul {
    margin-right: 0;
  }
  .story-side .divider {
    margin: 24px 0;
  }
}

/* ===== Η ΙΣΤΟΡΙΑ ΜΑΣ ===== */
html {
  scroll-behavior: smooth; /* ομαλό scroll όταν πατάς το κουμπί */
}

.our-story {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding: 120px var(--side);
  border-bottom: 1px solid rgba(236, 230, 220, 0.08);
  scroll-margin-top: 90px; /* να μην κρύβεται κάτω από το header */
}

.our-story h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1;
}

.our-story-text {
  max-width: 620px;
}

.our-story-text p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Μεγάλο πρώτο γράμμα, σαν βιβλίο */
.our-story-text p:first-child::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.9;
  padding: 6px 10px 0 0;
}

.our-story-text .signature {
  margin-top: 40px;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--muted);
}

@media (max-width: 800px) {
  .our-story {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 80px var(--side);
  }
  .our-story-text p {
    font-size: 16px;
  }
}

/* ===== FOOTER ===== */
.footer {
  padding: 72px var(--side) 32px;
  border-top: 1px solid rgba(236, 230, 220, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(236, 230, 220, 0.08);
}

.footer-brand img {
  height: 44px;
}

.footer-brand > p {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.socials {
  display: flex;
  gap: 18px;
  margin-top: 28px;
}

.socials svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--cream);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.socials a:hover svg {
  opacity: 1;
}

.footer h4 {
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--cream);
}

.newsletter p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.newsletter-form {
  display: flex;
  margin-top: 18px;
  max-width: 360px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid rgba(236, 230, 220, 0.3);
  border-right: none;
  color: var(--cream);
  font: inherit;
  font-size: 13px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--cream);
}

.newsletter-form button {
  width: 52px;
  background: var(--cream);
  color: var(--black);
  font-size: 18px;
}

.newsletter-msg {
  margin-top: 10px;
  color: #c9a46a !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  font-size: 11px;
  color: var(--muted);
}

.footer-bottom div {
  display: flex;
  gap: 14px;
}

.footer-bottom a:hover {
  color: var(--cream);
}

/* Tablet */
@media (max-width: 1000px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* Κινητά */
@media (max-width: 600px) {
  .footer {
    padding-top: 56px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }
  .footer-brand,
  .newsletter {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== ANIMATIONS ===== */

/* 1. Hero: τα κείμενα ανεβαίνουν ένα-ένα όταν ανοίγει η σελίδα */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: fadeUp 1s ease both;
}
.hero-content h1 {
  animation-delay: 0.2s;
}
.hero-content .hero-sub {
  animation-delay: 0.5s;
}
.hero-content .btn {
  animation-delay: 0.8s;
}
.hero-dots {
  animation: fadeUp 1s ease 1.1s both;
}

/* 2. Header: κρύβεται όταν κατεβαίνεις, εμφανίζεται όταν ανεβαίνεις */
.header {
  transition: transform 0.4s ease;
}
.header.hidden {
  transform: translateY(-100%);
}

/* 3. Scroll reveal: στοιχεία εμφανίζονται όταν φτάνεις σε αυτά */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 4. Το βελάκι στα κουμπιά κουνιέται στο hover */
.btn span,
.link span {
  display: inline-block;
  transition: transform 0.3s ease;
}
.btn:hover span,
.link:hover span {
  transform: translateX(6px);
}

/* 5. Η καρδούλα κάνει "pop" όταν την πατάς */
@keyframes pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1);
  }
}
.fav.active {
  animation: pop 0.35s ease;
}

/* Σεβόμαστε όσους έχουν κλείσει τα animations στον υπολογιστή τους */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== ΚΑΛΑΘΙ ===== */

/* Επιλογή μεγέθους πάνω στη φωτογραφία του προϊόντος */
.size-picker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  background: rgba(13, 12, 11, 0.92);
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.size-picker.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.size-picker p {
  margin-bottom: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.size-picker div {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.size-picker button {
  width: 44px;
  height: 36px;
  border: 1px solid rgba(236, 230, 220, 0.3);
  font-size: 12px;
  transition:
    background 0.2s,
    color 0.2s;
}

.size-picker button:hover {
  background: var(--cream);
  color: var(--black);
}

/* Σκούρο φόντο πίσω από το καλάθι */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

/* Το συρτάρι του καλαθιού (βγαίνει από δεξιά) */
.cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 201;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: #12100e;
  border-left: 1px solid rgba(236, 230, 220, 0.08);
  transform: translateX(100%);
  transition: transform 0.45s ease;
}

.cart-open {
  overflow: hidden;
}
.cart-open .cart-overlay {
  opacity: 1;
  pointer-events: auto;
}
.cart-open .cart {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px;
  border-bottom: 1px solid rgba(236, 230, 220, 0.08);
}

.cart-head h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
}

.cart-head h3 span {
  margin-left: 6px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  vertical-align: middle;
}

.cart-close {
  font-size: 18px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px;
}

.cart-empty {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(236, 230, 220, 0.08);
}

.cart-item-img {
  aspect-ratio: 4 / 5;
  background-color: #1a1815;
  background-size: cover;
  background-position: center;
}

.cart-item-info h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cart-item-info p {
  margin: 6px 0 12px;
  font-size: 12px;
  color: var(--muted);
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(236, 230, 220, 0.2);
}

.qty button {
  width: 30px;
  height: 30px;
}

.qty span {
  min-width: 24px;
  text-align: center;
  font-size: 13px;
}

.cart-item-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 13px;
}

.remove {
  font-size: 11px;
  color: var(--muted);
  text-decoration: underline;
}

.cart-foot {
  padding: 24px 28px 28px;
  border-top: 1px solid rgba(236, 230, 220, 0.08);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-note {
  margin: 8px 0 20px;
  font-size: 12px;
  color: var(--muted);
}

.cart-checkout {
  width: 100%;
  justify-content: center;
}

.cart-msg {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: #c9a46a;
}

/* ===== ΣΕΛΙΔΑ ΕΥΧΑΡΙΣΤΩ ===== */
.success {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 40px var(--side);
  text-align: center;
}

.success img {
  height: 48px;
}

.success h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 80px);
}

.success p {
  max-width: 460px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== Ασφάλεια για εικόνες ===== */
img {
  max-width: 100%;
}

/* ===== NEWSLETTER (Brevo) ===== */
.newsletter-form {
  display: block;
}

.newsletter-row {
  display: flex;
}

.newsletter-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.newsletter-form .newsletter-consent input {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  padding: 0;
  accent-color: var(--cream);
}

.newsletter-consent a {
  text-decoration: underline;
}

/* ===== ΑΠΛΕΣ ΣΕΛΙΔΕΣ (Πολιτική Απορρήτου κλπ.) ===== */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px var(--side) 80px;
}

.page-logo img {
  height: 40px;
}

.page h1 {
  margin: 48px 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
}

.page .updated {
  margin-bottom: 40px;
  font-size: 13px;
  color: var(--muted);
}

.page h2 {
  margin: 40px 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
}

.page p,
.page li {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

.page ul {
  margin: 0 0 16px 20px;
}

.page a {
  text-decoration: underline;
}

.page a.btn {
  text-decoration: none;
}
