@font-face {
    font-family: 'Andreas';
    src: url('AndreasRegular-GOGvy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Cormorant Garamond', serif;
    --font-cursive: 'WindSong', cursive;
    --color-background: #f9f5f3;
    --color-text: #5c5c5c;
    --color-heading: #333333;
    --color-footer-bg: #75846f;
    --color-footer-bar: #ba9987;
    --color-wavy-brown: #c3a899;
    --color-border: #e8e4e0;
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    margin: 0;
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.page-gallery .about .container {
  padding-bottom: 0;
  padding-top: 0;    
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h2, h3 {
    font-family: var(--font-secondary);
    color: var(--color-heading);
    font-weight: 400;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    background-color: #ffffff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    border-bottom: 1px solid var(--color-border);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo a {
    font-family: 'WindSong', cursive;
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--color-heading);
    transition: color 0.3s ease;
}

.logo a:hover {
    color: #b78a9d;
}


.banner img {
    width: 100%;
    object-fit: cover;
}

.about {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
}

.quote {
    font-family: 'WindSong', cursive;
    font-style: normal;
    font-size: 4.2rem;
    text-align: center;
    margin: 0 0 50px 0;
    color: #b7c4af;
    letter-spacing: 0.03em;
}

.page-gallery .about {
  padding-top: 60px; 
  padding-bottom: 10px; 
}

.page-gallery .quote {
  margin: 0; 
}

.about__box {
    background-color: #fff;
    border: 2px solid #b7c4af;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(138, 115, 92, 0.08);
    display: flex;
    align-items: center;
    padding: 40px;
    gap: 40px;
}

.about__portrait {
    flex-shrink: 0;
    width: 250px;
}

.about__portrait img {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.about__text {
    line-height: 1.65;
}

.about__text h2 {
    margin-top: 0;
    font-size: 2.2rem;
}

.about__signature {
    font-family: var(--font-secondary);
    font-style: italic;
    font-size: 1.5rem;
    margin-top: 10px;
}

.separator.separator--hero {
    position: relative;
    min-height: 800px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.cta__button.cta__button--on-separator {
    position: relative;
    z-index: 3;
    padding: 28px 70px;
    background-color: #fff;
    border: 1px solid #8a9182;
    font-family: 'Andreas', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #333333;
    border-radius: 4px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1), inset 0 0 0 4px #fbf9f6;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 250px;
}

.cta__button.cta__button--on-separator:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12), inset 0 0 0 4px #fbf9f6;
    background-color: #fdfdfd;
}

.cards {
    padding: 80px 0;
}

.cards__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(138, 115, 92, 0.08);
}

.card {
    background-color: #fff;
    box-shadow: 0 8px 40px rgba(138, 115, 92, 0.08);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition-fast);
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
    position: relative;
}
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card__title {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 12px 20px;
    width: 80%;
    box-sizing: border-box;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-radius: 2px;
}

.card__title h3 {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    font-weight: 500;
    font-family: var(--font-primary);
    color: var(--color-heading);
}

.card:hover .card__title {
    transform: translateX(-50%) translateY(-10px);
    box-shadow: 0 15px 50px rgba(138, 115, 92, 0.12);
}

@media (max-width: 992px) {    
 .about__box {
        flex-direction: column;
        text-align: center;
    }

    .cards__container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .header__container {
        padding: 0 20px;
    }

    .about, .cards {
        padding: 60px 0;
    }

    .quote {
        font-size: 2.8rem;
        margin-bottom: 30px;
    }

    .about__box {
        padding: 20px;
        gap: 20px;
    }

    .about__portrait {
        width: 200px;
    }

    .about__text h2 {
        font-size: 1.8rem;
    }

    .separator.separator--hero {
        min-height: 350px;
    }

    .cta__button.cta__button--on-separator {
        padding: 18px 30px;
        font-size: 1.2rem;
    }

    .cards__container {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .card img {
        height: 350px;
    }
}

.footer {
    background-color: var(--color-footer-bg);
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h4 {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-logo {
    font-family: 'WindSong', cursive;
    font-size: 2.5rem;
    font-weight: 500;
    color: #ffffff;
    display: block;
    margin-bottom: 15px;
    transition: var(--transition-fast);
}

.footer-logo:hover {
    opacity: 0.9;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 250px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-list a {
    font-size: 0.9rem;
    transition: var(--transition-fast);
    position: relative;
    padding-left: 0;
}

.footer-nav-list a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-column .footer__socials {
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
}

.footer__socials a {
    transition: var(--transition-fast);
}
.footer__socials a:hover {
    transform: scale(1.15);
}

.footer__socials img {
    height: 30px;
    width: 30px;
    filter: none;
}

.footer__cta-button {
    background-color: #fff;
    color: var(--color-text);
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer__cta-button:hover {
    background-color: transparent;
    color: #fff;
}

.footer-bottom-bar {
    background-color: var(--color-footer-bar);
    padding: 15px 0;
    margin-top: 50px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-column {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-nav-list a:hover {
        padding-left: 0;
    }
    .footer-column .footer__socials {
        justify-content: center;
    }
}

.contact-hero {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
    border-bottom: 1px solid var(--color-border);
}

.contact-hero .quote {
    margin-bottom: 10px;
}

.contact-hero h2 {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
}

.contact-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--color-text);
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background-color: #fff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(138, 115, 92, 0.08);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.contact-info p {
    margin-bottom: 20px;
}

.contact-info a {
    color: var(--color-footer-bg);
    font-weight: 500;
    transition: var(--transition-fast);
}

.contact-info a:hover {
    opacity: 0.8;
}

.contact-socials-title {
    margin-top: 40px;
}

.contact-info .footer__socials img {
    filter: invert(48%) sepia(13%) saturate(580%) hue-rotate(58deg) brightness(96%) contrast(89%);
}

.form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-heading);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-footer-bg);
}

.form-button {
    background-color: var(--color-footer-bg);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 100%;
}

.form-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-hero h2 {
        font-size: 2rem;
    }
    .contact-grid {
        padding: 20px;
    }
}
.gallery-grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  .gallery-grid img {
    width: 100%; height: 260px; object-fit: cover; display: block;
    border-radius: 10px; cursor: zoom-in;
  }
  .lb {
    position: fixed; inset: 0; display: none;
    background: rgba(0,0,0,0.9); z-index: 1000;
    align-items: center; justify-content: center; padding: 24px;
  }
  
  .lb.is-open { 
  display: flex; 
  }
  
  .lb__stage { 
  position: relative; 
  max-width: min(92vw, 1200px); 
  max-height: 86vh; 
  margin: 0; 
  }
  
  .lb__stage img { 
  width: auto;          
  height: auto;
  max-width: 100%;      
  max-height: 100%;
  display: block;
  border-radius: 8px;
  cursor: zoom-out;
  }
  
  .lb__stage img.is-portrait {
  max-height: 75vh;    
  max-width: 60vw;    
}

.lb__stage img.is-landscape {
  max-height: 80vh;
  max-width: 90vw;
}
  
  .lb__nav, .lb__close {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: #fff; width: 44px; height: 44px; border-radius: 999px;
    display: grid; place-items: center; font-size: 28px; cursor: pointer;
    backdrop-filter: blur(6px);
  }
  .lb__prev { left: 24px; }
  .lb__next { right: 24px; }
  .lb__close {
    top: 24px; right: 24px; transform: none; font-size: 32px;
  }
  .lb__nav:hover, .lb__close:hover { background: rgba(255,255,255,0.22); }
  .lb__stage figcaption {
    color:#fff; text-align:center; margin-top: 12px; font: 500 14px/1.4 Inter, system-ui, sans-serif;
  }
  @media (max-width: 640px){
    .gallery-grid img{ height: 180px; }
    .lb__prev{ left: 12px; } .lb__next{ right: 12px; }
  }
  
  .page-home #rolam {
  scroll-margin-top: -120px; /* kb. a menü magassága */
}

html {
  scroll-behavior: smooth;
}

.page-fullimages .full-bleed-page { 
  margin: 0;
}

.page-fullimages .full-bleed {
  margin: 0;
  padding: 0;
}

.page-fullimages .full-bleed:first-child {
  margin-top: 0;
}


.page-fullimages .full-bleed img {
  display: block;
  width: 100%;
  height: auto;          
  image-rendering: auto; 
}

/* ===== HEADER új, tiszta és működő verzió ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.header__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

/* logó */
.logo a {
  font-family: 'WindSong', cursive;
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-heading);
  text-decoration: none;
  transition: color 0.3s ease;
}
.logo a:hover { color: #b78a9d; }

/* menü desktop nézet */
.header__nav {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

.header__menu {
  display: flex;
  flex-direction: row;  /* <-- ez a kulcs! */
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}


.header__menu a {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.header__menu a:hover { color: var(--color-heading); }

.header__menu a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-heading);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.header__menu a:hover::after,
.header__menu a.active::after {
  transform: scaleX(1);
}

/* hamburger alapállapot (desktopon rejtve) */
.header__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.header__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-heading);
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.2s;
}

/* ===== MOBIL nézet ===== */
@media (max-width: 992px) {
  .header__container {
    padding: 0 20px;
  }

     .header__mobile-toggle {
    display: inline-block;
    z-index: 200;
  }

     .header__nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-10%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }


     .header.is-open .header__nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

     .header__menu {
  flex-direction: column;
  align-items: flex-end;  /* <-- ez jobbra igazítja a linkeket */
  text-align: right;      /* <-- a szövegek is jobbra kerülnek */
  gap: 20px;
  padding: 20px 24px 20px 0;
}


  /* hamburger átváltozik X-re */
  .header.is-open .header__mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .header.is-open .header__mobile-toggle span:nth-child(2) {
    opacity: 0;
  }
  .header.is-open .header__mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}





