﻿
/* Full-screen semi-transparent overlay */
.loading-animation {
    background-color: rgba(0, 0, 0, 0.7); /* Darker overlay */
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out; /* Smooth fade-in effect */
}

/* Spinner container */
.spinner-container {
    position: relative;
    width: 100px;
    height: 100px;
}

/* Glowing border spinner */
.spinner {
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite, glow 1.5s ease-in-out infinite;
}

    /* Inner glowing pulse effect */
    .spinner::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60%;
        height: 60%;
        background: #3498db;
        border-radius: 50%;
        opacity: 0.7;
        animation: pulse 1.5s infinite;
    }

/* Text below the spinner */
.loading-text {
    margin-top: 15px;
    font-size: 1.2rem;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    text-shadow: 0 0 5px #ffffff;
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes glow {
    0%, 100% {
        border-color: #3498db;
    }

    50% {
        border-color: #9b59b6;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.3;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes rotateIcon {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
/* Animated Jewelry Icon */

.input-field {
    border: 2px solid #d4af37;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

    .input-field:focus {
        border-color: #f7c634;
        box-shadow: 0 0 5px rgba(249, 204, 31, 0.5);
    }

/*.jewelry-icon {
    animation: shimmer 3s infinite;
}*/

@keyframes shimmer {
    0% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.5);
    }

    100% {
        filter: brightness(1);
    }
}

/* Optional: Styling for typing animation */
@keyframes typing {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.typing-text {
    display: inline-block;
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    border-right: 4px solid #d4af37;
    width: 0;
    animation: typing 3s steps(30) 1s forwards, blink 0.75s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.typing-container {
    display: inline-block;
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    color: #d4af37;
}

/* Parent container (for top center position) */
#typingTextContainer {
    font-family: 'Courier New', Courier, monospace;
    font-size: 2rem;
    color: #d4af37; /* Gold color for the text */
    display: inline-block;
    white-space: nowrap;
    border-right: 3px solid #d4af37; /* Cursor effect */
    padding-right: 10px;
    animation: blink 0.7s infinite step-end; /* Blinking cursor */
    text-align: center;
    margin: 0 auto;
}

/* Create a container to center content horizontally and align it to the top */
section.vh-100 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
    align-items: center; /* Center horizontally */
    height: 100vh;
}

/* Cursor blink animation */
@keyframes blink {
    50% {
        border-color: transparent;
    }
}



.divider:after,
.divider:before {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}

.h-custom {
    height: calc(100% - 73px);
}

@media (max-width: 450px) {
    .h-custom {
        height: 100%;
    }
}


/* Styling for loader container */
.loading-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent dark background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Wedding ring box loader */
.ring-box-loader {
    position: relative;
    width: 150px;
    height: 150px;
    animation: focusEffect 3s ease-in-out infinite;
}

/* Ring box base and lid */
.box {
    position: relative;
    width: 100px;
    height: 100px;
    perspective: 500px;
}

.lid {
    position: absolute;
    width: 100px;
    height: 50px;
    background: #333;
    border-radius: 10px 10px 0 0;
    transform-origin: top;
    animation: openLid 3s infinite ease-in-out;
    z-index: 2;
}

.base {
    position: absolute;
    top: 50px;
    width: 100px;
    height: 50px;
    background: #555;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    z-index: 1;
}

/* Ring and diamond */
.ring {
    position: absolute;
    top: 10px;
    left: 30px;
    width: 40px;
    height: 40px;
    animation: popRing 3s infinite ease-in-out;
}

.band {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 5px solid gold;
    border-radius: 50%;
}

.diamond {
    position: absolute;
    top: -10px;
    left: 10px;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #cce7ff, #fff);
    clip-path: polygon(50% 0%, 100% 75%, 50% 100%, 0% 75%);
    box-shadow: 0 0 5px #fff, 0 0 10px #a6d0ff;
}

/* Glitter effect */
.glitter {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 10%, transparent 70%);
    animation: sparkle 3s infinite ease-in-out;
    opacity: 0;
}

/* Loading text */
.loading-text {
    margin-top: 20px;
    font-size: 16px;
    color: #fff;
    font-family: 'Arial', sans-serif;
    text-align: center;
}

/* Animations */
@keyframes openLid {
    0%, 70% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(-120deg);
    }
}

@keyframes popRing {
    0%, 70% {
        transform: translateY(30px) scale(0.5);
        opacity: 0;
    }
    100% {
        transform: translateY(0px) scale(1);
        opacity: 1;
    }
}

@keyframes sparkle {
    0%, 80% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes focusEffect {
    0%, 70% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}
/* Ensure the footer spans the entire width */
.full-width-footer {
    width: 100%;
    margin: 0; /* Remove default margin */
    position: relative; /* Ensure correct positioning */
    bottom: 0;
    left: 0;
}

/* Remove any unwanted padding/margin from the body */
body, html {
    margin: 0;
    padding: 0;
}

/* Add additional styles for footer links */
.full-width-footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

    .full-width-footer a:hover {
        color: #ffdd00; /* Add hover effect for the links */
    }
