/* Main CSS for domain - Accounting Services Website */
/* Color Palette:
- Primary Background: Gradient from light orange (#FFEDD5) to coral (#FF6B6B)
- Accents: Electric blue (#00BFFF) and sandy yellow (#FCD34D)
- Text: Graphite gray (#1F2937)
- Buttons: White with accent color outline
- Font: Manrope, sans-serif
*/

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: #1F2937;
    background: linear-gradient(135deg, #FFEDD5 0%, #FF6B6B 100%);
    background-attachment: fixed;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
    flex: 1;
}

/* For a 12-column grid */
.col-1 { flex: 0 0 8.33%; max-width: 8.33%; }
.col-2 { flex: 0 0 16.66%; max-width: 16.66%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.33%; max-width: 33.33%; }
.col-5 { flex: 0 0 41.66%; max-width: 41.66%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.33%; max-width: 58.33%; }
.col-8 { flex: 0 0 66.66%; max-width: 66.66%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.33%; max-width: 83.33%; }
.col-11 { flex: 0 0 91.66%; max-width: 91.66%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; text-align: center; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 20px;
}

a {
    color: #00BFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #1F2937;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: white;
    color: #1F2937;
    border: 2px solid #00BFFF;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background: #00BFFF;
    color: white;
}

.btn-accent {
    border-color: #FCD34D;
}

.btn-accent:hover {
    background: #FCD34D;
    color: #1F2937;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1F2937;
}

.logo span {
    color: #00BFFF;
}

.nav-desktop {
    display: flex;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
}

.nav-desktop ul li {
    margin-left: 30px;
}

.nav-desktop ul li a {
    color: #1F2937;
    font-weight: 500;
}

.nav-desktop ul li a:hover {
    color: #00BFFF;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #1F2937;
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.nav-mobile ul {
    list-style: none;
}

.nav-mobile ul li {
    border-bottom: 1px solid #eee;
}

.nav-mobile ul li a {
    display: block;
    padding: 15px 20px;
    color: #1F2937;
}

.nav-mobile.active {
    display: block;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    text-align: center;
}

.hero h1 {
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    margin: 0 auto;
    max-width: 1160px;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    color: #00BFFF;
}

/* Why Choose Us Section */
.why-us {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    margin: 0 auto;
    max-width: 1160px;
}

.feature-card {
    text-align: center;
    margin-bottom: 30px;
}

.feature-icon {
    font-size: 3rem;
    color: #00BFFF;
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 600;
    color: #00BFFF;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    margin: 0 auto;
    max-width: 1160px;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    border: 1px solid #eee;
}

.faq-question:after {
    content: "+";
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background-color: #00BFFF;
    color: white;
}

.faq-item.active .faq-question:after {
    content: "-";
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* Contact Form Section */
.contact {
    padding: 80px 0;
}

.form-container {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: #00BFFF;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check input {
    margin-right: 10px;
    margin-top: 6px;
}

/* Footer */
.footer {
    background-color: #1F2937;
    color: white;
    padding: 60px 0 30px;
}

.footer h4 {
    color: white;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00BFFF;
}

.footer-links {
    list-style: none;
    margin-bottom: 30px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
}

.footer-links a:hover {
    color: #00BFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    font-size: 0.9rem;
    color: #ddd;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(31, 41, 55, 0.95);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    display: none;
}

.cookie-banner.active {
    display: flex;
}

.cookie-banner .content {
    flex: 1;
}

.cookie-banner .actions {
    margin-left: 20px;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 60px;
}

.legal-content {
    background: white;
    border-radius: 10px;
    padding: 40px;
    border: 2px solid #eee;
}

.legal-content h2 {
    color: #00BFFF;
    margin-bottom: 30px;
}

.legal-content h3 {
    margin-top: 40px;
    margin-bottom: 15px;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 150px 0 80px;
}

.thank-you-card {
    background: white;
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

/* Media Queries */
@media (max-width: 992px) {
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
    
    .service-card, .testimonial-card {
        margin-bottom: 20px;
    }
    
    .cookie-banner {
        flex-direction: column;
    }
    
    .cookie-banner .actions {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 1.8rem; }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
}
