/*
Theme Name: Razor Constructions
Theme URI: 
Author: RazorBuild
Description: Lower Hutt Residential Construction Specialist
Version: 1.0.0
*/

body {
    background-color: #ffffff;
    color: #0a0a0a;
}

/* Custom Background Pattern - Light Mode */
.bg-pattern {
    background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.hero-image {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.4) 100%), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hide scrollbar for the portfolio slider */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Loading dots animation for AI Chat */
.typing-indicator span {
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: #000;
    border-radius: 50%;
    margin: 0 2px;
    animation: bounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

/* Custom Typography for Blog Posts */
.prose-custom {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

.prose-custom p {
    margin-bottom: 1.5rem;
}

.prose-custom h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #000;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.prose-custom h3 {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #000;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.prose-custom ul, .prose-custom ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose-custom ul {
    list-style-type: disc;
}

.prose-custom ol {
    list-style-type: decimal;
}

.prose-custom li {
    margin-bottom: 0.5rem;
}

.prose-custom blockquote {
    border-left: 4px solid #000;
    padding-left: 1.5rem;
    font-style: italic;
    font-size: 1.25rem;
    color: #4b5563;
    margin: 2.5rem 0;
}

.prose-custom img {
    border-radius: 0.125rem;
    margin: 2.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.prose-custom a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
    transition: color 0.2s;
}

.prose-custom a:hover {
    color: #4b5563;
}

@keyframes bounce {
    0%,
    80%,
    100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}
