/* Variables de colores */
:root {
    /* Colores claros - modo light */
    --primary-color: #CAA878;      /* Color principal */
    --secondary-color: #9E9E9E;    /* Accent color en Flutter */
    --text-color: #2E3133;         /* Text color en Flutter */
    --background-color: #F5F5F7;   /* Background en Flutter */
    --card-color: #E8E8EA;         /* Card color en Flutter */
    --tertiary-color: #757575;     /* Tertiary en Flutter */
    
    /* Colores oscuros - para modo dark */
    --primary-color-dark: #CAA878;
    --secondary-color-dark: #75706F;
    --text-color-dark: #EAEAEA;
    --background-color-dark: #121212;
    --card-color-dark: #2E3133;
    --tertiary-color-dark: #ACABA9;
    
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    line-height: 1.3;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Botones */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-3px);
}

/* Header y navegación */
header {
    background-color: var(--background-color);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.app-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--tertiary-color);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Sección Hero */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
    color: var(--background-color);
    text-align: center;
    padding: 100px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.hero h2:after {
    background-color: var(--background-color);
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.search-box input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
}

.search-box button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: var(--primary-color);
    opacity: 0.9;
}

/* Sección Features */
.features {
    background-color: var(--card-color);
    padding: 100px 0;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background-color: var(--card-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    margin-bottom: 25px;
    color: #666;
}

/* Sección FAQ */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--card-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e8f5e9;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

.toggle {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--background-color);
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 20px;
}

/* Sección Contacto */
.contact {
    background-color: var(--card-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.contact-info {
    background-color: var(--primary-color);
    color: var(--background-color);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-item-2 {
    display: flex;
    align-items: center;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 15px;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.contact-form {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Estilos para errores del formulario */
.form-group input.error,
.form-group textarea.error {
    border-color: #e53935;
    background-color: rgba(229, 57, 53, 0.05);
}

.success-message {
    background-color: #c8e6c9;
    color: #2e7d32;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo h3 {
    color: var(--background-color);
    margin-bottom: 10px;
}

.footer-links h4,
.footer-app h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.app-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.app-btn i {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px var(--shadow-color);
        gap: 15px;
        z-index: 1000;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav a::after {
        bottom: -5px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .search-box input,
    .search-box button {
        width: 100%;
        padding: 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        gap: 30px;
    }
} 