/* 
   ClearBooks Canada - Main Stylesheet
   Color Palette:
   - Midnight Blue: #1A1D3A
   - Neon Coral: #FF6B6B
   - Electric Lime: #D4FF00
   - White: #FFFFFF
   - Grey-Blue: #8895B3
*/

/* === Reset and Base Styles === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #1A1D3A;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #D4FF00;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6B6B;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 4rem;
    height: 0.25rem;
    background-color: #FF6B6B;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

ul {
    list-style-type: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* Image styles */
.rounded-image {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    display: block;
}

/* === Header and Navigation === */
.site-header {
    background: linear-gradient(to right, #1A1D3A, #2C2F48);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: #FFFFFF;
    height: 2px;
    width: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 8px;
}

.nav-toggle-label span::after {
    top: 8px;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D4FF00;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: #FF6B6B;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
}

.nav-cta:hover {
    background-color: #e05e5e;
    color: #FFFFFF;
}

/* === Hero Section === */
.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #8895B3;
}

.cta-button {
    display: inline-block;
    background-color: #D4FF00;
    color: #1A1D3A;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #FF6B6B;
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* === About Section === */
.about-section {
    background-color: #2C2F48;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-image {
    width: 100%;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.2rem;
    color: #8895B3;
}

/* === Benefits Section === */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    background: linear-gradient(to bottom right, #1A1D3A, #2C2F48);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #D4FF00;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.benefit-item p {
    color: #8895B3;
}

/* === Services Section === */
.services-section {
    background-color: #1A1D3A;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background: linear-gradient(to bottom right, #2C2F48, #1A1D3A);
    border: 1px solid #2C2F48;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: #FF6B6B;
    background: linear-gradient(to bottom right, #2C2F48, #232648);
}

.service-item h3 {
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.service-item p {
    color: #8895B3;
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4FF00;
    margin-top: 1rem;
}

/* === Testimonials Section === */
.testimonials-section {
    background-color: #2C2F48;
}

.testimonials-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-item {
    background: linear-gradient(to bottom right, #1A1D3A, #232648);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
}

.testimonial-item p {
    font-style: italic;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.client-name {
    color: #8895B3;
    font-weight: 500;
    text-align: right;
}

/* === FAQ Section === */
.faq-section {
    background-color: #1A1D3A;
}

.faq-grid {
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 1.5rem;
    background: linear-gradient(to right, #2C2F48, #1A1D3A);
    color: #FFFFFF;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-toggle:checked + .faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: linear-gradient(to right, #FF6B6B, #e05e5e);
}

.faq-toggle:checked + .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: #2C2F48;
    transition: max-height 0.3s ease;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
    color: #8895B3;
}

/* === Order Form Section === */
.order-form-section {
    background-color: #2C2F48;
}

.form-container {
    max-width: 700px;
    margin: 2rem auto 0;
    padding: 2.5rem;
    background: linear-gradient(to bottom right, #1A1D3A, #232648);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #3D4064;
    border-radius: 4px;
    background-color: #1A1D3A;
    color: #FFFFFF;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #D4FF00;
    box-shadow: 0 0 0 2px rgba(212, 255, 0, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.75rem;
}

.checkbox-group label {
    margin-bottom: 0;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #D4FF00;
    color: #1A1D3A;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #FF6B6B;
    color: #FFFFFF;
}

/* === Contact Section === */
.contact-section {
    background-color: #1A1D3A;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: linear-gradient(to bottom right, #2C2F48, #232648);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.contact-item h3 {
    color: #D4FF00;
    margin-bottom: 1rem;
}

.contact-item p {
    color: #8895B3;
}

/* === Footer === */
.site-footer {
    background-color: #151833;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-info {
    flex: 1 1 300px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-info p {
    color: #8895B3;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links-column {
    flex: 1 1 150px;
}

.footer-links-column h3 {
    color: #FFFFFF;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.footer-links-column ul li {
    margin-bottom: 0.75rem;
}

.footer-links-column a {
    color: #8895B3;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links-column a:hover {
    color: #D4FF00;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2C2F48;
}

.footer-bottom p {
    color: #8895B3;
    font-size: 0.9rem;
}

/* === Thank You Page === */
.thank-you-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

.thank-you-content {
    margin: 0 auto;
    max-width: 700px;
}

.confirmation-message {
    margin: 2rem 0;
}

.submission-details {
    background: rgba(26, 29, 58, 0.7);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
    border-left: 4px solid #D4FF00;
}

.submission-details h3 {
    color: #D4FF00;
    margin-bottom: 1rem;
}

.submission-details p {
    margin-bottom: 0.75rem;
}

.back-home {
    margin-top: 2rem;
}

/* === Policy Pages === */
.policy-section {
    padding: 5rem 0;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-text {
    background: linear-gradient(to bottom right, #2C2F48, #232648);
    padding: 2.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.policy-text h2 {
    color: #D4FF00;
    font-size: 1.5rem;
    margin-top: 2rem;
}

.policy-text p, 
.policy-text ul {
    color: #8895B3;
}

.policy-text ul {
    padding-left: 1.5rem;
    list-style-type: disc;
    margin-bottom: 1.5rem;
}

.policy-text li {
    margin-bottom: 0.5rem;
}

/* === Cookie Popup === */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: linear-gradient(to bottom right, #1A1D3A, #232648);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-align: center;
}

.cookie-popup h3 {
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.cookie-popup p {
    color: #8895B3;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.cookie-accept {
    background-color: #D4FF00;
    color: #1A1D3A;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background-color: #FF6B6B;
    color: #FFFFFF;
}

/* === Media Queries === */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .nav-toggle-label {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1A1D3A;
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 0.3s ease;
        padding: 0 1.5rem;
    }
    
    .nav-toggle:checked ~ .main-nav {
        transform: scale(1, 1);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        margin-left: 0;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 0;
        opacity: 0;
        transition: opacity 0.15s ease;
    }
    
    .nav-toggle:checked ~ .main-nav a {
        opacity: 1;
        transition: opacity 0.3s ease 0.15s;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-links {
        width: 100%;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
    }
    
    .benefit-item,
    .service-item,
    .testimonial-item,
    .contact-item {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}

/* Form error message */
.form-error {
    background-color: rgba(255, 107, 107, 0.2);
    border-left: 4px solid #FF6B6B;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    border-radius: 4px;
}

/* === Order Form Section === */
.order-form-section {
    background-color: #2C2F48;
} 