/* 
 * domain - Style CSS
 * Main stylesheet for domain.com
 */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-purple: #4B0082;
    --color-yellow: #FFF44F;
    --color-white: #FFFFFF;
    --color-dark: #2D2D2D;
    --color-lavender: #E6E6FA;
    --font-main: 'Arial', sans-serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.btn {
    display: inline-block;
    background-color: var(--color-yellow);
    color: var(--color-dark);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn:hover {
    background-color: var(--color-purple);
    color: var(--color-white);
}

h1, h2 {
    color: var(--color-purple);
    margin-bottom: 20px;
    text-align: center;
}

h3, h4 {
    color: var(--color-purple);
    margin-bottom: 20px;
}

/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-purple);
    text-decoration: none;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 25px;
}

.nav-link {
    color: var(--color-dark);
    text-decoration: none;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-purple);
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero section */
.hero {
    padding: 150px 0 80px;
    background-color: var(--color-lavender);
    text-align: center;
}

.hero-title {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--color-dark);
}

/* About section */
.about {
    background-color: var(--color-white);
    text-align: center;
}

/* Services section */
.services {
    background-color: var(--color-lavender);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.service-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-title {
    font-size: 22px;
}

.service-text {
    margin-bottom: 20px;
}

/* Benefits section */
.benefits {
    background-color: var(--color-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.benefit-card {
    padding: 20px;
    border-left: 4px solid var(--color-yellow);
    background-color: var(--color-lavender);
    border-radius: 0 5px 5px 0;
}

/* Form section */
.contact-form {
    background-color: var(--color-lavender);
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-checkbox {
    margin-right: 10px;
    vertical-align: middle;
}

/* Testimonials section */
.testimonials {
    background-color: var(--color-purple);
    color: var(--color-white);
}

.testimonials h2 {
    color: var(--color-white);
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.testimonial-card {
    flex: 1;
    min-width: 280px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
}

/* FAQ section */
.faq {
    background-color: var(--color-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-lavender);
    padding-bottom: 20px;
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
    color: var(--color-purple);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: "+";
    font-size: 22px;
}

.faq-answer {
    margin-top: 10px;
    display: none;
}

.faq-item.active .faq-question:after {
    content: "-";
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer h3 {
    color: var(--color-yellow);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-link {
    color: var(--color-white);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--color-yellow);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    font-size: 14px;
}

/* Policy pages */
.policy-page {
    padding-top: 100px;
}

.policy-content {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--color-lavender);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h1 {
    border-bottom: 2px solid var(--color-purple);
    padding-bottom: 15px;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
}

/* Thank you page */
.thank-you {
    text-align: center;
    padding: 100px 0;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--color-lavender);
    border-radius: 10px;
}

/* Responsive design */
@media screen and (max-width: 1024px) {
    .services-grid,
    .testimonial-grid {
        flex-direction: column;
    }
    
    .service-card,
    .testimonial-card {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-white);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition);
    }
    
    .nav-list.show {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .footer-grid {
        flex-direction: column;
    }
}
