/* =============================================
   NAQDA Industry Hero Carousel
   Professional animated carousel for all
   aquaculture industry production pages
   ============================================= */

.ihc-hero {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #001d3d;
}

/* Slides */
.ihc-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
.ihc-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    overflow: hidden;
}
.ihc-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: ihcKenBurns 20s ease-in-out infinite alternate;
}
@keyframes ihcKenBurns {
    0%   { transform: scale(1) translate(0, 0); }
    50%  { transform: scale(1.08) translate(-1%, -1%); }
    100% { transform: scale(1.04) translate(1%, 0.5%); }
}
.ihc-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 29, 61, 0.82) 0%,
        rgba(0, 51, 102, 0.6) 40%,
        rgba(0, 74, 143, 0.4) 70%,
        rgba(0, 102, 204, 0.3) 100%
    );
    z-index: 1;
}

/* Slide content */
.ihc-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}
.ihc-content-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem 0;
}
.ihc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 9999px;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    animation: ihcFadeIn 0.6s ease 0.2s forwards;
}
.ihc-slide-number {
    font-size: 0.65rem;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 0.1rem 0.4rem;
    margin-left: 0.25rem;
}
.ihc-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
    animation: ihcFadeIn 0.6s ease 0.35s forwards;
}
.ihc-title span {
    background: linear-gradient(90deg, #87CEEB, #a5d8f0, #c8a951);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ihc-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: ihcFadeIn 0.6s ease 0.5s forwards;
}
.ihc-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: ihcFadeIn 0.6s ease 0.65s forwards;
}
.ihc-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: #003366;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.ihc-btn-primary:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.ihc-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255,255,255,0.35);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s;
}
.ihc-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

@keyframes ihcFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Right-side info card */
.ihc-info-card {
    position: absolute;
    right: 2rem;
    bottom: 5rem;
    z-index: 3;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 1.25rem;
    max-width: 260px;
    opacity: 0;
    animation: ihcFadeIn 0.6s ease 0.8s forwards;
}
.ihc-info-card-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}
.ihc-info-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.ihc-info-stat {
    text-align: center;
}
.ihc-info-stat-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}
.ihc-info-stat-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.55);
}

/* Carousel navigation dots */
.ihc-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.ihc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.ihc-dot.active {
    width: 32px;
    border-radius: 5px;
    background: #fff;
}

/* Carousel arrows */
.ihc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.ihc-arrow:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.1);
}
.ihc-arrow-left { left: 1rem; }
.ihc-arrow-right { right: 1rem; }

/* Progress bar */
.ihc-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #87CEEB, #c8a951);
    z-index: 5;
    transition: width 0.3s linear;
}

/* Floating particles */
.ihc-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    z-index: 1;
    animation: ihcFloat linear infinite;
    pointer-events: none;
}
@keyframes ihcFloat {
    0%   { transform: translateY(0) scale(1); opacity: 0.5; }
    50%  { opacity: 0.8; }
    100% { transform: translateY(-450px) scale(0.2); opacity: 0; }
}

/* Wave bottom */
.ihc-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 3;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .ihc-hero { height: 440px; }
    .ihc-info-card { display: none; }
    .ihc-content { padding: 0 1rem; }
    .ihc-arrow { width: 36px; height: 36px; font-size: 0.8rem; }
}
@media (max-width: 480px) {
    .ihc-hero { height: 380px; }
    .ihc-actions { flex-direction: column; }
    .ihc-btn-primary, .ihc-btn-secondary { width: 100%; justify-content: center; }
}
