/* Contabilidad Bien Asesorada - Main Stylesheet */

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Lora:wght@400;500;600&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color palette */
    --color-gradient-start: #FF6B6B;
    --color-gradient-end: #48CAE4;
    --color-dark: #1E5959;
    --color-sand: #FFF3B0;
    --color-lavender: #D4A5A5;
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Lora', serif;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
    background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-secondary);
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-gradient-start);
}

section {
    padding: 4rem 0;
}

.btn {
    display: inline-block;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--color-gradient-start);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
}

.logo span {
    color: var(--color-gradient-start);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-weight: 500;
}

/* Hero section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-white);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About section */
.about {
    background-color: var(--color-white);
    border-radius: 15px;
    margin-top: -70px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Benefits section */
.benefits {
    background-color: var(--color-sand);
    border-radius: 15px;
    margin: 2rem 0;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.benefit-item {
    flex: 0 0 30%;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

/* Services section */
.services {
    background-color: var(--color-white);
    border-radius: 15px;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.service-item {
    flex: 0 0 30%;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--color-sand);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: scale(1.03);
    border-color: var(--color-gradient-start);
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 1rem 0;
}

/* Portfolio section */
.portfolio {
    background-color: var(--color-sand);
    border-radius: 15px;
}

.clients-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.client-logo {
    max-width: 150px;
    margin: 1rem 2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* FAQ section */
.faq {
    background-color: var(--color-white);
    border-radius: 15px;
}

.accordion {
    margin-bottom: 1rem;
}

.accordion-header {
    background-color: var(--color-sand);
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    margin-bottom: 5px;
    display: block;
    color: var(--color-dark);
    font-weight: 500;
}

.accordion-header::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: rgba(255, 243, 176, 0.3);
    border-radius: 0 0 10px 10px;
}

.accordion input[type="checkbox"] {
    display: none;
}

.accordion input[type="checkbox"]:checked ~ .accordion-content {
    max-height: 500px;
}

.accordion input[type="checkbox"]:checked ~ .accordion-header::after {
    content: "-";
}

.accordion-content-inner {
    padding: 1rem;
}

/* Why Us section */
.why-us {
    background-color: var(--color-lavender);
    border-radius: 15px;
    color: var(--color-dark);
}

.reasons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.reason-item {
    flex: 0 0 48%;
    margin-bottom: 2rem;
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Contact form section */
.contact-form {
    background-color: var(--color-white);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--color-sand);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gradient-start);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Contact section */
.contact {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 3rem 0;
    border-radius: 15px 15px 0 0;
}

.contact h2 {
    color: var(--color-white);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-item {
    flex: 0 0 48%;
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background-color: #222;
    color: var(--color-white);
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer-links a {
    margin: 0 1rem;
    color: var(--color-sand);
}

.footer-links a:hover {
    color: var(--color-gradient-start);
}

.footer-info {
    max-width: 600px;
    margin: 0 auto;
}

/* Cookie notification */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(30, 89, 89, 0.9);
    color: var(--color-white);
    padding: 1rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-notice.hidden {
    display: none;
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    .benefit-item,
    .service-item {
        flex: 0 0 48%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .header-container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    .benefit-item,
    .service-item,
    .reason-item {
        flex: 0 0 100%;
    }
    
    .hero {
        height: auto;
        padding: 6rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    /* Make header not fixed on mobile */
    header {
        position: relative;
    }
    
    /* Add padding to adjust spacing since header is no longer fixed */
    .hero {
        padding-top: 2rem;
    }
    
    .about {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
} 