/* ==========================================================================
   Datacenter Page Styles - Option 2
   Modern, Tab-Based Design with Enhanced Visual Elements
   ========================================================================== */

/* CSS Variables - Consistent with site-wide theme */
:root {
    --everfast-blue: #00529B;
    --everfast-blue-dark: #003f7f;
    --off-white: #e0e3e6;
    --bg-button-gold: linear-gradient(to right top, #ce7500, #d78721, #e19939, #eaab4f, #f3bd65, #f7c471, #fbcc7e, #ffd48a, #ffd48a, #ffd48a, #ffd48a, #ffd48a);
    --hero-bg-overlay: linear-gradient(rgba(0, 80, 160, 0.5), rgba(0, 80, 160, 0.5));
    --text-gold: #EFB13A;
    --gold-gradient: linear-gradient(135deg, #f3bd65 0%, #ce7500 100%);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'sans-serif';
    background-color: var(--off-white);
    background-image: radial-gradient(rgba(0, 82, 155, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    color: #333;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Newsreader', 'sans-serif';
    font-weight: 500;
    color: var(--everfast-blue);
}

.display-4, .display-5 {
    font-family: 'Newsreader', 'sans-serif';
    font-weight: 600;
}

/* ===========================================
   HEADER / NAVIGATION
   =========================================== */
header, 
.bg-blue {
    background-color: var(--everfast-blue);
}

.navbar-brand img {
    width: 10rem;
}

.navbar-toggler {
    background-color: var(--text-gold);
}


.header-nav-link {
    font-family: "Roboto";
    font-size: .875rem;
}

.btn-everfast-primary {
    background-image: var(--bg-button-gold);
    color: black;
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 16px;
    border: 1px solid white;
    border-radius: 25px;
    width: 160px;
}

/* Dropdown hover styles for navigation */
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
    margin-top: 0;
}

/* Ensure dropdown works on mobile touch devices */
@media (max-width: 991px) {
    .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: transparent;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}


.btn-style {
    background-image: var(--bg-button-gold);
    color: black;
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid var(--text-gold);
    border-radius: 1.5625rem;
    min-width: 8rem;
    padding: 0.5rem 1rem;
}


/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-style {
    background-image: var(--bg-button-gold);
    color: black;
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid var(--text-gold);
    border-radius: 1.5625rem;
    min-width: 8rem;
    padding: 0.5rem 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-style:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(206, 117, 0, 0.3);
    color: black;
}

.btn-style i {
    margin-left: 0.5rem;
}

.btn-outline-style {
    background-color: transparent;
    color: var(--everfast-blue);
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 0.875rem;
    border: 2px solid var(--everfast-blue);
    border-radius: 1.5625rem;
    min-width: 8rem;
    padding: 0.5rem 1.25rem;
    transition: all 0.3s ease;
}

.btn-outline-style:hover {
    background-color: var(--everfast-blue);
    color: white;
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section - Split Design
   ========================================================================== */

.hero-wrapper {
    background-color: white;
    padding: 4rem 0 2rem 0;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: auto;
}

.hero-content {
    padding: 2rem 1rem;
}

.hero-badge {
    display: inline-block;
    background: var(--gold-gradient);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.hero-title {
    color: var(--everfast-blue);
    font-weight: 700;
    line-height: 1.2;
}

.hero-text {
    color: #555;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .hero-wrapper {
        padding: 2rem 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-badge {
        display: inline-block;
    }
}

/* ==========================================================================
   Stats Cards Section
   ========================================================================== */

.stats-wrapper {
    background: linear-gradient(135deg, var(--everfast-blue) 0%, var(--everfast-blue-dark) 100%);
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-icon {
    color: var(--text-gold);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Newsreader', 'sans-serif';
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 0;
}

/* ==========================================================================
   Overview Section
   ========================================================================== */

.overview-card {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--text-gold);
}

.overview-title {
    color: var(--everfast-blue);
    font-weight: 600;
}

.overview-text {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

@media (max-width: 767px) {
    .overview-card {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   Features Section - Horizontal Cards
   ========================================================================== */

.features-wrapper {
    background-color: var(--off-white);
}

.features-title {
    color: var(--everfast-blue);
    font-weight: 600;
}

.feature-card-horizontal {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--text-gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card-horizontal:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon-container {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-container i {
    font-size: 1.75rem;
    color: white;
}

.feature-content {
    flex: 1;
}

.feature-title {
    color: var(--everfast-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .feature-card-horizontal {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon-container {
        margin: 0 auto;
    }
}

/* ==========================================================================
   Technical Specifications - Tabbed Interface
   ========================================================================== */

.specs-wrapper {
    background: white;
}

.specs-title {
    color: var(--everfast-blue);
    font-weight: 600;
}

.specs-container {
    background: var(--off-white);
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.specs-tabs {
    border-bottom: 2px solid rgba(0, 82, 155, 0.2);
}

.specs-tabs .nav-link {
    color: #555;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    background: transparent;
}

.specs-tabs .nav-link:hover {
    color: var(--everfast-blue);
    border-bottom-color: rgba(0, 82, 155, 0.3);
}

.specs-tabs .nav-link.active {
    color: var(--everfast-blue);
    background: transparent;
    border-bottom-color: var(--text-gold);
}

.specs-tabs .nav-link i {
    font-size: 1.1rem;
}

.specs-tab-content {
    padding: 2rem 0;
}

.spec-detail-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(0, 82, 155, 0.1);
    transition: all 0.3s ease;
}

.spec-detail-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.spec-detail-card.highlight-card {
    background: linear-gradient(135deg, rgba(0, 82, 155, 0.05) 0%, rgba(239, 177, 58, 0.05) 100%);
    border: 2px solid var(--text-gold);
}

.spec-card-title {
    color: var(--everfast-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--text-gold);
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #555;
    line-height: 1.6;
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-list strong {
    color: var(--everfast-blue);
    font-weight: 600;
}

.cabinet-table {
    margin-bottom: 0;
}

.cabinet-table thead {
    background: var(--everfast-blue);
    color: white;
}

.cabinet-table thead th {
    padding: 1rem;
    font-weight: 600;
    border: none;
}

.cabinet-table tbody tr {
    transition: background-color 0.3s ease;
}

.cabinet-table tbody tr:hover {
    background-color: rgba(0, 82, 155, 0.05);
}

.cabinet-table tbody td {
    padding: 1rem;
    color: #555;
    border-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 767px) {
    .specs-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .specs-tabs .nav-link i {
        display: block;
        margin-bottom: 0.25rem;
    }

    .spec-detail-card {
        margin-bottom: 1rem;
    }
}

/* ==========================================================================
   Why Choose EverFast Section
   ========================================================================== */

.why-choose-wrapper {
    background: linear-gradient(135deg, var(--everfast-blue-dark) 0%, var(--everfast-blue) 100%);
}

.why-choose-title {
    color: white;
    font-weight: 600;
}

.why-choose-text {
    font-size: 1rem;
    line-height: 1.8;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.advantage-icon i {
    font-size: 2rem;
    color: white;
}

.advantage-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.advantage-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===========================================
   CONTACT US SECTION
   =========================================== */
.contact-wrapper {
    background-image: 
        var(--hero-bg-overlay),
        url('../imgs/olathe-offering-everfast-home-internet-to-residents.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}


.contact-card {
    border-radius: 50px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    background-color: var(--everfast-blue);
}

.contact-title {
    font-family: 'Newsreader', "sans-serif";
    font-weight: 500;
    color: var(--text-gold);
}

.contact-text {
    font-family: 'Roboto';
    font-weight: 400;
    color: var(--everfast-blue);
}

.contact-form-checkbox-text {
    font-size: 12px;
    font-family: 'Roboto';
    font-weight: 700;
    color: white;
}

.form-input-fully-rounded {
    border: 2px solid var(--text-gold) !important;
    border-radius: 50px;
    font-family: 'Roboto';
}  

.form-input-medium-rounded {
    border: 2px solid var(--text-gold) !important;
    border-radius: 25px !important;
    font-family: 'Roboto';
}

.form-label-title {
    font-family: 'Roboto';
    font-weight: 700;
    color: white;
}

.checkbox-border {
    border: 1px solid var(--text-gold) !important;
}
/* ==========================================================================
   Footer
   ========================================================================== */

.footer-wrapper {
    background-color: var(--everfast-blue);
    color: white;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

.footer-list-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-list-item {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social-icon {
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s ease;
}

.footer-social-icon:hover {
    color: var(--text-gold);
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-blue {
    color: var(--everfast-blue);
}

.text-gold {
    color: var(--text-gold);
}

.bg-everfast-blue {
    background-color: var(--everfast-blue);
}

.border-rad-25 {
    border-radius: 25px;
}
