/*
Theme Name: EMJ Under Construction
Theme URI: https://emjordan.jo
Author: EMJ
Description: A beautiful, responsive under construction theme with a countdown timer for Education Malaysia Jordan.
Version: 1.3
License: GNU General Public License v2 or later
Text Domain: emj-construction
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Playfair+Display:wght@700;800;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #002A42 0%, #003B5C 50%, #00507c 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
    text-align: center;
    color: #fff;
}

/* Background glowing orbs */
body::before,
body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
body::before {
    top: -10%; left: -10%;
    width: 60vw; height: 60vw;
    background: rgba(255, 209, 0, 0.08);
}
body::after {
    bottom: -10%; right: -10%;
    width: 60vw; height: 60vw;
    background: rgba(200, 16, 46, 0.1);
}

.uc-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================
   LOGO WRAPPER & GLOWING ANIMATION
   ========================================= */
.uc-logo-wrapper {
    margin-bottom: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
}

/* Force the logo to be a sharp square/rectangle with no borders */
.uc-logo-wrapper img,
.uc-logo-wrapper .custom-logo {
    max-height: 130px;
    width: auto;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important; /* Removes rounded corners */
    padding: 0 !important;
    
    /* The pulsing glow effect */
    animation: goldenGlow 3s ease-in-out infinite alternate !important;
}

/* The Glowing Lights Keyframes */
@keyframes goldenGlow {
    0% {
        filter: drop-shadow(0 0 8px rgba(255, 209, 0, 0.4)) 
                drop-shadow(0 0 15px rgba(255, 209, 0, 0.2));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(255, 209, 0, 0.8)) 
                drop-shadow(0 0 40px rgba(255, 209, 0, 0.5));
        transform: scale(1.03); /* Very slight breathing effect */
    }
}

/* Title */
.uc-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #ffffff 0%, #FFD100 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Subtitle */
.uc-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 50px;
}

/* Countdown Timer Grid */
.uc-countdown {
    display: flex;
    gap: clamp(10px, 2vw, 25px);
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 50px;
}

/* Countdown Box */
.uc-time-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: clamp(15px, 2.5vw, 30px) clamp(10px, 3vw, 40px);
    min-width: clamp(80px, 15vw, 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.uc-time-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 209, 0, 0.4);
}

/* Numbers */
.uc-number {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #FFD100;
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 10px rgba(255, 209, 0, 0.3);
}

/* Labels */
.uc-label {
    font-size: clamp(0.65rem, 1.2vw, 0.85rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer Text */
.uc-footer {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 15px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .uc-countdown {
        gap: 10px;
    }
    .uc-time-box {
        min-width: calc(50% - 10px);
        padding: 20px 10px;
    }
    .uc-subtitle {
        margin-bottom: 35px;
    }
}