/*
Theme Name: Cake Away by Niki
Theme URI: https://cakeawaybyniki.hu
Author: Tárkányi Anita - Pipacs Web
Author URI: https://pipacsweb.hu
Description: Egyedi WordPress sablon a Cake Away by Niki számára.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cakeawaybyniki
*/


@font-face {
  font-family: 'PacificoLocal';
  src: url('fonts/Pacifico-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'QuicksandLocal';
  src: url('fonts/Quicksand-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'QuicksandLocal';
  src: url('fonts/Quicksand-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'QuicksandLocal';
  src: url('fonts/Quicksand-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}



/* ------------------------------------------------------------------- */

:root {
  --bg: #fffafc;
  --ink: #232227;
  --muted: #6e6a75;
  --brand: #FAEED6;
  --brand-600: #E14F74;
  --line: #f0e2e9;
  --topbar-bg: #E14F74;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'QuicksandLocal', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1, h2, .hero-title {
  font-family: 'PacificoLocal', cursive;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-600);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}



.top-bar {
  background-color: var(--brand-600);
  border-bottom: 1px solid var(--brand-600);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  z-index: 1000;
  padding: clamp(0.2rem, 0.8vw, 0.6rem) clamp(0.5rem, 2vw, 2rem);
}

.top-bar-inner {
  max-width: 1200px;
  background-color: var(--brand-600);
  margin: 0 auto;
  margin-bottom: 20px;
  gap: clamp(0.5rem, 1.2vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 0.8vw, 2rem);
  flex-wrap: wrap;
  color: #fff;
  margin-top: 1rem;
}


@media (min-width: 1025px) {
  .top-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .top-wave {
    position: sticky;
    top: var(--topbar-height);
    z-index: 999;
  }
}


.top-wave {
  height: 30px;
  overflow: hidden;
  z-index: 2;
  transform: translateY(-1px);
}

.top-wave svg {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}




.top-phone,
.top-email {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 500;
}

.top-icon {
  width: clamp(14px, 2vw, 20px);
  height: clamp(14px, 2vw, 20px);
  display: inline-block;
  filter: brightness(0) invert(1);
}



.order-button {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  color: #fff;
  padding: clamp(0.3rem, 0.8vw, 0.6rem) clamp(0.8rem, 2vw, 1.2rem);
  border: 2px solid #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-family: 'QuicksandLocal', sans-serif;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
  display: inline-block;
}

.order-button:hover {
  color:#E14F74;
  border: 2px solid #E14F74;
  background: #fff;
}

.order-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shimmer 4s infinite;
}


@keyframes shimmer {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}





.top-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(30px, 3vw, 50px);
  height: clamp(30px, 3vw, 50px);
  font-size: .85rem;
}

.top-social img {
    width: clamp(28px, 3vw, 40px);
    height: clamp(28px, 3vw, 40px);
}







.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  background-image: url('img/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: clamp(3rem, 10vw, 1rem);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.site-header.with-hero {
  background-image: url('img/hero-bg.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 400px;
  z-index: 1;
  position: relative;
  margin-top: -30px;
}





.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  grid-column: 1 / -1;
  margin-bottom: 1.5rem;
}

.logo img {
  width: clamp(250px, 22vw, 320px);
  height: auto;
  justify-content: center;
  margin: 0 auto;
  display: block;
}





.menu-wrapper {
  width: 100%; 
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  grid-column: 1 / -1;
  margin-bottom: 1.5rem;
}

.main-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  grid-column: 1 / -1;
  background-color: var(--bg);
}

.main-menu ul {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 2.4rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-menu ul li {
  position: relative;
}

.main-menu ul li a {
  font-family: 'QuicksandLocal', sans-serif;
  font-size: clamp(1.5rem, 1.8vw, 2rem);
  color: #000;
  text-decoration: none;
  padding: clamp(0.6rem, 2vw, 2.5rem) clamp(0.4rem, 1.8vw, 2rem);
  transition: color 0.3s ease;
  z-index: 1;
  position: relative;
  white-space: nowrap;
}

.main-menu ul li:hover::after {
  opacity: 1;
}

.main-menu ul li:hover a {
  color: #E14F74;
}


@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: none !important;
    }
}


/*.................................................*/

.hero {
  background-color: var(--brand);
  padding: 2rem 0.5rem 1rem;
}

.hero-inner {
  margin: 0 auto;
  text-align: center;
  color: var(--ink);
}

.hero-title {
  font-size: clamp(1.6rem, 4vw, 3rem) !important;
  font-family: 'PacificoLocal', cursive !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}






.sparkle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(20px, 4vw, 40px);
  height: clamp(20px, 4vw, 40px);
  background-image: url('img/menu-icon-1p.png');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  animation: sparkle-move 0.6s ease-out forwards;
  z-index: 2;
}

@keyframes sparkle-move {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.5) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: translateY(-10px) scale(1.2) rotate(20deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scale(0.8) rotate(45deg);
  }
}





.image-marquee {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  user-select: none;
}

.image-marquee:active {
  cursor: grabbing;
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee-track img {
  height: clamp(180px, 22vw, 320px);
  width: auto;
  object-fit: cover;
  pointer-events: none;
}








.highlight {
  color: #E14F74;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  font-weight: 600;
}


.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-family: 'QuicksandLocal', sans-serif;
  line-height: 1.6;
  padding: clamp(0.5rem, 2vw, 2rem) clamp(1rem, 3vw, 4rem);
  margin: 0 auto;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  }

 
.hero-inner h1:last-of-type {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'QuicksandLocal', sans-serif;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-brand-title {
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-brand-name {
  color: var(--brand-600);
}

.hero-button {
  background-color: var(--brand-600);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-button:hover {
  background-color: #000000;
  transform: scale(1.05);
}




.highlight-section {
  background-color: #fff;
  width: 100%;
  margin: 0 auto;
}

.highlight-row-1,
.highlight-row-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(1rem, 3vw, 4rem);
  position: relative;
  overflow: hidden;

  border: 3px solid #E14F74;
  border-radius: 15px;
  padding: clamp(1rem, 2vw, 2rem) clamp(0.5rem, 2vw, 2rem);

  margin: 2rem 1rem;
  background-color: #fffaf3;
}

.highlight-text {
  background-color: #fffaf3;
  text-align: center;
  padding: 0rem;
  flex: 1;
  z-index: 2;
}

.highlight-text .angled-right {
  position: relative;
  flex: 1;
  z-index: 2;
}

.highlight-text h2 {
  font-family: 'PacificoLocal', cursive;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    padding: clamp(1rem, 2.8vw, 2rem);
}

.highlight-text h2 a {
  color: inherit;
  text-decoration: none;
}

.highlight-text h2 a:hover {
  color: var(--brand-600); /* rózsaszín */
}


.highlight-text p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.5;
    padding: 0 clamp(1rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
}

.highlight-images1 {
  flex: 1;
  display: flex;
  position: relative;
  z-index: 1;
}

.highlight-images2 {
  flex: 1;
  display: flex;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.highlight-images1 img,
.highlight-images2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.highlight-images1 a:hover,
.highlight-images2 a:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(225, 79, 116, 0.35);
  outline: 4px solid #E14F74; /* rózsaszín keret */
  outline-offset: -4px;
}


.highlight-images1 a,
.highlight-images2 a {
  display: block;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}


.highlight-images1 a:hover img,
.highlight-images2 a:hover img {
  transform: scale(1.05);
}








.about {
  margin: 2rem 0;
  background-color: var(--brand);
  border-radius: 15px;

  display: flex;
  flex-wrap: nowrap;
  align-items: center;

  padding: clamp(1rem, 2vw, 2rem);
  gap: clamp(1rem, 3vw, 3rem);

  overflow: hidden;
  box-sizing: border-box;
}

.about-inner {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 1rem;
}

.about-inner h2 {
  font-family: 'PacificoLocal', cursive;
  color: #E14F74;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
}

.about-inner p {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.6;
  color: #333;
  margin-bottom: clamp(.5rem, 1vw, 1rem);
}

.about-image {
    flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: left;
}

.about-image img {
  width: clamp(200px, 30vw, 320px);
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  display: block;
  border-radius: 25px;
  border: 4px solid #E14F74;
}



/* ---------------------------------------- */

.footer-wave {
  position: relative;
  height: 30px;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
  background-color: #ffffff;
  width: 100%;
  background-color: var(--brand-600) !important;
}

.footer-wave svg {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
}



.site-footer {
  background-color: var(--brand-600);
  color: #fff;
  font-size: 1rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: 'PacificoLocal', cursive;
}

.footer-col p,
.footer-col li {
  margin: 0.3rem 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid rgba(255,255,255,0.3);
  margin-top: 1.5rem;
  font-size: 1rem;
}

.footer-credit-link {
  color: #fff !important;
  font-weight: 800 !important;
  text-decoration: none;
}

.footer-credit-link:hover {
  color: #000 !important;
  font-weight: 800 !important;
}


.footer-bottom p {
  margin-bottom: 0;
  margin-inline-end: 0;
  padding: 0;
}

.footer-social-icons li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


.backtotop-toggle.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.backtotop-toggle {
  position: fixed;
  right: 16px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFF3DF;      
  border-color: rgba(225, 79, 116, 0.35);
  border: 2px solid #000;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,.6);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: all .3s ease;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}





/* ------- EGYEDI TORTÁK, SÜTEMÉNYEK, RENDELÉS ------- */

.tortak-header,
.sutemenyek-header,
.rendeles-header {
    text-align: center;
    padding: 3rem 1rem 2rem;
    background-color: #fdf0d9;
    border-bottom: 4px solid #E14F74;
}

.tortak-header h1,
.sutemenyek-header h1,
.rendeles-header h1 {
    font-family: 'PacificoLocal';
    font-size: 3rem;
    color: #E14F74;
}

.tortak-subtitle,
.sutemenyek-subtitle,
.rendeles-subtitle {
  font-size: 1.3rem;
  margin-top: 1rem;
  color: #444;
}

.tortak-intro,
.sutemenyek-intro {
  font-size: 1.5rem;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.rendeles-intro p {
  font-size: 1.5rem;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.rendeles-rendeles h2 {
  text-align: center;
  font-family: 'PacificoLocal';
  font-size: 2rem;
  color: #E14F74;
}

.highlight {
  color: #E14F74;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  font-weight: 600;
}

.tortak-rendeles,
.sutemenyek-rendeles,
.rendeles-rendeles {
    text-align: center;
    padding: 3rem 1rem 2rem;
    background-color: #fdf0d9;
}

.tortak-rendeles h2,
.sutemenyek-rendeles h2 {
    font-family: 'PacificoLocal';
    font-size: 2rem;
    color: #E14F74;
}

.tortak-rendeles p,
.sutemenyek-rendeles p,
.rendeles-rendeles p {
  font-size: 1.5rem;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}





.rendeles-lista {
    list-style-position: inside;
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.rendeles-info {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.rendeles-lista li {
    margin-bottom: 1rem;
    padding: 1.2rem 1.5rem;
    background: #fff7f2;
    border: 2px solid #F3D7E1;
    border-radius: 12px;
    list-style: decimal inside;
    line-height: 1.6;
}

.rendeles-lista-header {
  text-align: center;
  margin-bottom: 2rem;
}

.rendeles-lista-img {
  width: clamp(110px, 30vw, 200px);
  max-width: 100%;
  margin: 0 auto 1rem;
  display: block;
}

.rendeles-lista-header h2 {
  font-family: 'PacificoLocal', cursive;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #E14F74;
}








.tortak-contact-links {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.tortak-contact-links {
    margin: 2rem auto 0;
    max-width: 700px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    justify-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: #fff7f2;
    border: 2px solid #E14F74;
    padding: 0.75rem 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    color: #000;
    transition: 0.2s ease;
}

.contact-link img {
    width: 40px;
    height: 40px;
}

.contact-link:hover {
    background: #E14F74;
    color: #fff;
    transform: scale(1.03);
}



/* ------- KAPCSOLAT OLDAL ------- */

.contact-header {
  text-align: center;
  padding: 3rem 1rem 2rem;
  background-color: #fdf0d9;
  border-bottom: 4px solid #E14F74;
}

.contact-header h1 {
  font-family: 'PacificoLocal';
  font-size: 3rem;
  color: #E14F74;
}

.contact-subtitle {
  font-size: 1.3rem;
  margin-top: 1rem;
  color: #444;
}

.contact-content-wrapper {
  max-width: 1100px;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info-box,
.contact-form-box {
  background: #fff7f2;
  border: 4px solid #E14F74;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-info-box h2,
.contact-map h2 {
  font-family: 'PacificoLocal';
  color: #E14F74;
  margin-bottom: 1rem;
}

.contact-map {
  max-width: 1100px;
  margin: 3rem auto;
  text-align: center;
}

.contact-social {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.1rem;
    text-decoration: none;
    color: #E14F74;
    font-weight: 600;
}

.social-link img {
    width: 28px;
    height: 28px;
}
    
.social-link:hover {
    color: #000;
}



/* ------- IMPRESSZUM ------- */

.impresszum-page {
  max-width: 1100px;
  margin: 3rem auto;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background-color: #fffaf3;
  border: 3px solid #E14F74;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  font-family: 'QuicksandLocal', sans-serif;
}

/* CÍM */
.impresszum-page .page-title {
  text-align: center;
  font-family: 'PacificoLocal', cursive;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #E14F74;
  margin-bottom: 2rem;
}

/* Alsó tartalom */
.impresszum-page h3 {
  font-family: 'PacificoLocal', cursive;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #E14F74;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

.impresszum-page p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

/* Linkek */
.impresszum-page a {
  color: #E14F74;
  text-decoration: none;
  font-weight: 600;
}

.impresszum-page a:hover {
  color: #000;
  text-decoration: underline;
}

/* Felsorolások (ha később tennél bele) */
.impresszum-page ul,
.impresszum-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.impresszum-page li {
  margin-bottom: 0.5rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}


@media (max-width: 768px) {
  .impresszum-page {
    margin: 1.5rem;
    padding: 1.5rem;
  }
}

