/* 
 * domain - Professional accounting services website
 * Main stylesheet
 */

/* CSS Reset and Base */
:root {
    --bg-color: #F2F5F9;
    --text-color: #111827;
    --dark-blue: #1F2937;
    --coral: #FF8C42;
    --teal: #18A999;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--dark-blue);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--coral), var(--teal));
    color: white;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn--secondary {
    background-color: transparent;
    border: 2px solid var(--dark-blue);
    color: var(--dark-blue);
}

.btn--secondary:hover {
    background-color: var(--dark-blue);
    color: white;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 100;
    padding: 1rem 0;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--coral), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: lowercase;
}

.footer__logo {
    margin-bottom: 1rem;
    display: inline-block;
}

/* Navigation */
.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-weight: 500;
    position: relative;
}

.nav__link:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--coral), var(--teal));
    transition: width 0.3s;
}

.nav__link:hover:after {
    width: 100%;
}

/* Mobile menu */
.mobile-menu {
    display: none;
}

.mobile-menu__button {
    font-size: 1.5rem;
    color: var(--dark-blue);
    padding: 0.25rem 0.5rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section__title {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section__title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--coral), var(--teal));
}

/* Hero section */
.hero {
    padding: 8rem 0;
    background: linear-gradient(rgba(242, 245, 249, 0.9), rgba(242, 245, 249, 0.9)), url('./img/BhJ5GD.jpg');
    background-size: cover;
    background-position: center;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* About section */
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about__image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Benefits section */
.benefits__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--coral);
}

.benefit-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Services section */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card__image {
    height: 200px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card__content {
    padding: 1.5rem;
}

.service-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Testimonials section */
.testimonials {
    background-color: white;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-color);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card__quote {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card__author {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Process section */
.process__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.process-step__number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--coral), var(--teal));
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
}

/* FAQ section */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item__question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item__answer {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: none;
}

.faq-item--open .faq-item__answer {
    display: block;
}

/* Form section */
.form-section {
    background-color: white;
}

.form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    background-color: white;
    font-family: inherit;
}

.form__checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form__checkbox {
    margin-top: 0.25rem;
}

.form__services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form__submit {
    display: block;
    width: 100%;
}

/* Contact section */
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__map {
    border-radius: var(--radius);
    overflow: hidden;
    height: 400px;
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact__icon {
    font-size: 1.5rem;
    color: var(--coral);
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 4rem 0 2rem;
}

.footer__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__title {
    margin-bottom: 1.5rem;
    color: white;
}

.footer__description {
    opacity: 0.8;
    line-height: 1.7;
}

.footer__contact-item {
    margin-bottom: 1rem;
}

.footer__contact-label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.footer__address {
    font-style: normal;
    opacity: 0.8;
}

.footer__contact-link:hover {
    color: var(--coral);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__link {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer__link:hover {
    opacity: 1;
    color: var(--coral);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer__copyright {
    opacity: 0.7;
    font-size: 0.875rem;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    max-width: 400px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-popup__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cookie-popup__buttons {
    display: flex;
    gap: 1rem;
}

/* Legal pages */
.legal-page {
    padding: 5rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.legal-container {
    background-color: white;
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow);
    background-image: linear-gradient(to bottom right, rgba(255, 140, 66, 0.05), rgba(24, 169, 153, 0.05));
}

.legal-title {
    margin-bottom: 2rem;
    text-align: center;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section__title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Thank you page */
.thank-you {
    padding: 8rem 0;
    text-align: center;
}

.thank-you__inner {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.thank-you__title {
    margin-bottom: 1.5rem;
    color: var(--teal);
}

.thank-you__icon {
    font-size: 4rem;
    color: var(--teal);
    margin-bottom: 2rem;
}

/* Responsive styles */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .contact__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about__inner {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 101;
    }
    
    .nav--open {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .mobile-menu__button--open {
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 102;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .form {
        padding: 1.5rem;
    }
    
    .legal-container {
        padding: 2rem 1.5rem;
    }
}
