/* 
   Domain - Accounting Services Website
   Main Stylesheet
*/

/* === Global Variables === */
:root {
    /* Color Palette */
    --color-bg-main: #fef9f6;
    --color-bg-alt: #fdf4ec;
    --color-bg-white: #ffffff;
    --color-accent: #ff6f61;
    --color-accent-light: #ffb199;
    --color-heading: #2f2f2f;
    --color-text: #3d3d3d;
    --color-text-light: #777777;
    --color-border: #e0e0e0;
    --color-footer-bg: #2f2f2f;
    --color-footer-text: #f5f5f5;

    /* Typography */
    --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;

    /* Layout */
    --container-width: 1200px;
    --container-padding: 20px;
    --section-spacing: 100px;
    --border-radius: 6px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition-speed: 0.3s;
}

/* === Reset & Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg-main);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-accent-light);
}

ul {
    list-style: none;
}

/* === Layout === */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: calc(var(--section-spacing) / 2) 0;
}

section:nth-of-type(even) {
    background-color: var(--color-bg-alt);
}

section:nth-of-type(odd) {
    background-color: var(--color-bg-white);
}

/* === Components === */
/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 111, 97, 0.3);
    color: white;
}

/* === Header & Navigation === */
.site-header {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px var(--container-padding);
}

.logo a {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-list a {
    color: var(--color-heading);
    font-weight: 500;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-speed) ease;
}

.nav-list a:hover {
    color: var(--color-accent);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--color-accent);
    color: white !important;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed) ease;
}

.nav-cta:hover {
    background-color: var(--color-accent-light);
}

.nav-cta::after {
    display: none !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-heading);
    border-radius: 3px;
    transition: transform var(--transition-speed), opacity var(--transition-speed);
}

/* === Hero Section === */
.hero {
    background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.8)), url('../img/SB83m5.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 120px 0;
    background-attachment: fixed;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-heading);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--color-text);
}

/* === About Section === */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* === Services Section === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 0;
}

/* === Benefits Section === */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: var(--color-bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    transition: transform var(--transition-speed);
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 111, 97, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
}

.benefit-item h3 {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.benefit-item p {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* === Process Section === */
.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    margin-top: 30px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    z-index: 1;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
    margin-bottom: 30px;
}

.process-step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    border-radius: 50%;
    color: white;
    font-weight: 600;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* === Testimonials Section === */
.testimonials {
    background-color: var(--color-bg-alt);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 5rem;
    color: rgba(255, 111, 97, 0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--color-heading);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* === 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(--box-shadow);
}

.faq-toggle {
    display: none;
}

.faq-question {
    background-color: var(--color-bg-white);
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    color: var(--color-heading);
    display: block;
    transition: background-color var(--transition-speed);
}

.faq-question:hover {
    background-color: rgba(255, 111, 97, 0.05);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    transition: transform var(--transition-speed);
}

.faq-answer {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed);
    padding: 0 20px;
}

.faq-answer p {
    padding: 20px 0;
    margin: 0;
}

.faq-toggle:checked + .faq-question {
    background-color: var(--color-accent);
    color: white;
}

.faq-toggle:checked + .faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
}

/* === Contact Form === */
.contact-form {
    background-color: var(--color-bg-alt);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

.contact-form-container .btn-primary {
    margin-top: 10px;
    width: 100%;
}

/* === Footer === */
.site-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    grid-column: span 2;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-description {
    color: #ccc;
    max-width: 400px;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--color-footer-text);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    color: #ffffff;
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-legal a {
    color: var(--color-footer-text);
    transition: color var(--transition-speed), transform var(--transition-speed);
    display: inline-block;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* === Cookie Popup === */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(200%);
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 500px;
    width: calc(100% - 40px);
    transition: transform 0.5s ease;
}

.cookie-popup.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
}

.btn-cookie {
    background: var(--color-accent);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: background-color var(--transition-speed);
}

.btn-cookie:hover {
    background-color: var(--color-accent-light);
}

/* === Legal Pages === */
.legal-page {
    background-color: white;
    padding: 50px 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid var(--color-accent);
    border-radius: var(--border-radius);
    background-color: white;
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.legal-content h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-top: 40px;
}

.legal-content h2:after {
    left: 0;
    transform: none;
    width: 40px;
}

.legal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
}

/* === Thank You Page === */
.thank-you {
    text-align: center;
    padding: 100px 0;
    background-color: white;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.legal-content.thank-you-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

.legal-content.thank-you-content h1 {
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: none;
}

.thank-you-icon {
    color: var(--color-accent);
    font-size: 60px;
    margin-bottom: 20px;
}

/* === Responsive Design === */
@media (max-width: 992px) {
    :root {
        --section-spacing: 80px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        min-width: 45%;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 10;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list.menu-open {
        right: 0;
    }
    
    .footer-info {
        grid-column: 1 / -1;
    }
    
    .process-step {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    :root {
        --section-spacing: 50px;
        --container-padding: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .service-card,
    .benefit-item,
    .testimonial {
        padding: 20px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .legal-content {
        padding: 20px;
    }
} 