/* =========================================
   Index.php Specific Styles
   ========================================= */

:root {
    --lspd-blue: #0984e3;
    --ems-red: #d63031;
    --text-color: #ffffff;
    --bg-dark: #0d1117;
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.split-container {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.split {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    cursor: pointer;
}

/* Specific Section Styles */
.split.lspd {
    background: linear-gradient(135deg, rgba(0, 18, 66, 0.95) 0%, rgba(0, 0, 0, 1) 100%);
    border-right: 1px solid var(--border-color);
}

.split.ems {
    background: linear-gradient(225deg, rgba(66, 0, 0, 0.95) 0%, rgba(0, 0, 0, 1) 100%);
    border-left: 1px solid var(--border-color);
}

/* Hover Effects */
.split:hover {
    flex: 1.5;
}

.split.lspd:hover {
    background: linear-gradient(135deg, rgba(9, 132, 227, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
    box-shadow: inset -10px 0 50px rgba(9, 132, 227, 0.2);
}

.split.ems:hover {
    background: linear-gradient(225deg, rgba(214, 48, 49, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
    box-shadow: inset 10px 0 50px rgba(214, 48, 49, 0.2);
}

/* Content Styling */
.content {
    text-align: center;
    z-index: 2;
    transition: transform 0.4s;
}

.split:hover .content {
    transform: translateY(-10px);
}

.icon-container {
    font-size: 4rem;
    margin-bottom: 20px;
    transition: 0.4s;
}

.split.lspd .icon-container { color: var(--lspd-blue); text-shadow: 0 0 20px var(--lspd-blue); }
.split.ems .icon-container { color: var(--ems-red); text-shadow: 0 0 20px var(--ems-red); }

h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.3);
}

.split.lspd .btn { border-color: var(--lspd-blue); color: var(--lspd-blue); }
.split.ems .btn { border-color: var(--ems-red); color: var(--ems-red); }

.split.lspd:hover .btn { background: var(--lspd-blue); color: white; box-shadow: 0 0 20px var(--lspd-blue); }
.split.ems:hover .btn { background: var(--ems-red); color: white; box-shadow: 0 0 20px var(--ems-red); }

/* Center Text Overlay */
.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.center-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 8px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}

.center-text p {
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .split-container { flex-direction: column; }
    .split:hover { flex: 1.2; }
    h2 { font-size: 2rem; }
    .center-text { opacity: 0; }
}
