/**
 * BookWithUs Shortcode Styles
 * Simple text layout matching the provided image
 */

/* Base Container Styles */
.book-with-us-container {
    width: 100%;
    padding: 20px 10px;
}

/* Desktop Layout */
.book-with-us-desktop {
    display: block;
}

.book-with-us-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-family: 'Futura PT', Arial, sans-serif;
}

.book-with-us-title {
    font-weight: bold;
    font-size: 14px;
    color: #3e191e;
    text-transform: uppercase;
    margin-right: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #3e191e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: white;
    line-height: 1;
}

.feature-dot::before {
    content: "✓";
    font-size: 8px;
    font-weight: bold;
}

.feature-text {
    font-size: 14px;
    color: #3e191e;
    white-space: nowrap;
    font-weight: normal;
}

/* Mobile Layout - Hidden by default */
.book-with-us-mobile {
    display: none;
    padding: 15px 0;
    text-align: center;
    margin: 0 -20px;
    width: calc(100% + 40px);
    overflow: visible;
}

.mobile-title {
    font-weight: bold;
    font-size: 18px;
    color: #3e191e;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-family: 'Futura PT', Arial, sans-serif;
}

.book-with-us-carousel {
    width: 100%;
    position: relative;
    padding: 10px 0;
    overflow: hidden;
    margin: 0;
}

.mobile-content-line {
    display: flex;
    align-items: center;
    gap: 30px;
    font-family: 'Futura PT', Arial, sans-serif;
    animation: slideLeftRight var(--slide-duration, 16s) ease-in-out infinite;
    white-space: nowrap;
    justify-content: flex-start;
    width: max-content;
    --slide-distance: 200px; /* fallback */
}

@keyframes slideLeftRight {
    0%, 5% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(calc(-1 * var(--slide-distance, 200px)));
    }
    95%, 100% {
        transform: translateX(0);
    }
}

.mobile-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.mobile-feature-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #3e191e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    line-height: 1;
}

.mobile-feature-dot::before {
    content: "✓";
    font-size: 10px;
    font-weight: bold;
}

.mobile-feature-text {
    font-size: 17px;
    color: #3e191e;
    font-weight: normal;
    font-family: 'Futura PT', Arial, sans-serif;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    /* Hide desktop, show mobile */
    .book-with-us-desktop {
        display: none;
    }
    
    .book-with-us-mobile {
        display: block;
    }
}

/* iPhone 16 Pro Max and large phones (430px+) */
@media (max-width: 768px) and (min-width: 430px) {
    .book-with-us-mobile {
        padding: 18px 0;
    }
    
    .mobile-title {
        font-size: 20px;
        margin-bottom: 18px;
    }
    
    .mobile-feature-text {
        font-size: 19px;
    }
    
    .mobile-feature-dot {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
    
    .mobile-feature-dot::before {
        font-size: 11px;
    }
    
    .mobile-content-line {
        gap: 35px;
        --slide-distance: 220px; /* fallback for large phones */
    }
    
    .book-with-us-carousel {
        padding: 12px 0;
    }
    
    @keyframes slideLeftRight {
        0%, 5% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(calc(-1 * var(--slide-distance, 220px)));
        }
        95%, 100% {
            transform: translateX(0);
        }
    }
}

/* iPhone 15/14/13 Pro (393px-429px) */
@media (max-width: 429px) and (min-width: 393px) {
    .book-with-us-mobile {
        padding: 16px 0;
    }
    
    .mobile-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .mobile-feature-text {
        font-size: 17px;
    }
    
    .mobile-feature-dot {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
    
    .mobile-feature-dot::before {
        font-size: 10px;
    }
    
    .mobile-content-line {
        gap: 28px;
        --slide-distance: 190px; /* fallback for pro phones */
    }
    
    .book-with-us-carousel {
        padding: 10px 0;
    }
    
    @keyframes slideLeftRight {
        0%, 5% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(calc(-1 * var(--slide-distance, 190px)));
        }
        95%, 100% {
            transform: translateX(0);
        }
    }
}

/* iPhone 12/13/14 Standard (375px-392px) */
@media (max-width: 392px) and (min-width: 375px) {
    .book-with-us-mobile {
        padding: 15px 0;
    }
    
    .mobile-title {
        font-size: 17px;
        margin-bottom: 15px;
    }
    
    .mobile-feature-text {
        font-size: 16px;
    }
    
    .mobile-feature-dot {
        width: 15px;
        height: 15px;
        font-size: 9px;
    }
    
    .mobile-feature-dot::before {
        font-size: 9px;
    }
    
    .mobile-content-line {
        gap: 25px;
        --slide-distance: 170px; /* fallback for standard phones */
    }
    
    .book-with-us-carousel {
        padding: 10px 0;
    }
    
    @keyframes slideLeftRight {
        0%, 5% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(calc(-1 * var(--slide-distance, 170px)));
        }
        95%, 100% {
            transform: translateX(0);
        }
    }
}

/* iPhone SE and compact phones (374px and below) */
@media (max-width: 374px) {
    .book-with-us-mobile {
        padding: 12px 0;
    }
    
    .mobile-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .book-with-us-title {
        font-size: 11px;
        font-family: 'Futura PT', Arial, sans-serif;
    }
    
    .mobile-feature-text {
        font-size: 14px;
        font-family: 'Futura PT', Arial, sans-serif;
    }
    
    .mobile-feature-dot {
        width: 13px;
        height: 13px;
        font-size: 8px;
    }
    
    .mobile-feature-dot::before {
        font-size: 8px;
    }
    
    .feature-text {
        font-size: 11px;
        font-family: 'Futura PT', Arial, sans-serif;
    }
    
    .mobile-content-line {
        gap: 20px;
        --slide-distance: 150px; /* fallback for small phones */
    }
    
    .book-with-us-carousel {
        padding: 8px 0;
    }
    
    @keyframes slideLeftRight {
        0%, 5% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(calc(-1 * var(--slide-distance, 150px)));
        }
        95%, 100% {
            transform: translateX(0);
        }
    }
}

/* Ultra-wide phones (768px tablets in landscape) */
@media (max-width: 768px) and (min-width: 600px) and (orientation: landscape) {
    .mobile-content-line {
        gap: 40px;
        --slide-distance: 300px; /* fallback for landscape */
    }
    
    .mobile-feature-text {
        font-size: 20px;
    }
    
    @keyframes slideLeftRight {
        0%, 5% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(calc(-1 * var(--slide-distance, 300px)));
        }
        95%, 100% {
            transform: translateX(0);
        }
    }
} 