/*
 * Stiluri Custom pentru Pagina de Locații - Revelion 2026
 * Fișier: locatii-styles.css
 * Versiune: 1.0
 */

/* ============================================
   WPFORMS - STILIZARE AVANSATĂ CU ICONIȚE
   ============================================ */

/* ASCUNDE iconițele native WPForms (SVG-urile gri) */
.wpforms-field-icon,
.wpforms-icon {
    display: none !important;
}

/* Container principal formular - Mai compact și elegant */
#wpforms-3016 {
    --wpforms-field-size-input-height: 52px !important;
    --wpforms-field-size-input-spacing: 16px !important;
    --wpforms-field-size-font-size: 15px !important;
}

.wpforms-container {
    max-width: 100%;
}

.wpforms-form {
    display: flex;
    flex-direction: column;
    gap: 0; /* Eliminat gap-ul - gestionat de grid */
}

/* Grid layout pentru câmpuri pe același rând (desktop) */
.wpforms-field-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem; /* Redus de la 1.5rem */
}

@media (min-width: 768px) {
    .wpforms-field-container {
        grid-template-columns: repeat(2, 1fr); /* Exact 50% 50% */
        gap: 1rem 1.25rem; /* gap vertical | gap orizontal */
    }
    
    /* Câmpuri care ocupă întreaga lățime (100%) */
    #wpforms-3016-field_2-container, /* Email */
    #wpforms-3016-field_6-container, /* Observații */
    .wpforms-submit-container {
        grid-column: 1 / -1; /* Span pe ambele coloane = 100% */
    }
}

/* Stilizare etichete - Mai subtil și elegant */
.wpforms-field-label {
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    color: hsl(240 10% 20%) !important;
    margin-bottom: 0.5rem !important; /* Redus de la 0.625rem */
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Container câmp cu iconițe */
.wpforms-field {
    position: relative;
}

/* Adaugă iconițe prin pseudo-elements - EMOJI FRUMOASE */
.wpforms-field::before {
    content: '';
    position: absolute;
    left: 14px; /* Redus de la 16px */
    top: calc(50% + 10px); /* Ajustat pentru input mai mic */
    transform: translateY(-50%);
    font-size: 1.35rem; /* Redus puțin de la 1.5rem */
    z-index: 10;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
    line-height: 1;
}

/* Icon pentru Nume */
#wpforms-3016-field_1-container::before {
    content: '👤';
}

/* Icon pentru Telefon */
#wpforms-3016-field_8-container::before {
    content: '📱';
}

/* Icon pentru Email */
#wpforms-3016-field_2-container::before {
    content: '✉️';
}

/* Icon pentru Număr persoane */
#wpforms-3016-field_4-container::before {
    content: '👥';
}

/* Icon pentru Tip meniu */
#wpforms-3016-field_5-container::before {
    content: '🍽️';
}

/* Icon pentru Observații */
#wpforms-3016-field_6-container::before {
    content: '📝';
    top: 44px; /* Ajustat pentru textarea mai mică */
    transform: none;
}

/* Când câmpul are focus, iconița devine mai vizibilă și mai mare */
.wpforms-field:focus-within::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* Ajustare specială pentru textarea */
#wpforms-3016-field_6-container:focus-within::before {
    transform: scale(1.1);
}

/* Stilizare input-uri - Cu spațiu pentru iconițe */
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="number"],
.wpforms-field select,
.wpforms-field textarea {
    width: 100% !important;
    padding: 0.75rem 1rem 0.75rem 3rem !important; /* Redus padding */
    border: 2px solid hsl(240 6% 88%) !important;
    border-radius: 0.875rem !important;
    font-size: 0.9375rem !important;
    font-family: inherit !important;
    background-color: hsl(0 0% 100%) !important;
    color: hsl(240 10% 10%) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
    min-height: 48px !important; /* Redus de la 52px */
}

/* Textarea - Ajustări speciale */
.wpforms-field textarea {
    min-height: 100px !important; /* Redus de la 140px */
    resize: vertical !important;
    padding-top: 0.875rem !important; /* Redus */
    line-height: 1.6 !important;
}

/* Select dropdown */
.wpforms-field select {
    cursor: pointer !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23008080' d='M7 10L2 5h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.25rem center !important;
    padding-right: 3.5rem !important;
}

/* Focus state - Gradient border elegant */
.wpforms-field input:focus,
.wpforms-field select:focus,
.wpforms-field textarea:focus {
    outline: none !important;
    border-color: hsl(174 100% 27%) !important;
    box-shadow: 0 0 0 4px hsl(174 100% 27% / 0.12), 0 4px 6px rgba(0, 128, 128, 0.1) !important;
    background-color: hsl(174 100% 99%) !important;
}

/* Placeholder styling */
.wpforms-field input::placeholder,
.wpforms-field textarea::placeholder {
    color: hsl(240 4% 46%) !important;
    opacity: 0.6 !important;
}

/* Descriere câmp - Mai subtilă */
.wpforms-field-description {
    font-size: 0.8125rem !important;
    color: hsl(240 4% 46%) !important;
    margin-top: 0.625rem !important;
    font-style: italic;
    line-height: 1.5 !important;
    padding-left: 0.25rem;
}

/* Buton Submit - Gradient frumos și efect hover */
.wpforms-submit-container {
    margin-top: 0.25rem !important; /* Redus de la 0.75rem */
}

.wpforms-submit {
    width: 100% !important;
    padding: 0.875rem 2rem !important; /* Redus padding vertical */
    background: linear-gradient(135deg, hsl(174 100% 27%), hsl(174 90% 35%)) !important;
    color: white !important;
    border: none !important;
    border-radius: 0.875rem !important;
    font-weight: 600 !important;
    font-size: 1rem !important; /* Redus de la 1.0625rem */
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px rgba(0, 128, 128, 0.25) !important;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpforms-submit:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 16px rgba(0, 128, 128, 0.35) !important;
    background: linear-gradient(135deg, hsl(174 90% 32%), hsl(174 85% 40%)) !important;
}

.wpforms-submit:active {
    transform: translateY(-1px) !important;
}

/* Animație pentru buton când se trimite */
.wpforms-submit[data-alt-text] {
    position: relative;
}

.wpforms-submit-spinner {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 22px !important;
    height: 22px !important;
}

/* Mesaje de eroare - Stilizate frumos */
.wpforms-error {
    color: #dc2626 !important;
    font-size: 0.8125rem !important;
    margin-top: 0.5rem !important;
    padding: 0.625rem 0.875rem;
    background-color: #fee2e2;
    border-left: 3px solid #dc2626;
    border-radius: 0.5rem;
}

.wpforms-field.wpforms-has-error input,
.wpforms-field.wpforms-has-error select,
.wpforms-field.wpforms-has-error textarea {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

/* Mesaj de succes */
.wpforms-confirmation-container-full {
    padding: 2.5rem !important;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0) !important;
    border-radius: 1.25rem !important;
    text-align: center;
    border: 2px solid #10b981;
}

.wpforms-confirmation-container-full p {
    color: #065f46 !important;
    font-weight: 600;
    font-size: 1.125rem;
    margin: 0 !important;
}

/* Ascunde câmpurile honeypot (anti-spam) */
.wpforms-field[data-field-type="text"][style*="position: absolute"],
#wpforms-3016-field_3-container,
#wpforms-3016-field_7-container {
    display: none !important;
}

/* ============================================
   RESPONSIVE - Mobile optimizations
   ============================================ */

@media (max-width: 767px) {
    /* Iconițe ușor mai mici pe mobile */
    .wpforms-field::before {
        font-size: 1.25rem;
        left: 12px;
    }
    
    /* Padding ajustat pentru mobile */
    .wpforms-field input[type="text"],
    .wpforms-field input[type="email"],
    .wpforms-field input[type="tel"],
    .wpforms-field input[type="number"],
    .wpforms-field select,
    .wpforms-field textarea {
        padding-left: 2.75rem !important;
        padding-right: 0.875rem !important;
        font-size: 0.9375rem !important;
        min-height: 46px !important;
    }
    
    /* Buton compact pe mobile */
    .wpforms-submit {
        padding: 0.875rem 1.5rem !important;
        font-size: 0.9375rem !important;
    }
    
    /* Gap mai mic pe mobile */
    .wpforms-field-container {
        gap: 0.875rem;
    }
}

/* ============================================
   CONTACT INFO CARDS - Îmbunătățiri
   ============================================ */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, hsl(0 0% 100%), hsl(240 5% 98%));
    border-radius: 1rem;
    border: 2px solid hsl(240 6% 90%);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: hsl(174 100% 27% / 0.3);
}

.contact-item > div:first-child {
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(240 10% 20%);
    margin-bottom: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p,
.contact-item a {
    margin: 0;
    font-size: 1rem;
    color: hsl(240 10% 10%);
}

.contact-item a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: hsl(174 100% 27%);
}

/* ============================================
   ANIMAȚII SUBTILE (opțional)
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wpforms-field {
    animation: fadeInUp 0.4s ease-out backwards;
}

.wpforms-field:nth-child(1) { animation-delay: 0.05s; }
.wpforms-field:nth-child(2) { animation-delay: 0.1s; }
.wpforms-field:nth-child(3) { animation-delay: 0.15s; }
.wpforms-field:nth-child(4) { animation-delay: 0.2s; }
.wpforms-field:nth-child(5) { animation-delay: 0.25s; }
.wpforms-field:nth-child(6) { animation-delay: 0.3s; }
.wpforms-field:nth-child(7) { animation-delay: 0.35s; }
.wpforms-submit-container { animation-delay: 0.4s; }

/* ============================================
   ÎMBUNĂTĂȚIRI GENERALE PENTRU SECȚIUNEA CONTACT
   ============================================ */

.contact-form-wrapper {
    background: linear-gradient(135deg, hsl(0 0% 100%), hsl(240 5% 99%)) !important;
    padding: 2.5rem !important;
    border-radius: 1.25rem !important;
    border: 2px solid hsl(240 6% 90%) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

.contact-form-wrapper h3 {
    background: linear-gradient(135deg, hsl(174 100% 27%), hsl(174 90% 35%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}

.contact-form-wrapper > p {
    color: hsl(240 4% 46%);
    margin-bottom: 2rem !important;
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .wpforms-field input,
    .wpforms-field select,
    .wpforms-field textarea {
        background-color: hsl(240 6% 10%) !important;
        color: hsl(0 0% 98%) !important;
        border-color: hsl(240 6% 20%) !important;
    }
    
    .wpforms-field-label {
        color: hsl(0 0% 90%) !important;
    }
    
    .contact-item {
        background: linear-gradient(135deg, hsl(240 6% 12%), hsl(240 6% 15%));
        border-color: hsl(240 6% 20%);
    }
}


.wpforms-container input.wpforms-field-medium, .wpforms-container select.wpforms-field-medium, .wpforms-container .wpforms-field-row.wpforms-field-medium, .wp-core-ui div.wpforms-container input.wpforms-field-medium
 {
    max-width: 100%!important;
}



.wpforms-container .wpforms-field, .wp-core-ui div.wpforms-container .wpforms-field {
    padding: 0!important;
   
}

/* ============================================
   CTA MODULES - Call-to-Action între secțiuni
   Adaugă acest CSS în locatii-styles.css
   ============================================ */

/* Container CTA */
.cta-module {
    padding: 3rem 0;
    background: linear-gradient(135deg, hsl(240 5% 98%), hsl(0 0% 100%));
    position: relative;
    overflow: hidden;
}

/* Varianta pentru ultimul CTA (înainte de contact) */
.cta-module.cta-final {
    background: linear-gradient(135deg, hsl(174 100% 97%), hsl(174 90% 99%));
    padding: 4rem 0;
}

/* Efecte decorative subtile */
.cta-module::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, hsl(174 100% 27% / 0.03), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.cta-module::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, hsl(45 95% 60% / 0.03), transparent);
    border-radius: 50%;
    pointer-events: none;
}

/* Box-ul principal CTA */
.cta-box {
    background: linear-gradient(135deg, hsl(0 0% 100%), hsl(240 5% 99%));
    border-radius: 1.25rem;
    padding: 2.5rem;
    border: 2px solid hsl(240 6% 90%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Hover effect subtil */
.cta-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: hsl(174 100% 27% / 0.3);
}

/* Variantă highlight pentru ultimul CTA */
.cta-box-highlight {
    background: linear-gradient(135deg, hsl(174 100% 99%), hsl(0 0% 100%));
    border: 2px solid hsl(174 100% 27% / 0.2);
}

.cta-box-highlight:hover {
    border-color: hsl(174 100% 27% / 0.4);
    box-shadow: 0 8px 24px rgba(0, 128, 128, 0.12);
}

/* Layout pe desktop */
@media (min-width: 768px) {
    .cta-box {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 3rem;
    }
}

/* Content CTA */
.cta-content {
    flex: 1;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: hsl(240 10% 10%);
    margin: 0 0 0.75rem 0;
    background: linear-gradient(135deg, hsl(174 100% 27%), hsl(174 90% 35%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1rem;
    color: hsl(240 4% 46%);
    margin: 0;
    line-height: 1.6;
}

/* Butoane CTA */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row;
        gap: 1rem;
    }
}

/* Ajustări pentru butoanele din CTA */
.cta-buttons .btn {
    white-space: nowrap;
    min-width: 200px;
    justify-content: center;
}

/* Animație subtilă la hover pe tot modulul */
@keyframes ctaPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.cta-box-highlight:hover {
    animation: ctaPulse 2s ease-in-out infinite;
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .cta-module {
        padding: 2rem 0;
    }
    
    .cta-module.cta-final {
        padding: 2.5rem 0;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-subtitle {
        font-size: 0.9375rem;
    }
    
    .cta-buttons .btn {
        min-width: 100%;
        font-size: 0.9375rem;
        padding: 0.875rem 1.5rem;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .cta-module {
        background: linear-gradient(135deg, hsl(240 6% 12%), hsl(240 6% 15%));
    }
    
    .cta-box {
        background: linear-gradient(135deg, hsl(240 6% 15%), hsl(240 6% 18%));
        border-color: hsl(240 6% 25%);
    }
    
    .cta-title {
        color: hsl(0 0% 95%);
    }
    
    .cta-subtitle {
        color: hsl(0 0% 70%);
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5em;       
}


    :root {
        --gradient-primary: linear-gradient(181deg, hsl(174 100% 22%), hsl(182.77deg 100% 24.48%));
    }

    .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.9));
}


.poster-image {
    width: 100%;
    max-width: 32rem;
    height: auto;
    border-radius: 0.75rem;
    border: 8px solid hsl(315deg 0% 100% / 68%);
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 6px 11px 19px rgba(0, 0, 0, 0.3);
}

/* =============================================
   NOU: LAYOUT PE 2 COLOANE (Desktop)
   ============================================ */

.two-column-layout {
    display: flex;
    flex-direction: column; /* Stivă pe mobil implicit */
    gap: 2.5rem; /* Spațiere între coloane/blocuri */
}

/* Coloana din stânga (Titlu/Scurtă Descriere) */
.column-left {
    flex-shrink: 0; /* Nu se micșorează */
}

/* Coloana din dreapta (Conținut WYSIWYG) */
.column-right {
    flex-grow: 1; /* Ocupă spațiul rămas */
}

/* Stil pentru titlu și subtitlu în acest layout */
/* Le re-definim aici ca să nu suprascriem titlurile din secțiunile vechi */
.two-column-layout .section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-align: left; /* Aliniază la stânga în coloana din stânga */
}

.two-column-layout .section-subtitle {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
}

.wysiwyg-content {
    /* Asigură că elementele din WYSIWYG sunt lizibile */
    line-height: 1.7;
}

.wysiwyg-content p,
.wysiwyg-content ul,
.wysiwyg-content ol {
    margin-bottom: 1rem;
}

.wysiwyg-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

/* Desktop: Trecem la 2 coloane */
@media (min-width: 1024px) {
    .two-column-layout {
        flex-direction: row;
    }
    
    .column-left {
        /* Lățime fixă pentru conținutul de suport */
        width: 300px; 
    }
    
    .column-right {
        /* Asigură spațiu între cele două coloane pe desktop */
        padding-left: 2.5rem;
    }
}