@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

:root {
    --primary-font: 'Cormorant Garamond', serif;
    --secondary-font: 'Nunito', sans-serif;
    --text: #276567;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--text);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    display: none;
    text-decoration: none;
}

.scroll-to-top:hover {
    background-color: black;
    color: white
}

.nav {
    font-family: 'Times New Roman', Times, serif;
    background: #1f3b4d;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-size: 1.3rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links .active {
    color: #a2ffb5;
}

.active:hover {
    cursor: default;
}

.cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 1.8rem;
    transition: transform 0.2s ease;
}

.cart-btn>a {
    color: white;
    text-decoration: none;
}

.cart-btn:hover {
    transform: scale(1.1);
}



.cont1 {
    background-image: url('../../img/back_pic.png');
    background-repeat: round;
}

.cont1.active {
    transform: translateY(100%);
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
}

.cont1.active~* {
    position: relative;
    top: 97vh;
}

.slideshow-container {
    position: relative;
    margin: auto;
}

.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {
        opacity: .5
    }

    to {
        opacity: 1
    }
}

.cont1 .text {
    color: black;
    text-align: center;
}

.cont1 .text p:first-child {
    font-family: var(--primary-font);
    font-size: 3em;
}

.cont1 .text p:last-child {
    font-family: var(--secondary-font);
    font-size: 1.5em;
}

.cont2 {
    background-color: #FFFAFA;
    padding: 50px 0;
}

.logok {
    padding-top: 30px;
    max-width: 70%;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    gap: 30px;
}

.logok img {
    width: 30%;
    height: auto;
}

.log1,
.log2,
.log3,
.log4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logok p {
    flex: 1;
    display: flex;
    align-items: end;
    justify-content: center;
    font-family: var(--secondary-font);
    font-size: 1em;
}

.cont2 .rec {
    max-width: 70%;
    text-align: center;
    margin: 110px auto;
}

.cont2 .rec img {
    width: 100%;
    height: auto;
}

.cont2 .text {
    max-width: 70%;
    margin: 0 auto;
}

.cont2 .text p {
    font-family: var(--primary-font);
    font-size: 3.5em;
    text-align: center;
    color: var(--text);
}

.cont3 {
    max-width: 90%;
    margin: 80px auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 50px 0;
}

.cont3 img {
    width: 100%;
    height: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.cont3 .block1 {
    background-color: #F9FBFC;
    margin: 50px 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.cont3 .block1 p {
    font-family: var(--primary-font);
    color: var(--text);
    padding: 45px 10px 0 10px;
    text-align: center;
    font-size: 1.8em;
}

.cont3 .block1 a {
    font-family: var(--secondary-font);
    text-decoration: none;
    background-color: #EAC5B5;
    text-align: center;
    border-radius: 10px;
    font-size: .8em;
    color: var(--text);
    padding: 10px 5px;
    display: inline-block;
    margin: 40px auto;
    font-weight: bolder;
}

.cont3 .block1 a:hover {
    color: #EAC5B5;
    background-color: var(--text);
    transition: all .5s ease;
}

.cont3 .block2 {
    display: flex;
    flex-direction: column;
}

.cont3 .block2 .block21 {
    text-align: center;
    font-family: var(--primary-font);
    font-weight: bolder;
    color: var(--text);
    font-size: 3em;
    margin-bottom: 25px;
}

.cont3 .block2 .block22 {
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
}

.cont3 .block2 h2 {
    margin-bottom: 10px;
}

.cont3 .block2 .block22 {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
}

.cont3 .card {
    display: flex;
    flex-direction: column;
    width: 300px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #EAC5B5;
}

.cont3 .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.cont3 .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.cont3 .card .text {
    flex-grow: 1;
    padding: 15px;
    text-align: left;
}

.cont3 .card .text h2 {
    font-family: var(--primary-font);
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--text);
}

.cont3 .card .text p {
    font-family: var(--secondary-font);
    font-size: 0.95em;
    color: #555;
    line-height: 1.4em;
}

.cont3 .card .a {
    padding: 15px;
    text-align: center;
    background: #f7f7f7;
}

.cont3 .card .a a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #EAC5B5;
    color: var(--text);
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--secondary-font);
    font-weight: bold;
    transition: all 0.3s ease;
}

.cont3 .card .a a:hover {
    background-color: var(--text);
    color: #fff;
}

.cont4 {
    display: flex;
    justify-content: center;
}

.cont4 .block1,
.cont4 .block2 {
    width: 50%;
}

.cont4 .block1 {
    background-color: #F9FBFC;
    padding: 25px;
    color: var(--text);
}

.cont4 .block1 p:first-child {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1em;
    margin: 25px 0;
}

.cont4 .block1 p:nth-child(2) {
    font-family: var(--primary-font);
    font-size: 2.5em;
    margin-bottom: 25px;
    font-weight: bold;
}

.cont4 .block1 p:nth-child(3),
.cont4 .block1 p:nth-child(4) {
    font-family: var(--secondary-font);
    font-size: 1.1em;
    margin-bottom: 15px;
}

.cont4 .block1 {
    display: flex;
    flex-direction: column;
}

.cont4 .block1 .logo {
    flex: 1;
    align-items: end;
    display: flex;
    justify-content: center;
}

.cont4 .block1 .logo img {
    width: 40%;
}

.cont4 .block2 {
    background-image: url('../../img/fishing.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer1 .cont {
    padding: 25px 0;
    display: flex;
    justify-content: space-evenly;
    background-color: #717171;
    color: white;
    gap: 10px;
    align-items: end;
}

.footer1 .cont .block1 p:first-child {
    font-family: var(--primary-font);
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer1 .cont .block1 p:nth-child(2),
.footer1 .cont .block1 p:nth-child(3),
.footer1 .cont .block1 p:nth-child(4) {
    font-family: var(--secondary-font);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.footer1 .cont .block2 ul {
    list-style: none;
    padding: 0;
}

.footer1 .cont .block2 ul a {
    display: inline-block;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: var(--secondary-font);
}

.footer1 .cont .block3 p,
.footer1 .cont .block3 a {
    margin-bottom: 15px;
    font-family: var(--secondary-font);
    font-size: 1.2rem;
    text-decoration: none;
    color: white;
}

.footer1 .cop {
    text-align: center;
    font-family: var(--secondary-font);
    font-size: 1.2rem;
    color: white;
    padding: 25px 0;
    background-color: #717171;
}

.footer2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    align-items: center;
    padding: 10px 20px;
    color: white;
    background-color: #A37F38;
    font-size: 1.2rem;
}

.footer2 a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-family: "Roboto", serif;
}

.footer2 a::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("../../img/mail.png");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 5px;
}

.footer2 .p {
    font-family: "Roboto", serif;
}

.footer2 p {
    font-family: "Lobster", sans-serif;
    line-height: 1.2rem;
}

.topic {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1.6s ease,
        transform 1.6s ease;
}

.topic.visible {
    opacity: 1;
    transform: scale(1);
}

.topic1 {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1.6s ease, transform 1.6s ease;
}

.topic1.visible {
    opacity: 1;
    transform: translateX(0);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

#kereso-ikon {
    display: none;
}

@media (max-width: 1024px) {

    .nav-links {
        gap: 1rem;
        font-size: 1.1rem;
    }

    .cont3 {
        flex-direction: column;
        text-align: center;
    }

    .cont3 .block1 {
        width: 90%;
        margin: 20px auto;
    }

    .cont3 .block2 .block22 {
        gap: 15px;
    }

    .cont3 .card {
        flex: 0 1 45%;
        max-width: none;
    }

    .logok {
        flex-wrap: wrap;
        max-width: 90%;
    }

    .logok img {
        width: 50%;
    }

    .cont4 {
        flex-direction: column;
    }

    .cont4 .block1,
    .cont4 .block2 {
        width: 100%;
    }

    .cont4 .block2 {
        height: 300px;
    }

    .footer1 .cont {
        flex-wrap: wrap;
        text-align: center;
    }

    .footer1 .cont .block1,
    .footer1 .cont .block2,
    .footer1 .cont .block3 {
        width: 100%;
        margin-bottom: 20px;
    }

    .cont2 .text p {
        font-size: 2em;
    }
}

@media (max-width: 820px) {
    #kereso-form {
        display: none;
    }

    .kereso-container.active #kereso-form {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    #kereso-ikon {
        display: inline-block;
        cursor: pointer;
        font-size: 28px;
        margin-left: 8px;
    }

    .kereso-container.active #kereso-form {
        position: absolute;
        right: 50%;
        transform: translate(50%, 50%);
        background: #fff;
        padding: 6px 10px;
        border-radius: 25px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        align-items: center;
        z-index: 1350;
    }

    #kereso-input {
        min-width: 0;
        width: 160px;
        padding: 8px 12px;
        border-radius: 20px;
        border: 1px solid #ddd;
        font-size: 14px;
    }

    #kereso-javaslatok {
        right: 0;
        left: auto;
        width: 220px;
        z-index: 1400;
    }

    .ikonok {
        display: flex;
        gap: 15px;
        align-items: flex-start;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px 20px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 0.8rem;
        margin-top: 10px;
    }

    .cont1 .text p:first-child {
        font-size: 2em;
    }

    .cont1 .text p:last-child {
        font-size: 1.1em;
        padding: 0 10px;
    }

    .logok {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .logok img {
        width: 40%;
    }

    .cont3 .block2 .block22 {
        flex-direction: column;
        align-items: center;
    }

    .cont3 .block2 .block22 {
        flex-direction: column;
        align-items: center;
    }

    .cont3 .card {
        flex: 1 1 90%;
        width: 90%;
        max-width: 400px;
    }

    .footer1 .cont {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer2 {
        font-size: 1rem;
        padding: 20px;
    }

    .modal-tartalom {
        width: 95%;
        padding: 15px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #1f3b4d;
        position: absolute;
        left: 0;
        padding: 15px 0;
        text-align: center;
        z-index: 999;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 10px 0;
        font-size: 1.2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:first-child {
        border-top: none;
    }
}

@media (max-width: 480px) {
    .logok img {
        width: 25%;
        font-size: 12px;
    }

    .cont2 .rec {
        margin: 10px auto;
    }

    .footer1 .cont .block1,
    .footer1 .cont .block2,
    .footer1 .cont .block3 {
        width: 100%;
        margin-bottom: 0;
    }

    .footer1 .cont .block1 p:first-child {
        font-size: 1.5em;
    }

    .footer1 .cont .block1 p:nth-child(2),
    .footer1 .cont .block1 p:nth-child(3),
    .footer1 .cont .block1 p:nth-child(4),
    .footer1 .cont .block2 ul a,
    .footer1 .cont .block3 p,
    .footer1 .cont .block3 a {
        font-size: 1em;
    }

    .footer1 .cop {
        font-size: 1em;
        padding: 5px 0;
    }

    .logo {
        font-size: 1rem;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .cont1 .text p:first-child {
        font-size: 1.5em;
    }

    .cont1 .text p:last-child {
        font-size: 1em;
    }

    .cont2 .text p {
        font-size: 1.5em;
    }

    .cont3 .block1 p {
        font-size: 1.2em;
    }

    .cont3 .block1 a {
        font-size: 0.8em;
        padding: 8px 10px;
    }

    .footer2 p,
    .footer2 a {
        font-size: 0.9em;
        text-align: center;
    }

    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}