/* Custom Styles for Landis Exterior LLC */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Selection Color */
::selection {
    background-color: #f97316;
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #1e3a5f;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.service-card-hover {
    transition: all 0.3s ease;
}

.service-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Button Press Effect */
button:active {
    transform: scale(0.98);
}

/* Form Focus Effects */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

/* FAQ Accordion Animation */
.faq-content {
    transition: all 0.3s ease-out;
    max-height: 0;
    overflow: hidden;
}

.faq-content.active {
    max-height: 500px;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

#mobile-menu.active {
    max-height: 500px;
    opacity: 1;
}

/* Image Hover Zoom */
.img-zoom-container {
    overflow: hidden;
}

.img-zoom-container img {
    transition: transform 0.5s ease;
}

.img-zoom-container:hover img {
    transform: scale(1.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Trust Badge Pulse */
.trust-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Construction Pattern Background */
.construction-bg {
    background-image: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(30, 58, 95, 0.05) 10px,
            rgba(30, 58, 95, 0.05) 20px);
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

/* Print Styles */
@media print {

    header,
    footer,
    .no-print {
        display: none;
    }

    body {
        color: black;
        background: white;
    }
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #f97316;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.placeholder-photo {
    filter: blur(10px);
    transform: scale(1.03);
}
/* Blog resources */
.blog-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.1);
}
.blog-card-topic {
    color: #f97316;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.blog-card h3 {
    color: #1e3a5f;
    font-family: Montserrat, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}
.blog-card p {
    color: #475569;
    margin-bottom: 1rem;
}
.blog-card-link,
.blog-prose a {
    color: #1e3a5f;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(249, 115, 22, 0.45);
    text-underline-offset: 3px;
}
.blog-prose {
    font-size: 1.075rem;
    line-height: 1.8;
}
.blog-prose h2 {
    color: #1e3a5f;
    font-family: Montserrat, sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.blog-prose h3 {
    color: #0f172a;
    font-family: Montserrat, sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    margin-top: 1.5rem;
    margin-bottom: 0.35rem;
}
.blog-prose p,
.blog-prose li {
    margin-bottom: 1rem;
}
.blog-prose ul {
    list-style: disc;
    padding-left: 1.5rem;
}
.blog-cta {
    background: #f8fafc;
    border-left: 5px solid #f97316;
    border-radius: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
}
.blog-cta a {
    display: inline-block;
    background: #1e3a5f;
    color: #fff;
    border-radius: 0.65rem;
    padding: 0.8rem 1rem;
    text-decoration: none;
}
@media (max-width: 640px) {
    .blog-prose { font-size: 1rem; }
    .blog-prose h2 { font-size: 1.5rem; }
}

/* Header Dropdown Navigation */
.nav-dropdown-menu {
    margin-top: 0;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0.75rem;
}

.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown.open .nav-dropdown-trigger [data-lucide="chevron-down"],
.nav-dropdown:focus-within .nav-dropdown-trigger [data-lucide="chevron-down"],
.nav-dropdown:hover .nav-dropdown-trigger [data-lucide="chevron-down"],
.mobile-nav-section[open] summary [data-lucide="chevron-down"] {
    transform: rotate(180deg);
}

.nav-dropdown-trigger [data-lucide="chevron-down"],
.mobile-nav-section summary [data-lucide="chevron-down"] {
    transition: transform 0.2s ease;
}

.mobile-nav-section summary::-webkit-details-marker {
    display: none;
}
