/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

:root {
    --primary-bg: #000000;
    --secondary-bg: #393E41;
    --accent-color: #FFF129;
    --text-color: #FFFFFF;
}

body {
    padding-top: 38px;
    font-family: 'Space Mono', monospace;
    background-color: var(--primary-bg);
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.accent {
    color: var(--accent-color);
}

.bg-secondary {
    background-color: var(--secondary-bg);
}

.service-card {
    background-color: var(--secondary-bg);
    border-radius: 8px;
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #e6d925;
    transform: translateY(-2px);
}

/* Scrolling banner */
.scrolling-banner {
    overflow: hidden;
    white-space: nowrap;
    background-color: #000000;
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 110;
    border-bottom: 1px solid #222;
}

.scrolling-content {
    display: inline-block;
    animation: scroll 180s linear infinite;
    padding-left: 20px; /* Ensure some content is initially visible */
}

.scrolling-content span {
    color: var(--text-color);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.scrolling-content span.px-4 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@keyframes scroll {
    0% { transform: translateX(0%); } /* Start with text visible */
    100% { transform: translateX(-100%); }
}

/* Partner logos section */
.partner-section {
    background-color: #f5f5f5;
    padding: 40px 0;
}

.partner-logo {
    height: 50px;
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

/* Navbar styling */
.navbar {
    background-color: rgba(0, 0, 0, 0.95) !important;
    position: sticky;
    top: 43px; /* Adjust for banner height */
    z-index: 100;
}

.navbar-item {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    transition: color 0.3s ease;
}

.navbar-item:hover {
    color: var(--accent-color) !important;
    background-color: transparent !important;
}

.navbar-burger {
    color: var(--text-color);
}

.navbar-burger:hover {
    background-color: transparent;
}

/* Pricing calculator styles */
.accent-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #2e2e2e;
    outline: none;
    cursor: pointer;
}

.accent-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.accent-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.accent-slider::-webkit-slider-thumb:hover,
.accent-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    background: #e6d925;
}

.notification.has-background-black {
    border-left: 4px solid var(--accent-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.notification.has-background-black h3 {
    margin-bottom: 1.5rem;
}

.notification.has-background-black .mb-5 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.notification.has-background-black .has-text-centered {
    margin-top: auto;
}

/* Ensure all text in about section is white */
.content.has-text-white * {
    color: var(--text-color) !important;
}

.content.has-text-white strong,
.content.has-text-white ul,
.content.has-text-white li,
.content.has-text-white p {
    color: var(--text-color) !important;
}

/* Hero section */
.hero {
    padding-top: 20px; /* Add some padding to account for fixed banner */
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    body {
        padding-top: 45px; /* Increase padding for mobile */
    }

    .navbar {
        top: 45px; /* Adjust for mobile banner height */
    }
    
    .scrolling-banner {
        padding: 10px 0;
        font-size: 0.85rem;
    }
    
    .scrolling-content {
        animation: scroll 180s linear infinite; /* Changed from 50s to 180s */
    }
    
    .scrolling-content span.px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .partner-logo {
        height: 40px;
        max-width: 120px;
    }
    
    .title.is-1 {
        font-size: 2rem !important;
    }
    
    .title.is-2 {
        font-size: 1.75rem !important;
    }
    
    .service-card .columns {
        flex-direction: column;
    }
    
    .service-card .column.is-3,
    .service-card .column.is-9 {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .service-card .column.is-9 {
        text-align: left;
    }
    
    .navbar-menu.is-active {
        background-color: var(--primary-bg);
        box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    }
    
    .hero-body {
        padding: 3rem 1.5rem;
    }
}

/* Additional animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--primary-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Make Get Quote button more prominent */
#get-quote-btn {
    font-size: 1.1rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#get-quote-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Additional Calculator Styles */
#pricing .field-label {
    flex-grow: 0;
    min-width: 100px;
}

#pricing .quantity-input {
    width: 120px;
    background-color: #1c1c1c;
    color: var(--text-color);
    border-color: #444;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Hide number input arrows */
#pricing input[type="number"]::-webkit-inner-spin-button, 
#pricing input[type="number"]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    margin: 0;
}

#pricing input[type="number"] {
    -moz-appearance: textfield; 
    appearance: textfield;/* Firefox */
}

#pricing .control .slider {
    margin-top: 10px;
}

#pricing .notification p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

#pricing .notification .accent {
    color: var(--accent-color);
}

/* Total cost styling */
#pricing .title.is-3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

#pricing .title.is-3 #total-cost {
    color: var(--accent-color);
    font-size: 2.5rem;
    display: inline-block;
    margin-left: 0.2rem;
}

#pricing .subtitle.is-6 {
    margin-bottom: 1.5rem;
}

/* Responsive adjustments for calculator */
@media screen and (max-width: 768px) {
    #pricing .field-label {
        text-align: left;
        margin-bottom: 0.5rem;
    }
    
    #pricing .field.is-horizontal {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #pricing .field-body {
        width: 100%;
    }
    
    #pricing .has-addons {
        width: 100%;
    }
    
    #pricing .has-addons .input {
        width: 70%;
    }
    
    #pricing .has-addons .button.is-static {
        width: 30%;
    }
    
    #pricing .title.is-3 {
        font-size: 1.8rem;
    }
    
    #pricing .title.is-3 #total-cost {
        font-size: 2rem;
    }
} 