/* Resetare stiluri implicite */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Asigurare afișare corectă pe toate dispozitivele */
html, body {
    width: 100%;
    overflow-x: hidden; /* Previne scrollbar-ul orizontal */
}

/* Eliminare margini inutile și păstrarea unei structuri flexibile */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Asigurare că toate imaginile sunt responsive */
img {
    max-width: 100%;
    height: auto;
}


/* Fundalul întregii pagini */
body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Butoane pentru schimbarea limbii */
.language-switcher {
    position: absolute;
    top: 70px;
    left: 20px;
    z-index: 3;
}

.lang-button {
    background-color: #333;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 10px;
}

.lang-button:hover {
    background-color: #555;
}

/* Logo-ul în partea dreaptă sus */
.logo-container {
    position: absolute;
    top: 70px;
    right: 30px;
    z-index: 2;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 135px;
    height: 135px;
    display: block;
    object-fit: cover;
}

/* Meniu de navigare fixat pe pagină */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.2em;
    padding: 12px 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: #007bff;
    transform: scale(1.1);
}

/* Secțiuni de pe pagină */
section {
    padding: 100px 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#home {
    background: url(imagini/fundal.jpg) no-repeat center center/cover;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

#despre, #rezervari, #contact, #recenzii, #login, {
    background: #f9f9f9;
    border-bottom: 2px solid #ddd;
}

/* Titluri secțiuni */
h1, h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
}

p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

/* Footer */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Despre Noi */
#despre {
    background: #f1f1f1;
    border-bottom: 2px solid #ddd;
    padding: 60px 20px;
    text-align: center;
    min-height: 60vh;
}

#despre h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

#despre p {
    font-size: 1.2em;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Butoane pentru call to action */
#despre .cta-button {
    background-color: #007bff;
    color: white;
    font-size: 1.4em;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    margin-top: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#despre .cta-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Stiluri pentru butoanele de secțiune */
.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.button-group button {
    background-color: #007bff;
    color: white;
    font-size: 1.2em;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    width: auto;
}

.button-group button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}


/* Stil pentru imagini și galerie */
.image-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.image-gallery img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


/* Secțiunea rezervări - stil modern și aliniere corectă */
/* Stilizare secțiune recenzii */
#recenzii {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

/* Stil pentru fiecare recenzie */
.review {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 300px;
    flex: 1;
    min-width: 280px;
}

.review h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.review p {
    font-size: 16px;
    margin: 5px 0;
    color: #555;
}

.review em {
    font-size: 14px;
    color: #777;
}

.review strong {
    color: #007bff;
}

/* Responsivitate pentru ecrane mai mici */
@media screen and (max-width: 768px) {
    .reviews-container {
        flex-direction: column;
        align-items: center;
    }

    .review {
        max-width: 100%;
        min-width: auto;
    }
}

/* Buton CTA stilizat */
.cta-button {
    background: #0056b3;
    color: white;
    font-size: 1.2em;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #004494;
    transform: scale(1.05);
}

/* Stilizare generală pentru pagina de contact */
#contact {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
    margin-top: 20px;
}

#contact h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#contact p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.cta-button {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

.email-button {
    background-color: #28a745;
}

.call-button {
    background-color: #ffc107;
}

/* Harta Google - Dimensiuni mărite */
.google-map {
    margin-top: 40px;
    text-align: center;
}

.google-map iframe {
    border-radius: 10px;
    border: none;
    width: 95%; /* Harta ocupă aproape toată lățimea */
    max-width: 1100px; /* Mai mare pentru ecrane mari */
    height: 600px; /* Înălțime mai mare pentru claritate */
}

/* Ajustare pentru mobil */
@media screen and (max-width: 768px) {
    .google-map iframe {
        width: 100%; /* Pe mobil ocupă toată lățimea */
        height: 500px; /* Mai înaltă pentru vizibilitate mai bună */
    }
}

/* Responsivitate */
@media screen and (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        padding: 12px 0;
    }
}

/* Stilizare secțiune recenzii */
#recenzii {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

/* Stil pentru fiecare recenzie */
.review {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 300px;
    flex: 1;
    min-width: 280px;
}

.review h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.review p {
    font-size: 16px;
    margin: 5px 0;
    color: #555;
}

.review em {
    font-size: 14px;
    color: #777;
}

.review strong {
    color: #007bff;
}

/* Responsivitate pentru ecrane mai mici */
@media screen and (max-width: 768px) {
    .reviews-container {
        flex-direction: column;
        align-items: center;
    }

    .review {
        max-width: 100%;
        min-width: auto;
    }
}


/* Buton CTA stilizat */
.cta-button {
    background: #0056b3;
    color: white;
    font-size: 1.2em;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #004494;
    transform: scale(1.05);
}
#recenzii {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.review {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 15px;
    width: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.reviewer-info {
    font-size: 1em;
    font-weight: bold;
}

.review-text {
    font-size: 0.9em;
    color: #666;
}

/* Formular adăugare recenzie */
.add-review {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 30px auto;
}

.cta-button {
    background: #004494;
    color: white;
    font-size: 1.2em;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #002d72;
    transform: scale(1.03);
}


/* Containerul chatbot */
#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* Butonul flotant */
#chatbot-toggle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

#chat-icon {
    width: 100%;
    height: auto;
    filter: drop-shadow(0px 0px 8px rgba(0, 255, 255, 0.8));
    transition: transform 0.3s;
}

#chatbot-toggle:hover #chat-icon {
    transform: scale(1.1);
}

/* Fereastra chatbot */
#chatbot-window {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    border-radius: 15px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    overflow: hidden;
    color: #333;
}

/* Header chatbot */
#chatbot-header {
    background: #f1f1f1;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#close-chat {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Zona mesajelor */
#chatbot-messages {
    height: 250px;
    padding: 10px;
    overflow-y: auto;
    font-size: 14px;
}

/* Mesaj utilizator */
.user-message {
    text-align: right;
    background: #00bcd4;
    padding: 6px 10px;
    border-radius: 5px;
    margin: 5px 0;
    display: inline-block;
}

/* Mesaj chatbot */
.bot-message {
    text-align: left;
    background: #ddd;
    padding: 6px 10px;
    border-radius: 5px;
    margin: 5px 0;
    display: inline-block;
}

/* Inputul chatbot */
#chatbot-input {
    display: flex;
    border-top: 1px solid #ccc;
}

#chatbot-text {
    flex-grow: 1;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 14px;
}

#send-chat {
    background: #00bcd4;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
}

/* Stiluri de focus revizuite pentru a îmbunătăți accesibilitatea fără box-shadow */
a, button, input, textarea, select {
    transition: background-color 0.3s ease-in-out, color 0.3s ease;
}

a:focus, button:focus, input:focus, textarea:focus, select:focus {
    background-color: #e1f5fe; /* O culoare de fundal deschisă pentru a evidenția focusul */
    color: #333; /* Schimbăm culoarea textului pentru contrast mai mare */
}

/* Asigurăm că butoanele de schimbare a limbii nu sunt prea distractive */
.lang-button:focus {
    background-color: #007bff; /* Mai închis la focus pentru vizibilitate */
    color: white;
}
:focus {
    outline: 2px dashed #007bff; /* Schimbarea conturului pentru vizibilitate îmbunătățită */
}

/* Stilizare specială pentru responsive */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        text-align: center;
    }

    .reviews-container {
        flex-direction: column;
        align-items: center;
    }

    .review {
        width: 90%;
    }

    .add-review {
        width: 90%;
    }

    .cta-button {
        padding: 12px 18px;
    }
}
/* Harta Google */
.google-map {
    margin-top: 40px;
    text-align: center;
}

.google-map iframe {
    border-radius: 10px;
    border: none;
    width: 100%;
    max-width: 2000px; /* Ușor mai mare pentru ecranele mari */
    height: 900px; /* Ușor mai înaltă pentru vizibilitate mai bună */
}

/* Micșorare hartă pe mobil */
@media screen and (max-width: 768px) {
    .google-map iframe {
        max-width: 95%; /* Mai lat pe mobil, dar păstrând margini */
        height: 350px; /* Un pic mai mare decât înainte */
    }
}

/* Micșorare hartă pe mobil */
@media screen and (max-width: 768px) {
    .google-map iframe {
        max-width: 90%; /* Harta va ocupa maxim 90% din ecran */
        height: 300px; /* Înălțime mai mică pentru un aspect compact */
    }
}
/* Ajustare logo și butoane de schimbare a limbii pe ecrane mai mici */
@media screen and (max-width: 1024px) {
    .logo-container {
        position: absolute;
        top: 100px; /* Mută logo-ul mai jos */
        right: 30px;
        z-index: 2;
    }
  .logo {
        width: 100px; /* Dimensiune mai mică */
        height: 100px;
    }

    .language-switcher {
        position: absolute;
        top: 100px; /* Mută butoanele de schimbare a limbii mai jos */
        left: 20px;
        z-index: 3;
    }
}

/* Ajustare pentru tablete */
@media screen and (max-width: 768px) {
    .logo-container {
        top: 120px; /* Încă puțin mai jos */
        right: 20px;
    }

    .language-switcher {
        top: 120px; /* Încă puțin mai jos */
        left: 15px;
    }
}
@media screen and (max-width: 768px) {
    .lang-button {
        font-size: 14px; /* Reducere dimensiune font */
        padding: 8px 12px; /* Ajustare padding */
        border-radius: 4px; /* Colțuri mai mici */
    }
}
/* Ajustare pentru telefoane mici */
@media screen and (max-width: 480px) {
    .logo-container {
        top: 130px; /* Coborâm și mai mult */
        right: 15px;
    }
  .logo {
        width: 80px; /* Mai mic pentru telefoane */
        height: 80px;

    .language-switcher {
        top: 130px; /* Coborâm și mai mult */
        left: 10px;
    }
}
  @media screen and (max-width: 480px) {
    .lang-button {
        font-size: 12px; /* Micșorare suplimentară */
        padding: 6px 10px; /* Ajustare padding */
    }
}

/* Meniu pe toate dispozitivele - menținere orizontală */
@media screen and (max-width: 1024px) {
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 10px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap; /* Asigură încadrarea corectă */
        gap: 20px; /* Reduce spațierea */
        padding: 0;
        list-style: none;
    }

    nav ul li {
        display: inline-block;
    }

    nav ul li a {
        text-decoration: none;
        color: white;
        font-size: 1em;
        padding: 10px 15px;
        transition: background-color 0.3s ease, transform 0.3s ease;
        border-radius: 5px;
        display: inline-block;
    }

    nav ul li a:hover {
        background-color: #007bff;
        transform: scale(1.05);
    }
}

/* Ajustare meniu pentru ecrane mai mici (telefoane) */
@media screen and (max-width: 768px) {
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 15px 0;
    }

    nav ul {
        flex-direction: row; /* Menține meniul orizontal */
        flex-wrap: nowrap;
        justify-content: center;
    }

    nav ul li a {
        font-size: 0.9em;
        padding: 8px 12px;
    }
}

/* Ajustare pentru ecrane foarte mici (sub 480px) */
@media screen and (max-width: 480px) {
    nav ul {
        gap: 10px;
    }

    nav ul li a {
        font-size: 0.85em;
        padding: 6px 10px;
    }
}
/* Propozitii - Prima literă cu majusculă */
p, h1, h2, h3, h4, h5, h6 {
    text-transform: capitalize;
}

/* Butoane - Prima literă cu majusculă */
button, .cta-button, .lang-button {
    text-transform: capitalize;
}
 @media screen and (min-width: 768px) and (max-width: 1024px) {
    /* Ajustare meniu */
    nav {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 0;
    }

    nav ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        padding: 10px 0;
    }

    nav ul li {
        display: inline-block;
    }

    nav ul li a {
        font-size: 1.1em;
        padding: 10px 12px;
    }

    /* Ajustare butoane de schimbare a limbii */
    .language-switcher {
        position: absolute;
        top: 100px; /* Ajustează poziția ca să nu se suprapună */
        left: 20px;
    }

    .lang-button {
        padding: 8px 14px;
        font-size: 14px;
    }

    /* Ajustare logo */
    .logo-container {
        top: 80px; /* Ajustează poziția pentru aliniere corectă */
        right: 30px;
    }

    .logo {
        width: 120px; /* Ușor mai mic pentru încadrate mai bună */
        height: 120px;
    }

    /* Ajustare fundal meniu pentru claritate */
    nav {
        background-color: rgba(0, 0, 0, 0.85);
    }
}

  
  @media screen and (max-width: 320px) {
    .logo-container {
        top: 1px; /* Ridicăm logo-ul mai mult */
        right: 5px;
        width: 75px; /* Reducem ușor dimensiunea */
        height: 75px;
    }

    .logo {
        width: 75px;
        height: 75px;
    }


    /* Ajustare butoane schimbare limbă */
    .language-switcher {
        top: 15px; /* Ridicăm butoanele */
        left: 5px;
    }

    .lang-button {
        font-size: 10px; /* Reducem fontul */
        padding: 4px 8px; /* Micșorăm padding-ul */
        border-radius: 3px;
    }

    /* Ajustare meniu */
    nav ul {
        gap: 5px; /* Micșorăm distanța între elemente */
    }

    nav ul li a {
        font-size: 12px; /* Micșorăm fontul */
        padding: 6px 10px; /* Reducem padding-ul */
    }

    /* Asigurăm că meniul nu suprapune logo-ul */
    nav {
        padding: 6px 0;
    }
}

  .favicon-icon {
    width: 48px;
    height: 48px;
}

  .impressum-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: left;
}

.impressum-container h2 {
    color: #444;
    font-size: 1.5em;
    margin-top: 20px;
}

.impressum-container p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
}

.impressum-container a {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}

.impressum-container a:hover {
    text-decoration: underline;
}
  footer {
    position: relative;
    z-index: 10;
}

/* Stilizare pentru butoanele social media */
.social-media-container {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 1000 !important;
}

.social-media {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

/* Butoane social media */
.social-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    transition: transform 0.3s ease !important;
}

/* Efect hover */
.social-icon:hover {
    transform: scale(1.1) !important;
}

/* Iconuri */
.social-icon img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    background: none !important;
}

/* ✅ Stil pentru fundalul modal */
.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* ✅ Containerul pentru conținutul modal */
#share-products-modal {
    background: white;
    width: 50%;
    max-width: 600px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}

/* ✅ Butonul de închidere */
.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* ✅ Stil pentru titlu */
#share-products-modal h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ✅ Stil pentru lista regulilor */
#share-products-modal ul {
    text-align: left;
    padding: 10px;
    list-style: none;
}

#share-products-modal ul li {
    margin: 5px 0;
    display: flex;
    align-items: center;
}

/* ✅ Adaugă iconițe colorate pentru reguli */
#share-products-modal ul li::before {
    content: "✔️";
    color: green;
    margin-right: 10px;
}

#share-products-modal ul li:nth-child(4)::before {
    content: "❌";
    color: red;
}

#share-products-modal ul li:nth-child(5)::before {
    content: "⚠️";
    color: orange;
}

/* ✅ Stil pentru secțiunea de confirmare */
#share-products-form {
    text-align: left;
    margin-top: 15px;
}

#share-products-form label {
    display: block;
    margin-bottom: 8px;
}

#accept-rules {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

/* ✅ Stiluri responsive */
@media (max-width: 768px) {
    #share-products-modal {
        width: 90%;
    }
}
