/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Main container */
.maintenance-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.content-wrapper {
    max-width: 48rem;
    width: 100%;
    text-align: center;
}

/* Logo styles */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.logo {
    background: black;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.logo-image {
    max-width: 200px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 0.5rem;
}

.logo-image:not([src]),
.logo-image[src=""] {
    display: none;
}

.logo-image::before {
    content: "Atlas Fasteners";
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
}

/* Icon styles */
.icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.icon-circle {
    width: 6rem;
    height: 6rem;
    background-color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.maintenance-icon {
    width: 3rem;
    height: 3rem;
    color: white;
}

/* Main content */
.main-content {
    margin-bottom: 2rem;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    font-weight: 500;
}

/* Message card */
.message-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.message-text {
    color: #374151;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Contact card */
.contact-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1.5rem;
}

.contact-grid {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.email-contact {
    background-color: #eff6ff;
}

.email-contact:hover {
    background-color: #dbeafe;
}

.phone-contact {
    background-color: #f0fdf4;
}

.phone-contact:hover {
    background-color: #dcfce7;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.email-contact .contact-icon {
    color: #2563eb;
}

.phone-contact .contact-icon {
    color: #16a34a;
}

.contact-info {
    text-align: left;
}

.contact-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.contact-link {
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link {
    color: #2563eb;
}

.email-link:hover {
    color: #1d4ed8;
}

.phone-link {
    color: #16a34a;
}

.phone-link:hover {
    color: #15803d;
}

/* Footer */
.footer {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Responsive design */
@media (min-width: 768px) {
    .main-title {
        font-size: 4rem;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .message-card,
    .contact-card {
        padding: 2.5rem;
    }

    .logo-image {
        max-width: 250px;
        max-height: 120px;
    }
}

@media (max-width: 768px) {
    .logo {
        padding: 1.25rem;
    }

    .logo-image {
        max-width: 180px;
        max-height: 90px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.125rem;
    }

    .message-card,
    .contact-card {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .logo {
        padding: 1rem;
    }

    .logo-image {
        max-width: 150px;
        max-height: 75px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .contact-item {
        transition: none;
    }

    .contact-link {
        transition: none;
    }

    .logo {
        transition: none;
    }
}

/* Focus styles for accessibility */
.contact-link:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    border-radius: 0.25rem;
}