/* General Body and Background Styling */
@font-face {
    font-family: 'SprayLetters';
    src: url('assets/RubikSprayPaint-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    background-color: #1a1a1a;
    background-image: url('assets/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
    overflow-y: auto;
}

/* --- PRELOADER STYLES --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(242, 197, 77, 0.3);
    border-top-color: #f2c54d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- HIDE CONTENT INITIALLY FOR TRANSITION --- */
.container, .yellow-strip {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}


/* Main container to center content */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Content Wrapper for Logo and Status Text */
.content-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -260px;
    margin-top: -146px;
}

/* "Under Construction" Text */
.status-text {
    position: absolute;
    top: 28%;
    left: 5%;
    transform: rotate(-10deg);
    transform-origin: top left;
    font-family: 'SprayLetters', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    white-space: nowrap;
    opacity: 0.9;
    z-index: 10;
}

/* Hide the mobile line break on larger screens */
.mobile-break {
    display: none;
}

/* Logo Styling */
.logo {
    width: 100%;
}
.logo-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer Content Styling */
.footer-content {
    max-width: 800px;
    position: relative;
    z-index: 5;
}

.slogan {
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.slogan .separator {
    color: #f2c54d;
}

.contact-info {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info a {
    color: #f2c54d;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* UPDATED SOCIAL MEDIA ICONS */
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #f2c54d;
    color: #000000;
    margin: 0 8px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.social-icons a:hover {
    opacity: 0.8;
}

.social-icons i {
    font-size: 1.7rem;
}

/* Decorative Yellow Strips */
.yellow-strip {
    position: absolute;
    right: 4%;
    width: 60px;
    height: 180px;
    background-image: url('assets/strip_texture.png');
    background-size: cover;
}

.yellow-strip.top {
    top: 10%;
    background-position: top;
}

.yellow-strip.bottom {
    bottom: 10%;
    background-position: bottom;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .content-wrapper {
        max-width: 90%;
        margin-bottom: 30px;
        margin-top: 0;
    }
    .status-text {
        font-size: 2.5rem;
        top: 10%;
    }
    .yellow-strip {
        width: 40px;
        height: 120px;
    }
}

/* --- COMPLETELY REVISED MOBILE STYLES --- */
@media (max-width: 480px) {
    .container {
        padding: 20px; /* Give a little more edge spacing */
        justify-content: space-around; /* Better vertical distribution */
    }

    .content-wrapper {
        max-width: 100%; /* Let the logo be larger */
        margin-bottom: -397px; /* Bring footer MUCH closer */
        margin-top: 0;
    }

    .status-text {
        font-size: 2.2rem;
        line-height: 1; /* Tighten the line spacing */
        white-space: normal; /* Allow the text to wrap */
        top: 12%; /* Reposition for two lines */
        left: 2%;
        transform: rotate(-8deg);
    }
    
    /* Show the line break only on mobile */
    .mobile-break {
        display: block;
    }

    .slogan, .contact-info {
        margin-bottom: 15px;
    }

    .slogan {
        font-size: 0.7rem;
        line-height: 1.5;
    }

    .contact-info {
        font-size: 0.9rem;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
    }

    .social-icons i {
        font-size: 1.5rem;
    }
}
