/* 
 * DOMAIN - Accounting Services Website
 * Color Palette:
 * - Main: deep turquoise (#0A7C7D)
 * - Secondary: warm coral (#FF6F61)
 * - Accent: soft gold (#FFD662)
 * - Background: ivory (#FAF3DD)
 * - Text: charcoal gray (#333333)
 */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0A7C7D;
    --color-secondary: #FF6F61;
    --color-accent: #FFD662;
    --color-bg: #FAF3DD;
    --color-text: #333333;
    --color-light: #ffffff;
    --color-light-gray: #f5f5f5;
    --color-gray: #dddddd;
    --color-dark-gray: #777777;
    --color-error: #e74c3c;
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.btn-primary:hover {
    background-color: #096263;
    color: var(--color-light);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-light);
}

.btn-secondary:hover {
    background-color: #e5655a;
    color: var(--color-light);
}

/* Alert Messages */
.alert {
    padding: 15px 0;
    margin-bottom: 20px;
    font-family: var(--font-primary);
}

.alert p {
    margin-bottom: 5px;
}

.alert p:last-child {
    margin-bottom: 0;
}

.alert-error {
    background-color: var(--color-error);
    color: var(--color-light);
}

.alert-success {
    background-color: #2ecc71;
    color: var(--color-light);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        transform: translateY(30px); 
        opacity: 0;
    }
    to { 
        transform: translateY(0); 
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
}

/* Header Styles */
.site-header {
    background-color: var(--color-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: lowercase;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    font-family: var(--font-primary);
    font-weight: 500;
}

.nav-menu li.active a {
    color: var(--color-secondary);
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.menu-icon span,
.menu-icon span:before,
.menu-icon span:after {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--color-primary);
    transition: var(--transition);
}

.menu-icon span {
    top: 9px;
}

.menu-icon span:before {
    content: '';
    top: -8px;
}

.menu-icon span:after {
    content: '';
    top: 8px;
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    text-align: center;
    background-color: var(--color-light);
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 214, 98, 0.2);
    z-index: 1;
}

.hero-section:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(10, 124, 125, 0.1);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeIn 1.2s ease;
}

.hero-section .btn {
    animation: fadeIn 1.4s ease;
}

/* Services Section */
.services-section {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--color-light);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    margin: 20px 15px 10px;
}

.service-card p {
    padding: 0 15px 20px;
    flex-grow: 1;
}

/* Advantages Section */
.advantages-section {
    background-color: var(--color-light);
    text-align: center;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-item {
    padding: 20px;
}

.advantage-icon {
    margin-bottom: 20px;
}

/* About Section */
.about-section {
    background-color: var(--color-primary);
    color: var(--color-light);
    text-align: center;
}

.about-section h2 {
    color: var(--color-light);
}

.about-section h2:after {
    background-color: var(--color-accent);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 50px;
}

.about-text {
    flex: 3;
    text-align: left;
}

.about-image {
    flex: 2;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    max-width: 100%;
    height: auto;
}

/* Testimonials Section */
.testimonials-section {
    text-align: center;
}

.testimonials-slider {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial {
    background-color: var(--color-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: calc(50% - 15px);
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content:before {
    content: """;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-info h4 {
    margin-bottom: 5px;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    margin-bottom: 0;
}

/* Form Styles */
.order-form {
    max-width: 700px;
    margin: 40px auto 0;
    background-color: var(--color-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-gray);
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

/* FAQ Section */
.faq-section {
    background-color: var(--color-bg);
    text-align: center;
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    background-color: var(--color-light);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 20px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    font-family: var(--font-primary);
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-toggle:checked + .faq-question:after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: var(--transition);
    text-align: left;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

/* Contact Section */
.contact-section {
    background-color: var(--color-light);
    text-align: center;
    padding: 80px 0;
}

.contacts-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    margin-right: 15px;
}

.contact-text h3 {
    margin-bottom: 5px;
}

.map-wrapper {
    margin-top: 50px;
    height: 400px;
    background-color: var(--color-light);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.map-wrapper iframe {
    border-radius: 8px;
}

/* Footer Styles */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo a {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-light);
    text-transform: lowercase;
}

.footer-info p {
    margin-top: 15px;
    opacity: 0.8;
}

.footer-nav h3,
.footer-contacts h3,
.footer-legal h3 {
    color: var(--color-light);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-nav ul,
.footer-contacts ul,
.footer-legal ul {
    list-style: none;
}

.footer-nav li,
.footer-contacts li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-nav a,
.footer-contacts a,
.footer-legal a {
    color: var(--color-light);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-contacts a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-light);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 15px;
    display: none;
    z-index: 1001;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 20px;
}

.cookie-btn {
    background-color: var(--color-primary);
    color: var(--color-light);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 500;
    transition: var(--transition);
}

.cookie-btn:hover {
    background-color: #096263;
}

/* Legal Pages */
.legal-page {
    padding: 150px 0 80px;
}

.legal-content {
    background-color: var(--color-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.legal-content h1 {
    margin-bottom: 30px;
    text-align: center;
}

.legal-content h2 {
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.legal-content p, 
.legal-content ul {
    text-align: left;
}

/* Thanks Page */
.thanks-page {
    padding: 150px 0;
    text-align: center;
}

.thanks-content {
    background-color: var(--color-light);
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

.thanks-content h1 {
    margin-bottom: 20px;
    color: var(--color-primary);
}

.thanks-content .btn {
    margin-top: 30px;
}

/* Form styles for textarea */
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-gray);
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Media Queries */
@media screen and (max-width: 991px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 150px 0 80px;
    }
    
    .about-content {
        flex-direction: column-reverse;
        gap: 30px;
    }
    
    .testimonial {
        width: 100%;
    }
    
    .contacts-wrapper {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    
    .menu-toggle:checked + .menu-icon span {
        background-color: transparent;
    }
    
    .menu-toggle:checked + .menu-icon span:before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .menu-toggle:checked + .menu-icon span:after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-light);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }
    
    .menu-toggle:checked ~ .nav-menu {
        max-height: 300px;
        padding: 15px 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .order-form {
        padding: 20px;
    }
    
    .legal-content,
    .thanks-content {
        padding: 20px;
    }
} 