/* Additional custom styles for Precision Construction */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Geometric accent lines */
.section-accent {
    position: relative;
}
.section-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #7B2D3B, #fce7eb);
    border-radius: 0 2px 2px 0;
}

/* Image hover zoom */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-zoom:hover img {
    transform: scale(1.05);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #7B2D3B, #b82647);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card glow effect */
.card-glow {
    position: relative;
}
.card-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 40px rgba(123, 45, 59, 0.2);
    pointer-events: none;
}
.card-glow:hover::after {
    opacity: 1;
}

/* Staggered animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Custom selection color */
::selection {
    background: #fce7eb;
    color: #7B2D3B;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #7B2D3B;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #backToTop, .geo-shape {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    .service-card, .testimonial-card {
        break-inside: avoid;
    }
}

/* Large screen optimizations */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .process-step::after {
        display: none;
    }
}
