/* Main Styles for domain - Accounting Services Website */

/* 
* Color Palette:
* - Main background: #f8f3ec (light beige)
* - Accent: #1f8a70 (mint green)
* - Complementary: #ff715b (coral pink)
* - Text: #2d2d2d
*/

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #2d2d2d;
    background-color: #f8f3ec;
    overflow-x: hidden;
}

a {
    color: #1f8a70;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: #ff715b;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #ff715b;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

/* Header */
.site-header {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 0.5rem;
    color: #1f8a70;
}

/* Navigation */
.nav-list {
    display: flex;
}

.nav-list li:not(:last-child) {
    margin-right: 1.5rem;
}

.nav-list a {
    padding: 0.5rem 0;
    position: relative;
    color: #2d2d2d;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1f8a70;
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #1f8a70;
    transition: transform 0.3s ease;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #1f8a70;
    color: white;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.cta-button:hover {
    background-color: #ff715b;
    color: white;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 5rem 0;
}

section:nth-child(odd) {
    background: linear-gradient(135deg, rgba(31, 138, 112, 0.05), rgba(255, 113, 91, 0.05));
}

section:nth-child(even) {
    background: linear-gradient(to bottom, #ffffff, #f8f3ec);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title h2 {
    color: #2d2d2d;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('./img/FVvsve.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 70px; /* Account for fixed header */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(31, 138, 112, 0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero .cta-button {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(31, 138, 112, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    fill: #1f8a70;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    border: 2px solid rgba(31, 138, 112, 0.2);
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #1f8a70;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 113, 91, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.advantage-icon svg {
    width: 35px;
    height: 35px;
    fill: #ff715b;
}

/* Testimonials Section */
.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: rgba(31, 138, 112, 0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    position: relative;
}

.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.testimonial-author-name {
    font-weight: 700;
}

.testimonial-author-title {
    font-size: 0.875rem;
    color: #666;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list ul {
    list-style: none;
    padding: 0;
}

.faq-list li {
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq-more-info {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
}

/* Order Form Section */
.order-form-section {
    background: linear-gradient(135deg, #1f8a70, #1a7060);
}

.order-form-container {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.order-form {
    flex: 1;
    padding: 3rem;
    color: #2d2d2d;
}

.order-image {
    flex: 1;
    background-image: url('./img/FQ89H0.jpg');
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #1f8a70;
    outline: none;
}

.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232d2d2d' d='M6 9L.75 3.75 1.5 3l4.5 4.5L10.5 3l.75.75z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.form-checkbox input {
    margin-right: 0.5rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-method svg {
    width: 24px;
    height: 24px;
    fill: #1f8a70;
    margin-right: 1rem;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.site-footer {
    background-color: #2d2d2d;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.company-description {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ff715b;
}

.contact-list li,
.legal-links li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-list svg {
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-list a,
.legal-links a {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.contact-list a:hover,
.legal-links a:hover {
    opacity: 1;
    color: #ff715b;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Cookie Popup */
#cookie-popup {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background-color: rgba(45, 45, 45, 0.9);
    color: white;
    padding: 1rem;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

#cookie-accept {
    padding: 0.5rem 1rem;
    background-color: #1f8a70;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#cookie-accept:hover {
    background-color: #ff715b;
}

/* Policy pages */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h1 {
    color: #1f8a70;
    margin-bottom: 2rem;
}

.policy-content h2 {
    color: #1f8a70;
    margin-top: 2rem;
}

.policy-content p, 
.policy-content ul {
    margin-bottom: 1.5rem;
}

.policy-content ul {
    padding-left: 2rem;
    list-style-type: disc;
}

/* Thank You Page (gracias.php) */
.thank-you-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(31, 138, 112, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.thank-you-icon svg {
    width: 40px;
    height: 40px;
    fill: #1f8a70;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .order-form-container {
        flex-direction: column;
    }
    
    .order-image {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 99;
    }
    
    .main-nav .nav-list.menu-open {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-list li {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cta-button-container {
        display: none;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
        padding: 0 0.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .order-form {
        padding: 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
} 