/* Style.css - Main stylesheet for domain.com */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color palette */
    --bg-main: #f0e6f6;       /* Light lavender background */
    --accent: #ff7a59;        /* Coral accent */
    --heading: #2d2a32;       /* Charcoal gray for headings */
    --text: #4a4a4a;          /* Text color */
    --button-gradient-start: #8f00ff; /* Button gradient start */
    --button-gradient-end: #ff6ec4;   /* Button gradient end */
    --hover: #e2c5ff;         /* Hover color - soft purple */
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --border: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--button-gradient-start);
}

/* Button styles */
.button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--button-gradient-start), var(--button-gradient-end));
    color: var(--white);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: var(--white);
}

/* Section styling */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--white);
}

/* Header styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--heading);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--heading);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--accent);
}

/* Mobile Menu - PHP Implementation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--heading);
    cursor: pointer;
}

/* Hero section */
.hero {
    padding: 150px 0 80px;
    background-color: var(--bg-main);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.hero-text h1 {
    margin-bottom: 20px;
    font-size: 3rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* About section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

/* Process section */
.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--border);
    z-index: -1;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 200px;
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--button-gradient-start), var(--button-gradient-end));
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* Testimonials section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
}

/* FAQ Section */
.faq-container {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-question {
    background-color: var(--white);
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    background-color: var(--light-gray);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

/* Contact form section */
.contact-form-section {
    background-color: var(--white);
    padding: 60px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(143, 0, 255, 0.05), rgba(255, 110, 196, 0.05));
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(255, 122, 89, 0.1);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-top: 5px;
    margin-right: 10px;
}

/* Footer styles */
footer {
    background-color: var(--heading);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-contact li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Cookie consent popup */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 15px;
    box-shadow: 0 -5px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    flex: 1;
    padding-right: 20px;
}

.cookie-button {
    flex-shrink: 0;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.slide-in-left {
    transform: translateX(-50px);
    opacity: 0;
    animation: slideIn 1s forwards;
}

.slide-in-right {
    transform: translateX(50px);
    opacity: 0;
    animation: slideIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .hero-content,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .step {
        margin-bottom: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile menu */
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
    }
    
    nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    nav.active ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav.active ul li {
        margin: 10px 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-consent {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        margin-bottom: 15px;
        padding-right: 0;
    }
}
