/* Stílus az utazási helyszínek leírásáshoz */

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #fafafa;
}

/* CONTAINER */
.container {
    max-width: 1300px;
    margin: auto;
    padding: 2.5rem 10%;
}

h2 {
    margin-bottom: 1rem;
    text-align: center;
    color: rgb(0 106 117);
}

/* HERO */

.hero {
    height: 70vh;
    background: url("/img/corfu_web.webp") center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(3px);
}

.hero-content {
    position: relative;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin: 0;
}

.hero p {
    font-weight: 300;
}

/* TOPIC CARDS */
.topic {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    gap: 1rem;
}


.topic-card {
    background: white;
    padding: 0.8rem;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: center;
}

.topic-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 815px) {
    .topic {
        grid-template-columns: auto auto auto;
        gap: 0.5rem;
    }
}
@media (max-width: 440px) {
    .topic {
        grid-template-columns: auto auto;
    }
}

/* INTRO */

.intro {
    text-align: center;
}

.intro p {
    max-width: 1100px;
    margin: auto;
    line-height: 1.6;
}

/* INFO GRID */

.info {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); */
    grid-template-columns: auto auto auto;
    gap: 1.5rem;
}

@media (max-width: 815px) {
    .info {
        grid-template-columns: auto auto;
    }
}
@media (max-width: 550px) {
    .info {
        grid-template-columns: auto;
    }
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

/* PROGRAM and FAQ*/
.program, .faq {
    max-width: 1300px;
}

.program-content, .faq-content {
    background: white(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 1rem;
    padding-bottom: 0px;
    padding-top: 0;
}

.day, .question {
    border-bottom: 1px solid rgb(189, 179, 145, .5);
    padding: 1rem;
}

.day summary, .question summary {
    list-style: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.day summary::before, .question summary::before {
    content: "❯";
    color: rgb(57 184 198);
    margin-right: 10px;
    transition: transform 0.2s ease;
}

.day[open] summary::before {
    transform: rotate(90deg);
}

.question[open] summary::before {
    transform: rotate(90deg);
}

.program ul, .faq ul {
    list-style: none;
    padding: 1rem;
    margin-top: 10px;

    
}

.program li, .faq li {
    padding: .3rem;
}

.program p{
    font-size: .8rem;
    text-align: center;
    margin-bottom: 1rem;
    color:#777;
}

/* PRICE */

.price{
    text-align:center;
}

.price-card{
    max-width:320px;
    margin:30px auto;

    padding:35px 30px;

    background:white;
    border-radius:18px;

    box-shadow:0 15px 40px rgba(0,0,0,0.1);

    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;

    transition:transform .4s ease, box-shadow .4s ease;
}

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

.price-subtitle{
    font-size:0.9rem;
    color:#777;
    margin-bottom: 0px;
}

.amount{
    font-size:2.5rem;
    font-weight:700;
    color:rgb(0, 106, 117);
}

.amount2{
    text-decoration: line-through;
    font-size:2rem;
    font-weight:700;
    color:#666666a4;
}

.note{
    color:#666;
}

.price-include{
    font-size:0.9rem;
    color:#666;
    margin-bottom:10px;
}

.apply{
    width:100%;
    text-align:center;

    font-size:1.1rem;
    padding:12px;

    color:white;
    border-radius:10px;

    background-image:linear-gradient(
        to right,
        rgb(0, 106, 117),
        rgb(57, 184, 198)
    );

    text-decoration:none;

    transition:all .25s ease;
}

.apply:hover{
    transform:scale(.97);

    background-image:linear-gradient(
        to right,
        rgb(0, 73, 82),
        rgb(0, 106, 117)
    );
}


.include-content, .not-include-content {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 1rem;
}

.include-content p::before {
    content: "✔";
    color: rgb(57 184 198);
    font-size: 1rem;
    margin-right: 10px;
}

.not-include-content p::before {
    content: "✖";
    color: rgb(57 184 198);
    font-size: 1rem;
    margin-right: 10px;
}

.tickets{
    margin-top:30px;
    text-align:center;
}

.ticket-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
    margin-top:20px;
}

.ticket-card{
    background:white;
    padding:20px;
    border-radius:14px;

    box-shadow:0 10px 30px rgba(0,0,0,0.08);

    text-decoration:none;
    color:#333;

    transition:.3s;

    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
}

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

.route{
    font-size:1.2rem;
    font-weight:600;
    color:rgb(0 106 117);

    display:flex;
    align-items:center;
    gap:8px;
}



/* =========================
GALLERY
========================= */

.gallery-wrapper{
    margin-top:30px;
    position:relative;
}

.gallery{
    display:flex;
    gap:20px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding:10px;
    scrollbar-width:none;

    scroll-snap-type: x mandatory;
}

.gallery::-webkit-scrollbar{
    display:none;
}

.slide{
   flex:0 0 calc(33.333% - 13px);
    border-radius:12px;
    overflow:hidden;

    scroll-snap-align: start;
}

.slide img{
    width:100%;
    height:300px; /*magassága a képeknek*/
    object-fit:cover;
    cursor:pointer;
    transition:.4s;
}

.slide img:hover{
    transform:scale(1.05);
}


/* arrows */

.gallery-nav, .modal-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:white;
    border:none;
    width:45px;
    height:45px;
    border-radius:50%;
    cursor:pointer;
    font-size:22px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
    z-index:5;
}

.gallery-nav.prev{
    left:-20px;
}

.gallery-nav.next{
    right:-20px;
}

.modal-prev{
    left:50px;
}

.modal-next{
    right:50px;
}

@media (max-width:900px){
    .slide{
        flex: 0 0 50%;
    }
}

@media (max-width:500px){
    .slide{
        flex: 0 0 90%;
    }

    .modal-prev{
        left:10px;
    }

    .modal-next{
        right:10px;
    }
}


/* =========================
ACCOMODATION GALLERY
========================= */
/* =========================
ACCOMODATION INFO CARD
========================= */

.accomodation-info{
    background: white;
    padding: 1.8rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    display: grid;
    gap: 10px;
}


.accomodation-info p{
    margin: 0;
    padding-left: 10px;
    line-height: 1.5;
}

/*-------------*/

.stay-gallery{
    position:relative;
    margin-top:30px;
}

.stay-track{
    display:flex;
    gap:20px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scrollbar-width:none;

    scroll-snap-type: x mandatory;
}

.stay-track::-webkit-scrollbar{
    display:none;
}

.stay-slide{
    flex:0 0 calc(33.333% - 14px);
    border-radius:12px;
    overflow:hidden;

    scroll-snap-align: start;
}

.stay-slide img{
    width:100%;
    height:260px; /*magassága a képeknek*/
    object-fit:cover;
    cursor:pointer;
    transition:.4s;
}

.stay-slide img:hover{
    transform:scale(1.05);
}


/* arrows */

.stay-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:white;
    border:none;
    width:45px;
    height:45px;
    border-radius:50%;
    cursor:pointer;
    font-size:22px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
    z-index:5;
}

.stay-arrow.stay-prev{
    left:-20px;
}

.stay-arrow.stay-next{
    right:-20px;
}

/* responsive */

@media (max-width:900px){
    .stay-slide{
        flex:0 0 50%;
    }
}

@media (max-width:500px){
    .stay-slide{
        flex: 0 0 90%;
    }
}


/* =========================
MODAL
========================= */

.image-modal{
    display:none;
    position:fixed;
    z-index:9999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);

    justify-content:center;
    align-items:center;
}

.modal-image{
    display:block;
    margin:0;
    max-width:90%;
    max-height:85vh;
    border-radius:10px;
}

.image-close{
    position:absolute;
    top:25px;
    right:35px;
    color:white;
    font-size:40px;
    cursor:pointer;
}

/* =========================
GOOGLE MAPS
========================= */

iframe {
  width: 100%; /* Reszponzív szélesség */
  height: 300px;
  border: 0;
  border-radius: 8px; /* Lekerekített sarkok */
}