/* 
  Main Styles for domain - Accounting Services Website
  Color Palette:
  - Main: #FFC857 (sunny amber)
  - Secondary: #3EEBBE (aquamarine neon)
  - Tertiary: #1F1F1F (deep graphite)
  - Background: #F6F6F6 (ash gray)
  - Text: #111111 (rich coal black)
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #111111;
    background-color: #F6F6F6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #1F1F1F;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFC857;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #FFC857;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.primary-btn {
    background-color: #FFC857;
    color: #1F1F1F;
}

.primary-btn:hover {
    background-color: #e6b54e;
    color: #1F1F1F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 200, 87, 0.3);
}

.secondary-btn {
    background-color: #3EEBBE;
    color: #1F1F1F;
}

.secondary-btn:hover {
    background-color: #32d1a8;
    color: #1F1F1F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(62, 235, 190, 0.3);
}

/* Header Styles */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #1F1F1F;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-toggle {
    display: none;
}

.menu-toggle-checkbox {
    display: none;
}

.menu-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #1F1F1F;
    position: relative;
    transition: background-color 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: #1F1F1F;
    position: absolute;
    transition: transform 0.3s ease;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

/* Hero Section */
.hero {
    background-color: #1F1F1F;
    color: #ffffff;
    text-align: center;
    padding: 6rem 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.logo-text {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #FFC857;
}

.slogan {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

/* About Section */
.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text ul {
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

.about-text li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 15px;
}

.about-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #3EEBBE;
    border-radius: 50%;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #F6F6F6;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 20px;
    width: 100%;
    height: 180px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #1F1F1F;
}

.service-card p {
    margin-bottom: 20px;
}

/* Benefits Section */
.benefits {
    background-color: #1F1F1F;
    color: #ffffff;
}

.benefits h2 {
    color: #ffffff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    position: relative;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2.5rem;
    font-weight: 700;
    opacity: 0.2;
    color: #3EEBBE;
}

.benefit-item h3 {
    position: relative;
    z-index: 1;
    color: #3EEBBE;
}

/* Testimonials Section */
.testimonials {
    background-color: #F6F6F6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 3rem;
    color: #FFC857;
    line-height: 0;
}

.testimonial-content::before {
    position: absolute;
    top: 10px;
    left: -15px;
}

.testimonial-content::after {
    display: inline-block;
    vertical-align: bottom;
}

.testimonial-author {
    text-align: right;
}

/* Portfolio Section */
.portfolio {
    background-color: #ffffff;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    justify-items: center;
    align-items: center;
}

.client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 150px;
    background-color: #F6F6F6;
    border-radius: 8px;
    color: #1F1F1F;
    font-weight: 600;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq {
    background-color: #F6F6F6;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #FFC857;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question {
    border-bottom-color: #F6F6F6;
}

.faq-toggle:checked + .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 20px;
}

/* Contact Form */
.contact-form {
    background-color: #ffffff;
}

.order-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background-color: #F6F6F6;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid #FFC857;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
}

.form-group button {
    width: 100%;
}

/* Contacts Section */
.contacts {
    background-color: #F6F6F6;
}

.contacts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h3 {
    margin-bottom: 5px;
    color: #FFC857;
}

.map {
    flex: 2;
    min-width: 300px;
    max-width: 500px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid #FFC857;
    margin: 0 auto;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: #1F1F1F;
    color: #ffffff;
    padding-top: 4rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 3rem;
}

.footer-info {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #FFC857;
    margin-bottom: 1rem;
}

.footer-description {
    max-width: 400px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #3EEBBE;
}

.footer-column ul li {
    margin-bottom: 0.7rem;
}

.footer-column a {
    color: #ffffff;
}

.footer-column a:hover {
    color: #FFC857;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: #1F1F1F;
    color: #ffffff;
    z-index: 2000;
    padding: 20px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transition: bottom 0.5s ease;
}

.cookie-notice.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    flex: 3;
    min-width: 200px;
}

.cookie-content a {
    color: #3EEBBE;
}

.cookie-content button {
    flex: 1;
    min-width: 150px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h2 {
        font-size: 2.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .benefits-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: block;
        cursor: pointer;
    }
    
    .menu-toggle-label {
        cursor: pointer;
        display: block;
        padding: 10px;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active,
    .menu-toggle-checkbox:checked ~ .main-nav {
        max-height: 500px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav ul li {
        margin: 10px 0;
        width: 100%;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 10px;
    }
    
    /* Layout adjustments */
    .benefits-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-text {
        font-size: 3rem;
    }
    
    .slogan {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .order-form {
        padding: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        width: 100%;
    }
}