/*
 * Αγάπης Δώρο — frontend CSS
 *
 * Loaded after parent + child style.css. Keep this file focused on what theme.json
 * can't express: keyframes, scoped layouts, print styles, WC template overrides.
 */

/* --- Homepage: suppress Blocksy's default page-title block --------------- */
body.home .entry-header,
body.home .page-title,
body.home .ct-container > header.page-header,
body.home [class*="ct-hero"] {
  display: none !important;
}
body.home.page .entry-content,
body.home .ct-container {
  margin-top: 0;
  padding-top: 0;
}

/* --- Web fonts ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* --- Custom properties -------------------------------------------------- */
:root {
  --agapis-primary: #7d9ea7;
  --agapis-primary-light: #a8c4cc;
  --agapis-secondary: #ca898a;
  --agapis-secondary-light: #e0b0b1;
  --agapis-secondary-dark: #b36e6f;
  --agapis-bg-cream: #faf6f2;
  --agapis-bg-rose: #fdf0ef;
  --agapis-text-dark: #2d2a2a;
  --agapis-text-body: #5a5656;
  --agapis-radius-sm: 12px;
  --agapis-radius-md: 20px;
  --agapis-radius-lg: 32px;
  --agapis-shadow-soft: 0 4px 24px rgba(0,0,0,0.06);
  --agapis-shadow-medium: 0 8px 40px rgba(0,0,0,0.10);
  --agapis-transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================================================
   REUSABLE: Section header
   ======================================================================== */
.agapis-section-header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-inline: 1rem;
}

.agapis-section-tag {
  display: inline-block;
  padding: 6px 20px;
  font-family: var(--wp--preset--font-family--display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wp--preset--color--paper);
  background: linear-gradient(135deg, var(--agapis-primary), var(--agapis-secondary));
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.agapis-section-tag--light {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.agapis-section-title {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 600;
  color: var(--agapis-text-dark);
  margin: 0.5rem 0;
  line-height: 1.2;
}

.agapis-section-title--light { color: #fff; }

.agapis-section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--agapis-primary), var(--agapis-secondary));
  margin: 0.75rem auto;
  border-radius: 2px;
}

.agapis-section-line--light {
  background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0.3));
}

.agapis-section-desc {
  font-size: 1.1rem;
  color: var(--agapis-text-body);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.5;
}

.agapis-section-desc--light { color: rgba(255,255,255,0.85); }

/* ========================================================================
   HERO
   ======================================================================== */
.agapis-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.agapis-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

.agapis-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 600px;
}

.agapis-hero-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.1);
  transition: background 0.3s, transform 0.2s;
  margin-bottom: 1.5rem;
}

.agapis-hero-call-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.agapis-hero-call-btn svg { stroke: #fff; }

/* Crest — transparent, logo floats on hero */
.agapis-crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.agapis-crest img {
  max-width: 280px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.35));
}

.agapis-hero-quote {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.15rem, 4vw, 1.55rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  margin: 1rem 0 1.5rem;
}

.agapis-hero-icons {
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.agapis-hero-icons a {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.agapis-hero-icons a:hover {
  transform: translateY(-2px);
}

.agapis-hero-icons img {
  display: block;
}

.agapis-hero-address {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.agapis-hero-address svg { stroke: #fff; }

.agapis-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: clamp(60px, 10vw, 120px);
  background: linear-gradient(180deg, transparent 0%, var(--agapis-bg-cream) 100%);
  z-index: 3;
}

/* ========================================================================
   FADE QUOTE (with rose variant)
   ======================================================================== */
@keyframes agapis-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.agapis-fade-quote {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  padding-block: clamp(3rem, 6vw, 5rem);
  padding-inline: 1.5rem;
}

.agapis-fade-text {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 400;
  font-style: italic;
  color: var(--agapis-primary);
  font-size: clamp(1.2rem, 3.5vw, 1.55rem);
  line-height: 1.45;
  margin: 0;
}

.agapis-fade-quote--rose {
  background: var(--agapis-bg-rose);
}

.agapis-fade-quote--rose .agapis-fade-text {
  color: var(--agapis-secondary-dark);
}

.agapis-fade-decoration {
  width: 60px;
  height: 2px;
  margin: 0.75rem auto;
  background: linear-gradient(90deg, transparent, var(--agapis-primary), transparent);
}

.agapis-fade-quote--rose .agapis-fade-decoration {
  background: linear-gradient(90deg, transparent, var(--agapis-secondary), transparent);
}

/* JS-driven fade-in */
.agapis-fade-quote.is-primed { opacity: 0; }
.agapis-fade-quote.is-primed.is-visible { animation: agapis-fade-up 0.9s ease-out forwards; }

@media (prefers-reduced-motion: reduce) {
  .agapis-fade-quote.is-primed { opacity: 1; }
  .agapis-fade-quote.is-primed.is-visible { animation: none; }
}

/* ========================================================================
   CONTACT CTA CARD
   ======================================================================== */
.agapis-contact-cta-section {
  max-width: 700px;
  margin-inline: auto;
}

.agapis-contact-cta-card {
  position: relative;
  background: #fff;
  border-radius: var(--agapis-radius-lg);
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--agapis-shadow-soft);
  text-align: center;
  overflow: hidden;
}

.agapis-contact-cta-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(202,137,138,0.12) 0%, transparent 65%);
  pointer-events: none;
}

/* ========================================================================
   GALLERY SCROLL (horizontal snap carousel)
   ======================================================================== */
.agapis-gallery-section {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  overflow: hidden;
}

.agapis-gallery-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 1.25rem 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.agapis-gallery-scroll::-webkit-scrollbar { display: none; }

.agapis-gallery-card {
  flex: 0 0 72%;
  scroll-snap-align: start;
  border-radius: var(--agapis-radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--agapis-shadow-soft);
  border: 1px solid rgba(125,158,167,0.06);
  cursor: pointer;
  transition: transform 0.2s ease;
  aspect-ratio: 3 / 4;
}

.agapis-gallery-card:hover {
  transform: translateY(-2px);
}

.agapis-gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (min-width: 480px) {
  .agapis-gallery-card { flex: 0 0 48%; }
}
@media (min-width: 768px) {
  .agapis-gallery-card { flex: 0 0 35%; }
}
@media (min-width: 1024px) {
  .agapis-gallery-card { flex: 0 0 28%; }
}

/* Gallery arrows (desktop only) */
.agapis-gallery-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  box-shadow: var(--agapis-shadow-soft);
  cursor: pointer;
  z-index: 10;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.agapis-gallery-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.agapis-gallery-arrow svg {
  stroke: var(--agapis-text-dark);
  fill: none;
}

.agapis-gallery-arrow--left { left: 0.75rem; }
.agapis-gallery-arrow--right { right: 0.75rem; }

@media (min-width: 768px) {
  .agapis-gallery-arrow { display: flex; }
}

/* ========================================================================
   PRODUCT CAROUSEL (reuses gallery scroll structure)
   ======================================================================== */

/* Product cards: make the <a> fill the card for the caption overlay */
.agapis-product-card a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: inherit;
}

/* Caption bar overlaid at the bottom of the card image */
.agapis-product-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  padding: 2rem 1rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: #fff;
  font-family: var(--wp--preset--font-family--display);
}

.agapis-product-brand {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.agapis-product-price {
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ========================================================================
   VIDEO SECTION
   ======================================================================== */
.agapis-video-section {
  padding: clamp(2rem, 4vw, 3.5rem) 1.25rem;
  max-width: 1200px;
  margin-inline: auto;
}

.agapis-video-wrapper {
  max-width: 360px;
  margin: 0 auto;
  border-radius: var(--agapis-radius-lg);
  overflow: hidden;
  box-shadow: var(--agapis-shadow-medium);
}

.agapis-welcome-video {
  display: block;
  width: 100%;
  height: auto;
}

/* ========================================================================
   EASTER / OPENING HOURS
   ======================================================================== */
.agapis-easter-section {
  padding: clamp(2rem, 4vw, 3.5rem) 1.25rem;
  background: var(--agapis-bg-cream);
}

.agapis-easter-hours {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--agapis-radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--agapis-shadow-soft);
}

.agapis-hours-table {
  margin-top: 1rem;
}

.agapis-hours-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  border-radius: 8px;
}

.agapis-hours-row:nth-child(even) {
  background: #f0f5f7;
}

.agapis-hours-row--header {
  font-weight: 700;
  font-family: var(--wp--preset--font-family--display);
  color: var(--agapis-primary);
  border-bottom: 2px solid var(--agapis-primary);
  border-radius: 0;
}

.agapis-hours-row--header + .agapis-hours-row {
  margin-top: 0.25rem;
}

/* ========================================================================
   MAP SECTION
   ======================================================================== */
.agapis-map-section {
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
  background: linear-gradient(135deg, var(--agapis-primary) 0%, #5d8089 100%);
  position: relative;
}

.agapis-map-container {
  max-width: 900px;
  margin: 0 auto 2rem;
  border-radius: var(--agapis-radius-lg);
  overflow: hidden;
  box-shadow: var(--agapis-shadow-medium);
}

.agapis-map-container iframe {
  display: block;
}

.agapis-map-info-card {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--agapis-radius-lg);
  border: 1px solid rgba(255,255,255,0.2);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: #fff;
}

.agapis-map-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .agapis-map-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agapis-map-info-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.agapis-map-info-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.agapis-map-info-icon svg { stroke: #fff; }

.agapis-map-info-item strong {
  display: block;
  margin-bottom: 0.15rem;
}

.agapis-map-info-item p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.agapis-map-info-item a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.agapis-map-section .agapis-call-cta {
  background: #fff;
  color: var(--agapis-primary);
}

.agapis-map-section .agapis-call-cta:hover {
  background: var(--agapis-bg-cream);
}

/* ========================================================================
   CONTACT + HOURS SECTION
   ======================================================================== */
.agapis-contact-section {
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
  background: var(--agapis-bg-cream);
  max-width: 100%;
}

.agapis-contact-section .agapis-contact-cta-card {
  max-width: 700px;
  margin: 0 auto 2rem;
}

.agapis-hours-card {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--agapis-radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--agapis-shadow-soft);
}

.agapis-regular-hours {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.agapis-hours-day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
}

.agapis-hours-day:last-child { border-bottom: none; }

.agapis-hours-day-name {
  font-weight: 500;
  color: var(--agapis-text-dark);
}

.agapis-hours-day-time {
  color: var(--agapis-text-body);
  text-align: right;
}

.agapis-hours-day--closed .agapis-hours-day-time {
  color: var(--agapis-secondary);
  font-weight: 600;
}

/* ========================================================================
   BRANDS CAROUSEL (infinite auto-scroll)
   ======================================================================== */
.agapis-brands-section {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  overflow: hidden;
}

.agapis-brands-carousel {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

@keyframes agapis-brands-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.agapis-brands-track {
  display: flex;
  gap: 2rem;
  animation: agapis-brands-scroll 40s linear infinite;
  width: max-content;
}

.agapis-brands-carousel:hover .agapis-brands-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .agapis-brands-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
}

.agapis-brand-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 80px;
  padding: 0.5rem;
}

.agapis-brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.8;
  transition: filter 0.3s, opacity 0.3s;
}

.agapis-brand-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ========================================================================
   FLOATING CALL BUTTON
   ======================================================================== */
.floating-call {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--agapis-secondary);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(202,137,138,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  opacity: 0;
  pointer-events: none;
}

.floating-call.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-call:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(202,137,138,0.5);
}

.floating-call svg {
  stroke: #fff;
  fill: none;
}

.call-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--agapis-secondary);
  animation: agapis-pulse 2s ease-out infinite;
}

@keyframes agapis-pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ========================================================================
   WILL-REVEAL (IntersectionObserver fade-up)
   ======================================================================== */
.will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.will-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .will-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================================================
   LIGHTBOX
   ======================================================================== */
.agapis-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.agapis-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.agapis-lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  pointer-events: none;
}

.agapis-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================================================
   CONTACT ICONS ROW (kept from original)
   ======================================================================== */
.agapis-contact-icons {
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
  justify-content: center;
  flex-wrap: wrap;
  padding-block: 1rem;
}

.agapis-contact-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.agapis-contact-icons a:hover {
  transform: translateY(-2px);
}

.agapis-contact-icons img,
.agapis-contact-icons svg {
  width: clamp(40px, 7vw, 56px);
  height: clamp(40px, 7vw, 56px);
  display: block;
}

/* ========================================================================
   CALL CTA BUTTON (kept from original)
   ======================================================================== */
.agapis-call-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--wp--custom--radius--pill);
  background: var(--wp--preset--color--brand-rose);
  color: var(--wp--preset--color--paper);
  font-family: var(--wp--preset--font-family--display);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: var(--wp--custom--shadow--md);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.agapis-call-cta:hover {
  background: var(--wp--preset--color--brand-rose-deep);
  transform: translateY(-1px);
  box-shadow: var(--wp--custom--shadow--lg);
  color: var(--wp--preset--color--paper);
}

/* ========================================================================
   MOBILE STICKY CATEGORY CHIPS (kept from original)
   ======================================================================== */
.agapis-chip-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  overflow-x: auto;
  background: var(--wp--preset--color--paper);
  border-bottom: 1px solid var(--wp--preset--color--cream-deep);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.agapis-chip-nav::-webkit-scrollbar { display: none; }

.agapis-chip-nav__chip {
  flex: 0 0 auto;
  padding: 0.45rem 1rem;
  border-radius: var(--wp--custom--radius--pill);
  background: var(--wp--preset--color--cream);
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
}

.agapis-chip-nav__chip.is-active,
.agapis-chip-nav__chip:hover {
  background: var(--wp--preset--color--brand-rose);
  color: var(--wp--preset--color--paper);
}

@media (min-width: 900px) {
  .agapis-chip-nav { display: none; }
}

/* ========================================================================
   BLOCKSY HEADER OVERRIDES
   ======================================================================== */
/* Hide plain text site title — logo only */
.site-title { display: none !important; }

/* Transparent header on homepage hero */
body.home header[data-id="type-1"],
body.home .ct-header-container {
  background: transparent !important;
  box-shadow: none !important;
}

/* On scroll, restore solid header */
body.home .ct-header-container[data-sticky="yes"] {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}

/* Header nav links styling */
header .ct-header a {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 500;
}

/* Custom logo size in header */
.site-logo-container img,
header .ct-image-container img {
  max-height: 50px;
  width: auto;
}

/* ========================================================================
   BLOCKSY FOOTER — hide default, show custom
   ======================================================================== */
footer.ct-footer,
footer[data-id] {
  display: none !important;
}

/* Custom branded footer */
.agapis-custom-footer {
  background: #2d2a2a;
  color: rgba(255,255,255,0.8);
  padding: clamp(2rem, 4vw, 3rem) 1.5rem;
  text-align: center;
}

.agapis-footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.agapis-footer-logo {
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1) opacity(0.9);
}

.agapis-footer-brand p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.agapis-footer-phone a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 500;
}
.agapis-footer-phone a:hover { color: #fff; }

.agapis-footer-social {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin: 1.25rem 0;
}

.agapis-footer-social a {
  display: inline-flex;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0.75;
}
.agapis-footer-social a:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.agapis-footer-social img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.agapis-footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1rem;
}
.agapis-footer-copy a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}
.agapis-footer-copy a:hover { color: #fff; }

/* ========================================================================
   HOMEPAGE LAYOUT — remove max-width constraints
   ======================================================================== */
body.home .entry-content > *,
.agapis-homepage > * {
  max-width: none;
}

body.home .ct-container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
