@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('Image/MCB.avif');
    background-size: cover;
    background-position: center;
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Image/MCB.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(6px);
    z-index: -1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header and Navigation Styling --- */
.site-header {
    background-color: #3b3b3b;
    border-bottom: 2px solid #000000;
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 2.5em;
    font-weight: bold;
    color: #1e88e5;
}

.main-nav a {
    margin-left: 25px;
    font-size: larger;
    text-decoration: none;
    color: #c5c5c5;
    font-weight: 700;
    padding: 5px 0;
    transition: color 0.3s, border-bottom 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #1e88e5;
    border-bottom: 2px solid #1e88e5;
}

/* --- Main Content Styling --- */
.page-content {
    padding: 20px 0 250px;
}

.page-title {
    /* Main page title should be centered */
    text-align: center;
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 50px;
    color: #222;
}

/* Home Page Centering */
.home-section p {
    line-height: 1.7;
    margin-bottom: 20px;
    /* Centers the block of text */
    max-width: 800px; 
    margin-left: auto;
    margin-right: auto;
    /* Centers the text within the block */
    text-align: center; 
}

.hero-image-placeholder {
    height: 450px; 
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto; /* Centered block */
    max-width: 1000px;
    border: 1px solid #ccc;
    font-style: italic;
    color: #666;
    font-size: 1.2em;
}

/* --- Mod Grid Layout (Nukes/Shaders Pages) --- */
.mod-grid {
    /* CSS Grid implementation for 3 columns */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.mod-item {
    background-color: #fff;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(110, 45, 45, 0.1);
    /* CSS Transition: Subtle lift effect on hover */
    transition: transform 0.3s, box-shadow 0.3s;
}

.mod-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.image-placeholder {
    width: 100%;
    height: 250px;
    background-color: #ddd;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: italic;
    color: #666;
}

.mod-item h4 {
    margin: 10px 0 5px 0;
    font-size: 1.2em;
}

/* --- Contact Form Styling (to be used on contact.html) --- */
.contact-form-section {
    max-width: 600px;
    margin: 0 auto; 
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    height: 350px;
    background-color: #eee;
    border: 4px solid #585858;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Required field indicator styling */
.required::after {
    content: " *";
    color: red;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    box-sizing: border-box; 
}

textarea {
    height: 150px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #1e88e5;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    /* CSS Transition: Color change on hover */
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #1565c0;
}

/* --- Footer Styling --- */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    margin-top: 100px;
    font-size: 0.9em;
}

.footer-content {
    text-align: center;
}

.contact-info p {
    margin: 5px 0;
}

.social-links {
    margin: 15px 0;
}

.social-links a {
    color: #1e88e5;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #81d4fa;
}

.copyright {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #444;
}

main {
    background-color: rgb(255, 255, 255);
    width: 65%;
    margin: auto;
}

.logo {
    display: block;
    margin-left: 0px;
    margin-right: 0px;
    width: 8%;
}
/* ========================================= */
/* --- Responsive Design (Mobile Layout) --- */
/* @media (max-width: 640px) */
/* ========================================= */

@media (max-width: 640px) {
    /* Header/Navigation Adjustments */
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .main-nav {
        margin-top: 10px;
    }

    .main-nav a {
        /* Reduce spacing for smaller screens */
        margin: 0 10px;
        display: inline-block;
        font-size: 0.9em;
    }
    
    /* Content Padding Adjustment */
    .page-content {
        padding: 30px 0;
    }
    
    .page-title {
        font-size: 2em;
    }

    /* Mod Grid for Mobile: Change to 1 column */
    .mod-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Home Page adjustments */
    .hero-image-placeholder {
        height: 300px;
    }

    /* Contact Form Adjustments */
    .form-row {
        flex-direction: column; /* Stacks First Name and Last Name vertically */
        gap: 0;
    }

    main {
        background-color: rgb(255, 255, 255);
        width: 100%;
        margin: auto;
    }

    .site-footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    margin-top: 0px;
    font-size: 0.9em;
    }

    .logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 50px;
    }
}


.nuke1 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 95%;
}

