/**
 * Clock Styles - 8 Different Clock Designs
 * 
 * @package    Synagogue_Display
 * @subpackage Synagogue_Display/public/css
 * @since      1.0.0
 */

/* ========================================
   Default Clock Style
   ======================================== */

.clock-section.clock-style-default .current-time {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ========================================
   Digital Clock Style
   ======================================== */

.clock-section.clock-style-digital .current-time {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    letter-spacing: 0.15em;
    background: linear-gradient(to bottom, #000, #333);
    color: #00FF00;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    box-shadow: 
        inset 0 2px 10px rgba(0, 255, 0, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.5);
    text-shadow: 0 0 10px #00FF00, 0 0 20px #00FF00;
}

.clock-section.clock-style-digital .current-date {
    color: #00FF00;
    text-shadow: 0 0 5px #00FF00;
}

/* ========================================
   Elegant Clock Style
   ======================================== */

.clock-section.clock-style-elegant .current-time {
    font-family: 'Georgia', serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.08em;
    position: relative;
}

.clock-section.clock-style-elegant .current-time::before,
.clock-section.clock-style-elegant .current-time::after {
    content: '◆';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0.5;
}

.clock-section.clock-style-elegant .current-time::before {
    left: -2rem;
}

.clock-section.clock-style-elegant .current-time::after {
    right: -2rem;
}

.clock-section.clock-style-elegant .current-date {
    font-family: 'Georgia', serif;
    font-style: italic;
}

/* ========================================
   Modern Clock Style
   ======================================== */

.clock-section.clock-style-modern .current-time {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 300;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.clock-section.clock-style-modern .current-time::after {
    content: attr(data-time);
    position: absolute;
    left: 0;
    top: 2px;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.5;
}

.clock-section.clock-style-modern .current-date {
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* ========================================
   Retro Clock Style
   ======================================== */

.clock-section.clock-style-retro .current-time {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #FF6B35;
    text-shadow: 
        3px 3px 0 #004E89,
        6px 6px 0 #F77F00;
    transform: skew(-2deg);
}

.clock-section.clock-style-retro .current-date {
    font-family: 'Impact', sans-serif;
    color: #004E89;
    transform: skew(-2deg);
}

/* ========================================
   Neon Clock Style
   ======================================== */

.clock-section.clock-style-neon .current-time {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #ff00de,
        0 0 30px #ff00de,
        0 0 40px #ff00de,
        0 0 55px #ff00de,
        0 0 75px #ff00de;
    animation: neonPulse 1.5s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from {
        text-shadow: 
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px #ff00de,
            0 0 30px #ff00de,
            0 0 40px #ff00de,
            0 0 55px #ff00de,
            0 0 75px #ff00de;
    }
    to {
        text-shadow: 
            0 0 2px #fff,
            0 0 5px #fff,
            0 0 10px #ff00de,
            0 0 15px #ff00de,
            0 0 20px #ff00de,
            0 0 30px #ff00de,
            0 0 40px #ff00de;
    }
}

.clock-section.clock-style-neon .current-date {
    color: #fff;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #00d4ff,
        0 0 20px #00d4ff;
}

/* ========================================
   Classic Clock Style
   ======================================== */

.clock-section.clock-style-classic .current-time {
    font-family: 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    position: relative;
    padding: 1rem 2rem;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border: 3px solid currentColor;
    border-radius: 50%;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.clock-section.clock-style-classic .current-time::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 15px;
    background: currentColor;
}

.clock-section.clock-style-classic .current-time::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 15px;
    background: currentColor;
}

.clock-section.clock-style-classic .current-date {
    text-align: center;
    margin-top: 1rem;
}

/* ========================================
   Futuristic Clock Style
   ======================================== */

.clock-section.clock-style-futuristic .current-time {
    font-family: 'Orbitron', 'Arial', sans-serif;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: #00FFF5;
    text-shadow: 
        0 0 10px #00FFF5,
        0 0 20px #00FFF5,
        0 0 30px #0088FF,
        2px 2px 4px rgba(0, 0, 0, 0.8);
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 245, 0.1) 50%, 
        transparent 100%);
    padding: 0.5rem;
    position: relative;
    overflow: hidden;
}

.clock-section.clock-style-futuristic .current-time::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 245, 0.4) 50%, 
        transparent 100%);
    animation: futuristicScan 3s linear infinite;
}

@keyframes futuristicScan {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

.clock-section.clock-style-futuristic .current-date {
    color: #00FFF5;
    text-shadow: 0 0 5px #00FFF5;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.1em;
}

/* ========================================
   Responsive Clock Styles
   ======================================== */

@media (max-width: 768px) {
    .clock-section.clock-style-classic .current-time {
        width: 180px;
        height: 180px;
        font-size: 2.5rem;
    }
    
    .clock-section.clock-style-digital .current-time,
    .clock-section.clock-style-neon .current-time {
        font-size: 2.5rem;
    }
}

/* ========================================
   Clock Animation Effects
   ======================================== */

/* Tick animation for all clocks */
.current-time {
    animation: tickAnimation 1s steps(1, end) infinite;
}

@keyframes tickAnimation {
    0% { opacity: 1; }
    50% { opacity: 0.98; }
    100% { opacity: 1; }
}

/* Colon blink for digital styles */
.clock-section.clock-style-digital .current-time::after,
.clock-section.clock-style-futuristic .current-time::after {
    content: '';
    animation: colonBlink 1s steps(1, end) infinite;
}

@keyframes colonBlink {
    0%, 49% { opacity: 1; }
    50%, 99% { opacity: 0; }
}
