/* 
* Main stylesheet for domain website
* Colors:
* - Main background: #FFEFE3 (peach-beige)
* - Accent: #FF6F61 (bright coral)
* - Text: #2B2B2B (graphite black)
* - Buttons: #B2E3D1 (pastel mint)
* - Highlight: #FF4F87 (neon pink)
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Scroll padding for anchors */
html {
    scroll-padding-top: 100px; /* Provides space for fixed header */
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #2B2B2B;
    background-color: #FFEFE3;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #FF6F61;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF4F87;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

section {
    padding: 4rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #B2E3D1;
    color: #2B2B2B;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #FF6F61;
    color: white;
    transform: translateY(-3px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #FF6F61;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Header styles */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 2rem;
    font-weight: bold;
    color: #FF6F61;
    text-transform: lowercase;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin: 0 15px;
}

.main-nav ul li a {
    color: #2B2B2B;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a:hover {
    color: #FF6F61;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #FF6F61;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:after {
    width: 100%;
}

.header-contact a {
    font-weight: bold;
    color: #FF6F61;
    font-size: 1.1rem;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #2B2B2B;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

/* Hero section */
.hero {
    background-color: #FFEFE3;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #2B2B2B;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About section */
.about {
    background-color: white;
    border-radius: 10px;
    margin: 2rem auto;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 1100px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.03);
}

.about-text {
    flex: 1;
}

/* Features section */
.features {
    background-color: #FFEFE3;
    padding: 5rem 0;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.feature-box {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: #FF6F61;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    margin-bottom: 1rem;
}

/* Services section */
.services {
    padding: 5rem 0;
    background-color: white;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    background-color: #FFEFE3;
    border-radius: 10px;
    padding: 2.5rem;
    flex: 1 1 300px;
    max-width: 350px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #FF6F61;
}

.service-card h3 {
    color: #FF6F61;
    margin-bottom: 1.2rem;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Contact form section */
.contact {
    background-color: #FFEFE3;
    padding: 5rem 0;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #FF6F61;
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: white;
    transition: border 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: #FF6F61;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-input {
    margin-top: 5px;
    margin-right: 10px;
}

.checkbox-label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background-color: #B2E3D1;
    color: #2B2B2B;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 1rem;
}

.form-submit:hover {
    background-color: #FF6F61;
    color: white;
}

/* Testimonials section */
.testimonials {
    padding: 5rem 0;
    background-color: white;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial-card {
    background-color: #FFEFE3;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    max-width: 350px;
    position: relative;
}

.testimonial-content {
    position: relative;
    padding-top: 20px;
}

.testimonial-content:before {
    content: '"';
    position: absolute;
    top: -15px;
    left: -5px;
    font-size: 4rem;
    color: #FF6F61;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-author {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-name {
    font-weight: bold;
}

.testimonial-author-title {
    font-size: 0.85rem;
    color: #777;
}

/* FAQ section */
.faq {
    padding: 5rem 0;
    background-color: #FFEFE3;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: white;
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem;
    background-color: white;
    color: #2B2B2B;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
}

.faq-question:hover {
    background-color: #f8f8f8;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #FF6F61;
    transition: transform 0.3s ease;
}

.faq-answer {
    background-color: white;
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-top: 0;
}

.faq-item.active .faq-question {
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.faq-item.active .faq-question:after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

.faq-item.active .faq-answer {
    padding: 1.2rem;
    max-height: 500px;
}

/* Footer styles */
.main-footer {
    background-color: white;
    padding: 4rem 0 2rem;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-info {
    flex: 1 1 300px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FF6F61;
    margin-bottom: 1rem;
}

.footer-contact, .footer-links {
    flex: 1 1 200px;
}

.footer-contact h3, .footer-links h3 {
    color: #2B2B2B;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    flex: 1;
    margin-right: 1rem;
}

#accept-cookies {
    padding: 10px 25px;
    background-color: #B2E3D1;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

#accept-cookies:hover {
    background-color: #FF6F61;
    color: white;
}

/* Policy pages */
.policy-page {
    max-width: 900px;
    margin: 3rem auto;
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.policy-page h1 {
    color: #FF6F61;
    margin-bottom: 2rem;
    text-align: center;
}

.policy-page section {
    margin-bottom: 2rem;
}

.policy-page h2 {
    color: #2B2B2B;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Responsive design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background-color: white;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 10;
    }
    
    .main-nav.open {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 2rem;
    }
    
    .main-nav ul li {
        margin: 1rem 0;
    }
    
    .header-contact {
        display: none;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .testimonial-card, .feature-box, .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}
