/* 
* Main Stylesheet for domain
* Color palette:
* - Primary: #0ABAB5 (turquoise)
* - Accent: #FF8C42 (orange)
* - Secondary: #6C3B9D (purple)
* - Background: #F4F4F4 (light grey)
* - Text: #1E2A38 (dark blue)
*/

/* Base styles and resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Arial', sans-serif;
    color: #1E2A38;
    background-color: #F4F4F4;
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0ABAB5;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #6C3B9D;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: #0ABAB5;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #FF8C42;
    margin: 0.5rem auto;
}

h3 {
    font-size: 1.5rem;
    color: #6C3B9D;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style-type: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 4rem 0;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #FF8C42;
    color: white;
}

.btn-primary:hover {
    background-color: #6C3B9D;
    color: white;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0ABAB5;
    text-decoration: none;
}

/* Navigation */
nav ul {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #1E2A38;
    font-weight: 500;
    position: relative;
}

nav a:hover {
    color: #0ABAB5;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #0ABAB5;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Mobile menu */
.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-button span {
    height: 3px;
    width: 100%;
    background-color: #1E2A38;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    position: relative;
    padding: 8rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 42, 56, 0.7);
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* About Section */
.despre-noi .section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.despre-text {
    order: 1;
}

.despre-image {
    order: 2;
    border-radius: 8px;
    overflow: hidden;
}

/* Services Section */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    margin-bottom: 0.75rem;
}

/* Advantages Section */
.avantaje {
    background-color: white;
}

.avantaje-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.avantaj {
    text-align: center;
}

.avantaj-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #0ABAB5;
    color: white;
}

.avantaj-icon svg {
    width: 30px;
    height: 30px;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.step {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 30px;
    height: 30px;
    background-color: #FF8C42;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Results Section */
.rezultate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.rezultat {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Order Form Section */
.comanda {
    background-color: #0ABAB5;
    color: white;
}

.comanda h2 {
    color: white;
}

.comanda h2::after {
    background-color: white;
}

.form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1E2A38;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group select {
    background-color: white;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* Testimonials Section */
.testimoniale-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    margin-bottom: 1rem;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: #0ABAB5;
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: -0.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.testimonial-author h4 {
    margin-bottom: 0;
    color: #6C3B9D;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: #0ABAB5;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 0.25rem;
}

.contact-map {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.contact-map iframe {
    height: 100%;
}

/* Footer */
footer {
    background-color: #1E2A38;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-about h3,
.footer-contact h3,
.footer-links h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-contact ul,
.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

footer a {
    color: #0ABAB5;
}

footer a:hover {
    color: #FF8C42;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: bottom 0.5s ease;
    z-index: 1001;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-popup button {
    background-color: #0ABAB5;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cookie-popup button:hover {
    background-color: #FF8C42;
}

/* Mulțumim (Thank You) Page */
.multumim {
    max-width: 600px;
    margin: 8rem auto 5rem;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.multumim svg {
    width: 80px;
    height: 80px;
    color: #0ABAB5;
    margin: 0 auto 1.5rem;
}

/* Policy Pages */
.policy-content {
    max-width: 800px;
    margin: 2rem auto 5rem;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-content h2 {
    text-align: left;
}

.policy-content h2::after {
    margin: 0.5rem 0;
}

/* FAQ Section using CSS only */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    display: none;
}

.faq-question + label {
    display: block;
    padding: 1rem;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
}

.faq-question + label::after {
    content: '+';
    position: absolute;
    right: 1rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9f9f9;
    border-radius: 0 0 4px 4px;
}

.faq-question:checked + label::after {
    content: '-';
}

.faq-question:checked + label {
    border-radius: 4px 4px 0 0;
}

.faq-question:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1rem;
}

/* Create favicon.svg */
.favicon {
    display: none;
}

/* Responsive styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .despre-noi .section-content {
        grid-template-columns: 1fr;
    }
    
    .despre-text {
        order: 2;
    }
    
    .despre-image {
        order: 1;
    }
}

@media (max-width: 768px) {
    .menu-button {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .menu-toggle:checked ~ nav {
        max-height: 300px;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .contact-map {
        height: 300px;
    }
}
