/* 
 * domain.com - Main Stylesheet
 * Color Palette:
 * - Dusty Sky (#BFD8D2) – Background
 * - Burnt Amber (#D97B66) – Accents
 * - Deep Indigo (#352D39) – Text
 * - Peach Foam (#FBE3D7) – Highlights
 * - Mint Shadow (#C3E0B7) – Interactive Elements
 */

/* ---------- Base Styles ---------- */
:root {
    --dusty-sky: #BFD8D2;
    --burnt-amber: #D97B66;
    --deep-indigo: #352D39;
    --peach-foam: #FBE3D7;
    --mint-shadow: #C3E0B7;
    --white: #ffffff;
    --light-gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--deep-indigo);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 16px;
    position: relative;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: var(--burnt-amber);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--deep-indigo);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--burnt-amber);
    bottom: -10px;
    left: 0;
    transition: width 0.3s ease;
}

h2:hover:after {
    width: 100%;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 20px;
}

button, .button {
    background-color: var(--mint-shadow);
    color: var(--deep-indigo);
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

button:hover, .button:hover {
    background-color: var(--burnt-amber);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cta-button {
    background-color: var(--burnt-amber);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--deep-indigo);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    display: inline-block;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* ---------- Header & Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo a {
    color: var(--deep-indigo);
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    height: 100%;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--deep-indigo);
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--burnt-amber);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:after,
.main-nav ul li a.active:after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-nav-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--deep-indigo);
    margin: 2px 0;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 99;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li a {
    color: var(--deep-indigo);
    font-size: 1.2rem;
}

/* ---------- Hero Section ---------- */
.hero {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/Jlu4oF.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(191, 216, 210, 0.7); /* Dusty Sky with opacity */
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
    margin: 0 auto;
    padding: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    margin-bottom: 20px;
    color: var(--white);
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--white);
}

/* ---------- About Section ---------- */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-content {
    animation: fadeInLeft 1s ease;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
    animation: fadeInRight 1s ease;
}

.about-image:hover {
    transform: scale(1.03);
}

/* ---------- Services Section ---------- */
.services {
    background-color: var(--peach-foam);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    animation: fadeIn 1s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

/* ---------- Benefits Section ---------- */
.benefits {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.benefit-item {
    text-align: center;
    padding: 30px 15px;
    border-radius: 8px;
    background-color: var(--light-gray);
    transition: all 0.3s ease;
    animation: fadeIn 1s ease;
}

.benefit-item:hover {
    background-color: var(--mint-shadow);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--burnt-amber);
    margin-bottom: 15px;
}

/* ---------- Process Section ---------- */
.process {
    background-color: var(--dusty-sky);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--deep-indigo);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    width: 30%;
    text-align: center;
    animation: fadeIn 1s ease;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--burnt-amber);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(217, 123, 102, 0.3);
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    background-color: var(--white);
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    width: calc(50% - 15px);
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    animation: fadeIn 1s ease;
}

.testimonial-card:nth-child(odd) {
    background-color: var(--peach-foam);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content:before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -15px;
    font-size: 3rem;
    color: var(--burnt-amber);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ---------- FAQ Section ---------- */
.faq {
    background-color: var(--peach-foam);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    animation: fadeIn 1s ease;
}

.faq-question {
    background-color: var(--white);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: var(--mint-shadow);
}

.faq-answer {
    background-color: var(--light-gray);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer-content {
    padding: 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

/* ---------- Contact Section ---------- */
.contact {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-form {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    animation: fadeIn 1s ease;
}

.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 #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--burnt-amber);
    box-shadow: 0 0 0 3px rgba(217, 123, 102, 0.2);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--deep-indigo);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-contact h3,
.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h3:after,
.footer-links h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--burnt-amber);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--mint-shadow);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* ---------- Cookie Consent ---------- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--deep-indigo);
    color: var(--white);
    padding: 15px 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-consent .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-consent p {
    margin-bottom: 0;
}

.cookie-consent a {
    color: var(--mint-shadow);
}

/* ---------- Policy Pages ---------- */
.policy-page {
    padding: 120px 0 60px;
}

.policy-content {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--dusty-sky);
}

.policy-content h2 {
    color: var(--deep-indigo);
    margin-bottom: 25px;
}

.policy-content h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--deep-indigo);
}

.policy-content p,
.policy-content ul {
    margin-bottom: 20px;
}

.policy-content ul {
    padding-left: 20px;
}

.policy-content ul li {
    margin-bottom: 10px;
}

/* ---------- Thank You Page ---------- */
.thank-you {
    padding: 150px 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--peach-foam);
}

.thank-you-frame {
    background-color: var(--white);
    border: 3px solid var(--burnt-amber);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.thank-you-frame:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px dotted var(--dusty-sky);
    border-radius: 5px;
    pointer-events: none;
}

.thank-you h1 {
    color: var(--deep-indigo);
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .step {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .testimonial-card {
        width: 100%;
    }
    
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    /* Ensure all content stays within viewport */
    .container {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    section {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
}

@media (max-width: 767px) {
    section {
        padding: 60px 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
        width: 100%;
        padding: 0 15px;
    }
    
    .hero-image {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-cards {
        display: block;
    }
    
    .testimonial-card {
        margin-bottom: 20px;
        width: 100%;
    }
    
    .cookie-consent .container {
        flex-direction: column;
    }
    
    .cookie-consent p {
        margin-bottom: 15px;
        text-align: center;
    }
    
    /* Additional mobile fixes */
    .mobile-nav {
        width: 100vw;
        box-sizing: border-box;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}
