/* Partners Page Styles */

.partners-page {
    font-family: 'Montserrat', sans-serif;
}

/* Partners Hero Section */
.partners-hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-image: url('/wp-content/uploads/2025/09/robin-noguier-sydwCr54rf0-unsplash-1-scaled.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partners-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(233, 84, 32, 0.85) 0%, rgba(234, 232, 248, 0.7) 100%);
    z-index: 1;
}

.partners-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.partners-hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.partners-hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.4;
}

/* About FTT Partners Section */
.partners-about-section {
    padding: 0 0 100px 0;
    background-color: var(--page-white);
}

.partners-about-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--accent-charcoal-black);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Integration Partners Section */
.integration-partners-section {
    padding: 0 0 100px 0;
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--page-white) 100%);
}

.integration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.integration-logo-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--page-white);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.integration-logo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.integration-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.integration-logo-item:hover .integration-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.integration-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

.integration-content {
    padding-left: 40px;
}

.integration-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--accent-charcoal-black);
    margin-top: 24px;
}

/* Hotel Partners Section */
.hotel-partners-section {
    padding: 0 0 100px 0;
    background: var(--warm-beige);
    overflow: hidden;
}

/* Reuse partners slideshow from homepage */
.partners-slideshow-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.partners-slideshow {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 120px;
    display: flex;
    align-items: center;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slide 60s linear infinite;
    will-change: transform;
}

.partner-logo {
    flex-shrink: 0;
    height: 100px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(0.8);
    padding: 10px;
    box-sizing: border-box;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.partner-logo img {
    max-height: 80px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.partner-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

/* Blur effects for edges */
.partners-slideshow::before,
.partners-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 5;
    pointer-events: none;
}

.partners-slideshow::before {
    left: 0;
    background: linear-gradient(to right, var(--warm-beige), transparent);
}

.partners-slideshow::after {
    right: 0;
    background: linear-gradient(to left, var(--warm-beige), transparent);
}

/* Animation */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.partners-slideshow:hover .partners-track {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-hero-title {
        font-size: 44px;
    }
    
    .partners-hero-subtitle {
        font-size: 18px;
    }
    
    .partners-about-text {
        font-size: 18px;
    }
    
    .integration-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .integration-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        order: 2;
    }
    
    .integration-content {
        padding-left: 0;
        order: 1;
        text-align: center;
    }
    
    .partners-slideshow {
        height: 100px;
    }
    
    .partners-track {
        gap: 15px;
    }
    
    .partner-logo {
        height: 70px;
        width: 180px;
        padding: 8px;
    }
    
    .partner-logo img {
        max-height: 60px;
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .partners-hero-title {
        font-size: 36px;
    }
    
    .integration-logos {
        grid-template-columns: 1fr;
    }
}

