/* Base CSS for domain.com - Romanian website */

/* Reset and Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #E8E8E8;
    background-color: #3B0066;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: #00D9C0;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6F61;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #3B0066, #00D9C0);
    color: #E8E8E8;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    color: #E8E8E8;
}

/* Header */
header {
    background-color: rgba(59, 0, 102, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #E8E8E8;
}

.logo:hover {
    color: #00D9C0;
}

/* Navigation */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: #E8E8E8;
    font-weight: 600;
}

/* Hero section */
.hero {
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(59, 0, 102, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #E8E8E8;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Section styling */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: #00D9C0;
}

/* About section */
.about {
    background-color: #2C2C2C;
    color: #E8E8E8;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* Benefits section */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background-color: #2C2C2C;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 3rem;
    color: #FF6F61;
    margin-bottom: 20px;
}

/* Services section */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: #2C2C2C;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #00D9C0;
}

/* Testimonials section */
.testimonials {
    background-color: #2C2C2C;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-item {
    background-color: #3B0066;
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

/* Form section */
.form-section {
    background-color: #2C2C2C;
    padding: 60px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #3B0066;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: rgba(232, 232, 232, 0.1);
    color: #E8E8E8;
}

.form-control::placeholder {
    color: rgba(232, 232, 232, 0.5);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E8E8E8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

select.form-control option {
    background-color: white;
    color: #2C2C2C;
}

.checkbox-group {
    margin-top: 15px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.checkbox-container input {
    margin-top: 6px;
    margin-right: 10px;
}

/* Team section */
.team {
    background-color: #3B0066;
}

.team-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.team-image img {
    width: 100%;
    border-radius: 10px;
}

/* Footer */
footer {
    background-color: #2C2C2C;
    padding: 60px 0 20px;
    color: #E8E8E8;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #00D9C0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(232, 232, 232, 0.1);
}

/* Cookie consent popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2C2C2C;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    max-width: 90%;
    width: 400px;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
}

/* Thank you page */
.thank-you {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    margin: 8rem auto 5rem;
    max-width: 800px;
    padding: 40px;
    border: 2px solid #00D9C0;
    border-radius: 10px;
    background-color: #2C2C2C;
}

/* Policy pages */
.policy-container {
    background-color: #2C2C2C;
    padding: 40px;
    border-radius: 10px;
    margin: 60px auto;
    max-width: 900px;
    border: 1px solid #00D9C0;
}

.policy-container h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #00D9C0;
}

.policy-container h2 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: #FF6F61;
}

.policy-container p {
    margin-bottom: 20px;
}

/* FAQ */
.faq-section {
    background-color: #2C2C2C;
    padding: 60px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    display: block;
    background-color: #3B0066;
    padding: 15px;
    cursor: pointer;
    position: relative;
    font-weight: bold;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.faq-checkbox {
    display: none;
}

.faq-answer {
    background-color: rgba(59, 0, 102, 0.5);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-checkbox:checked + .faq-question:after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
    padding: 15px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .about-container, .team-container {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #3B0066;
        flex-direction: column;
        padding: 20px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-toggle:checked ~ .nav-menu {
        max-height: 300px;
    }
    
    .nav-menu li {
        margin: 10px 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}
