/* Resetare și stiluri de bază */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de culori */
    --primary-color: #FF6B6B;
    --secondary-color: #3DD6A0;
    --background-color: #F9F9F9;
    --heading-color: #333333;
    --text-color: #555555;
    --white-color: #FFFFFF;
    --light-gray: #EEEEEE;
    --border-radius: 12px;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animații */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Clase de utilitate */
.animate-fade {
    animation: fadeIn 1s ease-in-out;
}

.animate-slide {
    animation: slideUp 0.8s ease-out;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Header și navigație */
header {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    display: block;
    text-decoration: none;
}

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 2px;
    position: relative;
    transition: color 0.3s;
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--primary-color);
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.3s;
}

.main-menu a:hover::after,
.main-menu a.active::after {
    width: 100%;
}

/* Meniu mobil */
.mobile-menu-toggle {
    display: none;
}

.menu-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.menu-icon {
    width: 30px;
    height: 3px;
    background-color: var(--heading-color);
    position: relative;
    transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--heading-color);
    transition: all 0.3s ease;
}

.menu-icon::before {
    transform: translateY(-10px);
}

.menu-icon::after {
    transform: translateY(10px);
}

.menu-icon.menu-open {
    background-color: transparent;
}

.menu-icon.menu-open::before {
    transform: rotate(45deg);
}

.menu-icon.menu-open::after {
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(255, 107, 107, 0.1), rgba(61, 214, 160, 0.1));
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    color: var(--heading-color);
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in-out;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    animation: fadeIn 1.2s ease-in-out;
}

.hero .btn {
    animation: fadeIn 1.4s ease-in-out;
}

/* Secțiuni generale */
section {
    padding: 80px 0;
}

section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

section .section-title h2 {
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

section .section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color);
}

/* Secțiunea Avantaje */
.advantages {
    background-color: var(--white-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: var(--background-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    font-size: 2rem;
}

.advantage-card h3 {
    color: var(--heading-color);
    margin-bottom: 10px;
}

/* Secțiunea Despre noi */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
}

/* Secțiunea Servicii */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: var(--heading-color);
    margin-bottom: 15px;
}

.service-content .btn {
    margin-top: 20px;
}

/* Secțiunea Testimoniale */
.testimonials {
    background-color: var(--white-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    font-size: 5rem;
    color: rgba(255, 107, 107, 0.1);
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author-info h4 {
    color: var(--heading-color);
    margin-bottom: 5px;
}

.testimonial-author-info span {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Secțiunea Contact/Formular */
.contact-form {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--heading-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: var(--background-color);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-top: 5px;
    margin-right: 10px;
}

.checkbox-group label {
    font-size: 0.9rem;
}

.checkbox-group label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

/* Secțiunea FAQ */
.faq {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.faq-question {
    background-color: var(--white-color);
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    color: var(--heading-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '−';
}

.faq-answer {
    background-color: var(--background-color);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer-content {
    padding: 0 20px;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

/* Footer */
footer {
    background-color: var(--heading-color);
    color: #f0f0f0;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-contact h3,
.footer-links h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-contact h3::after,
.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
}

.footer-contact ul li,
.footer-links ul li {
    margin-bottom: 12px;
}

.footer-contact ul li a,
.footer-links ul li a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact ul li a:hover,
.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
#cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--heading-color);
    color: var(--white-color);
    z-index: 1000;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-content p {
    margin-right: 20px;
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

#cookie-accept {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#cookie-accept:hover {
    background-color: #e05959;
}

.cookie-more {
    color: var(--white-color);
    text-decoration: none;
    padding: 10px 0;
}

.cookie-more:hover {
    text-decoration: underline;
}

/* Pagini de politici */
.policy-page {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    background-color: var(--white-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.policy-page h1 {
    color: var(--heading-color);
    margin-bottom: 30px;
    text-align: center;
}

.policy-page h2 {
    color: var(--heading-color);
    margin: 30px 0 15px;
}

.policy-page p, 
.policy-page ul {
    margin-bottom: 15px;
}

.policy-page ul {
    margin-left: 20px;
}

/* Pagina de mulțumire */
.thank-you {
    text-align: center;
    padding: 100px 0;
}

.thank-you .policy-page {
    text-align: center;
}

.thank-you h1 {
    color: var(--heading-color);
    margin-bottom: 20px;
    font-size: 3rem;
}

.thank-you p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.thank-you .btn {
    display: inline-block;
    margin: 15px auto;
}

/* Media Queries pentru responsivitate */
@media (max-width: 992px) {
    .about {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    /* Header mobil */
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white-color);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-menu.mobile-active {
        max-height: 300px;
    }
    
    .main-menu ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-menu a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    /* Ajustări pentru secțiuni */
    section {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section .section-title h2 {
        font-size: 2rem;
    }
    
    /* Cookie popup */
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 25px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
