/* 
 * Main CSS for domain accounting services website
 * Color palette:
 * - Primary gradient: #007a5e (emerald) to #f2c94c (light gold)
 * - Accent colors: #f2994a (mandarin) and #56ccf2 (sky blue)
 * - Text: #1f1f1f on light backgrounds, #ffffff on dark backgrounds
 */

/* Base styles and resets */
:root {
    --emerald: #007a5e;
    --light-gold: #f2c94c;
    --mandarin: #f2994a;
    --sky-blue: #56ccf2;
    --text-dark: #1f1f1f;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #333333;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: var(--emerald);
    transition: var(--transition);
}

a:hover {
    color: var(--mandarin);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.8em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--emerald), var(--light-gold));
}

/* Button styles */
.cta-button, .submit-button, .cookie-button {
    display: inline-block;
    background: linear-gradient(to right, var(--emerald), var(--light-gold));
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow);
}

.cta-button:hover, .submit-button:hover, .cookie-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: var(--text-light);
}

/* Header styles */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container, .logo-link {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 10px;
    color: var(--emerald);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
}

.nav-item {
    margin: 0 12px;
}

.nav-item a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--emerald), var(--light-gold));
    transition: var(--transition);
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-cta {
    color: var(--text-light);
    background: linear-gradient(to right, var(--mandarin), var(--light-gold));
    padding: 10px 20px;
    border-radius: 50px;
}

.nav-cta:hover {
    color: var(--text-light);
    transform: translateY(-3px);
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--emerald);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 999;
    padding-top: 80px;
    transform: translateX(-100%);
    transition: var(--transition);
    display: none;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-nav-item {
    margin: 15px 0;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 500;
}

.cta-link {
    color: var(--text-light);
    background: linear-gradient(to right, var(--emerald), var(--light-gold));
    padding: 10px 20px;
    border-radius: 50px;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--emerald), var(--light-gold));
    padding: 100px 0;
    text-align: center;
    color: var(--text-light);
}

.hero .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero .logo {
    width: 80px;
    height: 80px;
}

.hero .company-name {
    font-size: 3rem;
    margin-left: 15px;
}

.hero-tagline {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* About section */
.about {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Services section */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.service-card h3 {
    padding: 20px 20px 10px;
    color: var(--emerald);
}

.service-card p {
    padding: 0 20px 20px;
}

/* Benefits section */
.benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 122, 94, 0.05), rgba(242, 201, 76, 0.05));
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    color: var(--emerald);
    font-size: 1.5rem;
    margin-right: 15px;
    font-weight: bold;
}

.benefit-content h3 {
    color: var(--emerald);
    margin-bottom: 10px;
}

/* Contact form section */
.contact-form {
    padding: 80px 0;
    background-color: var(--bg-light);
}

form.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: var(--emerald);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 122, 94, 0.1);
}

.service-checkboxes,
.consent-checkboxes {
    margin-top: 25px;
}

.checkbox-wrapper {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--emerald);
}

.submit-button {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    font-size: 1.1rem;
}

/* Testimonials section */
.testimonials {
    padding: 80px 0;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 3rem;
    color: rgba(0, 122, 94, 0.1);
}

.testimonial-content p {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--emerald);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #777;
}

/* FAQ section */
.faq {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
}

.faq-question:hover {
    background-color: rgba(0, 122, 94, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--emerald);
    display: block;
    width: 24px;
    height: 24px;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

/* Contact information section */
.contact-info {
    padding: 80px 0;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-text p {
    margin-bottom: 15px;
}

.contact-map img {
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-title {
    color: var(--light-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: var(--text-light);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-menu a:hover {
    opacity: 1;
    color: var(--light-gold);
}

.footer-address p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-address a {
    color: var(--text-light);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-address a:hover {
    opacity: 1;
    color: var(--light-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(31, 31, 31, 0.95);
    color: var(--text-light);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
}

.cookie-content a {
    color: var(--light-gold);
}

.cookie-button {
    padding: 8px 20px;
    margin-left: 20px;
    white-space: nowrap;
}

/* Responsive styles */
@media (max-width: 992px) {
    .about-content,
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .nav-list {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-button {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-tagline {
        font-size: 1.7rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .hero .company-name {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero, .about, .services, .benefits, 
.contact-form, .testimonials, .faq, 
.contact-info {
    animation: fadeIn 1s ease-out;
}

.service-card, .benefit-item, .testimonial-item, .faq-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
} 