:root {
    --terpel-red: #E31C23;
    --terpel-yellow: #FFC20E;
    --terpel-dark: #333333;
    --terpel-light: #f4f4f4;
    --white: #ffffff;
    --text-color: #444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-weight: 500;
    color: var(--terpel-dark);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--terpel-red);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/estacion.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px; /* Header height offset */
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--terpel-red);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #c0151b;
}

/* Sections General */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--terpel-red);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--terpel-yellow);
    margin: 10px auto 0;
}

.bg-light {
    background-color: var(--terpel-light);
}

.bg-dark {
    background-color: var(--terpel-dark);
    color: var(--white);
}

.text-white {
    color: var(--white);
}

/* Promociones Grid */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.promo-item {
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: var(--white);
    transition: transform 0.3s;
}

.promo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.promo-item img {
    margin: 0 auto 20px;
    max-height: 200px;
    object-fit: contain;
}

.promo-item h3 {
    margin-bottom: 10px;
    color: var(--terpel-red);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
    padding-bottom: 20px;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 15px 15px 5px;
    color: var(--terpel-dark);
}

.service-card p {
    padding: 0 15px;
    font-size: 0.9rem;
    color: #666;
}

.icon-service {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--terpel-red);
    color: var(--white);
    font-size: 4rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.3s;
}

.gallery-grid img:hover {
    opacity: 0.8;
    cursor: pointer;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    text-align: center;
    font-style: italic;
}

.testimonial h4 {
    margin-top: 15px;
    font-style: normal;
    color: var(--terpel-red);
}

/* Ratings */
.ratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.rating-item {
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.rating-item h3 {
    margin-bottom: 10px;
    color: var(--terpel-dark);
}

.rating-stars {
    display: flex;
    gap: 8px;
    font-size: 24px;
    margin-bottom: 10px;
}

.rating-stars i {
    cursor: pointer;
    color: #cfcfcf;
    transition: color 0.2s, transform 0.1s;
}

.rating-stars i.active {
    color: var(--terpel-yellow);
}

.rating-stars i:hover {
    transform: scale(1.1);
}

.rating-result {
    font-size: 0.95rem;
    color: #666;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info i {
    color: var(--terpel-yellow);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* TikTok embed aligned with Map */
.tiktok-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    height: 450px;
    position: relative;
}

.tiktok-container .tiktok-embed {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    position: absolute;
    top: 0;
    left: 0;
}

.tiktok-container iframe {
    width: 100% !important;
    height: 100% !important;
}
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

/* Footer */
footer {
    background-color: #222;
    color: #aaa;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--terpel-yellow);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container,
    .tiktok-container {
        height: 360px;
    }
}
