
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Ubuntu:wght@400;500;700&display=swap");


@import url("https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap");


:root {
    --primary-color: #367e9d;
    --white-color: #fff;
    --brown1: #f4e7d6;
    --brown2: #edd9c7;
    --brown3: #cbb6a5;
    --brown4: #a58c73;
    --brown5: #927a69;
    --brown6: #554235;    
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "poppins",sans-serif;
}

/*UTILITY CLASSES START*/

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    overflow: hidden;
}
img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
a {
    text-decoration: none;
}
.heading-normal-txt {
    font-size: 1.2rem;
    letter-spacing: 6px;
    color: var(--primary-color);
}
.headings {
    font-size: 3rem;
    font-family: "ubuntu";
    padding-bottom: 2rem;
    letter-spacing: 2px;
}
.headings span {
    color: var(--primary-color);
}
.secondary-headings {
    font-size: 2.5rem;
    font-family: "ubuntu";
    padding: 1rem 0;
}
.lead {
    font-size: 1.1rem;
    line-height: 2;
    text-align: justify;
}
.primary-btn {
    width: 50%;
    outline: none;
    background-color: var(--primary-color);
    border: none;
    padding: 0.7rem;
    font-size: 1rem;
    border-radius: 4px;
    color: var(--white-color);
    cursor: pointer;
}

/*UTILITY CLASSES ENDS*/

/*HEADER STARST*/

header {
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 6;
    width: 100%;
    height: 100;
    transition: all 0.3s ease-in-out;
    background: rgba(0, 0, 0, 0.2);    
}
header.sticky {
    background-color: rgb(165, 13, 13);
}
.logo {
    text-align: center;
}
.logo p {
    font-family: "Alex Brush", cursive;
    color: var(--white-color);
    font-size: 3rem;
    font-weight: 900;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
nav ul {
    list-style-type: none;
    display: flex;
}
nav ul li {
    margin: 0 0.9rem;
    position: relative;
}
nav ul li a {
    color: var(--white-color);
    font-size: 1.1rem;
}
nav ul li::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 0;
    width: 0;
    height: 3px;
    opacity: 0;
    transition: all 0.3s ease-in;
}
nav ul li:hover::before {
    opacity: 1;
    width: 100%;
}
.btn {
    font-size: 1.3rem;
    color: var(--white-color);
    cursor: pointer;
    display: none;
}

/*HEADER ENDS*/


.search {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.search img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}
.search .content {    
    color: #fff;    
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;  /* Középre igazítja a tartalmat vízszintesen */
    justify-content: center; /* Középre igazítja a tartalmat függőlegesen */
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;    
    background-color: #a5a3a353;
    border-top: 1px solid rgba(255, 255, 255, 0.381);
    backdrop-filter: blur(10px);
    padding: 1rem;
    width: auto; /* Biztosítja, hogy a szélesség rugalmas maradjon */
}
.search h1 {
    font-size: 2.65rem;
    font-weight: 600;
}
.search p {
    font-size: 1.5rem;
    margin-top: 8px;
}

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}
.gallery .images {
    gap: 15px;
    max-width: 95%;
    margin-top: 40px;
    columns: 5 340px;
}
.images .card {
   display: flex;
   overflow: hidden;
   position: relative;
   list-style: none; 
   margin-bottom: 14px;
   border-radius: 4px;
}
/* A .details osztály módosítása letöltési ikon nélkül */
.images .card .details {
    position: absolute;
    bottom: -100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    transition: bottom 0.1s ease;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.card .details button {
    cursor: pointer;
    padding: 3px 8px;
    font-size: 1.1rem;
    background: #fff;
}
.images img{
    width: 100%;
}

.lightbox {
    position: fixed;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0,0,0,0.65);
}
.lightbox.show {
    display: block;
}
.lightbox .wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    padding: 20px;
    max-width: 850px;
    background: #fff;
    border-radius: 5px;
    transform: translate(-50%, -50%);
}
.wrapper header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}
header .photographer {
    color: #333;
    margin-left: 25px;
}
header .photographer i{
    font-size: 1.7rem;
}
header .photographer span{
    font-size: 1.2rem;
}
header .buttons i {
    width: 40px;
    height: 40px;
    margin-right: 25px;
    color: #fff;
    cursor: pointer;
    text-align: center;
    line-height: 40px;
    background: #8a6cff;
    font-size: 1.2rem;
    display: inline-block;
}
.buttons i:last-child {
    margin-left: 10px;
    background-color: #6c757d;
}
.preview-img {
    display: flex;
    margin-top: 25px;
    justify-content: center;
}
.wrapper .preview-img .img {
    max-height: 65vh;
    max-width: 90vh;
}
.preview-img .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/*FOOTER STARTS*/

#footer {
    padding: 2rem 0;
    background: rgb(165, 13, 13);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--light-grey-color);
}
.ft-content {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    color: var(--white-color);
}

.icon i {
    padding: 0.7rem;
    font-size: 2rem;
    background: rgb(206, 155, 25);
}
.content {
    padding: 1rem;
}
.footer-wraper {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Az 'about' rész 2x szélesebb, a map pedig 1x */
    padding-top: 1rem;
    grid-gap: 2rem;
    color: var(--white-color);
    margin: 1rem 0;
}
.about h1 {
    font-size: 50px;
    font-family: "Alex Brush", cursive;
}
.social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
}
.social-icons i {
    background: rgb(206, 155, 25);
    color: var(--white-color);
    padding: 0.5rem;
    font-size: 1.3rem;
    margin: 1rem 0;
    border-radius: 50%;
    cursor: pointer;
}
.about .lead {
    font-size: 0.95rem;
    margin-top: 1rem;
}

.map {
    justify-self: end; /* A map elem igazítása jobbra a grid-en belül */
    width: 100%;       /* A térkép kitölti a rendelkezésre álló szélességet */
    height: auto;      /* Magasság automatikus, hogy illeszkedjen az iframe méretéhez */
}

.map iframe {
    width: 100%;       /* Az iframe szélessége a szülő elemhez igazodik */
    height: 170px;     /* Az iframe magassága, hogy ne takarjon a következő részre */
}

.footer {
    clear: both;       /* Ezzel biztosítod, hogy a footer ne legyen átfedésben a felette lévő elemekkel */
    border-top: 1px solid var(--white-color);
    padding-top: 1rem; /* Elegendő hely biztosítása a footer felső része és a térkép között */
}
.footer h3 {
    text-align: center;
    color: var(--white-color);
    font-weight: 100;
    font-size: 0.8rem;
}

/*FOOTER ENDS*/




/* Tablet kijelzők: 768px vagy kisebb */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .search h1 {
        font-size: 2rem;
    }
    .search p {
        font-size: 1.2rem;
    }
    
    .footer h3 {
        font-size: 1.2rem;
    }
}

/* Kis kijelzők: 576px vagy kisebb */
@media (max-width: 576px) {
    
    .search h1 {
        font-size: 1.5rem;
        margin-top: -120px;
    }
    .search p {
        font-size: 1rem;
    }
    
    
    

    
    .about h1 {
        font-size: 2rem;
    }
    .footer h3 {
        font-size: 1rem;
    }
    .map iframe {
        height: 200px;
    }
}

/* Mobil kijelzők: 320px vagy kisebb */
@media (max-width: 320px) {
    .logo p {
        font-size: 2.5rem;
    }
    .search h1 {
        font-size: 1.5rem;
    }
    .search p {
        font-size: 0.9rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer h3 {
        font-size: 0.9rem;
    }
    .map iframe {
        height: 150px;
    }
}
