/* 
 * Domain - Accounting Services Website
 * Main Stylesheet
 */

/* ===== VARIABLES ===== */
:root {
    /* Colors */
    --bg-color: #F2F0E6;
    --primary-color: #122B40;
    --accent-gradient-1: #F857A6;
    --accent-gradient-2: #FFCC70;
    --text-color: #222222;
    --light-color: #FFFFFF;
    --border-color: #E0DED4;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --body-size: 1rem;
    --small-size: 0.875rem;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

body {
    font-family: var(--font-family);
    font-size: var(--body-size);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--space-xl) 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    color: var(--primary-color);
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
    text-align: center;
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: var(--h3-size);
}

p {
    margin-bottom: var(--space-md);
}

/* ===== BUTTONS ===== */
.cta-button, .submit-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gradient-1), var(--accent-gradient-2));
    color: var(--light-color);
    font-weight: 600;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-align: center;
}

.cta-button:hover, .submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.service-link {
    color: var(--accent-gradient-1);
    font-weight: 500;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--accent-gradient-1), var(--accent-gradient-2));
    transition: width var(--transition-fast);
}

.service-link:hover::after {
    width: 100%;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    background-color: var(--light-color);
    box-shadow: 0 2px 10px var(--shadow-color);
    padding: var(--space-sm) 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gradient-1), var(--accent-gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--accent-gradient-1), var(--accent-gradient-2));
    transition: width var(--transition-fast);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent-gradient-1), var(--accent-gradient-2));
    color: var(--light-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
}

.nav-cta:hover::after {
    display: none;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 80vh;
    min-height: 500px;
    background-image: url('../img/25ouo.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-lg);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    color: var(--light-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background-color: var(--light-color);
    border-radius: var(--radius-md);
    padding: 0;
    box-shadow: 0 8px 16px var(--shadow-color);
    transition: transform var(--transition-medium);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    padding: var(--space-md) var(--space-md) 0;
    margin-bottom: var(--space-sm);
}

.service-card p {
    padding: 0 var(--space-md);
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.service-card .service-link {
    padding: 0 var(--space-md) var(--space-md);
}

/* ===== WHY US SECTION ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.benefit-item {
    text-align: center;
    padding: 0 0 var(--space-md);
    background-color: var(--light-color);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 8px var(--shadow-color);
    overflow: hidden;
}

.benefit-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.benefit-item:hover .benefit-image img {
    transform: scale(1.05);
}

.benefit-item h3 {
    padding: 0 var(--space-sm);
    margin-bottom: var(--space-xs);
}

.benefit-item p {
    padding: 0 var(--space-md);
}

/* ===== HOW WE WORK SECTION ===== */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gradient-1), var(--accent-gradient-2));
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gradient-1), var(--accent-gradient-2));
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.process-step h3 {
    margin-bottom: var(--space-xs);
}

/* ===== CONTACT FORM ===== */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-color);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 16px var(--shadow-color);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: var(--space-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast);
    background-color: var(--bg-color);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gradient-1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: var(--small-size);
}

.checkbox-group a {
    color: var(--accent-gradient-1);
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    margin-top: var(--space-md);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.testimonial {
    background-color: var(--light-color);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.testimonial-content {
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: var(--small-size);
    color: #666;
}

.certifications {
    text-align: center;
}

.certification-list {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

.certification-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

/* ===== FAQ SECTION ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.faq-toggle {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.faq-question {
    display: block;
    padding: var(--space-md) var(--space-sm);
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
    padding: 0 var(--space-sm);
}

.faq-toggle:checked ~ .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 300px;
    padding-bottom: var(--space-md);
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: var(--space-xl) 0 var(--space-md);
    margin-top: var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-section h3 {
    color: var(--light-color);
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
}

.contact-info li, 
.footer-links li,
.legal-links li {
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info a:hover,
.footer-links a:hover,
.legal-links a:hover {
    color: var(--accent-gradient-2);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: var(--space-md);
    box-shadow: 0 -4px 10px var(--shadow-color);
    z-index: 1000;
    transition: bottom var(--transition-medium);
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.cookie-btn.accept {
    background-color: var(--accent-gradient-1);
    color: var(--light-color);
    border: none;
}

.cookie-btn.info {
    background-color: transparent;
    border: 1px solid var(--light-color);
    color: var(--light-color);
}

.cookie-btn:hover {
    opacity: 0.9;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .service-card, .benefit-item, .testimonial {
    animation: fadeIn 0.8s ease-out forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}

.benefit-item:nth-child(2) {
    animation-delay: 0.1s;
}

.benefit-item:nth-child(3) {
    animation-delay: 0.2s;
}

.benefit-item:nth-child(4) {
    animation-delay: 0.3s;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 992px) {
    :root {
        --h1-size: 2rem;
        --h2-size: 1.75rem;
        --h3-size: 1.35rem;
    }
    
    .process-steps {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column-reverse;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-icon {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
        cursor: pointer;
        z-index: 200;
    }

    .menu-line {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--primary-color);
        position: absolute;
        transition: transform var(--transition-fast), opacity var(--transition-fast);
    }

    .menu-line:nth-child(1) {
        top: 0;
    }

    .menu-line:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-line:nth-child(3) {
        bottom: 0;
    }

    .menu-toggle:checked ~ .menu-icon .menu-line:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .menu-toggle:checked ~ .menu-icon .menu-line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .menu-icon .menu-line:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--light-color);
        flex-direction: column;
        padding: 80px var(--space-lg) var(--space-lg);
        transition: right var(--transition-medium);
        box-shadow: -5px 0 15px var(--shadow-color);
        z-index: 100;
    }

    .menu-toggle:checked ~ .nav-menu {
        right: 0;
    }
}

@media (max-width: 576px) {
    section {
        padding: var(--space-lg) 0;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .certification-list {
        flex-direction: column;
        align-items: center;
    }
} 

.legal-section {
    padding: var(--space-xl) 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--light-color);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.legal-date {
    color: #666;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    text-align: left;
}

.legal-content ul, .legal-content ol {
    margin-bottom: var(--space-md);
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: var(--space-xs);
}

.legal-content address {
    margin: var(--space-md) 0;
    font-style: normal;
    line-height: 1.6;
}

.legal-content a {
    color: var(--accent-gradient-1);
}

.legal-content a:hover {
    text-decoration: underline;
}