/* 
 * domain - Main Stylesheet
 * Colors:
 * - Deep Coral (#FF6F61)
 * - Misty Mint (#B4E1C5)
 * - Midnight Blue (#1B2A49)
 * - Golden Sand (#F2C572)
 * - Soft Lilac (#D1B2FF)
 */

/* ====== Reset & Base Styles ====== */
:root {
    --coral: #FF6F61;
    --mint: #B4E1C5;
    --midnight: #1B2A49;
    --golden: #F2C572;
    --lilac: #D1B2FF;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--midnight);
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    color: var(--coral);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--midnight);
}

section {
    padding: 4rem 0;
}

/* Anchor offset for fixed header */
section[id] {
    scroll-margin-top: 100px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--coral);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--midnight);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--mint);
    color: var(--midnight);
}

.btn-secondary:hover {
    background-color: var(--golden);
}

.text-center {
    text-align: center;
}

/* ====== Header & Navigation ====== */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--midnight);
    display: block;
}

.main-nav .menu {
    display: flex;
    list-style: none;
}

.main-nav .menu li {
    margin-left: 1.5rem;
}

.main-nav .menu a {
    color: var(--midnight);
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

.main-nav .menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--coral);
    transition: width 0.3s ease;
}

.main-nav .menu a:hover:after,
.main-nav .menu a.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--midnight);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ====== Hero Section ====== */
.hero {
    background: linear-gradient(135deg, var(--coral), var(--mint));
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ====== About Section ====== */
.about {
    background-color: var(--white);
}

.about h2 {
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.about h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--coral);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-content {
    margin-bottom: 1.5rem;
}

/* ====== Services Section ====== */
.services {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    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-icon {
    width: 150px;
    height: 150px;
    background-color: var(--mint);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-icon:hover img {
    transform: scale(1.05);
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* ====== Why Choose Us Section ====== */
.why-us {
    background: linear-gradient(to right, var(--midnight), #2D3F60);
    color: var(--white);
}

.why-us h2 {
    color: var(--white);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 1rem;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

/* ====== Process Section ====== */
.process {
    background-color: var(--white);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 3rem;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--medium-gray);
    z-index: 1;
}

.step {
    text-align: center;
    width: 20%;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--golden);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    background-color: var(--coral);
    transform: scale(1.1);
}

/* ====== Testimonials Section ====== */
.testimonials {
    background-color: var(--mint);
    padding: 6rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    padding: 1rem 0;
}

.testimonial-content:before {
    content: '"';
    font-size: 4rem;
    color: var(--coral);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.author-info h4 {
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ====== Pricing Section ====== */
.pricing {
    background-color: var(--white);
}

.pricing-tables {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-plan {
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pricing-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.plan-header {
    background-color: var(--midnight);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.plan-header h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
}

.plan-features {
    padding: 2rem;
}

.plan-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--medium-gray);
}

.plan-features li:before {
    content: '✓';
    color: var(--coral);
    margin-right: 0.5rem;
}

.popular-plan {
    transform: scale(1.05);
}

.popular-plan .plan-header {
    background-color: var(--coral);
}

.popular-badge {
    background-color: var(--golden);
    color: var(--midnight);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 20px;
}

/* ====== Order Form Section ====== */
.order-form {
    background: linear-gradient(135deg, var(--lilac), var(--mint));
    padding: 5rem 0;
}

.order-form h2 {
    color: var(--midnight);
    margin-bottom: 2rem;
}

.form-container {
    background-color: var(--white);
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.form-submit {
    text-align: center;
}

.error-message {
    background-color: #ffecec;
    color: #f44336;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #f44336;
}

.error-message ul {
    margin-left: 1.5rem;
}

/* ====== Footer ====== */
.site-footer {
    background-color: var(--midnight);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-info h3,
.footer-contact h3,
.footer-links h3 {
    color: var(--white);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.footer-info h3:after,
.footer-contact h3:after,
.footer-links h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--coral);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--coral);
}

.footer-contact address {
    font-style: normal;
}

.footer-contact a {
    color: var(--light-gray);
}

.footer-contact a:hover {
    color: var(--coral);
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* ====== Cookie Banner ====== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--midnight);
    color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner p {
    margin-bottom: 0;
    margin-right: 1rem;
}

#cookie-accept {
    background-color: var(--coral);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#cookie-accept:hover {
    background-color: var(--golden);
}

/* ====== Policy Pages ====== */
.policy-page {
    padding: 4rem 0;
    background-color: var(--mint);
}

.policy-content {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.policy-content h1 {
    color: var(--midnight);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--coral);
}

.policy-content h2 {
    margin-top: 2rem;
    color: var(--midnight);
}

.policy-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ====== Thank You Page ====== */
.thank-you {
    text-align: center;
    padding: 6rem 0;
    background-color: var(--mint);
}

.thank-you-container {
    background-color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you h1 {
    color: var(--midnight);
    margin-bottom: 1.5rem;
}

.thank-you p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ====== Animations ====== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn 0.8s ease forwards;
}

/* ====== Responsive Styles ====== */
@media (max-width: 1024px) {
    .services-grid,
    .features-grid,
    .testimonials-grid,
    .pricing-tables {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .step {
        width: 45%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 2rem 0;
        overflow: hidden;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        padding: 0;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .hero .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        margin-top: 0.5rem;
        display: inline-block;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-content {
        order: 1;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .menu-icon {
        display: block;
    }
    
    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .menu li {
        margin: 0;
    }
    
    .menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--medium-gray);
    }
    
    .menu-toggle:checked ~ .menu {
        max-height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookie-banner {
        flex-direction: column;
    }
    
    .cookie-banner p {
        margin-bottom: 1rem;
        margin-right: 0;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .services-grid,
    .features-grid,
    .testimonials-grid,
    .pricing-tables {
        grid-template-columns: 1fr;
    }
    
    .step {
        width: 100%;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}
