/* 
* Domain - Accounting Services Website
* Colors:
* - Primary: #373B44 (graphite)
* - Accent: #F04E23 (bright orange-red)
* - Background: #F6F5F3 (pastel beige)
* - Text: #1E1E1E (deep gray)
* - Additional: #57C5B6 (mint), #FFCB47 (warm yellow)
*/

/* ========== RESET & BASE ========== */
:root {
    --color-primary: #373B44;
    --color-accent: #F04E23;
    --color-bg: #F6F5F3;
    --color-text: #1E1E1E;
    --color-mint: #57C5B6;
    --color-yellow: #FFCB47;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-primary);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 20px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-cookie {
    background-color: white;
    color: var(--color-primary);
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-cookie:hover {
    background-color: var(--color-primary);
    color: white;
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: lowercase;
}

.logo a:hover {
    color: var(--color-accent);
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--color-primary);
    font-weight: 600;
    padding: 8px 12px;
}

.main-nav a:hover {
    color: var(--color-accent);
}

.nav-cta {
    background-color: var(--color-accent);
    color: white !important;
    padding: 8px 16px !important;
    border-radius: var(--border-radius);
}

.nav-cta:hover {
    background-color: var(--color-primary);
    color: white !important;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(rgba(55, 59, 68, 0.85), rgba(55, 59, 68, 0.85)), url('../img/hero-bg.jpg') center/cover no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding: 60px 0;
}

.hero h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 20px;
    text-transform: lowercase;
    animation: fadeIn 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-text {
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.hero .btn {
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== SECTIONS GENERAL ========== */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: white;
}

/* ========== ABOUT SECTION ========== */
.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* ========== SERVICES SECTION ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card h3,
.service-card p {
    padding: 0 30px;
}

.service-card p {
    padding-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-image {
    width: 100%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== BENEFITS SECTION ========== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.testimonial-content {
    position: relative;
    padding: 0 20px;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 0;
}

.testimonial-author {
    margin-top: 20px;
    text-align: right;
}

/* ========== FAQ SECTION ========== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: white;
}

.faq-question {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer.active {
    padding: 15px 20px;
    max-height: 1000px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* ========== CONTACT FORM ========== */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(240, 78, 35, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin: 0;
}

.form-submit {
    text-align: center;
}

/* ========== CONTACT INFO SECTION ========== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-info-item {
    text-align: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
}

.map-container {
    max-width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--color-primary);
    color: white;
    padding: 60px 0 20px;
}

.footer a {
    color: #ddd;
}

.footer a:hover {
    color: var(--color-accent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-transform: lowercase;
}

.footer-description {
    margin-top: 15px;
    color: #bbb;
    max-width: 90%;
}

.footer-column h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column address {
    font-style: normal;
    line-height: 1.8;
    color: #bbb;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #bbb;
    font-size: 0.9rem;
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(55, 59, 68, 0.95);
    color: white;
    padding: 15px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-banner.active {
    display: block;
    animation: slideUp 0.5s forwards;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin: 0;
    padding-right: 20px;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ========== POLICY PAGES ========== */
.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 30px;
}

.policy-container h2 {
    text-align: left;
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-container h2::after {
    margin-left: 0;
}

.policy-container p,
.policy-container ul {
    margin-bottom: 20px;
}

.policy-container ul {
    list-style: disc;
    padding-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
}

/* ========== THANK YOU PAGE ========== */
.thank-you {
    text-align: center;
    padding: 80px 0;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 110;
    }
    
    .menu-icon {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .menu-icon span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--color-primary);
        transition: var(--transition);
    }
    
    .menu-close {
        font-size: 2rem;
        font-weight: 300;
        color: var(--color-primary);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        box-shadow: var(--shadow-md);
        z-index: 100;
        transition: right 0.3s ease;
        padding: 80px 20px 20px;
    }
    
    .main-nav.mobile-open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 10px 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-content p {
        padding-right: 0;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .testimonials-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

