/* *****************************************************

    ** HostHive Custom Theme Stylesheet **

    Modern WHMCS Theme with teal blue, light blue, and light gray color scheme
    
***************************************************** */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Global Styles & Variables */
:root {
    --primary-color: #00838F;      /* Teal Blue */
    --primary-hover: #006064;      /* Darker Teal */
    --secondary-color: #29B6F6;    /* Light Blue */
    --secondary-hover: #0288D1;    /* Darker Blue */
    --background-color: #F5F7FA;   /* Light Gray */
    --text-color: #2D3748;
    --light-text: #718096;
    --card-bg: #ffffff;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body, html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 15px;
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Link Styles */
a {
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover, a:focus {
    color: var(--primary-color);
    text-decoration: none;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 16px;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 16px;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Navbar Styling */
#header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.navbar-main {
    background-color: var(--primary-color);
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: var(--shadow);
}

.navbar-main .navbar-nav > li > a {
    color: white;
    font-weight: 500;
    padding: 15px 20px;
    transition: var(--transition);
}

.navbar-main .navbar-nav > li > a:hover,
.navbar-main .navbar-nav > li > a:focus {
    background-color: var(--primary-hover);
}

/* Home Banner Styling */
#home-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    margin-bottom: 0;
    color: white;
}

#home-banner h2 {
    color: white;
    font-weight: 700;
    margin-bottom: 30px;
}

#home-banner .input-group {
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

#home-banner .form-control {
    height: 60px;
    border: none;
    font-size: 16px;
}

#home-banner .btn {
    height: 60px;
    font-size: 16px;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    padding: 0 25px;
}

#home-banner .btn:hover {
    background-color: var(--secondary-hover);
}

/* Home Shortcuts */
.home-shortcuts {
    background-color: var(--card-bg);
    padding: 30px 0;
    box-shadow: var(--shadow);
}

.home-shortcuts ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.home-shortcuts li {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.home-shortcuts li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    transition: var(--transition);
}

.home-shortcuts li a:hover {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    transform: translateY(-3px);
}

.home-shortcuts li i {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Card & Panel Styling */
.panel, .card {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 25px;
    transition: var(--transition);
}

.panel:hover, .card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.panel-heading, .card-header {
    background-color: var(--card-bg);
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.panel-body, .card-body {
    padding: 20px;
}

/* Table Styling */
.table {
    margin-bottom: 0;
}

.table > thead > tr > th {
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-color);
    font-weight: 600;
    padding: 15px;
}

.table > tbody > tr > td {
    padding: 15px;
    vertical-align: middle;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Form Styling */
.form-control {
    border-radius: var(--border-radius);
    padding: 10px 15px;
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 200, 150, 0.25);
}

/* Client Area Dashboard */
.client-home-panels .panel {
    height: 100%;
}

.client-home-panels .panel-body {
    padding: 20px;
}

.client-home-panels .panel-heading {
    padding: 15px 20px;
}

/* Responsive Design Tweaks */
@media (max-width: 768px) {
    .home-shortcuts ul {
        flex-direction: column;
    }
    
    .navbar-main .navbar-nav > li > a {
        padding: 10px 15px;
    }
    
    #home-banner {
        padding: 50px 0;
    }
}

/* HostHive Hero Section */
.hosthive-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.hosthive-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hosthive-hero .lead {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.domain-search-form {
    margin: 0 auto;
    max-width: 700px;
}

.domain-search-form .input-group {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.domain-search-form .form-control {
    height: 60px;
    font-size: 16px;
    border: none;
}

.domain-search-form .btn {
    padding: 0 30px;
    font-size: 16px;
    height: 60px;
}

/* Hosting Features Section */
.hosting-features {
    padding: 80px 0;
    background-color: white;
}

.hosting-features h2 {
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 50px;
    font-size: 1.2rem;
}

.feature-box {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-box.featured {
    border-top: 5px solid var(--primary-color);
    transform: translateY(-5px);
}

.feature-box.featured:hover {
    transform: translateY(-15px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(100, 181, 246, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-box h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-list {
    padding: 0;
    list-style: none;
    text-align: left;
    margin: 20px 0;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Domain & Security Services Section */
.domain-services {
    padding: 80px 0;
    background-color: var(--background-color);
}

.service-box {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    overflow: hidden;
    transition: var(--transition);
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    background-color: rgba(100, 181, 246, 0.1);
    padding: 20px;
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.service-content {
    padding: 30px;
    flex: 1;
}

.service-features {
    padding: 0;
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    margin-bottom: 10px;
}

.service-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: white;
}

.icon-box {
    text-align: center;
    padding: 30px;
    margin-bottom: 30px;
}

.icon-box .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: rgba(100, 181, 246, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
}

.icon-box .icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.icon-box h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

/* Latest News Section */
.latest-news {
    padding: 80px 0;
    background-color: var(--background-color);
}

.news-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-item .date {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.news-item p {
    margin-bottom: 15px;
    color: var(--light-text);
}

.read-more {
    font-weight: 500;
    color: var(--primary-color);
}

/* Footer Styling */
#footer {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 70px 0 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.logo-text {
    color: white;
    font-weight: 700;
}

.footer-desc {
    margin-bottom: 25px;
    color: #a0aec0;
}

.social-icons {
    display: flex;
    margin-bottom: 30px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    color: white;
}

.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px 0 30px;
}

.footer-bottom {
    color: #a0aec0;
}

.payment-methods i {
    font-size: 1.5rem;
    margin-left: 10px;
    color: #a0aec0;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 99;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
}

/* Client Area Dashboard Styling */
.client-home-panels .panel-heading i {
    color: var(--primary-color);
}

.panel-accent-primary {
    border-top: 3px solid var(--primary-color);
}

.panel-accent-secondary {
    border-top: 3px solid var(--secondary-color);
}

.dashboard-panel-activity h4, 
.dashboard-panel-support h4, 
.dashboard-panel-tickets h4, 
.dashboard-panel-domains h4, 
.dashboard-panel-hosting h4 {
    margin-bottom: 20px;
}

.bg-light {
    background-color: var(--background-color) !important;
}
