/* ==========================================================================
   Fresh Home Page Style – Clean, Modern, Readable (2026 Refresh)
   ========================================================================== */

/* Reset & Base */
.hero,
.service-areas-teaser,
.content-section {
    position: relative;
    z-index: 1;
}

/* Stronger, prettier background overlay */
.main-content {
    background-image: url('/static/denim-1.webp');
    /* keep your image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
}

.main-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(26, 60, 94, 0.75) 0%,
            /* dark navy tint top */
            rgba(26, 60, 94, 0.55) 50%,
            /* fade to lighter */
            rgba(26, 60, 94, 0.75) 100%
            /* strong bottom for text */
        );
    backdrop-filter: blur(4px);
    /* subtle blur for premium feel */
    -webkit-backdrop-filter: blur(4px);
    z-index: 0;
}

/* Hero – centered, spacious, high contrast */
.hero {
    text-align: center;
    color: white;
    padding: 80px 20px 100px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero .subtitle {
    font-size: clamp(1.3rem, 3.5vw, 1.6rem);
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.45;
}

.hero p {
    font-size: 1.18rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons – premium, glass-like hover */
.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 32px 0 48px;
}

.custom-hero-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Primary button */
.custom-hero-btn {
    background: linear-gradient(135deg, #1a3c5e 0%, #2d465f 100%);
    color: white;
    border: none;
}

.custom-hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.custom-hero-btn:hover::before {
    left: 100%;
}

.custom-hero-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Secondary button */
.secondary-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: white;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-4px);
}

/* Contact line */
.contact {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 24px;
}

.contact a {
    color: #b0c4de;
    text-decoration: none;
    transition: color 0.2s;
}

.contact a:hover {
    color: white;
    text-decoration: underline;
}

/* Teaser section – clean card style */
.service-areas-teaser {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    padding: 40px;
    margin: 0 auto 60px;
    max-width: 900px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    text-align: center;
    color: #333;
}

.service-areas-teaser h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1a3c5e;
}

.service-areas-teaser p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-areas-teaser .small {
    font-size: 1rem;
    opacity: 0.85;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 60px 16px 80px;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero .subtitle {
        font-size: 1.3rem;
    }

    .buttons {
        flex-direction: column;
        gap: 16px;
    }

    .custom-hero-btn,
    .secondary-btn {
        padding: 14px 32px;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .service-areas-teaser {
        padding: 32px 20px;
        margin: 0 16px 48px;
    }
}