/* css/components/sections.css */

.dresscode-text {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    text-align: center;
    color: var(--warm-mushroom);
    max-width: 700px;
    margin: 0 auto;
    font-family: var(--font-body);
    line-height: 1.9;
}

.palette-caption {
    font-size: 1.8rem;
    color: var(--deep-taupe);
    text-align: center;
    margin: 2.2rem auto 1rem;
    font-family: var(--script-secondary);
}

.palette {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.color-swatch {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
}

.color-swatch::after {
    content: attr(data-color);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--deep-taupe);
    white-space: nowrap;
    background: rgba(255, 255, 240, 0.95);
    padding: 4px 12px;
    border-radius: 30px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0;
    transform: translateX(-50%) translateY(5px);
}

.color-swatch:hover::after,
.color-swatch:focus::after,
.color-swatch.show-tooltip::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
    .color-swatch {
        width: 65px;
        height: 65px;
    }
    
    .color-swatch::after {
        font-size: 0.75rem;
        bottom: -30px;
        padding: 3px 8px;
        white-space: nowrap;
    }
}

.color-swatch:hover {
    transform: scale(1.1) rotate(5deg);
}

.swatch-1 { background: #ebe4d4; }
.swatch-2 { background: #d0b5a2; }
.swatch-3 { background: #c47e5a; }
.swatch-4 { background: #6b4c3b; }

.venue-name {
    font-family: var(--script-main);
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    color: var(--deep-taupe);
    text-align: center;
    margin: 0 auto 0.8rem;
}

.venue-address {
    font-family: var(--font-body);
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: var(--warm-mushroom);
    text-align: center;
    line-height: 1.6;
    margin: 0.5rem auto 1.5rem;
    max-width: 500px;
    font-style: normal;
}

.map-frame {
    width: 100%;
    max-width: 800px;
    height: 300px;
    border-radius: 40px;
    overflow: hidden;
    border: 2px solid var(--powder-rose);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.2);
    margin: 1.5rem auto;
    position: relative;
}

.map-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (min-width: 768px) {
    .map-frame {
        height: 380px;
    }
}

@media (max-width: 600px) {
    .map-frame {
        height: 250px;
        border-radius: 30px;
    }
}

@media (max-width: 480px) {
    .map-frame {
        height: 220px;
        border-radius: 24px;
    }
}

.map-link {
    position: relative;
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: linear-gradient(135deg, rgba(224, 191, 184, 0.3), rgba(183, 155, 107, 0.3));
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(224, 191, 184, 0.6);
    color: var(--deep-taupe);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    font-family: var(--font-body);
    font-weight: 500;
}

.map-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -8px rgba(183, 155, 107, 0.4);
    border-color: var(--antique-gold);
    background: linear-gradient(135deg, rgba(224, 191, 184, 0.5), rgba(183, 155, 107, 0.5));
}