/* =====================================================
   BEST NOTCH GROUP LLC — Inner Pages Styles
   Theme: Industrial Orange / Gold on Deep Black
   ===================================================== */

/* ── PAGE HERO ── */
.page-hero {
    position: relative;
    padding: 160px 24px 80px;
    background: var(--dark-2);
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 107, 0, 0.15);
}

.ph-bg-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.3;
    z-index: 0;
    filter: grayscale(100%) contrast(1.2);
}

.ph-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(3,3,3,0.7), rgba(3,3,3,1));
    z-index: 1;
}

.ph-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.ph-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
}

.ph-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
}

/* ── BREADCRUMB ── */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: var(--orange);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb span {
    color: var(--gray-600);
}

/* ── CONTENT SECTIONS ── */
.inner-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.content-block {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

.content-block h3 {
    color: var(--orange);
    margin-bottom: 20px;
}

/* List styles for inner pages */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.custom-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--gray-300);
}

.custom-list li::before {
    content: '❯';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--orange);
    font-size: 0.9rem;
}

/* ── FORM STYLES ── */
.bn-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--gray-300);
}

.bn-input, .bn-textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 8px;
    padding: 14px 20px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.bn-textarea {
    resize: vertical;
    min-height: 120px;
}

.bn-input:focus, .bn-textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* Image grid for portfolio */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-premium);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255,107,0,0.8), rgba(0,0,0,0.2));
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: opacity 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

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

.gallery-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 4px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-subtitle {
     color: var(--white);
     font-size: 0.9rem;
     opacity: 0.8;
     transform: translateY(20px);
     transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-subtitle {
    transform: translateY(0);
}

/* ── MOBILE RESPONSIVE INNER PAGES ── */
@media (max-width: 768px) {
    .page-hero {
        padding: 130px 16px 60px;
        min-height: 35vh;
    }

    .ph-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .ph-subtitle {
        font-size: 0.95rem;
    }

    .inner-section {
        padding: 60px 0;
    }

    .content-block {
        padding: 24px 20px;
    }

    .portfolio-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }

    /* On touch screens, always show gallery overlay */
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    }

    .gallery-title,
    .gallery-subtitle {
        transform: translateY(0);
    }

    .custom-list li {
        font-size: 0.9rem;
    }

    .bn-input, .bn-textarea {
        font-size: 16px; /* prevents zoom on iOS */
    }

    .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 110px 12px 50px;
    }

    .ph-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }

    .portfolio-gallery {
        grid-template-columns: 1fr;
    }

    .content-block {
        padding: 20px 16px;
        border-radius: 12px;
    }
}
