:root {
    --primary-color: #00a859; /* Green from H-Bio logo */
    --secondary-color: #004d29; /* Darker green */
    --accent-color: #1d71b8; /* Blue from H-Bio logo */
    --text-color: #333333;
    --light-color: #ffffff;
    --gray-color: #f8f8f8;
    --dark-gray: #666666;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Particles background */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.maintenance-box {
    background-color: var(--light-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    text-align: center;
    width: 100%;
    max-width: 700px;
    border-top: 5px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.maintenance-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.05) 0%, rgba(29, 113, 184, 0.05) 100%);
    z-index: -1;
}

.logo-container {
    margin-bottom: 30px;
    transition: transform 0.5s ease;
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
}

.title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.divider {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 20px auto;
    border-radius: 2px;
}

/* Animation container */
.animation-container {
    margin: 10px auto 20px;
    max-width: 250px;
}

.message {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.sub-message {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--gray-color);
    border-radius: 8px;
    padding: 15px;
    min-width: 80px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    border-bottom: 3px solid var(--accent-color);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-3px);
}

.countdown-item span:first-child {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-top: 5px;
}

/* Progress bar */
.progress-container {
    margin: 20px 0 30px;
    padding: 0 20px;
}

.progress-label {
    text-align: left;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background-color: var(--gray-color);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 65%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 6px;
    position: relative;
    transition: width 1.5s ease-in-out;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-percentage {
    text-align: right;
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact info */
.contact-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-color);
}

.contact-info p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-link i {
    margin-right: 8px;
}

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

/* Business Hours */
.business-hours {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--gray-color);
    border-radius: 8px;
    text-align: left;
}

.business-hours h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.business-hours ul {
    list-style: none;
    padding: 0;
}

.business-hours li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.business-hours li span {
    font-weight: 600;
    color: var(--accent-color);
}

/* Visitor Counter */
.visitor-counter {
    margin-top: 25px;
    font-size: 0.85rem;
    color: var(--dark-gray);
    padding: 10px;
    border-top: 1px dashed var(--gray-color);
}

.visitor-counter p {
    margin: 0;
}

#visitor-count {
    font-weight: 600;
    color: var(--accent-color);
}

/* WhatsApp Button */
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: #ffffff;
    color: #333333;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.whatsapp-tooltip:after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}

.whatsapp-container:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    text-decoration: none;
    overflow: hidden;
}

.whatsapp-button i {
    font-size: 32px;
    line-height: 1;
    position: relative;
    top: 1px;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Animation for WhatsApp button */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-button {
    animation: pulse-whatsapp 2s infinite;
}

footer {
    text-align: center;
    padding: 20px;
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

/* Made with love footer */
.made-with-love {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--dark-gray);
}

.made-with-love a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.made-with-love a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.heart {
    display: inline-block;
    color: #ff5252;
    animation: heartbeat 1.5s infinite;
    margin: 0 3px;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    5% {
        transform: scale(1.2);
    }
    10% {
        transform: scale(1.1);
    }
    15% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .maintenance-box {
        padding: 30px 20px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 10px;
    }
    
    .animation-container {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .maintenance-box {
        padding: 25px 15px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .message {
        font-size: 1rem;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 8px;
    }
    
    .countdown-item span:first-child {
        font-size: 1.5rem;
    }
    
    .animation-container {
        max-width: 180px;
    }
}
