/* Variables y Reset */
:root {
    --primary: #3B3C92;
    --accent1: #C3FF00;
    --accent2: #FF3BAC;
    --text-light: #F4F4F4;
    --text-gray: #CCCCCC;
    --bg-glass: rgba(59, 60, 146, 0.8);
    --shadow: rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--primary);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--accent2), var(--accent1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.5rem;
    color: var(--accent1);
}

h3 {
    font-size: 1.8rem;
    color: var(--text-light);
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

a {
    color: var(--accent1);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent2);
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 1rem;
}

/* Header y Navegación */
header {
    background-color: rgba(59, 60, 146, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
}

.desktop-menu ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
}

.desktop-menu a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent1);
    transition: width 0.3s ease;
}

.desktop-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    background-color: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 99;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 1rem;
}

.mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 1.2rem;
}

.mobile-fixed-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    justify-content: space-around;
}

.mobile-fixed-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    font-size: 0.8rem;
}

.mobile-fixed-nav svg {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
    stroke-width: 1.5;
}

/* Main content */
main {
    flex: 1;
    padding-bottom: 2rem;
}

/* Glass Card Effect */
.glass-card {
    background-color: rgba(59, 60, 146, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent2), var(--accent1));
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(59, 60, 146, 0.7);
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(59, 60, 146, 0.5), var(--primary));
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent2), var(--accent1));
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(195, 255, 0, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-secondary {
    background: transparent;
    color: var(--accent1);
    border: 2px solid var(--accent1);
}

.btn-secondary:hover {
    background-color: var(--accent1);
    color: var(--primary);
}

/* Secciones */
section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* Journal Section */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.journal-card {
    background-color: rgba(59, 60, 146, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.journal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.journal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent2), var(--accent1));
    z-index: 1;
}

.journal-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.journal-content {
    padding: 1.5rem;
}

.journal-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.journal-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(59, 60, 146, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent2), var(--accent1));
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--accent1);
}

.service-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    margin: 1rem 0;
}

.service-price span {
    font-size: 1rem;
    color: var(--text-gray);
}

.service-features {
    list-style-type: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-features li:last-child {
    border-bottom: none;
}

/* Testimonials Section */
.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: rgba(59, 60, 146, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: var(--accent1);
    opacity: 0.5;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author-name {
    font-weight: bold;
}

.testimonial-author-title {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: rgba(59, 60, 146, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: var(--accent1);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.blog-content h3 {
    margin-bottom: 1rem;
}

.blog-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.alert-error {
    background-color: rgba(255, 59, 172, 0.2);
    border: 1px solid var(--accent2);
    color: var(--text-light);
}

.alert-success {
    background-color: rgba(195, 255, 0, 0.2);
    border: 1px solid var(--accent1);
    color: var(--text-light);
}

.order-form {
    background-color: rgba(59, 60, 146, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.order-form::before,
.order-form::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
}

.order-form::before {
    top: 0;
    left: 0;
    background: linear-gradient(90deg, var(--accent2), var(--accent1));
}

.order-form::after {
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    background-color: #3b3c92;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent1);
    box-shadow: 0 0 0 2px rgba(195, 255, 0, 0.2);
}

.form-control::placeholder {
    color: var(--text-gray);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-question {
    display: flex;
    background-color: rgba(59, 60, 146, 0.8);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent1);
}

.faq-answer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 0 0 8px 8px;
    margin-top: 2px;
    display: none;
}

.faq-item:target .faq-answer {
    display: block;
}

.faq-item:target .faq-question::after {
    content: '-';
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo p {
    margin-top: 1rem;
    color: var(--text-gray);
}

footer h3 {
    color: var(--accent1);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

footer ul {
    list-style-type: none;
    margin: 0;
}

footer li {
    margin-bottom: 0.5rem;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    flex: 1;
    padding-right: 2rem;
}

.cookie-text p {
    margin: 0;
}

.cookie-btn {
    padding: 0.5rem 1.5rem;
    background-color: var(--accent1);
    color: var(--primary);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    background-color: var(--accent2);
}

/* Responsive styles */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-fixed-nav {
        display: flex;
    }
    
    .hero {
        padding: 2rem 0;
        min-height: 60vh;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        padding-right: 0;
        margin-bottom: 1rem;
    }
    
    main {
        padding-bottom: 4rem; /* For mobile fixed nav */
    }
}

/* Target Toggle for mobile nav */
#mobile-toggle:target + .mobile-menu {
    display: block;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(195, 255, 0, 0.5); }
    50% { box-shadow: 0 0 20px rgba(195, 255, 0, 0.8); }
    100% { box-shadow: 0 0 5px rgba(195, 255, 0, 0.5); }
}

.glow-effect {
    animation: glow 2s infinite;
} 