/* 
Main stylesheet for Asesoría Contable
Colors:
- Coral: #FF6B6B
- Turquoise: #2EC4B6
- Dark Blue: #011627
- Light Gray: #F4F4F4
- Yellow: #FFD166
*/

/* Reset & Base Styles */
:root {
    --coral: #FF6B6B;
    --turquoise: #2EC4B6;
    --dark-blue: #011627;
    --light-gray: #F4F4F4;
    --yellow: #FFD166;
    --text-color: #333333;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--turquoise);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--coral);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 4rem 0;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--turquoise);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--coral);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background-color: var(--yellow);
    color: var(--dark-blue);
}

.btn-secondary {
    background-color: var(--dark-blue);
    color: #fff;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Header & Navigation */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    max-height: 50px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--dark-blue);
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--coral);
}

.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.8) 0%, rgba(255, 107, 107, 0.8) 100%), url('img/UhvUes.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.logo-container {
    margin-bottom: 2rem;
}

.logo-container img {
    max-width: 150px;
}

/* About Section */
.about {
    background-color: var(--light-gray);
    width: 100%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    margin-bottom: 1rem;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border-radius: 50%;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services Section */
.services {
    background-color: var(--dark-blue);
    color: #fff;
    width: 100%;
}

.services h2 {
    color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.service-card h3 {
    color: var(--yellow);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.service-card li {
    margin-bottom: 0.5rem;
}

/* Pricing Section */
.pricing {
    background-color: var(--light-gray);
    width: 100%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.price-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card.featured {
    border: 2px solid var(--turquoise);
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-header {
    padding: 1.5rem;
    background-color: var(--dark-blue);
    color: #fff;
    text-align: center;
}

.price-header h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
}

.price-features {
    padding: 1.5rem;
}

.price-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 1.5rem;
}

.price-features li:before {
    content: "✓";
    color: var(--turquoise);
    position: absolute;
    left: 0;
}

.price-card .btn {
    display: block;
    margin: 1.5rem;
    text-align: center;
}

/* Contact Form */
.contact {
    background-color: #fff;
    width: 100%;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
}

.radio-group,
.checkbox-group {
    margin-top: 0.5rem;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.radio-label input,
.checkbox-label input {
    margin-right: 0.5rem;
}

.form-group button {
    width: 100%;
}

/* Testimonials */
.testimonials {
    background-color: var(--light-gray);
    width: 100%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Location Section */
.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.map-container img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
    background-color: var(--dark-blue);
    color: #fff;
    padding: 4rem 0 2rem;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-info,
.footer-contact,
.footer-links,
.footer-nav {
    margin-bottom: 1.5rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    max-height: 40px;
}

.site-footer h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.site-footer a {
    color: var(--light-gray);
}

.site-footer a:hover {
    color: var(--turquoise);
}

.site-footer ul li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Thank You Page */
.thankyou {
    text-align: center;
    padding: 6rem 0;
    width: 100%;
}

.thankyou-icon {
    margin-bottom: 2rem;
}

.thankyou-icon img {
    max-width: 80px;
}

.thankyou-buttons {
    margin-top: 2rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-blue);
    color: #fff;
    padding: 1rem;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
    width: 100%;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Mobile CSS for PHP-based menu (No JavaScript) */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    
    .bar {
        width: 30px;
        height: 3px;
        background-color: var(--dark-blue);
        border-radius: 10px;
        transition: var(--transition);
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-nav.mobile-open {
        max-height: 300px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
        margin-left: 0;
    }
    
    /* Mobile layout adjustments */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .about-content,
    .location-container {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
    
    .price-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .container {
        width: 100%;
        padding: 0 15px;
    }

    .benefit-icon {
        width: 100px;
        height: 100px;
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author img {
        margin: 0 auto 1rem;
    }
} 