/* =============================================
   Hoteles Oviedo — Estilos Compartidos
   Paleta: crema #eee9e0, marrón #4A3004, 
           dorado #DAA520, rojo #b43e31
   Fuente: Cormorant Garamond
   ============================================= */

body {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: #333;
    margin: 0;
    padding: 0;
}

a { color: #4A3004; }
a:hover { color: #DAA520; }

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.75em; }
h4 { font-size: 1.5em; }
h5 { font-size: 1.25em; }
h6 { font-size: 1em; }

/* --- Header / Logo --- */
.header {
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #eee9e0;
}

.logo-container {
    font-family: 'Times New Roman', Times, serif;
    color: #4A3004;
    padding: 10px;
    text-align: center;
}

.logo-hoteles {
    font-size: 2em;
    font-weight: bold;
}

.logo-oviedo {
    font-size: 2.5em;
    font-family: Arial, sans-serif;
    color: #DAA520;
    font-weight: 700;
}

.text-container {
    padding: 20px;
    text-align: center;
}

/* --- Navbar --- */
.navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: #4A3004 !important;
}

.nav-link {
    font-weight: 600;
    color: #4A3004 !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #DAA520 !important;
}

/* --- Carousel --- */
.carousel img {
    border: 2px solid transparent;
    border-radius: 20px;
    height: 500px;
    object-fit: cover;
}

.largeText { font-size: 2em; }
.smallText  { font-size: 0.8em; }

.title-background {
    background-color: #f8f9fa;
    padding: 10px;
    margin-bottom: 20px;
}

.titulo-pagina {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin: 4px;
}

.list-group .cabezaLista {
    background-color: #b43e31;
    border-color: #FA8032;
    color: #fff;
}

/* --- Breadcrumbs --- */
.breadcrumb-section {
    background-color: #f8f5f0;
    border-bottom: 1px solid #e8e0d5;
    padding: 12px 0;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
    font-size: 0.85em;
}

.breadcrumb-item a {
    color: #4A3004;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #DAA520;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #999;
}

/* --- Hero de artículo --- */
.article-hero {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.article-hero-overlay h1 {
    font-size: 2.2em;
    margin-bottom: 5px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.article-hero-overlay p {
    font-size: 1.1em;
    opacity: 0.9;
}

/* --- Contenido de artículo --- */
.article-content {
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.05em;
}

.article-content h2 {
    color: #4A3004;
    margin-top: 35px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #DAA520;
    font-size: 1.6em;
}

.article-content h3 {
    color: #4A3004;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.article-content p {
    margin-bottom: 18px;
    text-align: justify;
}

.article-content blockquote {
    border-left: 4px solid #DAA520;
    padding: 15px 20px;
    margin: 25px 0;
    background: #faf8f4;
    font-style: italic;
    color: #555;
}

/* --- Info box --- */
.info-box {
    background: #f8f5f0;
    border: 1px solid #e8e0d5;
    border-left: 4px solid #DAA520;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 25px 0;
}

.info-box h4 {
    color: #4A3004;
    margin-bottom: 12px;
    font-size: 1.2em;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box ul li {
    padding: 5px 0;
    border-bottom: 1px solid #ebe5dc;
}

.info-box ul li:last-child {
    border-bottom: none;
}

.info-box ul li i {
    color: #DAA520;
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

/* --- Grid de tarjetas --- */
.category-grid .card {
    border: 1px solid #e8e0d5;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.category-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.category-grid .card img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-grid .card:hover img {
    transform: scale(1.05);
}

.category-grid .card-body {
    padding: 20px;
}

.category-grid .card-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: #4A3004;
    font-size: 1.3em;
}

.category-grid .card-text {
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
}

.category-grid .card-link {
    color: #DAA520;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-grid .card-link:hover {
    color: #b43e31;
}

.card-img-wrapper {
    overflow: hidden;
}

/* --- Sidebar --- */
.sidebar-related {
    background: #f8f5f0;
    border-radius: 10px;
    padding: 25px;
}

.sidebar-related h4 {
    color: #4A3004;
    font-size: 1.2em;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #DAA520;
}

.sidebar-related ul {
    list-style: none;
    padding: 0;
}

.sidebar-related ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e8e0d5;
}

.sidebar-related ul li:last-child {
    border-bottom: none;
}

.sidebar-related ul li a {
    color: #4A3004;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.sidebar-related ul li a:hover {
    color: #DAA520;
}

/* --- Category preview (home) --- */
.category-preview {
    padding: 40px 0;
    border-bottom: 1px solid #e8e0d5;
}

.category-preview:last-child {
    border-bottom: none;
}

.category-preview h2 {
    color: #4A3004;
    margin-bottom: 8px;
}

.category-preview .category-subtitle {
    color: #888;
    font-size: 1em;
    margin-bottom: 25px;
}

.category-preview .btn-ver-mas {
    background-color: #4A3004;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 25px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1em;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

.category-preview .btn-ver-mas:hover {
    background-color: #DAA520;
    color: #fff;
}

/* --- Hotel pages --- */
.hotel-stars {
    color: #DAA520;
    font-size: 1.2em;
    letter-spacing: 3px;
}

.hotel-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.hotel-service-item {
    background: #f8f5f0;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: background 0.3s ease;
}

.hotel-service-item:hover {
    background: #eee9e0;
}

.hotel-service-item i {
    color: #DAA520;
    font-size: 1.5em;
    display: block;
    margin-bottom: 8px;
}

.btn-reserva {
    background-color: #b43e31;
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-reserva:hover {
    background-color: #922e24;
    color: #fff;
}

/* --- Footer --- */
footer h5 {
    color: #4A3004;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #DAA520 !important;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .article-hero { height: 280px; }
    .article-hero-overlay h1 { font-size: 1.5em; }
    .carousel img { height: 300px; }
    .logo-hoteles { font-size: 1.5em; }
    .logo-oviedo  { font-size: 1.8em; }
    h1 { font-size: 2em; }
    h2 { font-size: 1.6em; }
}

img[data-src] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img[data-src].loaded,
img:not([data-src]) {
    opacity: 1;
}
