/* Variables */
:root {
    --primary-color: #003366;
    --accent-color: #FFA500;
    --bg-color: #F4F4F4;
    --text-color: #000000;
    --light-text: #FFFFFF;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

section {
    padding: 95px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.2;
}

ul {
    list-style: none;
}

button, .button {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--light-text);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
    display: inline-block;
}

button:hover, .button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 15px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.cookie-banner p {
    margin-right: 20px;
}

.cookie-banner a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Header */
.header {
    background-color: var(--primary-color);
    color: var(--light-text);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo a {
    color: var(--light-text);
}

.nav .menu {
    display: flex;
}

.nav .menu li {
    margin-left: 20px;
}

.nav .menu a {
    color: var(--light-text);
    font-weight: 500;
}

.nav .menu a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url(../img/R7LfTs.jpg) no-repeat center center/cover;
    height: 100vh;
    color: var(--light-text);
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* About Section */
.about {
    background-color: var(--light-text);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 10px;
}

.about-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services {
    background-color: var(--bg-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light-text);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Cases Section */
.cases {
    background-color: var(--light-text);
}

.cases-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-content {
    padding: 20px;
}

.case-content h3 {
    color: var(--primary-color);
}

/* Order Form Section */
.order {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), url(../img/Rgtaiz.jpg) no-repeat center center/cover;
    color: var(--light-text);
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid transparent;
    border-radius: 5px;
    background-color: rgb(4 49 94);
    color: var(--light-text);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgb(4 49 94);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

/* FAQ Section */
.faq {
    background-color: var(--bg-color);
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light-text);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 51, 102, 0.05);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer.show {
    padding: 20px;
    max-height: 500px;
}

.faq-question:after {
    content: '+';
    font-size: 20px;
    transition: var(--transition);
}

.faq-question.active:after {
    transform: rotate(45deg);
}

/* Reviews Section */
.reviews {
    background-color: var(--light-text);
}

.reviews-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.review-card:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 60px;
    color: var(--accent-color);
    opacity: 0.2;
    line-height: 1;
}

.review-text {
    margin-bottom: 15px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
}

.review-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.review-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author-info h4 {
    margin-bottom: 5px;
}

.review-author-info p {
    color: #777;
    font-size: 14px;
}

/* Contact Section */
.contact {
    background-color: var(--bg-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-info-item i {
    margin-right: 15px;
    font-size: 24px;
    color: var(--accent-color);
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-info h3,
.footer-contact h3,
.footer-links h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light-text);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .service-card,
    .case-card,
    .review-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav .menu {
        position: fixed;
        flex-direction: column;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px 0;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav .menu.show {
        left: 0;
    }
    
    .nav .menu li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .services-content,
    .cases-content,
    .reviews-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner p {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Mensajes de alerta */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-danger {
    background-color: rgba(255, 0, 0, 0.1);
    color: #cc0000;
    border: 1px solid #cc0000;
}

.alert-danger ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.alert-danger li {
    margin-bottom: 5px;
}

.alert-success {
    background-color: rgba(0, 128, 0, 0.1);
    color: #006600;
    border: 1px solid #006600;
} 