.hero-section {
    background-color: #bd4858;
    height: 25vh;
    min-height: 170px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 20vw;
    overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/1_kep.jpg');
  background-repeat: no-repeat;
  background-position: right 80%;
  background-size: 65% auto;
  opacity: 0.45;
  z-index: 1;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
          to right,
          rgba(189,72,88,1) 0%,
          rgba(189,72,88,1) 35%,
          rgba(189,72,88,0.7) 65%,
          rgba(189,72,88,0.2) 75%,
          rgba(189,72,88,0) 85%
  );

  pointer-events: none;
  z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: normal;
    color: #dde9f7;
    z-index: 3;
    position: relative;
    text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.75);
    padding: 1rem 0;
    margin: 0;
    text-align: left;
    letter-spacing: 2px;
    width: 100%;
    padding-left: 5vw;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #bd4858;
}

.navbar {
    background-color: #c86470;
    border-bottom: 2px solid #e06d7e;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: #e06d7e !important;
    font-weight: bold;
}

.navbar-nav .nav-link {
    color: #bd4858;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #bd4858;
}

.navbar-nav .nav-link.active {
    color: #bd4858;
    font-weight: 600;
    border-bottom: 2px solid #e06d7e;
}

.card {
    font-size: 0.9rem;
}

.card-img-top {
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 1rem;
}

/* Intro szakasz szöveg balra zárása */
.intro-section p,
.intro-section h2 {
    text-align: left;
}

/* Tartalom távolítása az oldal szélétől */
.container {
    padding-left: 3vw;
    padding-right: 3vw;
}

.intro-section {
    padding-left: 2vw;
    padding-right: 2vw;
}

/* További beljebb húzás a szélektől */
.container {
    padding-left: 5vw;
    padding-right: 5vw;
}

.intro-section {
    padding-left: 4vw;
    padding-right: 4vw;
}

/* 1. Kártyák hover effekt */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* 2. Színátmenet sáv a menü alatt */
.navbar::after {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(to right, #f7c3cb, #e06d7e);
}

/* 3. Scroll nyíl a főcím alatt */
.scroll-down {
    color: #bd4858;
    font-size: 1.2rem;
    text-decoration: none;
    animation: pulse 2s infinite;
    display: inline-block;
    margin-top: 1rem;
    z-index: 3;
    position: relative;
}

@keyframes pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Pasztell háttér és elválasztó az intro szekcióhoz */
.intro-section {
    background-color: #ffd7dc;
    border-top: 2px solid #e06d7e;
    border-bottom: 2px solid #e06d7e;
}

.wave-divider {
    line-height: 0;
    margin-top: -1px;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* Tippdoboz stílus */

.wave-divider {
    line-height: 0;
    width: 100vw;
    overflow: hidden;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

.tip-box {
    background: #ffe6ee;
    padding: 1.25rem 2rem;
    border-left: 6px solid #e06d7e;
    font-style: normal;
    margin: 3rem auto 2rem auto;
    border-radius: 6px;
    font-size: 1.1rem;
    color: #4a4a4a;
    max-width: 960px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.tip-box {
    background: #ffe6ee;
    padding: 1.25rem 2rem;
    border-left: 6px solid #e06d7e;
    font-style: normal;
    margin: 3rem auto 2rem auto;
    border-radius: 6px;
    font-size: 1.1rem;
    color: #4a4a4a;
    max-width: 960px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card-img-top {
    max-height: 220px;
    object-fit: cover;
}

.tip-box-container {
    position: relative;
}

.tip-hint {
    position: absolute;
    top: -1.5rem;
    right: 1.5rem;
    background-color: #fef3f7;
    color: #e06d7e;
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-weight: 500;
    z-index: 3;
}

/* Tablet nézet */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .tip-box {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-text {
        font-size: 0.9rem;
    }

    .navbar-brand,
    .nav-link {
        font-size: 1rem;
    }

    .card-img-top {
        max-height: 200px;
    }
}

/* Mobil nézet */
@media (max-width: 576px) {
    .hero-section {
        height: 22vh;
        min-height: 140px;
        padding-right: 10vw;
    }

    .hero-section::before {
        background-position: right 75%;
        background-size: 65%;
    }

    .hero-title {
        font-size: 1.6rem;
        text-align: left;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .tip-box {
        font-size: 0.9rem;
        padding: 0.9rem;
        margin-top: 1rem;
    }

    .tip-hint {
        font-size: 0.75rem;
        top: -1.2rem;
        right: 0.75rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.85rem;
    }

    .footer-contact {
        font-size: 0.85rem;
    }

    .card-img-top {
        max-height: 180px;
    }

    .navbar-brand,
    .nav-link {
        font-size: 0.9rem;
    }

    .list-unstyled li {
        font-size: 0.9rem;
    }
}