/* info-vipcart.css */

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: url('info.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
}

.fc-header {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.9), rgba(80, 227, 194, 0.9));
    color: white;
    text-align: center;
    padding: 2rem 2rem;
    width: 100%;
    box-sizing: border-box;
}

.fc-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.fc-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

.fc-carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.fc-carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.fc-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    box-sizing: border-box;
}

.fc-feature-content {
    flex: 1;
    padding: 20px;
}

.fc-feature-image {
    flex: 1;
    text-align: center;
}

.fc-feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.fc-carousel-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.fc-carousel-prev,
.fc-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(74, 144, 226, 0.0);
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    border-radius: 50%;
}

.fc-carousel-prev {
    left: 10px;
}

.fc-carousel-next {
    right: 10px;
}

.fc-carousel-prev:hover,
.fc-carousel-next:hover {
    background-color: rgba(74, 144, 226, 0.5);
}

/* Ny CSS för stiliserade pilar */
.fc-carousel-prev span,
.fc-carousel-next span {
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid rgb(0, 0, 0);
    border-left: 0;
    border-bottom: 0;
}

.fc-carousel-prev span {
    transform: rotate(-135deg);
    margin-left: 5px;
}

.fc-carousel-next span {
    transform: rotate(45deg);
    margin-right: 5px;
}

.fc-carousel-dots {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    pointer-events: auto;
}

.fc-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fc-carousel-dot.active {
    background-color: white;
}

.fc-cta-section {
    text-align: center;
    background-color: rgba(74, 144, 226, 0.9);
    color: white;
    padding: 2rem 2rem;
    border-radius: 0px;
    width: 100%;
    box-sizing: border-box;
}

.fc-cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.fc-cta-button {
    display: inline-block;
    background-color: #50e3c2;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.fc-cta-button:hover {
    background-color: #3ac2a2;
    transform: translateY(-2px);
}

.fc-footer {
    background-color: rgba(51, 51, 51, 0.9);
    color: white;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .fc-header {
        padding: 2rem 1rem;
    }

    .fc-header h1 {
        font-size: 2rem;
    }

    .fc-header p {
        font-size: 1rem;
    }

    main {
        padding: 1rem;
    }

    .fc-carousel-container {
        overflow: visible;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

    .fc-carousel {
        display: block;
        transform: none !important;
        transition: none !important;
    }

    .fc-carousel-slide {
        flex-direction: column;
        padding: 1rem;
        margin-bottom: 1rem;
        width: 100% !important;
        height: auto !important; /* Ensure height is not fixed */
        min-height: 0 !important; /* Allow content to determine height */
    }

    .fc-feature-content,
    .fc-feature-image {
        width: 100%;
        padding: 0;
        flex: none; /* Remove flex property */
    }

    .fc-feature-content {
        margin-bottom: 1rem; /* Add space between content and image */
    }

    .fc-feature-image img {
        width: 100%; /* Ensure image takes full width */
        height: auto; /* Maintain aspect ratio */
    }

    .fc-feature-section h2 {
        font-size: 1.5rem;
    }

    .fc-feature-section p {
        font-size: 1rem;
    }

    .fc-carousel-nav,
    .fc-carousel-dots {
        display: none;
    }

    .fc-cta-section {
        padding: 2rem 1rem;
    }

    .fc-cta-section h2 {
        font-size: 1.8rem;
    }

    .fc-cta-button {
        font-size: 1rem;
        padding: 0.8rem 1.6rem;
    }
}

/* iOS-specific fixes */
@supports (-webkit-overflow-scrolling: touch) {
    .fc-carousel-container {
        -webkit-overflow-scrolling: touch;
    }

    .fc-carousel-slide {
        -webkit-transform: translate3d(0,0,0);
    }
}