/* ==============================================
   INDEX PAGE - SPECIFIC STYLES
   ============================================== */

/* SHOWCASE CAROUSEL SECTION */
.showcase-carousel-section {
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: #1a1a1a;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel-slide {
    flex: 0 0 20%;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.carousel-slide:hover img {
    transform: scale(1.1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transition: all 0.5s ease;
    z-index: 1;
}

.carousel-slide:hover .slide-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.slide-title {
    position: absolute;
    bottom: 60px;
    left: 30px;
    right: 30px;
    color: white;
    font-size: 28px;
    font-weight: 700;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.4s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.carousel-slide:hover .slide-title {
    opacity: 0;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 30px;
    right: 30px;
    transform: translateY(-50%);
    color: white;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.4s ease 0.2s;
    pointer-events: none;
    background: rgba(74, 155, 142, 0.85);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.carousel-slide:hover .slide-content {
    opacity: 1;
    pointer-events: auto;
}

.slide-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.slide-content p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.carousel-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

.carousel-arrow {
    position: absolute;
    top: 15%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 24px;
    font-weight: bold;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

/* EQUIPMENT FINDER SECTION */
.equipment-finder-section {
    padding: 80px 20px;
    background: #f5f7fa;
}

.equipment-finder-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.finder-header {
    text-align: center;
    margin-bottom: 50px;
}

.finder-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #4a9b8e;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.finder-label::before {
    content: '▶▶▶';
    font-size: 12px;
}

.finder-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.finder-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
}

.finder-tab-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.finder-tab-button {
    background: white;
    border: 2px solid #e5e5e5;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    color: #666;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.finder-tab-button:hover {
    border-color: #4a9b8e;
    color: #4a9b8e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 155, 142, 0.2);
}

.finder-tab-button.active {
    background: #4a9b8e;
    border-color: #4a9b8e;
    color: white;
    box-shadow: 0 4px 16px rgba(74, 155, 142, 0.3);
}

.finder-tab-content {
    display: none;
    animation: finderFadeIn 0.5s ease;
}

.finder-tab-content.active {
    display: block;
}

@keyframes finderFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.finder-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.finder-info-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    background-color: #4a9b8e;
    border-color: white;
}

.finder-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: #4a9b8e;
}

.finder-card-icon {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 36px 30px 28px;
    text-align: center;
    border-bottom: 3px solid #4a9b8e;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.finder-card-icon svg {
    width: 90px;
    height: 90px;
    stroke: #2c6e65;
    fill: none;
    stroke-width: 1.5;
    transition: transform 0.3s ease;
}

.finder-info-card:hover .finder-card-icon svg {
    transform: scale(1.1) translateY(-3px);
}

.finder-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.finder-equipment-box {
    background: #4a9b8e;
    color: white;
    padding: 30px;
}

.finder-equipment-category {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffd700;
}

.finder-equipment-list {
    list-style: none;
    margin-bottom: 20px;
}

.finder-equipment-list:last-child {
    margin-bottom: 0;
}

.finder-equipment-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.finder-equipment-list li:last-child {
    border-bottom: none;
}

.finder-equipment-list li:hover {
    padding-left: 10px;
    color: #ffd700;
}

.finder-equipment-list li::before {
    content: '▸ ';
    margin-right: 8px;
    font-weight: bold;
}

.finder-equipment-list li a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}

.finder-equipment-list li a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.finder-category-section {
    margin-bottom: 24px;
}

.finder-category-section:last-child {
    margin-bottom: 0;
}

.finder-quick-links {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.finder-quick-links h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.finder-quick-links p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.finder-quick-links-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.finder-quick-link-btn {
    background: #4a9b8e;
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.finder-quick-link-btn:hover {
    background: #3d8577;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 155, 142, 0.3);
}

/* SERVICES SECTION */
.services-section {
    background: linear-gradient(135deg, #4a9b8e 0%, #3d8577 100%);
    padding: 100px 20px;
    color: white;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-header p {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.8;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.service-icon svg {
    width: 50px;
    height: 50px;
    fill: white;
}

.service-divider {
    width: 60px;
    height: 3px;
    background: white;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .carousel-slide {
        flex: 0 0 33.333%;
    }
    
    .finder-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        height: 500px;
    }

    .carousel-slide {
        flex: 0 0 50%;
    }

    .slide-title {
        font-size: 22px;
        bottom: 30px;
        left: 20px;
        right: 20px;
    }

    .slide-content {
        left: 20px;
        right: 20px;
    }

    .slide-content h3 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .carousel-arrow {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .equipment-finder-section {
        padding: 50px 20px;
    }

    .finder-title {
        font-size: 32px;
    }

    .finder-subtitle {
        font-size: 16px;
    }

    .finder-tab-navigation {
        flex-direction: column;
        gap: 12px;
    }

    .finder-tab-button {
        width: 100%;
        padding: 16px 30px;
        font-size: 16px;
    }

    .finder-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .finder-card-icon {
        padding: 24px;
        min-height: 150px;
    }

    .finder-card-icon svg {
        width: 70px;
        height: 70px;
    }

    .finder-quick-links {
        padding: 30px 20px;
    }

    .finder-quick-links h3 {
        font-size: 24px;
    }

    .finder-quick-links-buttons {
        flex-direction: column;
    }
    
    .services-section {
        padding: 60px 20px;
    }

    .services-header h2 {
        font-size: 36px;
    }

    .services-header p {
        font-size: 16px;
    }

    .services-header {
        margin-bottom: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding: 40px 30px;
    }

    .service-card h3 {
        font-size: 22px;
    }

    .service-card p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: auto;
    }

    .carousel-track {
        flex-direction: column;
        transform: none !important;
    }

    .carousel-slide {
        flex: 0 0 auto;
        height: 500px;
    }

    .slide-title {
        font-size: 20px;
    }

    .slide-content h3 {
        font-size: 22px;
    }

    .carousel-arrow,
    .carousel-nav {
        display: none;
    }
}
