/* 
* Finasor Servicios Contables - Main Stylesheet
* Colors:
* - Background: #F6F1ED (light sand)
* - Accents: #DB3069 (bright coral), #4D3C77 (deep purple), #F3C969 (warm amber)
* - Text: #1A1A1A
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #F6F1ED;
    --accent-1: #DB3069;
    --accent-2: #4D3C77;
    --accent-3: #F3C969;
    --text-color: #1A1A1A;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--accent-2);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    position: relative;
    margin-bottom: 2.5rem;
}

h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent-1);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-2);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-1);
}

ul {
    list-style-type: none;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-1);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-2);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: var(--accent-3);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #e5b84c;
    color: var(--text-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header & Navigation */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(246, 241, 237, 0.95);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.logo {
    float: left;
}

.main-nav {
    float: right;
}

.menu {
    display: flex;
}

.menu li {
    margin-left: 25px;
}

.menu li a {
    color: var(--text-color);
    font-weight: 600;
}

.menu li a:hover {
    color: var(--accent-1);
}

.cta-button {
    padding: 8px 16px;
    background-color: var(--accent-1);
    color: white !important;
    border-radius: 4px;
}

.cta-button:hover {
    background-color: var(--accent-2);
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    max-height: 800px;
    display: flex;
    align-items: center;
    background: url('img/YairXJ.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding-top: 80px;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
#about {
    background-color: white;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex-basis: 50%;
    padding-right: 30px;
}

.about-image {
    flex-basis: 50%;
}

/* Services Section */
#services {
    background: linear-gradient(45deg, var(--accent-3), var(--bg-color));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    border-radius: 50%;
    color: var(--accent-1);
    font-size: 2rem;
}

/* Benefits Section */
#benefits {
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.benefit-icon {
    background-color: var(--accent-3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.benefit-text h3 {
    margin-bottom: 10px;
}

/* Testimonials Section */
#testimonials {
    background-color: var(--bg-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 5rem;
    color: var(--accent-3);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-author {
    font-weight: bold;
    color: var(--accent-2);
    margin-top: 15px;
}

/* Contact Section */
#contact {
    background: linear-gradient(to right, var(--accent-2), var(--accent-1));
    color: white;
}

#contact h2 {
    color: white;
}

#contact h2::after {
    background: var(--accent-3);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-1);
    outline: none;
    box-shadow: 0 0 0 3px rgba(219, 48, 105, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    color: var(--text-color);
    font-size: 0.9rem;
}

.form-submit {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

/* Footer */
#footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-section p {
    color: #ddd;
    margin-bottom: 10px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--accent-3);
}

.footer-section a:hover {
    color: var(--accent-1);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #ddd;
}

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(51, 51, 51, 0.95);
    color: white;
    padding: 15px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    padding-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-accept,
.btn-reject {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-accept {
    background-color: var(--accent-1);
    color: white;
}

.btn-accept:hover {
    background-color: #c5255d;
}

.btn-reject {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.btn-reject:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Thank you page */
.thank-you {
    text-align: center;
    padding: 150px 20px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Policy Pages */
.policy-page {
    padding: 120px 0 60px;
    max-width: 800px;
    margin: 0 auto;
}

.policy-page h1 {
    text-align: center;
    margin-bottom: 40px;
}

.policy-page h2 {
    text-align: left;
    margin-top: 40px;
}

.policy-page h2::after {
    left: 0;
    transform: none;
}

.policy-page ul, 
.policy-page ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-page ul li,
.policy-page ol li {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-text,
    .about-image {
        flex-basis: 100%;
        padding-right: 0;
    }
    
    .about-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .testimonials-grid,
    .benefits-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        flex-direction: column;
        text-align: center;
    }
    
    .menu.active {
        display: block;
    }
    
    .menu li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        opacity: 0;
    }
    
    .menu-icon {
        display: block;
        cursor: pointer;
        padding: 10px;
        position: relative;
        z-index: 1;
    }
    
    .menu-icon span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-color);
        margin: 5px 0;
        transition: var(--transition);
    }
    
    .menu-toggle:checked ~ .menu {
        display: block;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-bottom: 15px;
        padding-right: 0;
    }
} 