/*
Theme Name: Lambcal Webhosting
Theme URI: https://lambcalwebhosting.com
Author: Lambcal Webhosting
Author URI: https://lambcalwebhosting.com
Description: A professional black and white theme for Lambcal Webhosting, designed for local businesses seeking web hosting and website development services.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lambcal-webhosting
Tags: hosting, business, black-and-white, modern, responsive
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #000000;
    --accent-color: #000000;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #e0e0e0;
    --gray-medium: #666666;
    --gray-dark: #333333;
    --gray-dashboard: #f8f8f8;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: var(--white);
}

/* Top Navigation */
.top-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    color: var(--black);
    font-size: 1.5rem;
    font-weight: 700;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--black);
    border-bottom: 2px solid var(--black);
}

/* Sub Navigation */
.sub-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    padding: 0.75rem 0;
}

.sub-nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sub-nav-menu a {
    text-decoration: none;
    color: var(--gray-medium);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.sub-nav-menu a:hover,
.sub-nav-menu a.active {
    color: var(--black);
    border-bottom: 2px solid var(--black);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

/* Dashboard Panel */
.dashboard-panel {
    background: var(--gray-dashboard);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    min-height: 600px;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.02) 10px,
            rgba(0, 0, 0, 0.02) 20px
        );
}

.dashboard-header h2 {
    color: var(--black);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.dashboard-link {
    color: var(--gray-dark);
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.3s;
    font-weight: 500;
}

.dashboard-link:hover {
    color: var(--black);
}

.domain-display {
    margin-bottom: 2rem;
}

.domain-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--black);
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 4px;
}

.websites-section {
    margin-bottom: 2rem;
}

.websites-section h3 {
    color: var(--black);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.website-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.website-item span {
    color: var(--gray-dark);
    font-weight: 500;
}

.launch-btn {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.launch-btn:hover {
    background: var(--gray-dark);
}

.action-center {
    margin-bottom: 2rem;
}

.action-center h3 {
    color: var(--black);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.action-item {
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
}

.uptime-guarantee {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 180px;
    height: 180px;
}

.uptime-circle {
    width: 100%;
    height: 100%;
    border: 3px solid var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
}

.uptime-text {
    text-align: center;
}

.uptime-percent {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
}

.uptime-label {
    font-size: 0.85rem;
    color: var(--gray-medium);
    font-weight: 500;
}

/* Hosting Content Panel */
.hosting-content {
    padding: 2rem 0;
}

.pricing-badge {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.main-headline {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.main-description {
    font-size: 1.1rem;
    color: var(--gray-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.features-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.features-list li {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--gray-dark);
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.3s;
    margin-bottom: 3rem;
}

.cta-button:hover {
    background: var(--gray-dark);
    transform: translateY(-2px);
}

.reviews-section {
    border-top: 1px solid var(--gray-light);
    padding-top: 2rem;
}

.reviews-text {
    color: var(--gray-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: var(--black);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.rating-score {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
}

.rating-out-of {
    color: var(--gray-medium);
}

.review-count {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.view-all-link {
    color: var(--black);
    text-decoration: underline;
    font-weight: 500;
}

.view-all-link:hover {
    color: var(--gray-dark);
}

/* Bottom Section */
.bottom-section {
    background: var(--white);
    padding: 3rem 0;
    border-top: 1px solid var(--gray-light);
}

.bottom-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 2rem;
}

.bottom-nav a {
    color: var(--gray-medium);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.bottom-nav a:hover {
    color: var(--black);
}

.plan-comparison {
    max-width: 1400px;
    margin: 2rem auto 0;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.plan-card {
    padding: 2.5rem;
    border-radius: 8px;
    position: relative;
}

.plan-card.standard {
    background: var(--gray-dark);
    color: var(--white);
}

.plan-card.performance {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--gray-light);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 2rem;
    background: var(--black);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.plan-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--black);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: background 0.3s, transform 0.3s;
}

.floating-contact:hover {
    background: var(--gray-dark);
    transform: translateY(-2px);
}

/* Contact Modal */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.contact-modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-medium);
    line-height: 1;
}

.close-modal:hover {
    color: var(--black);
}

.modal-content h2 {
    color: var(--black);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--black);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-light);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--black);
}

.btn-primary {
    background: var(--black);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.btn-primary:hover {
    background: var(--gray-dark);
}

/* WordPress Content Styles */
.entry-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.entry-content p {
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .dashboard-panel {
        min-height: auto;
    }

    .uptime-guarantee {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .sub-nav-menu {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .main-headline {
        font-size: 2rem;
    }

    .plan-comparison {
        grid-template-columns: 1fr;
    }

    .content-wrapper {
        padding: 0 1rem;
    }
}
