/* Base Styles */
:root {
    --color-primary: #F4F1DE; /* Soft cream background */
    --color-accent: #3D348B; /* Purple-blue accent */
    --color-secondary: #E07A5F; /* Terracotta-pink */
    --color-tertiary: #81B29A; /* Mint */
    --color-quaternary: #F2CC8F; /* Sand */
    --color-dark: #333333;
    --color-light: #FFFFFF;
    --color-gray: #6C6C6C;
    --color-light-gray: #F5F5F5;
    --font-primary: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    background-color: var(--color-primary);
    line-height: 1.6;
    font-size: 16px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-light);
}

.btn-primary:hover {
    background-color: #332b74;
    color: var(--color-light);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-light);
}

.btn-secondary:hover {
    background-color: #cc6b50;
    color: var(--color-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--color-accent);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

/* Header */
.site-header {
    background-color: var(--color-light);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
}

.logo:hover {
    color: var(--color-secondary);
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin: 0 10px;
}

.nav-item a {
    padding: 5px;
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

.nav-item a:hover::after,
.nav-item.active a::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
}

.phone-link {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Mobile Menu */
.mobile-menu-checkbox {
    display: none;
}

.mobile-menu-button {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.menu-icon {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--color-light);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(61, 52, 139, 0.8), rgba(61, 52, 139, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--color-light);
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s;
}

.hero .btn {
    animation: fadeIn 1.2s;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h1 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after,
.section-title h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-secondary);
}

/* About Section */
.about {
    background-color: var(--color-light);
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.col-text {
    flex: 1;
    min-width: 300px;
}

.col-image {
    flex: 1;
    min-width: 300px;
}

.card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Services Section */
.services {
    background-color: var(--color-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card-image-container {
    margin: -30px -30px 20px -30px;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-card h3 {
    margin-top: 0;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 20px;
}

.service-card .btn {
    align-self: center;
}

/* Advantages Section */
.advantages {
    background-color: var(--color-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.advantage-item:hover {
    transform: scale(1.05);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: var(--color-quaternary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 24px;
}

/* Process Section */
.process {
    background-color: var(--color-primary);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    counter-reset: step-counter;
}

.process-step {
    flex: 0 0 calc(25% - 40px);
    margin: 20px;
    position: relative;
    text-align: center;
    counter-increment: step-counter;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-number::before {
    content: counter(step-counter);
}

.step-content {
    background-color: var(--color-light);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Reviews Section */
.reviews {
    background-color: var(--color-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: var(--color-primary);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.2;
}

.review-content {
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.review-author-info {
    margin-left: 15px;
}

.review-author-name {
    font-weight: 700;
    color: var(--color-accent);
}

/* FAQ Section */
.faq {
    background-color: var(--color-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
}

details {
    background-color: var(--color-light);
    border-radius: var(--border-radius);
    overflow: hidden;
}

summary {
    padding: 15px 20px;
    position: relative;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    background-color: var(--color-quaternary);
    color: var(--color-dark);
    transition: var(--transition);
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

details[open] summary::after {
    content: '−';
}

.faq-content {
    padding: 15px 20px;
}

/* Contact Section */
.contact {
    background-color: var(--color-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info {
    background-color: var(--color-accent);
    padding: 30px;
    color: var(--color-light);
    border-radius: var(--border-radius);
}

.contact-info h3 {
    color: var(--color-light);
}

.contact-list {
    list-style: none;
    margin-top: 20px;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--color-light);
}

.contact-list li:last-child {
    margin-bottom: 0;
}

.contact-list li a {
    color: var(--color-light);
}

.contact-list li a:hover {
    color: var(--color-quaternary);
}

.contact-icon {
    margin-right: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-map {
    height: 100%;
    min-height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Form Styles */
.form-section {
    background-color: var(--color-quaternary);
    padding: 60px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(61, 52, 139, 0.1);
}

.form-control option {
    color: black;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 14px;
}

/* Footer */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo-section p {
    font-size: 14px;
    margin-top: 15px;
}

.footer-logo-section .logo {
    color: var(--color-light);
}

.footer-contact h3,
.footer-links h3,
.footer-pages h3 {
    color: var(--color-light);
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    position: relative;
}

.footer-contact h3::after,
.footer-links h3::after,
.footer-pages h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-secondary);
}

.contact-list,
.legal-links,
.page-links {
    list-style: none;
}

.contact-list li,
.legal-links li,
.page-links li {
    margin-bottom: 10px;
}

.footer-contact .contact-list li,
.footer-contact .contact-list li a,
.footer-contact .contact-list li strong {
    color: var(--color-light);
}

.legal-links a,
.page-links a {
    color: var(--color-light);
    opacity: 0.8;
    transition: var(--transition);
}

.legal-links a:hover,
.page-links a:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 15px 0;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin: 10px 0;
    flex: 1;
    padding-right: 20px;
}

.cookie-content p a {
    color: var(--color-light);
    text-decoration: underline;
}

.cookie-content p a:hover {
    color: var(--color-quaternary);
}

.cookie-buttons {
    display: flex;
}

/* Policy Pages */
.policy-page {
    background-color: var(--color-light);
    padding: 40px 0;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--color-light);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    box-shadow: var(--shadow);
}

.policy-title {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.policy-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-content p,
.policy-content ul {
    margin-bottom: 15px;
}

.policy-content ul {
    padding-left: 20px;
}

.policy-contact {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.policy-contact h3 {
    margin-top: 0;
}

.policy-contact ul {
    list-style: none;
    padding: 0;
}

.policy-contact li {
    margin-bottom: 10px;
}

.policy-contact strong {
    margin-right: 10px;
}

/* Content Box Styles for About, Blog, Tips pages */
.content-box {
    background-color: var(--color-light);
    padding: 40px;
    margin: 0 auto;
    max-width: 900px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
}

.content-box h2 {
    color: var(--color-accent);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-secondary);
}

.content-box ul, 
.content-box ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-box li {
    margin-bottom: 10px;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Images */
.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .process-step {
        flex: 0 0 calc(50% - 40px);
    }
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-light);
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100vh);
        transition: transform 0.4s ease;
        z-index: -1;
    }
    
    .mobile-menu-checkbox:checked ~ .main-nav {
        transform: translateY(0);
        z-index: 99;
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-menu-button .menu-icon {
        background-color: transparent;
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-menu-button .menu-icon::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-menu-button .menu-icon::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .nav-list {
        flex-direction: column;
    }
    
    .nav-item {
        margin: 8px 0;
    }
    
    .header-contact {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
    
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        margin-top: 15px;
        width: 100%;
    }
    
    .row {
        flex-direction: column;
    }

    .service-card-image-container {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 50px 0;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .advantages-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .content-box {
        padding: 20px;
    }

    .service-card-image-container {
        height: 160px;
    }
}