/* ========================================
   The Florida Drone Company
   Interior Page Styles
   ======================================== */

/* Page Hero (interior pages — no video, smaller than homepage) */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 140px 0 80px;
    color: var(--white);
}

/* Page Hero with background image (uses <img> for SEO alt text) */
.page-hero--image {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.page-hero--image .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-hero--image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,44,80,0.85) 0%, rgba(7,44,80,0.7) 100%);
    z-index: 1;
}

.page-hero--image .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: var(--white);
    margin: 16px 0 24px;
    max-width: 720px;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    max-width: 640px;
    margin-bottom: 36px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Content layout */
.content-section {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 64px;
    align-items: start;
}

.content-main h2 {
    margin: 40px 0 16px;
    font-size: 1.5rem;
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-main ul {
    list-style: none;
    margin-bottom: 24px;
}

.content-main ul li {
    font-size: 0.95rem;
    color: var(--gray-600);
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.7;
}

.content-main ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

/* Sidebar CTA card */
.sidebar-cta {
    background: var(--navy);
    border-radius: var(--radius-xl);
    padding: 32px;
    color: var(--white);
    position: sticky;
    top: 100px;
    text-align: center;
}

.sidebar-cta h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.sidebar-cta p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.sidebar-cta .btn {
    width: 100%;
}

/* Sidebar related services */
.sidebar-related {
    margin-top: 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 28px;
}

.sidebar-related h4 {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.sidebar-related ul {
    list-style: none;
}

.sidebar-related ul li {
    margin-bottom: 10px;
}

.sidebar-related ul li a {
    font-size: 0.9rem;
    color: var(--gray-600);
    transition: color var(--transition);
}

.sidebar-related ul li a:hover {
    color: var(--gold);
}

/* Sidebar FAA badge */
.sidebar-badge {
    margin-top: 24px;
    background: linear-gradient(135deg, rgba(7,44,80,0.04) 0%, rgba(184,135,70,0.04) 100%);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 24px;
    text-align: center;
}

.sidebar-badge svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

.sidebar-badge span {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
}

/* Deliverables list (styled differently from content-main ul) */
.deliverables-list {
    list-style: none;
    margin-bottom: 24px;
    display: grid;
    gap: 12px;
}

.deliverables-list li {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 20px;
    padding-left: 44px;
    position: relative;
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.deliverables-list li::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

/* Disclaimer callout box */
.disclaimer-box {
    background: rgba(184,135,70,0.06);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px;
    margin: 24px 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic;
}

/* Industries grid on service pages */
.industries-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.industry-item {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--gray-200);
}

.industry-item h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.industry-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* FAQ accordion */
.faq-list {
    margin-top: 8px;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--gray-200);
}

.faq-question {
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    padding: 0;
    line-height: 1.5;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--gold);
    min-width: 24px;
    text-align: center;
    transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
    content: '\2212';
}

.faq-answer {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 12px;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

/* Related services strip */
.related-services {
    background: var(--gray-50);
    padding: 80px 0;
}

.related-services h2 {
    text-align: center;
    margin-bottom: 40px;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    transition: all var(--transition);
    text-align: center;
}

.related-card:hover {
    border-color: rgba(184,135,70,0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.related-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.related-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 20px;
}

.related-card .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Services hub grid */
.services-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.services-hub-grid .service-card {
    display: flex;
    flex-direction: column;
}

.services-hub-grid .service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.services-hub-grid .btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* ========================================
   Blog
   ======================================== */

/* Blog index card grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    transition: all var(--transition);
}

.blog-card:hover {
    border-color: rgba(184,135,70,0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--navy);
    transition: color var(--transition);
}

.blog-card h3 a:hover {
    color: var(--gold);
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-card .read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    transition: color var(--transition);
}

.blog-card .read-more:hover {
    color: var(--gold-dark);
}

/* Blog post body */
.post-meta {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
}

.post-body h2 {
    margin: 40px 0 16px;
    font-size: 1.5rem;
}

.post-body h2:first-child {
    margin-top: 0;
}

.post-body p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.post-body ul {
    list-style: none;
    margin-bottom: 24px;
}

.post-body ul li {
    font-size: 0.95rem;
    color: var(--gray-600);
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.7;
}

.post-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

/* Table of contents sidebar */
.toc {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 28px;
    margin-bottom: 24px;
}

.toc h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--navy);
    margin-bottom: 16px;
}

.toc ol {
    list-style: none;
    counter-reset: toc;
}

.toc ol li {
    counter-increment: toc;
    margin-bottom: 10px;
}

.toc ol li a {
    font-size: 0.85rem;
    color: var(--gray-600);
    transition: color var(--transition);
    display: flex;
    gap: 8px;
}

.toc ol li a::before {
    content: counter(toc) ".";
    color: var(--gold);
    font-weight: 600;
    min-width: 20px;
}

.toc ol li a:hover {
    color: var(--gold);
}

/* Related posts in sidebar */
.sidebar-posts {
    margin-top: 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 28px;
}

.sidebar-posts h4 {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.sidebar-posts ul {
    list-style: none;
}

.sidebar-posts ul li {
    margin-bottom: 12px;
}

.sidebar-posts ul li a {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
    transition: color var(--transition);
}

.sidebar-posts ul li a:hover {
    color: var(--gold);
}

/* ========================================
   Responsive — Interior Pages
   ======================================== */

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        order: -1;
    }

    .sidebar-cta {
        position: static;
    }

    .related-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-list {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .related-services-grid {
        grid-template-columns: 1fr;
    }

    .services-hub-grid {
        grid-template-columns: 1fr;
    }
}
