/* ============================================
   Lee Concrete — Custom Styles
   Classic & Elegant Design System
   ============================================ */

/* --- Custom Properties --- */
:root {
    --color-navy-900: #0a1628;
    --color-navy-800: #0f2140;
    --color-gold-500: #c8a45e;
    --color-gold-400: #d4b76e;
    --color-cream-50: #faf8f4;
    --color-cream-100: #f5f0e8;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
}

/* --- Base & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* --- Typography --- */
.font-serif {
    font-family: var(--font-serif);
}

.font-sans {
    font-family: var(--font-sans);
}

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold-500);
    position: relative;
    padding-left: 2rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.5px;
    background: var(--color-gold-500);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-navy-900);
    line-height: 1.2;
}

/* --- Buttons --- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-gold-500);
    color: var(--color-navy-900);
    font-family: var(--font-sans);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 2px solid var(--color-gold-500);
}

.btn-gold:hover {
    background: var(--color-gold-400);
    border-color: var(--color-gold-400);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200, 164, 94, 0.3);
}

.btn-navy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-navy-900);
    color: white;
    font-family: var(--font-sans);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 2px solid var(--color-navy-900);
}

.btn-navy:hover {
    background: var(--color-navy-800);
    border-color: var(--color-navy-800);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(10, 22, 40, 0.3);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: white;
    font-family: var(--font-sans);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* --- Input Fields --- */
.input-field {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-navy-900);
    background: white;
    transition: var(--transition-fast);
}

.input-field::placeholder {
    color: #a0aec0;
}

.input-field:focus {
    border-color: var(--color-gold-500) !important;
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.15);
}

/* --- Navigation --- */
.nav {
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

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

.nav.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
    letter-spacing: 0.02em;
}

.nav-link:hover {
    color: var(--color-gold-400);
}

/* --- Mobile Menu --- */
.mobile-menu {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--color-gold-400);
}

/* --- Hero --- */
.hero {
    position: relative;
}

/* --- Floating Cards --- */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation-delay: -2s;
}

.floating-card:nth-child(3) {
    animation-delay: -4s;
}

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

/* --- Scroll Indicator --- */
.scroll-indicator {
    transition: color 0.3s ease;
}

/* --- 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, var(--color-gold-500), var(--color-gold-400));
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: left;
}

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

.service-icon {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Gallery --- */
.gallery-item {
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* --- Testimonials --- */
.testimonial-card {
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(10, 22, 40, 0.08);
}

/* --- Fade-in Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* --- Responsive --- */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
}

/* --- Selection --- */
::selection {
    background: var(--color-gold-500);
    color: var(--color-navy-900);
}
