/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    overflow-x: hidden;
}


.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    z-index: 1000;
}

#loading-gif {
    max-width: 130%;
    max-height: 130%;
}

.hidden {
    display: none !important;
}


.fullscreen-background {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 20%;
    width: 100%;
    height: 100%;
    background-image: url('fondo.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}


.content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    min-height: 100vh;
}


.couple-photo-container {
    margin: 0px 0;
    width: 100%;
    max-width: 400px;
}

.couple-photo {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.hidden {
    display: none;
}


.additional-image {
    margin: 0px 0;
    width: 100%;
    max-width: 400px;
}

.additional-image img {
    width: 100%;
    border-radius: 8px;
}


.buttons-container {
    display: flex;
    flex-direction:column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
}


.action-button {
    font-family: 'Playfair Display', serif;
    width: 40mm;
    height: 7mm;
    min-height: 28px;
    background-color: #4f6654;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0 15px;
}

.action-button:hover {
    background-color: #c0392b;
    transform: translateY(-1px);
}

.action-button i {
    font-size: 16px;
}


.dropdown-container {
    position: relative;
    width: 40mm;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 40mm;
    background: white;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    z-index: 10;
}

.dropdown-container.active .dropdown-menu {
    max-height: 100px;
}

.dropdown-item {
    width: 100%;
    height: 7mm;
    min-height: 28px;
    background: white;
    border: none;
    border-top: 1px solid #f1f1f1;
    color: #333;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0 15px;
}

.dropdown-item:hover {
    background-color: #f8f8f8;
}

.dropdown-item i {
    font-size: 14px;
}

.dropdown-item:first-child {
    border-top: none;
}

/* Versión escritorio */
@media (min-width: 268px) {
    .content-container {
        padding-top: 40px;
    }
    
    .buttons-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 800px;
        gap: 15px;
    }
    
    .action-button {
        width: 160px;
    }
    
    .dropdown-container {
        width: 160px;
    }
}



.dress-code-container {
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    padding: 10px;
    text-align: center;
   
}

.dress-code-header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 5px;
    font-weight: 300;
    letter-spacing: 3px;
}

.dress-code-header h2 {
    font-size: 1rem;
    color: #666;
    margin-top: 0;
     margin-bottom: 10px;
    font-weight: 400;
}

.main-color {
    margin: 0 auto 40px;
    width: fit-content;
}

.color-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.5s ease;
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.horizontal-stack {
    position: relative;
    height: 70px;
    margin: 10px auto;
    width: fit-content;
    display: flex;
    justify-content: center;
}

.horizontal-stack .color-circle {
    position: relative;
    margin-left: -20px; 
    z-index: 1;
}

.horizontal-stack .color-circle:first-child {
    margin-left: 0;
}

.horizontal-stack .color-circle.selected {
    transform: translateY(-20px) scale(1.2);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.color-name {
    display: block;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.colors-to-avoid h3 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.selected-color-info {
    min-height: 30px;
    margin-top: 20px;
}

#selected-color-name {
    font-size: 1.1rem;
    color: #333;
    font-weight: bold;
    padding: 8px 15px;
    background-color: #f0f0f0;
    border-radius: 20px;
    display: inline-block;
}

.link-con-efecto {
  display: inline-block; 
  cursor: pointer;        
  text-decoration: none;  
}


.link-con-efecto img {
  
  transform: scale(0.9);
  
 
  transition: transform 0.3s ease; 

 
  display: block; 
  max-width: 100%;
}


.link-con-efecto:hover img {
  transform: scale(1);
}

.white { background-color: #ffffff; border: 1px solid #eee; }
.black { background-color: #915757; }
.red { background-color: #d4aaaa; }
.blue { background-color: #a36337; }
.green { background-color: #8ea58e; }
.yellow { background-color: #da75d1; }


@media (max-width: 500px) {
    .horizontal-stack {
        height: 60px;
    }
    
    .color-circle {
        width: 60px;
        height: 60px;
    }
    
    .horizontal-stack .color-circle {
        margin-left: -30px;
    }
    
    .horizontal-stack .color-circle.selected {
        transform: translateY(-15px) scale(1.15);
    }
}