/* 
* Main CSS styles for domain accounting services
* Color palette:
* - Primary: #1F1D36
* - Accent: #FF595E
* - Secondary: #FFCA3A
* - Background: #F7F9FC
* - Text: #333333
*/

/* Global styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body {
    background-color: #F7F9FC;
    color: #333333;
}

section[id] {
    scroll-margin-top: 40px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    color: #1F1D36;
    margin-bottom: 1rem;
}

a {
    color: #1F1D36;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF595E;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: #FF595E;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    font-weight: bold;
}

.btn:hover {
    background-color: #e64046;
    color: white;
}

section {
    padding: 60px 0;
}

/* Header styles */
header {
    background-color: #1F1D36;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.logo a {
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: white;
    position: relative;
}

.nav-menu a:hover {
    color: #FFCA3A;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #FFCA3A;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile menu */
#mobile-menu-toggle {
    display: none;
}

.mobile-menu {
    display: none;
}

/* Hero section */
.hero {
    background-image: url('img/CLva9.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 29, 54, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About section */
.about {
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: #FF595E;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Services section */
.services {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px;
    text-align: center;
    border-top: 4px solid #1F1D36;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
    margin: 15px 0;
    color: #1F1D36;
}

.service-icon {
    font-size: 40px;
    color: #FF595E;
    margin-bottom: 15px;
}

/* Why Us section */
.why-us {
    background-color: #1F1D36;
    color: white;
}

.why-us .section-title {
    color: white;
}

.benefits-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.benefit-item {
    width: 48%;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.benefit-icon {
    background-color: #FF595E;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.benefit-content h3 {
    color: #FFCA3A;
    margin-bottom: 10px;
}

/* Testimonials section */
.testimonials {
    background-color: #F7F9FC;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card p {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card::before {
    content: '"';
    font-size: 60px;
    color: #f0f0f0;
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: Georgia, serif;
    z-index: 0;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-name {
    font-weight: bold;
}

.client-position {
    color: #777;
    font-size: 0.9rem;
}

/* FAQ section */
.faq {
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-question {
    background-color: #F7F9FC;
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 22px;
    color: #FF595E;
}

.faq-checkbox {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
    padding: 0 20px;
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
}

.faq-checkbox:checked ~ .faq-question::after {
    content: '-';
}

/* Contact form section */
.contact {
    background-color: #F7F9FC;
}

.form-container {
    max-width: 600px;
    margin: 40px auto 0;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #FF595E;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #1F1D36;
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 6px;
}

.checkbox-group label {
    font-size: 0.9rem;
    font-weight: normal;
}

.form-submit {
    background-color: #FF595E;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 100%;
}

.form-submit:hover {
    background-color: #e64046;
}

/* Footer */
footer {
    background-color: #1F1D36;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFCA3A;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    margin-right: 10px;
    color: #FFCA3A;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: white;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 1000;
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    flex: 1;
}

.accept-cookies {
    background-color: #FF595E;
    color: white;
    border: none;
}

.decline-cookies {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

/* Thank you page */
.thank-you-container {
    max-width: 600px;
    margin: 100px auto;
    background: white;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.thank-you-container h1 {
    color: #1F1D36;
    margin-bottom: 20px;
}

.thank-you-container p {
    margin-bottom: 30px;
}

/* Policy pages */
.policy-container {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.policy-container h1 {
    margin-bottom: 30px;
    text-align: center;
}

.policy-container h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1F1D36;
}

.policy-container p, .policy-container ul, .policy-container ol {
    margin-bottom: 20px;
}

.policy-container ul, .policy-container ol {
    padding-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .header-container {
        position: relative;
    }
    
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100%;
        background-color: #1F1D36;
        z-index: 200;
        transition: left 0.3s ease;
        padding: 60px 20px 20px;
    }
    
    .mobile-menu ul {
        list-style: none;
    }
    
    .mobile-menu li {
        margin-bottom: 20px;
    }
    
    .mobile-menu a {
        color: white;
        font-size: 18px;
        display: block;
    }
    
    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        color: white;
        font-size: 24px;
        cursor: pointer;
        background: none;
        border: none;
    }
    
    #mobile-menu-toggle:checked ~ .mobile-menu {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .benefit-item {
        width: 100%;
    }
    
    .testimonials-grid, .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 70px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .form-container, .policy-container, .thank-you-container {
        padding: 20px;
    }
} 