/* 
 * domain - Main Stylesheet
 * Color Palette:
 * - Primary: Electric Blue (#0072FF)
 * - Accent: Coral Red (#FF5E5E)
 * - Background: Light Lavender (#F5F3FF)
 * - Text: Graphite Black (#2A2A2A)
 * - Gradient: #0072FF to #FF5E5E
 */

/* Reset & Base Styles */
:root {
    --primary: #0072FF;
    --accent: #FF5E5E;
    --background: #F5F3FF;
    --text: #2A2A2A;
    --light-text: #555;
    --white: #fff;
    --border-light: rgba(0, 0, 0, 0.1);
    --shadow: rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 8px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    text-transform: lowercase;
    letter-spacing: -1px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--primary);
}

/* Mobile Menu (PHP-based) */
.menu-toggle {
    display: none;
}

.menu-btn {
    display: block;
    width: 30px;
    height: 30px;
    position: relative;
}

.menu-icon {
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--text);
    top: 50%;
    transition: background 0.3s ease;
}

.menu-icon:before,
.menu-icon:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--text);
    transition: transform 0.3s ease;
}

.menu-icon:before {
    top: -10px;
}

.menu-icon:after {
    top: 10px;
}

.menu-icon.open {
    background-color: transparent;
}

.menu-icon.open:before {
    transform: translateY(10px) rotate(45deg);
}

.menu-icon.open:after {
    transform: translateY(-10px) rotate(-45deg);
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 300px); /* account for header and footer */
}

section {
    padding: 4rem 0;
}

/* Hero Section */
.hero {
    background-color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 114, 255, 0.1), rgba(255, 94, 94, 0.1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-text);
    animation: fadeIn 1.5s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(to left, var(--primary), var(--accent));
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* About Section */
.about {
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-title {
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    background-color: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    margin-bottom: 2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary);
}

/* Contact Form */
.contact {
    background-color: var(--background);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.form-check input {
    margin-top: 0.3rem;
    margin-right: 0.5rem;
}

.form-error {
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

/* FAQ Section */
.faq {
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1rem;
}

.faq-question {
    cursor: pointer;
    padding: 1rem 0;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
}

.faq-question.open:after {
    content: '-';
}

.faq-answer {
    display: none;
    padding: 0 0 1rem;
}

.faq-answer.open {
    display: block;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.cta h2 {
    margin-bottom: 1.5rem;
}

.cta p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background-color: var(--white);
    color: var(--primary);
    border: none;
}

.btn-cta:hover {
    background-color: var(--background);
    color: var(--primary);
}

/* Footer */
.site-footer {
    background-color: var(--text);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-text {
    flex: 1;
    min-width: 200px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Legal Pages */
.legal-page {
    background-color: var(--white);
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.legal-page h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.legal-page h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.legal-page p,
.legal-page ul {
    margin-bottom: 1.5rem;
}

.legal-page ul {
    padding-left: 2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 5px 10px var(--shadow);
    }
    
    .main-nav.mobile-open {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .main-nav li {
        margin: 0;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-card,
    .service-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
} 