/* BAZA SI RESETARI */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    /* Spatiu pentru bara de jos pe mobil */
    padding-bottom: 0px; 
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* HEADER & BANNER */
.transport-banner {
    background: #ff4757;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
}
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff4757;
}
.main-nav a {
    margin: 0 15px;
    font-weight: 500;
}
.phone-btn {
    background: #2ed573;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
}

/* HERO SECTION - REPARAT */
.hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding: 60px 20px;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 2;
}
.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-weight: 900;
}
.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    font-weight: 500;
}
.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-btn {
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.cta-btn.primary { background: #ff4757; color: white; }
.cta-btn.secondary { background: white; color: #ff4757; }

/* SERVICES GRID */
.services {
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.services h2 {
    font-size: 32px;
    margin-bottom: 40px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding-bottom: 20px;
}
.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.service-card h3 {
    margin: 15px 0;
    font-size: 22px;
}
.service-card h3 a { color: #ff4757; }
.service-card p {
    padding: 0 15px;
    font-size: 16px;
    margin-bottom: 10px;
}
.card-list {
    text-align: left;
    margin: 0 15px 15px 30px;
    font-size: 15px;
}
.price-badge {
    background: #2ed573;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

/* FORMULAR */
.booking-section {
    background: #fff;
    padding: 50px 20px;
}
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #f1f2f6;
    padding: 30px;
    border-radius: 15px;
}
.form-container h2 { text-align: center; margin-bottom: 10px;}
.form-container p { text-align: center; margin-bottom: 20px; font-size: 16px;}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px; /* Prevents iOS zoom */
}
.submit-btn {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 16px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.promotii { text-align: center; margin: 40px 0;}

/* WHEEL MODAL */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 10000; justify-content: center; align-items: center;
}
.modal-content {
    background: white; padding: 30px; border-radius: 20px; text-align: center;
    max-width: 450px; width: 90%; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.close-btn { position: absolute; top: 10px; right: 20px; font-size: 30px; cursor: pointer; color: #555; }
.wheel-container { position: relative; width: 250px; height: 250px; margin: 20px auto; overflow: hidden; border-radius: 50%; border: 5px solid #333;}
.wheel {
    width: 100%; height: 100%; border-radius: 50%;
    background: conic-gradient(#ff4757 0deg 60deg, #2ed573 60deg 120deg, #1e90ff 120deg 180deg, #ffa502 180deg 240deg, #ff6348 240deg 300deg, #3742fa 300deg 360deg);
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    position: relative;
}
.wheel-text {
    position: absolute; width: 50%; height: 20px; top: 50%; left: 50%;
    transform-origin: 0 50%; font-weight: bold; color: white;
    text-align: right; padding-right: 15px; font-size: 12px; margin-top:-10px;
}
.pointer { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); font-size: 40px; color: #333; z-index: 10; }
.spin-btn { background: #ff4757; color: white; border: none; padding: 12px 25px; font-size: 18px; font-weight: bold; border-radius: 30px; cursor: pointer;}
#wheelResult { margin-top: 15px; min-height: 60px;}

/* FOOTER */
footer {
    background: #333; color: white; text-align: center; padding: 30px 20px;
}

/* FLOATING BUTTONS - DESKTOP */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9900;
}
.float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.wa-float { background-color: #25D366; }
.phone-float { background-color: #007bff; }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    body {
        padding-bottom: 90px; /* Spatiu pentru bara de contact fixa */
    }
    
    .main-header {
        flex-direction: column;
        padding: 15px;
        gap: 10px;
    }
    
    .main-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .main-nav a { margin: 0; font-size: 16px; }
    
    .hero-content h1 { font-size: 32px; }
    .hero-content p { font-size: 18px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .cta-btn { width: 100%; }
    
    /* BARA CONTACT FIXA PE MOBIL (CERINTA) */
    .floating-buttons {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        flex-direction: row;
        gap: 0;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: white;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    .float-btn {
        flex: 1;
        border-radius: 0;
        box-shadow: none;
        height: 60px;
        font-size: 16px;
    }
    .wa-float { background-color: #25D366; }
    .phone-float { background-color: #007bff; border-right: 1px solid rgba(255,255,255,0.2); }
}
