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

:root {
    --primary: #e8bfd4;
    --secondary: #c9a8c2;
    --accent: #a68ca9;
    --light: #f8f4f9;
    --dark: #5a4a52;
    --text: #333333;
    --header-text: white;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo svg {
    margin-right: 10px;
    width: 40px;
    height: 40px;
}

/* Hover effect for logo link */
.logo a {
    color: var(--header-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.logo a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li:hover {
    transform: translateY(-2px);
}


nav ul li a {
    color: var(--header-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: larger;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

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

/* Hero Section */
.hero {
    background-image: url('img/slide-show/Irene_pincel_oscura.JPG');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
}

/* Outlined Text */
.dual-shadow {
    font-weight: bold;
    color: white;
    text-shadow:
        1px 1px 2px rgba(26, 25, 25, 0.746),
        0 0 8px rgba(20, 20, 20, 0.563);
    line-height: 1.2;
    margin: 0;
    padding: 10px;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Services Section */
section {
    padding: 2rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--accent);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.tarjetas-regalo {
    background: rgba(232, 191, 212, 0.9) !important;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    max-width: 318px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.transparent-card {
    background: transparent;
    max-width: 318px;
    border-radius: 15px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Opcional: efecto sutil de degradado en la imagen */
.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.service-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    /* Fondo semitransparente suave para mejorar contraste */
    pointer-events: none;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.service-content p {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section li {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0rem;
    font-size: 2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15%;
    color: var(--header-text);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 90%;
        max-width: 90vw;
        height: calc(100vh - 70px);
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: all 0.3s ease;
    }

    nav ul.active {
        left: 0;
    }

    nav ul.active li {
        background: var(--dark);
    }

    nav ul li {
        margin: 1rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        width: 100%;
        max-width: 100vw; /* En pantallas muy pequeñas, usa el 100% del viewport */
        padding: 1rem 0; /* Reduce el padding en pantallas pequeñas */
    }

    nav ul li {
        margin: 0.8rem 0; /* Reduce el margen en pantallas pequeñas */
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* Tratamiento individual */
.entry-detail {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
    margin: 0 auto;
}

.entry-detail img,
.entry-detail video {
    width: 100%;
    /*height: 350px;*/
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.entry-detail h1 {
    font-size: 2.rem;
    color: var(--accent);
    margin-bottom: 20px;
    text-align: center;
}

.entry-detail h3 {
    font-size: 1.8rem;
    color: #d44d78;
    margin-bottom: 20px;
    text-align: center;
}

.entry-detail p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

/* Comparativas de Maquillaje */

.comparativas-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.comparativa-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.comparativa-header {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    padding: 1.5rem;
    text-align: center;
}

.comparativa-header h3 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0;
}

.imagenes-container {
    display: flex;
    flex-wrap: wrap;
}

.imagen-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
}

.imagen-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.imagen-wrapper:hover img {
    transform: scale(1.05);
}

.leyenda {
    text-align: center;
    padding: 1.5rem;
    color: var(--accent);
    font-style: italic;
    font-size: 1rem;
    border-top: 1px solid #eee;
}

.localizaciones-img {
    width: 100%;
    max-width: 90vw;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 10px;
}

.agradecimientos-img {
    width: 100%;
    max-width: 90vw;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 10px;
}

.localizaciones-texto {
    color: var(--accent);
    margin: 10px 0;
}
