/* 
 * Main stylesheet for domain accounting services website
 * Color palette:
 * - Main background: #fef8f1 (peachy beige)
 * - Accents: #ff4d6d (watermelon), #2b2d42 (graphite)
 * - Text: #1a1a1a
 * - Buttons: gradient from #ff4d6d to #f9cb28
 * - Service blocks: #ffffff with #ffe0d6 border
 * - Forms: transparent with blur effect
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fef8f1;
    color: #1a1a1a;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: #2b2d42;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #ff4d6d;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f9cb28;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(to right, #ff4d6d, #f9cb28);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 77, 109, 0.3);
    color: white;
}

/* Header Styles */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2b2d42;
    text-transform: lowercase;
    letter-spacing: -1px;
}

.logo a:hover {
    color: #ff4d6d;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li {
    margin-left: 25px;
}

.nav-menu ul li a {
    color: #2b2d42;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu ul li a:hover {
    color: #ff4d6d;
}

.nav-menu ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #ff4d6d, #f9cb28);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover:after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-button .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2b2d42;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    text-align: center;
    background-color: #fef8f1;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    margin-bottom: 20px;
    font-size: 3rem;
    color: #2b2d42;
}

.hero-content p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

/* About Section */
.about-section {
    background-color: white;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex: 1;
    padding-right: 40px;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.features-list {
    margin-top: 30px;
}

.features-list ul {
    list-style: none;
}

.features-list ul li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.features-list ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff4d6d;
    font-weight: bold;
}

/* Services Section */
.services-section {
    background-color: #fef8f1;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-box {
    background-color: white;
    border: 2px solid #ffe0d6;
    border-radius: 10px;
    padding: 0 0 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    overflow: hidden;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 224, 214, 0.4);
}

.service-box h3 {
    margin: 20px 0;
    padding: 0 20px;
}

.service-box p {
    padding: 0 20px;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 10px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-box:hover .service-image img {
    transform: scale(1.05);
}

/* Why Us Section */
.why-us-section {
    background-color: white;
}

.why-us-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.why-us-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.why-us-icon {
    font-size: 2.5rem;
    color: #ff4d6d;
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #fef8f1;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #2b2d42;
}

/* Form Section */
.form-section {
    background-color: white;
    position: relative;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.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 #ffe0d6;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #ff4d6d;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

/* FAQ Section */
.faq-section {
    background-color: #fef8f1;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion {
    width: 100%;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-form {
    margin: 0;
}

.accordion-button {
    width: 100%;
    background: linear-gradient(to right, white, #fff9f5);
    border: none;
    border-left: 4px solid #ff4d6d;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #2b2d42;
    text-align: left;
    transition: all 0.3s ease;
}

.accordion-button:hover {
    background: linear-gradient(to right, white, #ffe0d6);
}

.accordion-title {
    flex: 1;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ff4d6d;
    margin-left: 20px;
}

.accordion-panel {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-button {
    background: linear-gradient(to right, white, #ffe0d6);
    border-left: 4px solid #ff4d6d;
}

.panel-content {
    padding: 20px 25px;
    color: #1a1a1a;
    line-height: 1.7;
}

/* Blog Section */
.blog-section {
    background-color: white;
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
    background-color: white;
}

.blog-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    background-color: #fef8f1;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.contact-info-box {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #ffe0d6;
}

.contact-info-item {
    margin-bottom: 20px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item h4 {
    margin-bottom: 8px;
    color: #ff4d6d;
    font-weight: 600;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles */
.site-footer {
    background-color: #2b2d42;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info, .footer-contact, .footer-links {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-contact h3, .footer-links h3 {
    color: white;
}

.footer-logo a {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: -1px;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: white;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ff4d6d;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: white;
}

/* Cookie Consent Popup */
.cookie-consent-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: none;
}

.cookie-consent-popup.show {
    transform: translateY(0);
    opacity: 1;
    display: block;
}

.cookie-content p {
    margin-bottom: 15px;
}

/* Policy Pages */
.policy-page {
    padding: 80px 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ffe0d6;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: left;
}

.policy-section p, .policy-section ul {
    margin-bottom: 15px;
}

.policy-section ul {
    padding-left: 20px;
}

/* Thank You Page */
.thank-you-page {
    text-align: center;
    padding: 100px 0;
}

.thank-you-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.thank-you-icon {
    font-size: 4rem;
    color: #ff4d6d;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* Mobile Menu */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        transition: left 0.3s ease;
        z-index: 99;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        padding: 30px;
    }
    
    .nav-menu ul li {
        margin: 0;
        margin-bottom: 20px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* About Section */
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
    }
    
    .footer-info, .footer-contact, .footer-links {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .policy-container {
        padding: 20px;
    }
}
