/* --------------------------------------------
    1) Reset & Common Styles
-------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

.fs-64 {
    font-size: 64px !important;
}

/* --------------------------------------------
    2) SPLASH OVERLAY
    - Covers the entire viewport with #121b2b
    - Centers the square logo
    - Fades out after 3 seconds
-------------------------------------------- */
#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #121b2b;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease;
}

/* When we add .fade-out, opacity transitions to 0 */
#splash.fade-out {
    opacity: 0;
    pointer-events: none;
}

@keyframes fadeInAndOut {
    0%   { opacity: 0; }
    50%  { opacity: 1; }
    100% { opacity: 0; }
}

/* The logo inside the splash screen */
#splash-logo {
    max-width: 500px;
    width: 40%;
    height: auto;
    opacity: 0;
}

#splash-logo.fade-in {
    pointer-events: none;
    animation: fadeInAndOut 2000ms ease-in-out forwards;
}

/* --------------------------------------------
    3) HEADER + NAV
-------------------------------------------- */
header {
    background: #121b2b;
    color: #fff;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav a {
    color: #fff;
    margin-left: 1rem;
    font-weight: bold;
}

/* --------------------------------------------
    4) HERO SECTION
-------------------------------------------- */

.parallax {
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}


.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: -1;
}

.parallax h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.parallax p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.btn {
    background: #121b2b;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    border-radius: 4px;
    text-align: center;
}


.background {
    background: linear-gradient(
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0.75)
    ),
    url("assets/background.jpg") no-repeat center/cover fixed;
}


/* --------------------------------------------
    5) SERVICES SECTION
-------------------------------------------- */
section {
    padding: 4rem 2rem;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #121b2b;
}

/* --------------------------------------------
    6) ABOUT SECTION
-------------------------------------------- */
    
.about {
    background: linear-gradient(
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.75)
    ),
    url("assets/about-us.jpg") no-repeat center/cover fixed;
}


/* --------------------------------------------
    7) CONTACT SECTION
-------------------------------------------- */
.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact input,
.contact textarea {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact button {
    background: #121b2b;
    color: #fff;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Allow buttons to wrap and size responsively */
.fx-align-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.fx-align-center .btn {
    flex: 1 1 45%;
    max-width: 200px;
}

.fx-vertical {
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px) {
    .fx-align-center .btn {
    flex: 1 1 100%;
    max-width: none;
    }
}

/* --------------------------------------------
    8) FOOTER
-------------------------------------------- */
footer {
    background: #222;
    color: #aaa;
    text-align: center;
    padding: 2rem;
}

footer p {
    margin-bottom: 0.5rem;
}