/* CSS reset and global box-sizing */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Refined color palette based on sage green design */
    --bg-color: #748c6e;
    --text-color: #f7f6f0;
    --hover-bg: rgba(247, 246, 240, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Using a subtle radial gradient ensures a premium feel while preserving the solid color look */
    background: radial-gradient(circle at 50% 30%, #7b9475 0%, var(--bg-color) 60%, #6d8467 100%);
    
    /* Smooth font rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Master container for the exact layout shown */
.screen-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem;
}

/* Main Content grouping (Logo + Text) */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.2s ease-out forwards;
}

/* Center Logo Wrapper */
.logo-wrapper {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.logo {
    width: 100%;
    max-width: 380px; /* Sized to look premium on desktop */
    height: auto;
    object-fit: contain;
    -webkit-user-drag: none;
    user-select: none;
    filter: drop-shadow(0 4px 12px var(--shadow-color));
}

/* "Website under construction" text */
.status-text {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    text-align: center;
    opacity: 0.9;
    margin-top: 1rem;
}

/* Social icons footer */
.social-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 2rem;
    
    /* Delayed fade in for a dynamic entrance */
    opacity: 0;
    animation: slideUpFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: transparent;
}

.social-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Interactive Hover States */
.social-link:hover {
    background: var(--hover-bg);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(247, 246, 240, 0.1);
}

.social-link:hover .social-icon {
    transform: scale(1.08);
}

.social-link:active {
    transform: translateY(0);
}

/* Subtle, performant animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .screen-container {
        padding: 3rem 1.5rem;
    }
    .logo {
        max-width: 280px;
    }
    .status-text {
        font-size: 1.25rem;
    }
    .social-link {
        width: 44px;
        height: 44px;
    }
    .social-icon {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .screen-container {
        padding: 2rem 1rem;
    }
    .logo {
        max-width: 220px;
    }
    .status-text {
        font-size: 1.1rem;
    }
    .social-link {
        width: 40px;
        height: 40px;
    }
    .social-icon {
        width: 22px;
    }
    .social-footer {
        padding-bottom: 3rem; /* Slightly more room at the bottom for small devices */
    }
}
