/* Main CSS for BrightBooks Accounting Solutions
   Color Palette:
   - Lemon Yellow: #F5E663 - accents and buttons
   - Turquoise: #00A5A5 - block backgrounds
   - Coal Black: #1C1C1C - text and icons
   - Foggy Gray: #E7E9EB - underlays and cards
   - Apricot: #F9A77E - icons and highlights
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #1C1C1C;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
}

h1 {
    font-size: 48px;
    line-height: 1.2;
}

h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #F5E663;
}

h3 {
    font-size: 24px;
}

p {
    margin-bottom: 20px;
}

a {
    color: #00A5A5;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #F9A77E;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #F5E663;
    color: #1C1C1C;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #1C1C1C;
    color: #F5E663;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: #00A5A5;
    color: white;
}

.btn-secondary:hover {
    background-color: #008080;
    color: white;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
}

.logo {
    width: 180px;
    transition: all 0.3s ease;
}

header.scrolled .logo {
    width: 150px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #1C1C1C;
    font-weight: 600;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #F9A77E;
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #E7E9EB 0%, #fff 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(245, 230, 99, 0.3);
    z-index: 1;
    animation: float 8s ease-in-out infinite;
}

.hero:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: rgba(0, 165, 165, 0.2);
    z-index: 1;
    animation: float 10s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
    100% { transform: translate(0, 0); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
}

/* About Section */
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0);
}

/* Services Section */
.services {
    background-color: #E7E9EB;
    position: relative;
    overflow: hidden;
}

.services:before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(249, 167, 126, 0.2);
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #00A5A5;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 165, 165, 0.1);
    border-radius: 50%;
    color: #00A5A5;
    font-size: 36px;
}

.service-title {
    margin-bottom: 15px;
    font-size: 22px;
}

.service-price {
    font-weight: 700;
    color: #F9A77E;
    margin-top: 20px;
    font-size: 18px;
}

/* Why Choose Us Section */
.why-us {
    background-color: #00A5A5;
    color: #fff;
}

.why-us h2:after {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature {
    text-align: center;
    position: relative;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: #F5E663;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #1C1C1C;
    font-size: 28px;
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.feature-title {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 20px;
}

/* Testimonials Section */
.testimonials {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.testimonials:after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(0, 165, 165, 0.1);
    z-index: 1;
}

.testimonials-grid {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.testimonial {
    flex: 1;
    background-color: #E7E9EB;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: rgba(0, 165, 165, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-details h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.author-details p {
    color: #666;
    margin-bottom: 0;
    font-size: 14px;
}

/* FAQ Section */
.faq {
    background-color: #E7E9EB;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: #fff;
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '+';
    font-size: 20px;
    color: #00A5A5;
}

.faq-answer {
    background-color: #fff;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item:hover .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-item:hover .faq-question:after {
    content: '-';
}

/* Contact Form Section */
.contact {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.contact:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(245, 230, 99, 0.2);
    z-index: 1;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #E7E9EB;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #00A5A5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 165, 165, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231C1C1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-label {
    font-size: 14px;
}

.checkbox-label a {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #1C1C1C;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h3 {
    color: #F5E663;
    margin-bottom: 25px;
    font-size: 20px;
}

.footer-column p {
    margin-bottom: 15px;
    color: #ccc;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: #F5E663;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact-icon {
    margin-right: 10px;
    color: #F9A77E;
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
    margin-bottom: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(28, 28, 28, 0.95);
    color: #fff;
    padding: 15px 0;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-content {
    flex: 1;
    padding-right: 20px;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 14px;
}

.cookie-actions {
    flex-shrink: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 970px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 750px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 30px;
    }
    
    .services-grid, 
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .services-grid, 
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content {
        padding-right: 0;
        margin-bottom: 15px;
    }
} 