body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f8f8; /* Gris suau de fons */
}

.rounded-card {
    border-radius: 0.75rem; /* Vores arrodonides */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* Ombres suaus */
}

.btn-primary {
    background-color: #A7C7E7; /* Blau pastel principal */
    color: white;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #89B3D9; /* Blau pastel més fosc al hover */
}

.btn-secondary {
    background-color: #FFD700; /* Groc principal */
    color: #333;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #FFC107; /* Groc més fosc al hover */
}

/* Colors personalitzats */
.text-green-custom {
    color: #A7C7E7;
}

.bg-green-custom {
    background-color: #A7C7E7;
}

.border-green-custom {
    border-color: #A7C7E7;
}

.text-yellow-custom {
    color: #FFD700;
}

.bg-yellow-custom {
    background-color: #FFD700;
}

/* Spinner styles (encara que s'elimini la secció IA, el deixo per si es reutilitza) */
.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #A7C7E7; /* Blau pastel */
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: none; /* Hidden by default */
    margin-left: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Per assegurar aspect ratio a la galeria si no s'usa el plugin de Tailwind aspect-ratio */
.aspect-w-1 {
    position: relative;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
}
.aspect-w-1 > img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Estil per al botó d'idioma actiu */
.lang-btn.active-lang {
    font-weight: bold;
    color: #A7C7E7; /* Blau pastel principal */
    /* background-color: #e0f2e0; /* Un fons lleugerament verd si es desitja */
}
