/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f4efe8;
    color: #222;
}

/* HERO */

.hero {

    height: 100vh;

    background-size: cover;
background-position: center;
background-repeat: no-repeat;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.overlay {

    position: absolute;
    inset: 0;

    background:
    rgba(0,0,0,0.25);
}

.hero-content {

    position: relative;
    z-index: 2;

    color: white;

    display: flex;
    flex-direction: column;

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

    text-align: center;
}

.hero-content img {

    width: 90%;
    max-width: 420px;
}

.hero-content p {

    font-family: 'Permanent Marker', cursive;

    font-size: 28px;

    margin: 15px 0;
}

/* BUTTON */

.btn {

    display: inline-block;

    padding: 14px 28px;

    background: #f28c38;

    color: white;

    border-radius: 30px;

    text-decoration: none;

    transition: 0.3s;
}

.btn:hover {

    transform: translateY(-3px);

    background: #e57b27;
}

/* SECTION */

.section {

    padding: 80px 20px;

    max-width: 1100px;

    margin: auto;

    text-align: center;
}

.text {

    max-width: 700px;

    margin: 20px auto;

    line-height: 1.7;
}

/* TITLES */

h2 {

    font-size: 38px;

    margin-bottom: 15px;
}

.highlight {

    font-family: 'Permanent Marker', cursive;

    color: #f28c38;
}

/* CARDS */

.cards{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:50px;
}
.card {

    flex: 1;

    background: white;

    border-radius: 18px;

    overflow: hidden;

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

    transition: 0.3s;

    text-decoration: none;

    color: inherit;
    display: flex;
flex-direction: column;
justify-content: space-between;
}

.card:hover {

    transform: translateY(-5px);
}

.card img {

    width: 100%;

    height: 240px;

    object-fit: cover;
}

.card h3 {

    padding-top: 20px;
}

.card p {

    padding: 15px 20px 25px;
}

/* GALLERY */

.gallery {

    display: flex;

    gap: 15px;

    overflow-x: auto;

    margin-top: 30px;

    padding-bottom: 10px;
}

.gallery img {

    height: 230px;

    border-radius: 15px;

    transition: 0.3s;

    cursor: pointer;
}

.gallery img:hover {

    transform: scale(1.03);
}

/* FORM */

.form {

    display: flex;

    flex-direction: column;

    gap: 15px;

    max-width: 500px;

    margin: 40px auto 0;
}

input,
textarea {

    padding: 15px;

    border-radius: 12px;

    border: 1px solid #ddd;

    font-size: 16px;
}

textarea {

    min-height: 140px;

    resize: vertical;
}

button {

    background: #f28c38;

    color: white;

    padding: 16px;

    border: none;

    border-radius: 12px;

    font-size: 16px;

    cursor: pointer;

    transition: 0.3s;
}

button:hover {

    background: #df7725;
}

/* MAP */

.map {

    width: 100%;

    height: 420px;
}

.map iframe {

    width: 100%;
    height: 100%;
    border: 0;
}

/* WHATSAPP */

.whatsapp {

    position: fixed;

    bottom: 20px;
    right: 20px;

    background: #25D366;

    color: white;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 28px;

    cursor: pointer;

    z-index: 1000;

    opacity: 0;

    transform: translateY(20px);

    transition: 0.3s;
}

.whatsapp.show {

    opacity: 1;

    transform: translateY(0);
}

/* LIGHTBOX - versiune curată */

.lightbox{
    position:fixed;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    background:rgba(0,0,0,.92);
    z-index:999999;
}

.lightbox.show{
    display:flex;
}
.lightbox img{

    max-width:90vw;
    max-height:90vh;

    object-fit:contain;

    border-radius:18px;

    box-shadow:0 10px 40px rgba(0,0,0,.5);

    opacity:1;

    transform:scale(1);

    transition:
        opacity .25s ease,
        transform .25s ease;
}
.close{
position:absolute;
top:20px;
right:30px;
color:#fff;
font-size:48px;
cursor:pointer;
z-index:1000001;
user-select:none;
}
.prev,.next{
position:absolute;
top:50%;
transform:translateY(-50%);
width:70px;
height:70px;
display:flex;
align-items:center;
justify-content:center;
border:none;
border-radius:50%;
background:rgba(255,255,255,.18);
backdrop-filter:blur(8px);
color:#fff;
font-size:56px;
cursor:pointer;
z-index:1000001;
transition:.25s;
user-select:none;
}
.prev:hover,.next:hover{background:rgba(255,255,255,.35);}
.prev{left:20px;}
.next{right:20px;}


.prev,
.next{

    position:absolute;

    top:50%;
    transform:translateY(-50%);

    width:80px;
    height:80px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:none;
    border-radius:50%;

    background:rgba(0,0,0,.35);

    color:#fff;

    font-size:64px;
    font-weight:700;
    line-height:1;

    cursor:pointer;

    z-index:999999;

    transition:.2s;
}

.prev{
    left:20px;
}

.next{
    right:20px;
}

.prev:hover,
.next:hover{
    background:rgba(0,0,0,.55);
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .hero {

        height: 85vh;

        padding: 20px;
    }

    .hero-content p {

        font-size: 22px;
    }

    h2 {

        font-size: 30px;
    }

    .cards {

        flex-direction: column;
    }

    .gallery img {

        height: 180px;
    }

    .map {

        height: 320px;
    }
}
.pret {

    margin: 15px 20px 25px;

    font-size: 20px;

    font-weight: 700;

    color: #f28c38;
}
#adminGallery {

    display: grid;

    grid-template-columns:
    repeat(auto-fill,minmax(180px,1fr));

    gap: 20px;

    margin-top: 30px;
}

.admin-image {

    background: white;

    border-radius: 14px;

    padding: 10px;

    box-shadow:
    0 5px 15px rgba(0,0,0,0.08);

    text-align: center;
}

.admin-image img {

    width: 100%;

    height: 140px;

    object-fit: cover;

    border-radius: 10px;

    margin-bottom: 10px;
}

.admin-image button {

    width: 100%;

    margin-top: 10px;
}
#adminGallery {

    display: grid;

    grid-template-columns:
    repeat(auto-fill, minmax(180px, 1fr));

    gap: 20px;

    margin-top: 30px;
}

.admin-image {

    background: white;

    border-radius: 14px;

    padding: 10px;

    box-shadow:
    0 5px 15px rgba(0,0,0,0.08);

    text-align: center;
}

.admin-image img {

    width: 100%;

    height: 140px;

    object-fit: cover;

    border-radius: 10px;

    margin-bottom: 10px;
}

.admin-image p {

    margin: 10px 0;

    font-weight: 600;
}

.admin-image button {

    width: 100%;
}
#logo {

    width: 320px;

    max-width: 90%;

    display: block;

    margin: 0 auto;
}
.footer{
    background:#222;
    color:white;
    padding:60px 10%;
    margin-top:0;
}

.footer-content{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer h3,
.footer h4{
    margin-bottom:15px;
}

.footer a{
    color:#f79433;
    text-decoration:none;
    display:block;
    margin-bottom:10px;
}

.copyright{
    margin-top:40px;
    text-align:center;
    opacity:.7;
    font-size:14px;
}
/* COOKIES */

.cookie-banner{

    position:fixed;

    bottom:20px;

    left:50%;

    transform:translateX(-50%);

    width:90%;

    max-width:700px;

    background:#222;

    color:white;

    padding:20px;

    border-radius:20px;

    z-index:9999;

    box-shadow:0 10px 30px rgba(0,0,0,.3);
}

.cookie-content{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;
}

.cookie-content p{

    margin:0;

    line-height:1.5;
}

.cookie-content button{

    background:#f79433;

    border:none;

    color:white;

    padding:12px 24px;

    border-radius:12px;

    cursor:pointer;

    font-weight:bold;
}

.cookie-content button:hover{

    opacity:.9;
}

@media(max-width:768px){

    .cookie-content{

        flex-direction:column;

        align-items:flex-start;
    }

    .cookie-content button{

        width:100%;
    }
}
.cookie-buttons{
    display:flex;
    gap:10px;
}

.decline{
    background:#444 !important;
}
/* REGULAMENT */

.regulament{

    max-width:900px;

    margin:auto;

    text-align:center;
}

.regulament-intro{

    max-width:700px;

    margin:20px auto 40px;

    line-height:1.8;

    font-size:18px;

    color:#555;
}

.regulament-box{

    background:white;

    border-radius:18px;

    padding:0;

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

    overflow:hidden;

    text-align:left;
}

.regulament-box summary{

    cursor:pointer;

    list-style:none;

    padding:22px 30px;

    font-size:22px;

    font-weight:700;

    color:#f28c38;

    user-select:none;

    transition:.25s;
}

.regulament-box summary:hover{

    background:#faf7f2;
}

.regulament-box summary::-webkit-details-marker{

    display:none;
}

.regulament-box ul{

    padding:10px 40px 30px;

    line-height:2;

    color:#444;
}

.regulament-box li{

    margin-bottom:8px;
}
.regulament-footer{

    text-align:center;

    padding:25px;

    margin-top:20px;

    border-top:1px solid #eee;

    font-style:italic;

    color:#777;

    background:#fafafa;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.lightbox-actions{

    position:absolute;

    top:20px;

    right:90px;

    z-index:1000002;

}

.share-btn{

    display:flex;

    align-items:center;

    gap:10px;

    width:56px;

    height:56px;

    overflow:hidden;

    padding:0 18px;

    border:none;

    border-radius:999px;

    background:rgba(255,255,255,.9);

    backdrop-filter:blur(12px);

    color:#1d6fa5;

    font-weight:600;

    font-size:15px;

    white-space:nowrap;

    cursor:pointer;

    transition:.35s;

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

}

.share-btn:hover{

    width:280px;

    transform:translateY(-2px);

}

.share-btn::before{

    content:"🌊";

    font-size:22px;

    flex-shrink:0;


}

.share-toast{

    position:fixed;

    bottom:30px;

    left:50%;

    transform:translateX(-50%);

    background:#1d6fa5;

    color:white;

    padding:14px 24px;

    border-radius:999px;

    opacity:0;

    pointer-events:none;

    transition:.35s;

    z-index:9999;

}

.share-toast.show{

    opacity:1;

}