@font-face {
    font-family: "TAN Harmoni";
    src: url("fonts/Harmoni.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Helvetica";
    src: url("fonts/Helvetica.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Amsterdam Four";
    src: url("fonts/amsterdam-four.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Agrandir";
    src: url("fonts/Agrandir Regular 400.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

/* Oldal belső margói */
.site {
    padding: 0 120px;
}

/* Body */
body {
    font-family: "Agrandir", sans-serif;
    margin:0;
	background: #f8f5f2;
    color: #000000;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #702544;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px 20px 0 20px;
    overflow: visible;
}

/* HEADER oldalsó elemek */
.header-left {
    position: absolute;
    left: 0px;
    top: 0px;
}

.header-right {
    position: absolute;
    right: 40px;
    top: 20px;
    text-align: right;
    display: flex;
    flex-direction: column;
}

/* MODASSI / STYLE */
.modassi-title {
    font-family: "TAN Harmoni", serif;
    font-size: 52px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin: 0;
}

.modassi-sub {
    font-family: "Helvetica", sans-serif;
    font-size: 18px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin: -15px 0px 0px 0px;
}

/* TITLE IMAGE */
.title-img {
    position: relative;
    margin-top: 20px;
    z-index: 5;
}

.title-img img {
    display: block;
    max-width: 220px;
    height: auto;
    margin-bottom: -50%;
}

/* MAIN */
main {
    padding:20px;
}

/* TITLE */
.title-title {
    font-family: "Amsterdam Four", serif;
    font-size: 46px;
    line-height: 1;
    margin: 120px 0 0 0;
    padding: 20px 0 0 0;
    text-align: center;
}

/* INTRO SECTION */
.intro {
    margin-top: 60px;
	margin-left: 20px;
	margin-right: 25px;
}

.intro.collapsed .intro-full {
    display: none;
}

.intro:not(.collapsed) .intro-short {
    display: none;
}

.intro-title {
    font-family: "Amsterdam Four", serif;
    font-size: 30px;
    line-height: 1;
    padding-bottom: 15px;
	margin-top: 30px;
	margin-left: 10px;
}

.intro-grid {
    display:flex;
    gap:20px;
    align-items:center;
}

/* SERVICES GRID */
.services-grid {
    align-items: start;
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* SERVICE CARD */
.service-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    position: relative;
}

.service-card:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.service-card .intro-title {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Image */
.service-card.collapsed .service-img {
    display: block;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.service-card.expanded .service-img {
    display: none;
}

/* Content */
.service-content {
    display: none;
	margin-bottom: 15px;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

.service-card.expanded .service-content {
    display: block;
}

/* CTA BUTTON */
.service-card .cta {
    display: inline-block;
    padding: 10px 16px;
    background: #8c2f55;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.25s ease;
}

.service-card .cta:hover {
    background: #702544;
}

.service-card .cta {
    pointer-events: auto;
}

/* REVIEWS */
.review {
    margin-bottom:20px;
}

.reviewer {
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:8px;
}

/* FOOTER */
footer {
  position: relative;
  top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px 40px;
  position: relative;
}

.footer-left {
  color: #702544;
  font-size: 14px;
}

.footer-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #702544;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
  z-index: 1;
}

.footer-center .footer-link {
  color: #702544;
  text-decoration: none;
  font-weight: 500;
  margin: 0 5px;
  transition: color 0.2s ease;
}

.footer-center .footer-link:hover {
  color: #501a33;
}

/* CONTACT BLOCK (desktop) */
.footer-contact {
    position: absolute;
    right: 25px;
    bottom: 25px;
    color: #702544;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact .row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-decoration: none;
    color: #702544;
    font-size: 16px;
    gap: 10px; /* <<< ikon és szöveg között 10px */
}

.footer-contact i {
    font-size: 16px;
    width: 16px; /* nem kell 20px, ha gap-et használunk */
    text-align: center;
    margin-right: 0; /* <<< már nincs szükség marginra */
}

.footer-contact span {
    display: inline-block;
    min-width: 128px;
    text-align: left; /* <<< balra zárás */
}

.footer-contact .row:hover {
    color: #8c2f55;
}

.footer-contact .row:hover i {
    color: #8c2f55;
}

/* INTRO – MOBILE */
@media (max-width: 950px) {
    .intro-grid {
        flex-direction: column;
        text-align: left;
    }

    .intro-img {
        order: 1;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }

    .intro-text {
        order: 2;
    }
}

/* MOBILE */
@media (max-width: 768px) {

  .site {
        padding: 0 20px;  /* középre kerül minden */
  }

  /* Bal oldali logó */
  .header-left {
    transform: scale(0.6);
    transform-origin: top left; /* ne csússzon el */
  }

  .header-left img {
    width: 200px; /* eredeti méret marad */
    height: auto;
  }

  /* Jobb oldali MODASSI + STYLE blokk */
  .header-right {
    transform: scale(0.7);
    transform-origin: top right; /* helyén marad */
  }

  .title-img img {
        max-width: 120px;   /* kb. fele az eredeti 220px-nek */
        margin-bottom: -50%; /* arányosan kisebb igazítás */
  }
  .intro-img {
        max-width: 350px;
  }

  footer {
    padding: 20px 20px;
    min-height: 150px;
	top: 0px;
  }

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

  /* 1 — CONTACT TOP */
  .footer-contact {
    position: static !important;
    transform: none !important;
    right: auto !important;
    bottom: auto !important;
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: center;
  }

  .footer-contact .row {
    justify-content: center;
  }

  /* 2 — CENTER LINKS */
  .footer-center {
    position: static !important;
    transform: none !important;
    text-align: center;
    order: 2;
    width: 100%;
  }

  /* 3 — COPYRIGHT BOTTOM */
  .footer-left {
    position: static !important;
    text-align: center;
    order: 3;
    width: 100%;
  }
}
/* HOMÁLYOSÍTOTT HÁTTÉR */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
    display: none;
    z-index: 999;
}

/* ELVÁLASZTÓ VONAL */
.section-divider {
    width: 100%;
    height: 1px;
	background: rgba(112, 37, 68, 0.2); /* halvány bordó */
    margin: 50px 0;                /* távolság a szekcióktól */
}

/* POPUP ALAP */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    max-width: 600px;
    width: 90%;
    background: transparent; /* belső doboz adja a fehér hátteret */
    padding: 0;
    border-radius: 14px;
    z-index: 1000;
    pointer-events: auto;
}

/* TARTALOM (ez a doboz lesz fehér és görgethető) */
.popup-content {
  background: #ffffff;
  padding: 2.5rem 2rem 2rem 2rem; /* több felső padding, hogy a gomb ne takarja a szöveget */
  border-radius: 12px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;           /* abszolút pozícionált gombhoz */
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  box-sizing: border-box;
}

/* SZÍNEK */
.popup h2,
.popup h3 {
    color: #702544;
    font-weight: bold;
}

.popup p,
.popup li {
    color: #333;
}

/* LINKOK */
.popup a {
    color: #702544;
    text-decoration: underline;
}
.popup a:hover {
    color: #8c2f55;
}

/* BEZÁRÓ GOMB - mindkét osztályra alkalmazzuk a stílust (.popup-close és .close-popup) */
.popup-close,
.close-popup {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #702544; /* bordó (a kívánt szín) */
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  z-index: 1010; /* a popup-content fölé */
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

/* Hover állapot */
.popup-close:hover,
.close-popup:hover {
  background: #8c2f55;
}

/* MOBIL */
@media (max-width: 600px) {
  .popup-content {
    padding: 20px;
  }
  .popup-close,
  .close-popup {
    width: 34px;
    height: 34px;
    top: 10px;
    right: 10px;
    font-size: 1rem;
  }
}

