/* 
   AuditPro España - Main Stylesheet
   Color Palette:
   - Primary: #007BFF (Blue)
   - Secondary: #28A745 (Green)
   - Background: #F8F9FA (Light Gray)
   - Text: #343A40 (Dark Gray)
   - Accent: #FFC107 (Yellow)
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #343A40;
    background-color: #F8F9FA;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #FFC107;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #007BFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0056b3;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.95rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert p {
    margin-bottom: 0.5rem;
}

.alert ul {
    margin-left: 20px;
    margin-bottom: 0;
}

.alert li {
    margin-bottom: 5px;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid transparent;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: #007BFF;
    border-color: #007BFF;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
    color: #fff;
}

.btn-secondary {
    color: #fff;
    background-color: #28A745;
    border-color: #28A745;
}

.btn-secondary:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: #fff;
}

.btn-accent {
    color: #212529;
    background-color: #FFC107;
    border-color: #FFC107;
}

.btn-accent:hover {
    background-color: #e0a800;
    border-color: #d39e00;
}

.btn-outline {
    color: #007BFF;
    background-color: transparent;
    border-color: #007BFF;
}

.btn-outline:hover {
    color: #fff;
    background-color: #007BFF;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(52, 58, 64, 0.95);
    color: #fff;
    padding: 1rem;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-right: 20px;
    margin-bottom: 10px;
}

.cookie-content a {
    color: #FFC107;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
    color: #343A40;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.logo span {
    color: #007BFF;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu li a {
    color: #343A40;
    font-weight: 500;
}

.nav-menu li a:hover {
    color: #007BFF;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #343A40;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 123, 255, 0.8), rgba(0, 86, 179, 0.8)), url('../img/uALNRX.jpg') no-repeat center center/cover;
    padding: 150px 0;
    color: #fff;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.about-text h3 {
    color: #007BFF;
    margin-top: 1.5rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    color: #007BFF;
    padding: 20px 20px 10px;
}

.service-card p {
    padding: 0 20px 20px;
}

/* Process Section */
.process-section {
    background-color: #F8F9FA;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.step {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #FFC107;
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step h3 {
    color: #007BFF;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: #F8F9FA;
    padding: 30px;
    border-radius: 5px;
    position: relative;
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.quote:before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    left: -20px;
    top: -20px;
    color: #007BFF;
    opacity: 0.2;
}

.client {
    font-weight: bold;
    color: #007BFF;
}

/* Contact Section */
.contact-section {
    background-color: #F8F9FA;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info h3,
.contact-form h3 {
    color: #007BFF;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info i {
    color: #007BFF;
    margin-right: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

/* Form validation styles */
.form-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

.has-error input,
.has-error select,
.has-error textarea {
    border-color: #dc3545;
}

/* Footer */
.footer {
    background-color: #343A40;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer h3 {
    color: #FFC107;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    color: #fff;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #FFC107;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details i {
    margin-right: 10px;
    color: #FFC107;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Thank You Page */
.thank-you-section {
    padding: 150px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-content .icon {
    font-size: 5rem;
    color: #28A745;
    margin-bottom: 20px;
}

.thank-you-content .error-icon {
    color: #dc3545;
}

.thank-you-content h1 {
    margin-bottom: 20px;
}

.thank-you-content p {
    margin-bottom: 30px;
}

/* Policy Pages */
.policy-section {
    padding: 100px 0;
}

.policy-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.policy-content h2 {
    font-size: 1.5rem;
    text-align: left;
    margin: 30px 0 15px;
}

.policy-content h2::after {
    display: none;
}

.policy-content h3 {
    font-size: 1.25rem;
    color: #007BFF;
    margin: 20px 0 10px;
}

.policy-content ul, 
.policy-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

/* Media Queries */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding: 100px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 99;
    }
    
    .nav-menu.show {
        transform: translateY(0);
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .testimonial {
        text-align: center;
    }
} 