:root {
    --primary: #8a2be2;
    --secondary: #4b0082;
    --accent: #ff6b6b;
    --light: #f9f0ff;
    --dark: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 1.8rem;
}

.logo h1 {
    font-size: 1.4rem;
    font-weight: 600;
}

/* Menú hamburguesa para móvil */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.95rem;
}

nav a:hover, nav a.active {
    background: rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(138, 43, 226, 0.8), rgba(75, 0, 130, 0.8)), url('imagenes/1758641539478.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary);
    font-size: 2rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto;
    border-radius: 2px;
}

/* Price Section Styles */
.price-section {
    margin-bottom: 3rem;
}

.price-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 2rem;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.price-content.reverse {
    flex-direction: row-reverse;
}

.price-text {
    flex: 1;
}

.price-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 5px solid white;
}

/* Price List Styles */
.price-list {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.price-category {
    margin-bottom: 1.5rem;
}

.price-category h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-left: 4px solid var(--accent);
    padding-left: 10px;
}


.price-category h4 {
    color: var(--secondary);
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
}

.service-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px dashed #e0e0e0;
}

.service-item:last-child {
    border-bottom: none;
}

.price {
    font-weight: bold;
    color: var(--primary);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
    font-size: 0.9rem;
}

th, td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #f8f4ff;
    color: var(--secondary);
    font-weight: 600;
}

tr:hover {
    background-color: #f9f5ff;
}

/* Gallery Styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 220px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.1rem;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(138, 43, 226, 0.8);
    color: white;
    padding: 8px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Instagram Section */
.instagram-section {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem 1rem;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 15px;
    color: white;
}

.instagram-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.instagram-link:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.instagram-link i {
    margin-right: 8px;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-info a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.contact-info a:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.contact-info i {
    margin-right: 6px;
    font-size: 1.1rem;
}

.copyright {
    margin-top: 1rem;
    opacity: 0.8;
    font-size: 0.85rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets */
@media (max-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .price-image {
        flex: 0 0 250px;
    }
    
    .circle-image {
        width: 200px;
        height: 200px;
    }
}

/* Móviles grandes */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    nav a {
        display: block;
        padding: 0.8rem 1rem;
        border-radius: 5px;
    }
    
    .hero {
        padding: 2rem 1rem;
        min-height: 50vh;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .price-content, .price-content.reverse {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .price-image {
        flex: 0 0 auto;
        display: none;
    }
    
    .circle-image {
        width: 200px;
        height: 200px;
    }
    
    table {
        font-size: 0.85rem;
    }
    
    th, td {
        padding: 10px 8px;
       
    }
    th {
        width: 40%;
    }
    td{
        width: 60%;
    }
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 0.8rem;
    }
    
    .gallery-item {
        height: 180px;
        font-size: 1rem;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 1.5rem 0.8rem;
    }
    
    .price-content, .price-content.reverse {
        padding: 1rem;
    }
    
    .service-item {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .contact-info a {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .instagram-section {
        padding: 1.5rem 0.8rem;
    }
    
    .instagram-section h3 {
        font-size: 1.3rem;
    }
    
    .instagram-link {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 360px) {
    .logo h1 {
        font-size: 1rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .gallery-item {
        height: 160px;
    }
    
    .circle-image {
        width: 150px;
        height: 150px;
    }
}