/* ===== Custom Styles for Base Concrete Materials ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fff8f6;
}
::-webkit-scrollbar-thumb {
    background: #f9d0d9;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f4a8b8;
}

/* ===== Section Styles ===== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #b5243d;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #b5243d, #f9d0d9);
    border-radius: 1px;
}

.section-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.15;
    color: #1c1917;
    margin-top: 12px;
}

.section-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #57534e;
    margin-top: 16px;
    max-width: 600px;
}

/* ===== Hero Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-badge {
    animation: fadeInUp 0.8s ease-out both;
}

/* ===== Service Cards ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #b5243d, #f9d0d9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

/* ===== Mobile Menu ===== */
.mobile-link {
    display: block;
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ===== Navbar states ===== */
.navbar-scrolled {
    background: rgba(255, 248, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(249, 208, 217, 0.4);
    box-shadow: 0 1px 20px rgba(181, 36, 61, 0.06);
}

.navbar-default {
    background: transparent;
    border-bottom: 1px solid transparent;
}

/* ===== Button hover effects ===== */
a, button {
    transition: all 0.2s ease;
}

/* ===== Form select arrow ===== */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* ===== Selection color ===== */
::selection {
    background: #f9d0d9;
    color: #7c1d31;
}
