@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F5E7D5;
    color: #0A2E3B;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* HEADER */
.site-header {
    background-color: #0A2E3B;
    color: white;
    padding: 10px 0;
}
.logo img {
    height: 70px;
}
.main-nav {
    display: flex;
    gap: 20px;
}
.main-nav a {
    color: white;
    font-weight: 600;
    text-decoration: none;
}
.main-nav a:hover {
    text-decoration: underline;
}

/* FOOTER */
.site-footer {
    background: #0A2E3B;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
.site-footer a {
    color: #C94530;
}

/* GDPR */
.gdpr-banner {
    font-size: 14px;
    background: #0A2E3B;
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.3);
}

/* SECTIONS */
.section {
    padding: 60px 20px;
}
.section h2 {
    font-weight: 600;
    color: #C94530;
    font-size: 28px;
    margin-bottom: 30px;
}

/* FEATURES */
#features .feature-row {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 30px;
}
#features .feature-row:last-child {
    border: none;
}
#features .feature-image img {
    max-width: 220px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#features .feature-image {
    flex: 0 0 240px;
    text-align: center;
    margin-right: 20px;
}
#features .feature-text {
    flex: 1;
}
#features .feature-text h5 {
    color: #C94530;
    font-weight: bold;
    margin-bottom: 10px;
}
#features .feature-text p {
    font-size: 16px;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    #features .feature-row {
        flex-direction: column;
        text-align: center;
    }
    #features .feature-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
}
.feature-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 60px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 30px;
}

.feature-image img {
    max-width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.feature-text h5 {
    font-weight: 600;
    color: #0A2E3B;
    margin-top: 0;
}

.feature-text p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive: imagine deasupra textului */
@media (max-width: 768px) {
    .feature-wrapper {
        flex-direction: column;
        text-align: center;
    }
}

.feature-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 60px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 30px;
}

.feature-image {
    width: 200px;
    height: 160px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
}

.feature-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s;
}

.feature-image img:hover {
    transform: scale(1.05);
}

.feature-text {
    flex: 1;
}
.feature-text h5 {
    font-weight: 600;
    color: #0A2E3B;
}
.feature-text p {
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .feature-image {
        margin: auto;
        margin-bottom: 20px;
    }
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px #000;
}
/* Wrapper centrare */
.modal-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Stil general pentru formă */
form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Inputuri pe toată lățimea */
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="file"],
form textarea,
form select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Textarea mai mare */
form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Stil pentru buton */
form button,
form input[type="submit"] {
    padding: 12px 20px;
    background-color: #0A2E3B;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

form button:hover {
    background-color: #C94530;
}

/* Etichete deasupra */
form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

/* Form Title */
.section-title {
    font-size: 30px;
    font-weight: 700;
    color: #0A2E3B;
    margin-bottom: 20px;
    text-align: center;
}

/* Alert Boxes */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #F5E7D5;
    color: #721c24;
    border: 1px solid #C94530;
}

/* Primary Button */
.primary-button {
    background-color: #C94530;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s;
}

.primary-button:hover {
    background-color: #a83226;
}
