:root {
    --primary: #1a73e8;
    --secondary: #34a853;
    --accent: #fbbc05;
    --dark: #202124;
    --light: #f8f9fa;
    --gray: #70757a;
}

body {
    background-color: var(--light);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Banner superior simple */
.top-banner {
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
    margin-bottom: 10vh;
    border-bottom: solid 2px #FBBC05
}


.cta-button {
    background-color: var(--accent);
    color: var(--dark);
    font-weight: bold;
    padding: 12px 25px;
    font-size: 1.1rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #e0b70c;
    transform: translateY(-2px);
}

/* Sección hero debajo del banner */
.hero-section {
    padding: 0px;
    text-align: center;
    background-color: white;
}

.hero-section .container {
    background-image: url(../es/images/fondo.svg);
    background-size: 60%; 
    background-repeat: no-repeat;
    background-position: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 130px;
    min-height: 200px; /* Aseguramos espacio suficiente */
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

/* Botones */
.btn-invert {
    background-color: var(--dark);
    color: var(--accent);
    font-weight: bold;
    padding: 10px 20px;
    font-size: 1.1rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-invert:hover {
    background-color: #333;
    color: var(--accent);
    transform: translateY(-2px);
}

/* Secciones */
.section-products {
    padding: 0px 0;
    margin-top: -40px;
}

.section-gray {
    background-color: #f5f5f5;
    padding: 60px 0;
}

/* Tarjetas de productos */
.card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

/* Componente Resina */
.resina-component {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.resina-component .container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
    align-items: center;
}

.resina-component .content {
    flex: 1;
    padding-right: 40px;
    text-align: center;
}

.resina-component .yellow {
    color: var(--accent);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: -0.5rem;
}

.resina-component h1 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 1.5rem;
}

.resina-component p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 2.5rem 0 1.5rem;
}

.resina-component .video-container {
    flex: 1;
}

.resina-component video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
.peu-contacte {
    background-color: #f0b800;
    color: black;
    padding: 40px 20px 0;
    font-family: Arial, sans-serif;
}

.peu-contacte-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.container h2{
    font-weight: bold;
}
.peu-contacte-text {
    flex: 1 1 300px;
}
.peu-contacte-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background-color: white;
    color: black;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

.peu-contacte-btn:hover {
    background-color: #ddd;
}

.peu-contacte-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.peu-contacte-text p {
    font-size: 1.1rem;
    margin: 0 0 10px 0;
}

.peu-contacte-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

.peu-contacte-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    flex: 2 1 600px;
}

.peu-contacte-columns div {
    flex: 1 1 200px;
}

.peu-contacte-columns h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.peu-contacte-columns p {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0 0 10px;
}

.peu-contacte-legal {
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    margin-top: 40px;
}

.peu-contacte-legal a {
    color: var(--accent);
    text-decoration: none;
}

.peu-contacte-legal a:hover {
    text-decoration: underline;
}