/* Main stylesheet for domain.com */

/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Color palette */
:root {
    --bg-main: #fdfaf6;          /* Main background (warm sand) */
    --accent-primary: #ff6f61;    /* Coral orange */
    --accent-secondary: #5d6d7e;  /* Dusty blue */
    --text-dark: #2e2e2e;         /* Deep graphite */
    --button-gradient-start: #ff6f61;
    --button-gradient-end: #ff9478;
    --icon-color: #8aacc8;
    --text-light: #ffffff;
    --text-body: #4a4a4a;
    --border-light: #e0e0e0;
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--accent-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--button-gradient-start), var(--button-gradient-end));
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--text-light);
}

/* Header styles */
header {
    background-color: var(--bg-main);
    box-shadow: var(--shadow-soft);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.phone-number {
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Navigation styles */
nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--accent-primary);
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* Hero section */
.hero {
    padding-top: 7rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(253, 250, 246, 0.9), rgba(253, 250, 246, 0.9)), 
                url('../img/GfDFVB.jpg') center/cover no-repeat;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-card .icon {
    color: var(--icon-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Why choose us section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem 1rem;
}

.advantage-item .icon {
    color: var(--accent-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Process section */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    counter-reset: step;
}

.process-step {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    position: relative;
    counter-increment: step;
}

.process-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: var(--shadow-soft);
}

.process-step::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--button-gradient-start), var(--button-gradient-end));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Testimonials section */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -10px;
    left: 10px;
    color: var(--accent-primary);
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

/* FAQ section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* Contact form section */
.contact-form-section {
    background-color: white;
    border-radius: 15px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--button-gradient-start), var(--button-gradient-end));
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Footer styles */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1rem 2rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-popup.active {
    transform: translateY(0);
}

.cookie-popup p {
    margin: 0;
    padding-right: 1rem;
}

/* Policy pages common style */
.policy-content {
    background-color: white;
    border-radius: 15px;
    padding: 3rem;
    max-width: 1000px;
    margin: 7rem auto 3rem;
    box-shadow: var(--shadow-medium);
}

.policy-content h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Mobile styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav {
        margin-top: 1rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: var(--bg-main);
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: var(--shadow-soft);
        padding: 1rem 0;
    }
    
    nav ul.show {
        display: flex;
    }
    
    .phone-number {
        margin-top: 0.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section {
        padding: 2rem 1rem;
    }
    
    .cookie-popup {
        flex-direction: column;
    }
    
    .cookie-popup p {
        margin-bottom: 1rem;
        padding-right: 0;
    }
}

/* Animation for fade-in effect */
@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.6s ease forwards;
}

/* Thanks page */
.thanks-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 7rem 1rem 3rem;
}

.thanks-content {
    background-color: white;
    border-radius: 15px;
    padding: 3rem;
    max-width: 800px;
    width: 100%;
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--accent-primary);
}

.thanks-container h1 {
    margin-bottom: 2rem;
    color: var(--accent-primary);
}

.thanks-container p {
    max-width: 600px;
    margin: 0 auto 2rem;
}
