/* Engagement Details Page Styles */
.engagement-details {
    min-height: 70vh;
    background: #fefefe;
    color: #4a4a4a;
    font-family: 'Roboto', sans-serif;
    position: relative;
    z-index: 1;
}

.details-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 70vh;
    position: relative;
    z-index: 1;
}

.details-image {
    width: 100%;
    height: 70vh;
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.engagement-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%;
    transition: all 0.4s ease;
}

.engagement-image:hover {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.date-text {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-family: 'Roboto', sans-serif;
}

.names-text {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engagement-date-text {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 400;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-family: 'Roboto', sans-serif;
    text-align: center;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: all 0.3s ease;
}

.engagement-title-text {
    font-size: 6rem;
    color: #fff;
    font-weight: 400;
    letter-spacing: 2px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    font-family: 'Great Vibes', cursive;
    text-align: center;
    line-height: 1.2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: all 0.3s ease;
}

.details-content {
    width: 100%;
    padding: 0;
    background: #3A443E;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.accent-images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    pointer-events: none;
    z-index: 1;
}

.accent-left {
    position: absolute;
    top: 0;
    left: 0;
    height: 315px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.accent-right {
    position: absolute;
    top: 0;
    right: 0;
    height: 315px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.accent-left:hover,
.accent-right:hover {
    opacity: 1;
    transform: scale(1.05);
}

.bible-verse-section {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 3rem;
    max-width: 900px;
    width: 100%;
    padding: 4rem 2rem 1.5rem 2rem;
}

.bible-verse {
    font-size: 2.4rem;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.3;
    font-family: 'Great Vibes', cursive;
    margin-bottom: 0.8rem;
    font-style: italic;
    max-width: 800px;
    text-align: center;
}

.bible-reference {
    font-size: 1rem;
    color: #cccccc;
    font-weight: 400;
    letter-spacing: 2px;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
}

.elegant-details {
    display: flex;
    flex-direction: row;
    gap: 0;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
    align-items: stretch;
    padding: 0 2rem 3rem 2rem;
}

.detail-item {
    text-align: center;
    padding: 1.2rem;
    border-bottom: none;
    border-right: 1px solid #daa520;
    flex: 1;
    max-width: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.detail-item:last-child {
    border-right: none;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.detail-buttons {
    margin-top: auto;
    padding-top: 1rem;
}

.detail-icon {
    font-size: 2rem;
    color: #daa520;
    margin-bottom: 0.8rem;
    display: block;
    transition: all 0.3s ease;
}

.detail-item:hover .detail-icon {
    transform: scale(1.1);
    color: #ffffff;
}

.map-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(218, 165, 32, 0.2);
    color: #daa520;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #daa520;
}

.map-link:hover {
    background: #daa520;
    color: #2f4f4f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(218, 165, 32, 0.3);
}

.map-link i {
    margin-right: 0.5rem;
}

.detail-label {
    font-size: 0.8rem;
    color: #daa520;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    font-family: 'Roboto', sans-serif;
}

.detail-value {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.3rem;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    line-height: 1.3;
}

.detail-subtitle {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.detail-item:first-child .detail-subtitle,
.detail-item:last-child .detail-subtitle {
    margin-bottom: 2.5rem;
}

/* Color Palette Section */
.color-palette-section {
    width: 100%;
    padding: 3.5rem 2rem;
    background: #fff8dc;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    clear: both;
    z-index: 1;
    min-height: 400px;
    box-sizing: border-box;
}

.color-palette-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--paint-color, #fff8dc);
    z-index: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0);
    transform-origin: top left;
    pointer-events: none;
    border-radius: 0 0 100% 0;
}

.color-palette-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--paint-color, #fff8dc);
    z-index: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    transform: scale(0);
    transform-origin: top right;
    pointer-events: none;
    border-radius: 0 0 0 100%;
}

.color-palette-section .corner-fill-3 {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--paint-color, #fff8dc);
    z-index: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
    transform: scale(0);
    transform-origin: bottom left;
    pointer-events: none;
    border-radius: 100% 0 0 0;
}

.color-palette-section .corner-fill-4 {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--paint-color, #fff8dc);
    z-index: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
    transform: scale(0);
    transform-origin: bottom right;
    pointer-events: none;
    border-radius: 0 100% 0 0;
}

.color-palette-section.painting::before,
.color-palette-section.painting::after,
.color-palette-section.painting .corner-fill-3,
.color-palette-section.painting .corner-fill-4 {
    transform: scale(1);
}

.color-palette-section {
    background: #fff8dc;
}

.color-message,
.palette-container {
    position: relative;
    z-index: 2;
}

.color-message {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.color-message-title {
    font-size: 2.2rem;
    color: #8b4513;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-family: 'Great Vibes', cursive;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.color-message-text {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    letter-spacing: 0.5px;
    white-space: pre-line;
    text-align: center;
}

.palette-container {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 120px;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    padding: 1rem 0;
}

.color-bar {
    width: 6.67rem;
    height: 6.67rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: visible;
    border-radius: 8px;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.color-bar:hover {
    transform: scaleY(1.05);
}

.color-bar:hover .copy-tooltip {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.color-code {
    position: absolute;
    bottom: 0.3rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    font-weight: 600;
    opacity: 0.9;
}

.copy-tooltip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.color-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.color-code {
    font-size: 0.8rem;
    font-family: monospace;
    font-weight: 500;
}

.calendar-save-btn,
.map-link,
.menu-download-btn {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.7rem;
    background: rgba(218, 165, 32, 0.2);
    color: #daa520;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #daa520;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.calendar-save-btn:hover,
.map-link:hover,
.menu-download-btn:hover {
    background: #daa520;
    color: #2f4f4f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(218, 165, 32, 0.3);
}

.calendar-save-btn i,
.map-link i,
.menu-download-btn i {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .palette-container {
        height: 150px;
    }
    
    .color-name {
        font-size: 0.8rem;
    }
    
    .color-code {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .details-image {
        height: 50vh;
    }
    
    .details-content {
        padding: 1rem 0.5rem;
    }
    
    .bible-verse {
        font-size: 2rem;
    }
    
    .bible-reference {
        font-size: 0.9rem;
    }
    
    .bible-verse-section {
        margin-top: 0.5rem;
        margin-bottom: 2rem;
        padding: 2rem 1rem 1rem 1rem;
    }
    
    .accent-left,
    .accent-right {
        display: none;
    }
    
    .elegant-details {
        flex-direction: column;
        gap: 1rem;
        max-width: 600px;
        padding: 0 1rem 2rem 1rem;
    }
    
    .detail-item {
        border-right: none;
        border-bottom: 1px solid #daa520;
        max-width: none;
        min-height: 180px;
    }
    
    .detail-item:last-child {
        border-bottom: none;
    }
    
    .detail-content {
        margin-bottom: 0.8rem;
    }
    
    .detail-buttons {
        margin-top: 0;
        padding-top: 0.4rem;
    }
    
    .detail-value {
        font-size: 1.1rem;
    }
    
    .detail-label {
        font-size: 0.7rem;
    }
    
    .detail-icon {
        font-size: 1.8rem;
    }
    
    .map-link,
    .calendar-save-btn,
    .menu-download-btn {
        font-size: 0.7rem;
        padding: 0.6rem;
    }
    
    .color-palette-section {
        padding: 2rem 1rem;
        min-height: 350px;
    }
    
    .color-message-title {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .color-message-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .color-message {
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .palette-container {
        height: auto;
        min-height: 100px;
    }
    
    .color-bar {
        width: 5.33rem;
        height: 5.33rem;
    }
    
    .color-name {
        font-size: 0.6rem;
    }
    
    .color-code {
        font-size: 0.5rem;
    }
    
    .engagement-date-text {
        font-size: 1.3rem;
        top: 25%;
    }
    
    .engagement-title-text {
        font-size: 3.5rem;
        top: 60%;
    }
    
    .date-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .bible-verse {
        font-size: 1.8rem;
    }
    
    .details-content {
        padding: 0.5rem 0.25rem;
    }
    
    .accent-left,
    .accent-right {
        display: none;
    }
    
    .detail-value {
        font-size: 1.2rem;
    }
    
    .detail-icon {
        font-size: 1.8rem;
    }
    
    .map-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .color-palette-section {
        padding: 1.5rem 0.5rem;
        min-height: 300px;
    }
    
    .color-message-title {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }
    
    .color-message-text {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .color-message {
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .palette-container {
        height: auto;
        min-height: 80px;
        flex-direction: row;
    }
    
    .color-bar {
        width: 4rem;
        height: 4rem;
    }
    
    .color-name {
        font-size: 0.6rem;
    }
    
    .color-code {
        font-size: 0.5rem;
    }
    
    .engagement-date-text {
        font-size: 1.2rem;
        top: 20%;
    }
    
    .engagement-title-text {
        font-size: 3.5rem;
        top: 65%;
    }
    
    .date-text {
        font-size: 0.9rem;
    }
} 

/* New Simple Color Palette Section */
.simple-color-palette {
    width: 100%;
    background: #fff8dc;
    padding: 4rem 2rem;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.simple-color-palette::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--paint-color, #fff8dc);
    z-index: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0);
    transform-origin: top left;
    pointer-events: none;
    border-radius: 0 0 100% 0;
}

.simple-color-palette::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--paint-color, #fff8dc);
    z-index: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    transform: scale(0);
    transform-origin: top right;
    pointer-events: none;
    border-radius: 0 0 0 100%;
}

.simple-color-palette .corner-fill-3 {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--paint-color, #fff8dc);
    z-index: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
    transform: scale(0);
    transform-origin: bottom left;
    pointer-events: none;
    border-radius: 100% 0 0 0;
}

.simple-color-palette .corner-fill-4 {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--paint-color, #fff8dc);
    z-index: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
    transform: scale(0);
    transform-origin: bottom right;
    pointer-events: none;
    border-radius: 0 100% 0 0;
}

.simple-color-palette.painting::before,
.simple-color-palette.painting::after,
.simple-color-palette.painting .corner-fill-3,
.simple-color-palette.painting .corner-fill-4 {
    transform: scale(1) !important;
}

.palette-header {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.palette-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: #8b4513;
    font-family: 'Great Vibes', cursive;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.palette-description {
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: #4a4a4a;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    margin: 0;
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: clamp(0.5rem, 2vw, 1rem);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.color-item {
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0.5rem;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 60px;
    min-height: 60px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
}

.color-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.color-item:active {
    transform: scale(1.02);
}

.color-code {
    color: white;
    font-size: clamp(0.6rem, 2vw, 0.7rem);
    font-family: 'Courier New', monospace;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    backdrop-filter: blur(2px);
    pointer-events: none;
} 

.menu-download-btn.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}