/* 
 * Domain - Financial Auditing Firm
 * Main Stylesheet
 */

/* Color Variables */
:root {
    --dark-blue: #102542;
    --teal: #00BFA6;
    --plum: #6A0572;
    --beige: #F4F3EE;
    --charcoal: #333533;
    --white: #FFFFFF;
    --light-gray: #E8E8E8;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
    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(--charcoal);
    background-color: var(--beige);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--teal);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--teal);
    margin: 1rem auto;
}

/* Button Styles */
.button, .cta-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--teal);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 191, 166, 0.3);
}

.button:hover, .cta-button:hover {
    background-color: var(--plum);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(106, 5, 114, 0.4);
}

.cta-button {
    background-color: var(--plum);
    box-shadow: 0 4px 12px rgba(106, 5, 114, 0.3);
}

.cta-button:hover {
    background-color: var(--dark-blue);
    box-shadow: 0 6px 15px rgba(16, 37, 66, 0.4);
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    height: 100%;
}

.main-nav li {
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
}

.main-nav a {
    color: var(--dark-blue);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--teal);
    transition: width 0.3s ease;
}

.main-nav a:hover:before {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--dark-blue);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(16, 37, 66, 0.9), rgba(106, 5, 114, 0.8)), url('./img/WuECTM.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.feature-icon {
    background-color: var(--teal);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Services Section */
.services {
    background-color: var(--beige);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow);
}

.service-icon {
    background-color: var(--plum);
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-title {
    text-align: center;
    color: var(--dark-blue);
}

.service-description {
    text-align: center;
}

/* Process Section */
.process {
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    background-color: var(--dark-blue);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.step-number:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -100%;
    width: 100%;
    height: 2px;
    background-color: var(--teal);
    z-index: -1;
}

.process-step:last-child .step-number:after {
    display: none;
}

/* Achievements Section */
.achievements {
    background-color: var(--beige);
}

.achievement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.achievement-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--plum);
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--beige);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    position: relative;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--teal);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.2rem;
}

/* FAQ Section */
.faq {
    background-color: var(--beige);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow);
}

.faq-question {
    background-color: var(--white);
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    font-weight: 600;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-question.active:after {
    content: '-';
}

.faq-answer {
    background-color: var(--light-gray);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer-content {
    padding: 0 1.5rem;
}

.faq-item:hover .faq-question {
    background-color: var(--teal);
    color: var(--white);
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--beige);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--teal);
}

select.form-control {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333533" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 6px;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--plum);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--dark-blue);
}

/* Footer Styles */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--teal);
    margin-top: 0.5rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .company-name {
    color: var(--white);
    font-size: 2rem;
}

.company-description {
    margin-bottom: 1.5rem;
}

.footer-contact p {
    margin-bottom: 0.8rem;
}

.footer-contact a, .footer-links a, .footer-legal a {
    color: var(--beige);
    transition: color 0.3s ease;
}

.footer-contact a:hover, .footer-links a:hover, .footer-legal a:hover {
    color: var(--teal);
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 0.8rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Icons */
.icon-phone:before {
    content: '📞';
}

.icon-envelope:before {
    content: '✉️';
}

.icon-map-marker:before {
    content: '📍';
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 1rem;
    z-index: 1001;
    box-shadow: 0 -3px 10px var(--shadow);
    transition: bottom 0.3s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cookie-content p {
    margin: 0;
    padding-right: 1rem;
}

.cookie-content a {
    color: var(--teal);
}

#accept-cookies {
    background-color: var(--teal);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#accept-cookies:hover {
    background-color: var(--plum);
}

/* Thank You Page (Gracias) */
.thank-you {
    text-align: center;
    padding: 6rem 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--teal);
    margin-bottom: 2rem;
}

.thank-you h1 {
    margin-bottom: 1rem;
}

/* Policy Pages */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 0;
}

.policy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.policy-content p {
    margin-bottom: 1rem;
}

.policy-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* CSS-Only Accordion */
.accordion-label {
    cursor: pointer;
    background-color: var(--white);
    padding: 1rem;
    display: block;
    border-radius: 5px;
    position: relative;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.accordion-label:after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background-color: var(--light-gray);
    transition: max-height 0.3s ease;
    border-radius: 0 0 5px 5px;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}

.accordion-content-inner {
    padding: 1rem;
}

input[type="checkbox"].accordion-toggle {
    display: none;
}

input[type="checkbox"].accordion-toggle:checked + .accordion-label {
    background-color: var(--teal);
    color: var(--white);
    border-radius: 5px 5px 0 0;
}

input[type="checkbox"].accordion-toggle:checked + .accordion-label:after {
    content: '-';
}

input[type="checkbox"].accordion-toggle:checked ~ .accordion-content {
    max-height: 500px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animated {
    opacity: 0;
}

.fadeIn {
    animation: fadeIn 1s forwards;
}

.slideInUp {
    animation: slideInUp 1s forwards;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    
    .hero { padding: 6rem 0; }
    .section { padding: 3rem 0; }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step-number:after {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1rem;
        box-shadow: 0 5px 10px var(--shadow);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-out;
        z-index: 1000;
    }
    
    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0;
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-bottom: 1rem;
        padding-right: 0;
    }
    
    .hero .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer h3:after {
        margin: 0.5rem auto 0;
    }
} 