:root {
    --primary-color: #0c4a6e;
    --accent-color: #0ea5e9;
    --text-main: #0f172a;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(14, 165, 233, 0.2);
    --glow-color: rgba(14, 165, 233, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Better for natural scrolling */
    align-items: center;
    justify-content: flex-start; /* Start from top to allow scrolling down */
    overflow-x: hidden;
    overflow-y: auto;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: url('bg.png') center/cover no-repeat;
    filter: saturate(1.1) contrast(1.1);
    animation: kenBurns 40s infinite alternate ease-in-out;
}

.background-overlay {
    display: none;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1) translate(-2%, -2%); }
}

.container {
    width: 95%;
    max-width: 900px;
    z-index: 10;
    perspective: 1000px;
    padding: 60px 0; /* Add top/bottom padding to ensure content isn't cut off */
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.1);
    opacity: 0;
    animation: cardEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes cardEntrance {
    0% { transform: translateY(50px) scale(0.98); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.logo-wrapper {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

#main-logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.05));
    animation: logoFloat 6s infinite ease-in-out;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.company-name {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
    letter-spacing: -0.03em;
    opacity: 0;
    animation: textFadeIn 1s ease-out 0.8s forwards;
}

.maintenance-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: textFadeIn 1s ease-out 1s forwards;
}

@keyframes textFadeIn {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    opacity: 0;
    animation: textFadeIn 1s ease-out 1.2s forwards;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    padding: 15px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(14, 165, 233, 0.08);
}

.time-block span {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.time-block label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Info Grid Styling with Icons */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 40px;
    opacity: 0;
    animation: textFadeIn 1s ease-out 1.4s forwards;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(14, 165, 233, 0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(14, 165, 233, 0.15);
    border-color: var(--accent-color);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    background: var(--accent-color);
    color: #ffffff;
    transform: rotate(10deg);
}

.info-content {
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link:hover {
    color: var(--accent-color);
}

/* Address Styling */
.address {
    margin-top: 10px;
    opacity: 0;
    animation: textFadeIn 1s ease-out 1.6s forwards;
}

.address-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.9) 100%);
    border-radius: 24px;
    border: 1px solid rgba(14, 165, 233, 0.1);
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    transition: all 0.4s ease;
}

.address-card:hover {
    background: #ffffff;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.05);
}

.address-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 10px 20px -5px rgba(12, 74, 110, 0.3);
}

.address-card:hover .address-icon {
    animation: bounceIcon 1s ease infinite;
}

@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.address-content {
    display: flex;
    flex-direction: column;
}

.address-content .value {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.5;
}

/* Shine effect for the logo */
.logo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-25deg);
    animation: shine 4s infinite 3s;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

@media (max-width: 768px) {
    .glass-card {
        padding: 40px 20px;
        border-radius: 30px;
    }
    
    .company-name {
        font-size: 1.8rem;
    }
    
    .countdown {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .time-block {
        min-width: 80px;
        padding: 10px;
    }
    
    .time-block span {
        font-size: 2.2rem;
    }

    .address-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .address-icon {
        margin: 0 auto 15px;
    }
}
