@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css'); /* Import Font Awesome if not linked in HTML */

:root {
    /* Dark Theme Palette */
    --background-dark: #1a1d24; /* Very dark blue/grey */
    --background-light: #252a34; /* Slightly lighter dark shade */
    --primary-accent: #0ea5e9;  /* Sky blue - vibrant accent */
    --secondary-accent: #14b8a6;/* Teal - secondary accent */
    --text-primary: #e5e7eb;    /* Light grey for body text */
    --text-secondary: #9ca3af;  /* Medium grey for less important text */
    --text-headings: #ffffff;   /* White for main headings */
    --border-color: #4b5563;    /* Grey for borders */
    --input-background: #374151;/* Darker grey for inputs */
    --success-bg: #10b981;      /* Green */
    --error-bg: #ef4444;        /* Red */
    --text-on-accent: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.4); /* Darker shadow for depth */

    /* Font */
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--background-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative; /* Needed for background overlay */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* --- Background Graphic Suggestion --- */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place behind content */
    opacity: 0.5; /* Make it very subtle */
    /* --- Choose ONE background type --- */

    /* Option A: Subtle Background Image (Replace 'your-tech-pattern.png') */
    /* Find subtle, dark, seamless patterns related to circuits, networks, data, abstract tech */
    /* Example sites: subtlepatterns.com (may need color adjustment), stock photo sites */
    /*  background-image: url('/background.png'); */
    /*  background-repeat: repeat; /* Or 'no-repeat' with 'background-size: cover' */

    /* Option B: CSS Gradient Pattern (Example: Subtle Lines) */
    /* background: linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.02) 75%),
                  linear-gradient(-45deg, rgba(255,255,255,0.02) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.02) 75%);
    background-size: 30px 30px; */

    /* Option C: Animated Gradient (Subtle movement) */
    /* background: linear-gradient(-45deg, #0f172a, #1a1d24, #252a34, #1e3a8a); */
    /* background-size: 400% 400%; */
    /* animation: gradientBG 15s ease infinite; */
}

/* Keyframes for Option C background */
@keyframes gradientBG {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

.container {
    background-color: var(--background-light);
    padding: 35px 45px;
    border-radius: 12px;
    /* Subtle border */
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px var(--shadow-color);
    max-width: 750px;
    width: 100%;
    text-align: center;
    animation: fadeInScale 0.6s ease-out;
    z-index: 1; /* Ensure container is above background */
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.logo { /* If using an image logo */
    max-width: 180px;
    margin-bottom: 15px;
}

.logo-icon { /* Style for Font Awesome icon in H1 */
    color: var(--primary-accent);
    margin-right: 10px;
    font-size: 0.9em;
}

header h1 {
    color: var(--text-headings);
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: 0.5px;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 5px;
    font-weight: 300;
}

main {
    margin-bottom: 35px;
}

.maintenance-info h2 {
    color: var(--primary-accent);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.maintenance-info h2 .icon {
    font-size: 1.2em; /* Adjust icon size relative to text */
    animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.maintenance-info p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 25px auto;
    width: 80%;
}

.contact-info {
    font-size: 1rem;
    color: var(--text-secondary);
}
.contact-info i {
    margin-right: 8px;
    color: var(--secondary-accent);
}

.phone-link,
.email-link {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.phone-link:hover,
.email-link:hover {
    color: var(--secondary-accent);
    text-decoration: none;
    text-shadow: 0 0 5px var(--secondary-accent);
}

.contact-form-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.contact-form-section h3 {
    text-align: center;
    color: var(--text-headings);
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.contact-form-section h3 i {
    color: var(--secondary-accent);
    font-size: 0.9em;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family);
    background-color: var(--input-background);
    color: var(--text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3); /* Match primary accent with opacity */
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

button[type="submit"] {
    background-color: var(--primary-accent);
    color: var(--text-on-accent);
    border: none;
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: flex; /* Align icon and text */
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between icon and text */
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
button[type="submit"] i {
    font-size: 1em; /* Match text size or adjust as needed */
}

button[type="submit"]:hover {
    background-color: var(--secondary-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

button[type="submit"]:disabled {
    background-color: #555; /* Darker grey when disabled */
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#form-status {
    margin-top: 20px;
    font-weight: 600;
    padding: 12px 15px;
    border-radius: 8px;
    text-align: center;
    color: var(--text-on-accent);
}

#form-status.success {
    background-color: var(--success-bg);
}

#form-status.error {
    background-color: var(--error-bg);
}

footer {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive Design Adjustments */
@media (max-width: 600px) {
    .container {
        padding: 25px;
    }

    header h1 {
        font-size: 1.9rem;
    }
    .tagline {
        font-size: 1rem;
    }

    .maintenance-info h2 {
        font-size: 1.4rem;
    }
    .maintenance-info p {
        font-size: 1rem;
    }
    button[type="submit"] {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
