/* 
======================
   Global Styles
======================
*/

/* Custom Properties */
:root {
    --color-background: #2E004F;
    --color-accent-1: #FF6F00;
    --color-accent-2: #B2FF59;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #E0E0E0;
    --color-button-gradient-start: #FF6F00;
    --color-button-gradient-end: #FFAB00;
    --font-main: 'Arial', sans-serif;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

section[id] {
    scroll-margin-top: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-background);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-accent-1);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--color-accent-2);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--color-accent-1), var(--color-accent-2));
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    color: var(--color-text-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    font-weight: bold;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--color-text-primary);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--color-accent-1);
    border: 2px solid var(--color-accent-1);
    border-radius: 50px;
    cursor: pointer;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    font-weight: bold;
    text-align: center;
}

.btn-secondary:hover {
    background-color: var(--color-accent-1);
    color: var(--color-text-primary);
}

/* 
======================
   Header & Navigation
======================
*/

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(46, 0, 79, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-text-primary);
    position: relative;
    padding-left: 10px;
}

.logo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 70%;
    background: linear-gradient(to bottom, var(--color-accent-1), var(--color-accent-2));
}

.nav-list {
    display: flex;
    list-style-type: none;
}

.nav-list li {
    margin-left: 1.5rem;
}

.nav-list a {
    color: var(--color-text-primary);
    font-weight: 500;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-2);
    transition: width var(--transition-speed);
}

.nav-list a:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-text-primary);
    margin: 6px 0;
    transition: all 0.3s;
}

@media screen and (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        z-index: 1001;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(46, 0, 79, 0.95);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-speed);
    }
    
    .nav-list {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    
    .nav-list li {
        margin: 0;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-toggle:checked ~ .main-nav {
        max-height: 500px;
    }
    
    .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* 
======================
   Hero Section
======================
*/

.hero {
    height: 100vh;
    background-image: url('img/izQCP.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 0, 79, 0.7);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 
======================
   About Section
======================
*/

.about {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed);
}

.about-image:hover {
    transform: scale(1.02);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
}

/* 
======================
   Advantages Section
======================
*/

.advantages {
    padding: 80px 0;
    background-color: rgba(255, 111, 0, 0.05);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: rgba(46, 0, 79, 0.7);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed);
    border: 1px solid rgba(178, 255, 89, 0.1);
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    margin-bottom: 20px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.advantage-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.advantage-card h3 {
    margin-bottom: 15px;
    color: var(--color-accent-1);
}

.advantage-card p {
    color: var(--color-text-secondary);
}

/* 
======================
   Services Section
======================
*/

.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: rgba(46, 0, 79, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed);
    position: relative;
    border: 1px solid rgba(178, 255, 89, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
    color: var(--color-accent-1);
}

.service-card p {
    padding: 0 20px 20px;
    color: var(--color-text-secondary);
}

/* 
======================
   Contact Form Section
======================
*/

.contact {
    padding: 80px 0;
    background-color: rgba(255, 111, 0, 0.05);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: rgba(46, 0, 79, 0.7);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(178, 255, 89, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--color-text-primary);
    font-size: 16px;
    transition: border-color var(--transition-speed);
}

.form-group select option {
    background-color: var(--color-background);
    color: var(--color-text-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent-1);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-group label {
    display: inline;
    cursor: pointer;
    font-size: 14px;
}

.required {
    color: var(--color-accent-1);
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: 10px;
}

/* 
======================
   Testimonials Section
======================
*/

.testimonials {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(46, 0, 79, 0.7);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
    border: 1px solid rgba(178, 255, 89, 0.1);
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: rgba(255, 111, 0, 0.2);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    z-index: 1;
    color: var(--color-text-secondary);
}

.testimonial-author {
    text-align: right;
}

.author-name {
    font-weight: bold;
    color: var(--color-text-primary);
    margin-bottom: 5px;
}

.author-company {
    font-size: 14px;
    color: var(--color-accent-1);
}

/* 
======================
   FAQ Section
======================
*/

.faq {
    padding: 80px 0;
    background-color: rgba(255, 111, 0, 0.05);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-toggle {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.faq-question {
    display: block;
    padding: 20px;
    background-color: rgba(46, 0, 79, 0.7);
    color: var(--color-text-primary);
    font-weight: bold;
    cursor: pointer;
    position: relative;
    border-radius: 10px;
    transition: background-color var(--transition-speed);
    border: 1px solid rgba(178, 255, 89, 0.1);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--color-accent-1);
    transition: transform var(--transition-speed);
}

.faq-toggle:checked + .faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.faq-toggle:checked + .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: rgba(46, 0, 79, 0.5);
    transition: max-height var(--transition-speed);
    border-left: 1px solid rgba(178, 255, 89, 0.1);
    border-right: 1px solid rgba(178, 255, 89, 0.1);
    border-bottom: 1px solid rgba(178, 255, 89, 0.1);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px;
    color: var(--color-text-secondary);
}

/* 
======================
   Location Section
======================
*/

.location {
    padding: 80px 0;
}

.location-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-info {
    background-color: rgba(46, 0, 79, 0.7);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(178, 255, 89, 0.1);
}

.contact-info h3 {
    color: var(--color-accent-1);
    margin-bottom: 20px;
}

.contact-info ul {
    list-style-type: none;
}

.contact-info li {
    margin-bottom: 15px;
    color: var(--color-text-secondary);
}

.contact-info li:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .location-container {
        grid-template-columns: 1fr;
    }
}

/* 
======================
   Footer Section
======================
*/

.site-footer {
    background-color: rgba(46, 0, 79, 0.95);
    padding: 60px 0 0;
    border-top: 1px solid rgba(178, 255, 89, 0.1);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text-primary);
    display: block;
    margin-bottom: 15px;
}

.footer-col p {
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.footer-col h3 {
    color: var(--color-accent-1);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-accent-2);
}

.footer-links {
    list-style-type: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-text-secondary);
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: var(--color-accent-1);
    padding-left: 5px;
}

.contact-info {
    list-style-type: none;
}

.contact-info li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    font-size: 14px;
}

/* 
======================
   Cookie Consent
======================
*/

.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(46, 0, 79, 0.95);
    padding: 20px 0;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: bottom 0.5s ease;
}

.cookie-popup.active {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin-right: 20px;
    color: var(--color-text-secondary);
}

@media screen and (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* 
======================
   Policy Pages
======================
*/

.policy-page {
    padding: 150px 0 80px;
}

.policy-content {
    background-color: rgba(46, 0, 79, 0.7);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(178, 255, 89, 0.1);
}

.policy-content h1 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-accent-1);
    position: relative;
    padding-bottom: 15px;
}

.policy-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--color-accent-1), var(--color-accent-2));
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h2 {
    margin-bottom: 15px;
    color: var(--color-text-primary);
}

.policy-section h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--color-accent-2);
}

.policy-section p {
    margin-bottom: 15px;
    color: var(--color-text-secondary);
}

.policy-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-section ul li {
    margin-bottom: 10px;
    color: var(--color-text-secondary);
}

/* 
======================
   Gracias Page
======================
*/

.gracias-page {
    padding: 150px 0 80px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gracias-content {
    text-align: center;
    background-color: rgba(46, 0, 79, 0.7);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    max-width: 600px;
    width: 100%;
    border: 1px solid rgba(178, 255, 89, 0.1);
    animation: fadeIn 1s ease;
	margin: 0 auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.gracias-content h1 {
    color: var(--color-accent-1);
    margin-bottom: 20px;
}

.gracias-content p {
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.gracias-content .btn-primary {
    margin-top: 20px;
}

/* 
======================
   Responsive Styles
======================
*/

@media screen and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
    }
    
    .policy-content {
        padding: 25px;
    }
    
    .gracias-content {
        padding: 30px;
    }
} 