/* ============================================================
   E. KABRIANIS FAMILY — MAIN STYLESHEET
   Clone of karpos.gr design

   COLOR REFERENCE (easy to change):
   --color-primary:     #BD8057  (warm brown/gold — buttons, accents)
   --color-primary-dark: #5a3911 (dark brown — headings)
   --color-header-bg:   #E8C092 (warm tan — header bar)
   --color-dark-bg:     #372630 (deep plum — products section bg)
   --color-cream:       #F0E4CC (cream — card backgrounds)
   --color-light-bg:    #fdf8f4 (off-white — page background)
   --color-text:        #36292e (near-black — body text)
   --color-footer-bg:   inherits story-section-bg.png
   ============================================================ */

/* ---- FONTS ---- */
@font-face {
  font-family: 'PF Futura Neu Bold';
  src: url('assets/fonts/PFFuturaNeu-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PF Futura Neu Semibold';
  src: url('assets/fonts/PFFuturaNeu-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PF Futura Neu Book Regular';
  src: url('assets/fonts/PFFuturaNeuBook-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Averta Extra Bold';
  src: url('assets/fonts/Averta-Extra-Bold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cera GR Black';
  src: url('assets/fonts/Cera-GR-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CheddarGothicRough';
  src: url('assets/fonts/CheddarGothicRough-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GB Anoixiatiki Volta';
  src: url('assets/fonts/GBAnoixiatikiVolta.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GB Brulle';
  src: url('assets/fonts/GBBrulle.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MyriadPro';
  src: url('assets/fonts/MyriadPro-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- CSS VARIABLES ---- */
:root {
  --color-primary: #BD8057;
  --color-primary-dark: #5a3911;
  --color-primary-hover: #9E633B;
  --color-header-bg: #F7F7F7;
  --color-dark-bg: #372630;
  --color-cream: #F0E4CC;
  --color-light-bg: #fdf8f4;
  --color-text: #36292e;
  --color-text-light: #968079;
  --color-white: #ffffff;
  --color-link-footer: #cccccc;
  --color-divider: #86654B;

  --font-heading: 'PF Futura Neu Semibold', 'Averta Extra Bold', sans-serif;
  --font-heading-bold: 'PF Futura Neu Bold', 'Averta Extra Bold', sans-serif;
  --font-body: 'PF Futura Neu Book Regular', 'MyriadPro', sans-serif;
  --font-display: 'CheddarGothicRough', 'GB Brulle', serif;

  --site-width: 1300px;
  --header-height: 80px;
}

/* ---- RESET ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: var(--header-height);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 50px;
  width: auto;
}

/* ---- Navigation ---- */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  display: block;
  padding: 10px 18px;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--color-dark-bg);
  text-transform: uppercase;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary-dark);
}

.nav-link--shop {
  background: var(--color-primary-dark);
  color: var(--color-white) !important;
  border-radius: 25px;
  padding: 10px 25px;
  margin-left: 10px;
  transition: background 0.3s;
}

.nav-link--shop:hover {
  background: var(--color-primary-hover);
}

/* ---- Dropdown ---- */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  min-width: 220px;
  padding: 10px 0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.3s;
  z-index: 200;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 8px 25px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  transition: background 0.2s, color 0.2s;
}

.dropdown li a:hover {
  background: var(--color-cream);
  color: var(--color-primary-dark);
}

/* ---- Mobile Menu Toggle ---- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 150;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-dark-bg);
  border-radius: 2px;
  transition: all 0.3s;
  position: absolute;
  left: 0;
}

.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-toggle span:nth-child(3) { bottom: 0; }

.mobile-menu-toggle.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ============================================================
   HERO SLIDESHOW
   ============================================================ */
.hero {
  position: relative;
  z-index: 2;
  margin-top: var(--header-height);
  margin-bottom: 0;
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-light-bg);
}

.slider__track {
  position: relative;
  width: 100%;
}

.slider__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.slider__slide.active {
  position: relative;
  opacity: 1;
  z-index: 2;
}

.slider__slide img {
  width: 100%;
  display: block;
}

/* ---- Slider Dots ---- */
.slider__dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.slider__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.slider__dot.active {
  background: var(--color-white);
  transform: scale(1.2);
}

.slider__dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* ---- Paper Zigzag Divider ---- */
.paper-divider {
  position: relative;
  z-index: 3;
  margin-top: -2px;
  line-height: 0;
}

.paper-divider__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products-section {
  position: relative;
  z-index: 1;
  background: var(--color-dark-bg);
  padding: 80px 30px 120px;
  margin-top: -2px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-stamp {
  width: 60px;
  height: auto;
  margin: 0 auto 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 40px;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.products-grid {
  max-width: var(--site-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.product-card__image {
  background: var(--color-cream);
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.product-card__title {
  background: var(--color-white);
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  padding: 15px 10px 5px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__link {
  background: var(--color-white);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 14px;
  text-align: center;
  padding: 5px 10px 20px;
  border-radius: 0 0 15px 15px;
}

/* ============================================================
   BANNER STRIP
   ============================================================ */
.banner-strip {
  position: relative;
  z-index: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: url('assets/images/hero-bg.png') left top / cover no-repeat;
}

.banner-strip__img {
  width: 100%;
  height: auto;
}

/* ============================================================
   E-SHOP SECTION
   ============================================================ */
.eshop-section {
  padding: 80px 30px 150px;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.eshop-header {
  margin-bottom: 50px;
}

.eshop-label {
  font-family: var(--font-heading-bold);
  font-size: 230px;
  line-height: 1.1;
  color: rgba(222, 176, 111, 0.40);
  text-align: center;
  display: block;
}

.eshop-grid {
  max-width: 750px;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: start;
}

.eshop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s;
}

.eshop-card:hover {
  transform: scale(1.08);
}

.eshop-card__icon {
  width: 140px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
}

.eshop-card__title {
  font-family: var(--font-heading);
  font-size: 25px;
  color: var(--color-dark-bg);
  text-align: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 1px;
  padding: 14px 40px;
  border-radius: 30px;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-text-light);
  color: var(--color-white);
  border: none;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-dark-bg);
}

/* ============================================================
   OUR STORY SECTION
   ============================================================ */
.story-section {
  padding: 100px 30px;
  background-color: #372630;
  overflow: hidden;
  position: relative;
}

.story-inner {
  max-width: var(--site-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.story-content {
  max-width: 100%;
}

.story-title {
  font-family: var(--font-heading-bold);
  font-size: 50px;
  line-height: 1.2;
  color: var(--color-cream);
  margin-bottom: 30px;
}

.story-text {
  font-family: var(--font-body);
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 25px;
  line-height: 1.8;
}

.story-section .btn--outline {
  color: #ffffff;
  border-color: #ffffff;
}

.story-section .btn--outline:hover {
  background: #ffffff;
  color: #372630;
}

.story-section .btn {
  margin-top: 20px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 0;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 0;
}

.about-overlay {
  padding: 50px 30px 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-content {
  text-align: center;
}

.about-image {
  max-width: 600px;
  width: 100%;
  margin-bottom: 30px;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider-section {
  padding: 0;
  line-height: 0;
}

.divider-section img {
  width: 100%;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: url('assets/images/story-section-bg.png');
  background-size: cover;
  color: var(--color-white);
  padding: 100px 30px 0;
}

.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 60px;
}

.footer-heading {
  font-family: var(--font-heading-bold);
  font-size: 22px;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.footer-address {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.9;
}

.footer-address a {
  color: var(--color-white);
  transition: opacity 0.3s;
}

.footer-address a:hover {
  opacity: 0.7;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-link-footer);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-heading--hours {
  margin-top: 25px;
}

.footer-hours {
  list-style: none;
}

.footer-hours li {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-link-footer);
  padding: 4px 0;
}

.footer-hours li span:first-child {
  color: var(--color-white);
  min-width: 100px;
}

.footer-hours .closed {
  color: #e07070;
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.footer-logo {
  max-width: 200px;
}

.footer-social {
  max-width: 150px;
}

.footer-payments {
  max-width: 250px;
}

.footer-bottom {
  padding: 30px 0 40px;
  text-align: center;
  background: url('assets/images/story-section-bg.png');
  background-size: cover;
}

.footer-bottom-logo {
  max-width: 220px;
  margin: 0 auto 20px;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--color-white);
}

/* ============================================================
   RESPONSIVE — LAPTOPS (1025px – 1380px)
   ============================================================ */
@media (max-width: 1380px) {
  .hero {
    margin-bottom: 0;
  }

  .products-section {
    padding: 80px 30px 120px;
  }

  .eshop-label {
    font-size: 180px;
  }

  .story-title {
    font-size: 42px;
  }

  .story-section {
    padding: 80px 30px;
  }

  .about-overlay {
    padding: 100px 30px 130px;
  }

  .footer-inner {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* ============================================================
   RESPONSIVE — TABLETS (601px – 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    margin-bottom: 0;
  }

  .products-section {
    padding: 60px 20px 100px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .section-title {
    font-size: 35px;
  }

  .eshop-section {
    padding: 80px 20px 100px;
  }

  .eshop-label {
    font-size: 150px;
  }

  .eshop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 650px;
  }

  .eshop-card__icon {
    width: 120px;
    height: 120px;
  }

  .eshop-card__title {
    font-size: 20px;
  }

  .story-section {
    padding: 60px 20px;
  }

  .story-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .story-title {
    font-size: 36px;
  }

  .about-overlay {
    padding: 80px 20px 100px;
  }

  .about-image {
    max-width: 450px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-link {
    font-size: 12px;
    padding: 10px 12px;
  }

}

/* ============================================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu-toggle span {
    background: var(--color-dark-bg);
  }

  .mobile-menu-toggle.active span {
    background: var(--color-white);
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-dark-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 30px 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
    z-index: 140;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  .nav-list > li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link {
    padding: 18px 0;
    font-size: 18px;
    color: var(--color-white);
    letter-spacing: 2px;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--color-header-bg);
  }

  .nav-link--shop {
    margin-left: 0;
    margin-top: 25px;
    text-align: center;
    display: inline-block;
    background: var(--color-white);
    color: var(--color-dark-bg) !important;
    padding: 12px 40px;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 10px 0;
    min-width: 0;
    display: none;
    border-radius: 0;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .dropdown li a {
    padding: 10px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
  }

  .dropdown li a:hover {
    background: transparent;
    color: var(--color-white);
  }

  .slider {
    min-height: 50vh;
  }
  .slider__track {
    min-height: 50vh;
  }
  .slider__slide {
    min-height: 50vh;
  }
  .slider__slide img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
  }

  .slider__dots {
    bottom: 15px;
    gap: 8px;
  }

  .slider__dot {
    width: 10px;
    height: 10px;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max-width: 600px)
   ============================================================ */
@media (max-width: 600px) {
  .hero {
    margin-bottom: 0;
  }

  .products-section {
    padding: 50px 15px 100px;
  }

  .section-title {
    font-size: 30px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-card__title {
    font-size: 16px;
  }

  .eshop-section {
    padding: 80px 15px 100px;
  }

  .eshop-label {
    font-size: 90px;
  }

  .eshop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 100%;
  }

  .eshop-card__icon {
    width: 100px;
    height: 100px;
  }

  .eshop-card__title {
    font-size: 16px;
  }

  .story-section {
    padding: 60px 20px;
  }

  .story-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .story-content {
    text-align: center;
  }

  .story-title {
    font-size: 32px;
  }

  .story-text {
    font-size: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-col--brand {
    align-items: center;
  }

  .footer-logo {
    max-width: 60%;
  }

  .footer-social {
    max-width: 120px;
  }

  .footer-payments {
    max-width: 200px;
  }
}
