/* Page-specific styles for index.php */
.hero {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 10rem 2rem;
    background-image: linear-gradient(rgba(10, 10, 10, 0.3), rgba(10, 10, 10, 0.6)), url('../images/homehero.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid #333;
    position: relative;
    overflow: hidden;
}

/* Moving Disco Light Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 127, 0.4), rgba(0, 255, 255, 0.4), rgba(121, 40, 202, 0.4), rgba(255, 255, 0, 0.4));
    background-size: 400% 400%;
    animation: discoLighting 10s ease infinite;
    mix-blend-mode: color; /* Blends the neon colors directly into the image below */
    pointer-events: none;
    z-index: 1;
}

@keyframes discoLighting {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    color: #fff;
    animation: neonPulse 2s infinite alternate; /* The text pulses to a rhythm */
}

@keyframes neonPulse {
    0% { text-shadow: 0 0 10px rgba(0, 255, 255, 0.6), 0 0 20px rgba(0, 255, 255, 0.4), 0 0 30px rgba(0, 255, 255, 0.2); }
    100% { text-shadow: 0 0 15px rgba(255, 0, 127, 0.8), 0 0 30px rgba(255, 0, 127, 0.6), 0 0 45px rgba(255, 0, 127, 0.4); }
}

.content {
    padding: 4rem 2rem;
}

.content .container {
    max-width: 900px;
    margin: 0 auto;
}

.content .container::after {
    content: "";
    display: table;
    clear: both;
}

.content h1 {
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.content h3 {
    color: #00ffff;
    margin-top: 2.5rem;
    border-bottom: 1px solid #222;
    padding-bottom: 0.5rem;
}

.content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .content-img {
        max-width: 45%;
    }
    .img-right {
        float: right;
        margin-left: 2rem;
    }
    .img-left {
        float: left;
        margin-right: 2rem;
    }
}

.intro-text {
    font-size: 1.3rem !important;
    text-align: center;
    color: #ff007f !important;
    font-weight: bold;
}

.cta-text {
    text-align: center;
    margin-top: 3rem;
}

/* Areas We Cover Pill Layout */
.areas-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.areas-list li {
    margin: 0;
    padding: 0;
}

.areas-list a {
    display: inline-block;
    background: #111;
    border: 1px solid #333;
    color: #ddd;
    padding: 8px 18px;
    border-radius: 30px; /* Gives the pill shape */
    font-size: 0.95rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.areas-list a:hover {
    color: #00ffff;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
    background: #151515;
    transform: translateY(-2px);
}

.areas-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background: linear-gradient(90deg, #ff007f, #00ffff);
    transition: width 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%);
}

.areas-list a:hover::after {
    width: 60%;
}