/* --- General Setup & Fonts --- */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Cormorant Garamond', serif; /* Elegant serif font */
    color: #ffffff;
    overflow: hidden; /* Prevents scrollbars from appearing */
}

*, *:before, *:after {
    box-sizing: border-box;
}

/* --- Background & Overlay --- */
.background-image {
    background-image: url('holyQuran.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; /* Creates a fixed background effect */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.65); /* Dark overlay for text readability */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* --- Main Content & Layout --- */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh; /* Full viewport height */
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* --- Typography --- */
h1 {
    font-size: 5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

h1 > span {
    white-space: nowrap;
}

.line-break {
    display: inline; /* On desktop, this will just be a space */
}

.tagline {
    font-size: 1.5rem;
    font-style: italic;
    max-width: 700px;
    margin: 1rem 0 2rem 0;
    line-height: 1.6;
    font-weight: 400;
}

/* --- Prominent Status Box --- */
.status-box {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    padding: 1.5rem 2.5rem;
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px); /* Subtle blur effect for supporting browsers */
}

.status-box p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin: 0;
}

p.status {
    font-size: 1.6rem; /* Increased font size */
    font-weight: 700;
    text-transform: uppercase; /* Makes text ALL CAPS */
    letter-spacing: 1.5px; /* Adds space between letters */
    margin-bottom: 1rem; /* Adds space below */
}

p.contact {
    margin-top: 1rem; /* Adds space above */
}

a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px dotted #ffffff;
    transition: color 0.3s, border-bottom-style 0.3s;
}

a:hover {
    color: #d1c4a9; /* A soft gold color on hover */
    border-bottom-style: solid;
}

/* --- Footer --- */
footer {
    position: absolute;
    bottom: 1rem;
    width: 100%;
    text-align: center;
    z-index: 2;
    padding: 0 1rem;
}

footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6; /* Increased line-height for the two lines */
}

.credit-line {
    display: inline-block;
    margin-top: 4px; /* Adds a small gap between the two lines */
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

footer a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* --- Responsive Design (Mobile) --- */
@media (max-width: 1000px) {
    body {
        overflow-y: auto; /* Allow scrolling on small devices */
    }

    .container {
        padding: 1.5rem;
        height: auto; /* Allow container to grow */
        min-height: 90vh;
        justify-content: flex-start;
        padding-top: 5vh;
    }

    h1 {
        font-size: 3.2rem;
        line-height: 1.2;
    }

    /* This creates the responsive heading split on mobile */
    .line-break::before {
        content: '\A'; /* CSS code for a line break */
        white-space: pre;
        display: none; /* Hide the line break on desktop */
    }

    .tagline {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .status-box {
        padding: 1rem 1.5rem;
        width: 100%;
        max-width: 400px;
    }

    p.status {
        font-size: 1.2rem;
    }

    .status-box p {
        font-size: 1rem;
    }

    footer {
        position: relative; /* Take footer out of absolute positioning */
        padding: 2rem 1rem 1.5rem 1rem;
    }
}