:root {
    --gold: #D4AF37;
    --gold-light: #F4E5B2;
    --black: #222222;
    --white: #FFFFFF;
    --gray: #F5F5F5;
}

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

@media (max-width: 768px) {
    * {
        cursor: auto;
    }
    
    /* Corregir imágenes de fondo para móviles */
    body, .hero, .quote-section {
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
                url('https://images.unsplash.com/photo-1517976547714-720226b864c1?auto=format&fit=crop&w=1920&q=80');
    background-attachment: fixed;
    background-size: cover;
    color: var(--black);
    line-height: 1.6;
}

/* Cursor Styles */
.cursor {
    width: 12px;
    height: 12px;
    background-color: var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
}

.cursor-glow {
    width: 40px;
    height: 40px;
    background-color: rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease;
    filter: blur(8px);
    box-shadow: 0 0 10px 5px rgba(212, 175, 55, 0.15);
}

a:hover ~ .cursor,
button:hover ~ .cursor {
    transform: scale(1.5);
}

/* Ocultar cursor personalizado en vista móvil */
@media (max-width: 768px) {
    .cursor, .cursor-glow {
        display: none;
    }
    
    body {
        cursor: auto; /* Restaurar cursor normal en dispositivos móviles */
    }
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo img {
    max-height: 100px;
    width: auto;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1010;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: var(--black);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

body.menu-open {
    overflow: hidden;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.97);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        transition: right 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 4rem 0;
        gap: 1.5rem;
    }
    
    .logo img {
        max-height: 80px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 0.7rem 0;
        font-size: 1.1rem;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('./images/salon.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.hero-content {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.tagline {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero-intro {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
    color: var(--gold-light);
}

/* Quote Section */
.quote-section {
    padding: 6rem 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('./images/logoyestatua.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

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

blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.quote-author {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Carousel Styles */
.carousel-section {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    height: 500px;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.carousel-btn {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--black);
}

.carousel-btn:hover {
    background-color: var(--gold);
}

.carousel-btn:hover svg {
    fill: var(--white);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--gold);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-slide {
        height: 300px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Service Sections */
.service-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.service-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--black);
    position: relative;
    display: inline-flex;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    transition: color 0.3s ease;
}

.service-section h2:hover {
    color: var(--gold);
}

.service-section h2::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border: solid var(--gold);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-left: 15px;
    transition: transform 0.3s ease, margin-top 0.3s ease;
}

.service-section h2.active::after {
    transform: rotate(-135deg);
    margin-top: 5px;
}

.service-section h2::before,
.service-section h2::after {
    display: inline-block;
}

.gold-line {
    display: inline-block;
    height: 2px;
    width: 100px;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.3), var(--gold), rgba(212, 175, 55, 0.3));
    margin: 0 15px;
    vertical-align: middle;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
    animation: fadeIn 0.6s ease-out forwards;
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin: 1rem;
    text-align: center;
}

.service-card p {
    padding: 0 1rem 1rem;
    text-align: center;
}

/* Service Menu Styling */
.service-menu {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                margin 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.service-menu.active {
    max-height: 1500px;
    padding: 2rem;
    margin: 0 auto 4rem;
    opacity: 1;
    width: 100%;
    box-sizing: border-box;
}

.service-menu-container {
    position: relative;
    padding: 2rem;
}

.service-menu-container::before,
.service-menu-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    left: 0;
}

.service-menu-container::before {
    top: 0;
}

.service-menu-container::after {
    bottom: 0;
}

.service-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.service-list li {
    flex: 0 0 calc(50% - 1rem);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--black);
    padding: 0.7rem 0;
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
}

.service-list li:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.service-list li::before {
    content: '•';
    color: var(--gold);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Estilos para elementos de servicio con descripción */
.service-item-with-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

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

.service-item-with-description:hover {
    transform: none !important;
}

.service-item-with-description strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--black);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.service-item-with-description:hover strong {
    color: var(--gold);
}

.service-description {
    margin-top: 8px;
    margin-left: 20px;
    font-size: 0.95rem;
    color: #666;
    text-align: left;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

@media (max-width: 768px) {
    .service-list {
        flex-direction: column;
    }
    
    .service-list li {
        flex: 0 0 100%;
    }
    
    .service-section h2::before,
    .service-section h2::after {
        width: 50px;
    }

    /* Ajuste del tamaño del símbolo dropdown en móviles */
    .service-section h2::after {
        width: 16px;
        height: 16px;
        border-width: 0 1.5px 1.5px 0;
        margin-left: 10px;
    }
}

/* Footer Styles */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 4rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-link:hover {
    color: var(--gold);
}

.contact-link {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* General layout adjustments */
    .service-section {
        padding: 4rem 1rem;
        width: 100%;
    }

    main {
        width: 100%;
        padding: 0;
    }

    /* Header & Typography */
    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    blockquote {
        font-size: 1.8rem;
    }

    .service-section h2 {
        font-size: 2.3rem;
        width: auto;
        max-width: 90%;
    }

    .gold-line {
        width: 60px;
        margin: 0 8px;
    }

    /* Navigation */
    nav {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
        padding: 0 1rem;
    }

    /* Service menus */
    .service-menu {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 1rem;
    }

    .service-menu.active {
        padding: 1rem;
        width: 100%;
    }

    .service-menu-container {
        padding: 1rem;
    }

    .service-list {
        padding: 0;
    }

    .service-list li {
        flex: 0 0 100%;
        font-size: 1.2rem;
    }

    /* Hero section */
    .hero-content {
        width: 90%;
        max-width: 90%;
        padding: 1.5rem;
    }

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

    .hero-intro {
        font-size: 0.9rem;
    }

    /* Quote section */
    .quote-section {
        padding: 4rem 1rem;
    }

    /* Dropdown icon */
    .service-section h2::after {
        width: 16px;
        height: 16px;
        border-width: 0 1.5px 1.5px 0;
        margin-left: 10px;
    }

    /* Service item with description */
    .service-item-with-description strong {
        font-size: 1.2rem;
    }

    .service-description {
        font-size: 0.9rem;
        margin-left: 10px;
    }

    /* Other components */
    .wheel-container {
        width: 300px;
        height: 300px;
    }
    
    #canvas {
        width: 300px;
        height: 300px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sticky Discount Message */
.sticky-discount {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: bounceIn 0.8s ease;
}

.discount-message {
    background-color: var(--gold);
    color: var(--black);
    padding: 12px 18px;
    border-radius: 12px 0 0 12px;
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.discount-message p {
    margin: 0;
}

.discount-message a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
}

.discount-message a:hover {
    color: var(--gold);
}

.whatsapp-link {
    background-color: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    border-radius: 0 12px 12px 0;
    transition: background-color 0.3s ease;
}

.whatsapp-icon {
    width: 25px;
    height: 25px;
    fill: white;
}

.sticky-discount:hover .discount-message {
    transform: translateX(-5px);
}

.sticky-discount:hover .whatsapp-link {
    background-color: #128C7E;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    70% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .sticky-discount {
        bottom: 15px;
        right: 15px;
        flex-direction: column;
    }
    
    .discount-message {
        border-radius: 12px 12px 0 0;
        font-size: 0.9rem;
        text-align: center;
        width: 100%;
    }
    
    .whatsapp-link {
        border-radius: 0 0 12px 12px;
        width: 100%;
    }
    
    .sticky-discount:hover .discount-message {
        transform: translateY(-5px);
    }
}

/* Mobile viewport fix */
@media screen and (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    body {
        position: relative;
    }
    
    main, header, footer, section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix for background images on mobile */
    .hero, .quote-section, body {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center !important;
        -webkit-background-attachment: scroll !important; /* Adding for better iOS support */
    }
    
    /* Ensure background images cover the entire screen */
    .service-image {
        background-size: cover;
        background-position: center;
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background-color: #a78d5e;
    display: flex;
    animation: bounceIn 0.5s;
}

.back-to-top a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.back-to-top-icon {
    width: 18px;
    height: 18px;
    fill: #fff;
    margin-right: 8px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .back-to-top {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: auto;
    }
}

/* Global styles */
html {
    scroll-behavior: smooth;
} 