@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

/* Custom range slider */
input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Elegant Call Button Styles */
.call-button {
    background: transparent;
    color: #D4AF37;
    padding: 8px 24px;
    border: 1.5px solid #D4AF37;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.call-button:hover {
    color: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

/* Subtle fill animation on hover */
.call-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #D4AF37;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.call-button:hover::before {
    width: 100%;
}

/* Phone icon animation */
.call-button svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.call-button:hover svg {
    transform: rotate(15deg) scale(1.1);
}

/* Modern Popup Styles */
.call-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.call-popup-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.call-popup {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    position: relative;
}

.call-popup-overlay.show .call-popup {
    transform: scale(1);
}

.call-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.call-popup-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.call-popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.call-popup-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #D4AF37 0%, #F4E4BC 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.call-popup h3 {
    color: #1a1a1a;
    font-size: 24px;
    margin: 0;
    font-weight: 600;
}

.call-popup-content {
    text-align: center;
}

.phone-number {
    font-size: 28px;
    font-weight: 700;
    color: #D4AF37;
    margin: 20px 0;
    letter-spacing: 1px;
}

.call-hours {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.call-hours h4 {
    color: #1a1a1a;
    font-size: 16px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #666;
    font-size: 14px;
}

.copy-button {
    background: #f5f5f5;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.copy-button:hover {
    background: #e0e0e0;
}

.copy-button.copied {
    background: #4CAF50;
    color: white;
}