/* Industries Page Styles */

/* Container */
.container-80 {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.industries-hero {
    background: linear-gradient(to right, #000000 0%, #1a1a1a 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.industries-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(250, 167, 71, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(250, 167, 71, 0.1) 0%, transparent 50%);
    z-index: 1;
}

/* Breadcrumb Navigation - matching generators page style */
.bg-white {
    background-color: #ffffff;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-gray-600 {
    color: #4b5563;
}

.hover\:text-glow-yellow:hover {
    color: #FAA747;
}

.transition-colors {
    transition-property: color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* Industries Section */
.industries-section {
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    padding: 80px 0;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.industries-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.industries-container h2 {
    font-family: "JCBEuro BoldCondensed Regular", Arial, sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #000;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.2;
    position: relative;
}

/* Accent bar under heading */
.industries-container .accent-bar {
    width: 80px;
    height: 4px;
    background: #FAA747;
    margin: 0 auto 25px;
}

.industries-container .subtitle {
    font-family: "JCBEuro Roman Regular", Arial, sans-serif;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #666;
}

/* Creative Grid Layout for 7 Cards */
.industries-grid-creative {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
}

/* Individual Industry Card */
.industry-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    transition: all 0.4s ease;
    cursor: pointer;
    background: #f8f8f8;
}

.industry-card .card-inner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

/* Card size variations */
.industry-card .card-inner.large {
    height: 400px;
}

.industry-card .card-inner.medium {
    height: 300px;
}

/* Special height for different rows */
.industry-card:nth-child(1),
.industry-card:nth-child(2),
.industry-card:nth-child(3) {
    grid-column: span 4;
}

.industry-card:nth-child(1) .card-inner {
    height: 400px;
}

.industry-card:nth-child(4),
.industry-card:nth-child(5),
.industry-card:nth-child(6) {
    grid-column: span 4;
}

.industry-card:nth-child(4) .card-inner,
.industry-card:nth-child(5) .card-inner,
.industry-card:nth-child(6) .card-inner {
    height: 300px;
}

.industry-card:nth-child(7) {
    grid-column: span 4;
}

.industry-card:nth-child(7) .card-inner {
    height: 300px;
}

.industry-card:nth-child(8) {
    grid-column: span 4;
}

.industry-card:nth-child(8) .card-inner {
    height: 300px;
}

/* Events card - now styled same as other cards */

/* Card Images */
.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Overlay Effect */
.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

/* Content Styling */
.industry-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: white;
    text-align: left;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.industry-content h3 {
    font-family: "JCBEuro BoldCondensed Regular", Arial, sans-serif;
    font-size: 28px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    position: relative;
    display: inline-block;
}

/* FAA747 accent line under h3 */
.industry-content h3::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #FAA747;
    transition: width 0.4s ease;
}

.industry-content p {
    font-family: "JCBEuro Roman Regular", Arial, sans-serif;
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
    color: rgba(255,255,255,0.9);
    margin-top: 20px;
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #FAA747;
    color: #000;
    padding: 8px 16px;
    font-family: "JCBEuro Bold Regular", Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Industry Badge (500+ Events) */
.industry-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: #FAA747;
    color: #000;
    padding: 5px 15px;
    font-family: 'JCBEuro Bold Regular', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
}

/* Hover Effects */
.industry-card:hover img {
    transform: scale(1.1);
}

.industry-card:hover .industry-overlay {
    opacity: 0.9;
}

.industry-card:hover .industry-content {
    transform: translateY(0);
}

.industry-card:hover .industry-content p {
    opacity: 1;
    transform: translateY(0);
}

.industry-card:hover .industry-content h3::after {
    width: 100px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .industries-grid-creative {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Reset all special spans for tablet */
    .industry-card:nth-child(1),
    .industry-card:nth-child(2),
    .industry-card:nth-child(3),
    .industry-card:nth-child(4),
    .industry-card:nth-child(5),
    .industry-card:nth-child(6),
    .industry-card:nth-child(7),
    .industry-card:nth-child(8) {
        grid-column: span 1;
    }
    
    .industry-card .card-inner {
        height: 300px !important;
    }
}

@media (max-width: 768px) {
    .industries-grid-creative {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Ensure all cards span full width on mobile */
    .industry-card {
        grid-column: 1 / -1 !important;
    }
    
    .industry-card .card-inner {
        height: 250px !important;
        border-width: 2px !important;
    }
    
    .industry-content h3 {
        font-size: 24px;
    }
    
    .industries-container h2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .industries-section {
        padding: 60px 0;
    }
    
    .industries-container h2 {
        font-size: 28px;
    }
    
    .industry-card .card-inner {
        height: 200px !important;
    }
    
    .industry-content {
        padding: 20px;
    }
    
    .industry-content h3 {
        font-size: 20px;
    }
    
    .industry-content p {
        font-size: 12px;
    }
    
    .featured-badge {
        font-size: 10px;
        padding: 6px 12px;
    }
}

/* SEO Content Section */
.industries-seo-section {
    background: #f5f5f5;
    padding: 80px 0;
}

@media (max-width: 768px) {
    .industries-seo-section {
        padding: 60px 0;
    }
}

/* Industries Page Title Fix */
.industries-hero h1 {
    font-family: 'JCBEuro BoldCondensed Regular', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .industries-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .industries-hero h1 {
        font-size: 2rem;
    }
}