@extends('layouts.landing', ['title' => 'AsiaGolf Store'])

@section('content')
    

    <x-layout.header />

    <main class="content-wrapper">

        <!-- Hero slider -->
        <section class="bg-body-tertiary">
            <div class="container">
                <div class="row">

                    <!-- Titles master slider -->
                    <div class="col-md-6 col-lg-5 d-flex flex-column">
                        <div class="py-4 mt-auto">
                            <div class="swiper pb-1 pt-3 pt-sm-4 py-md-4 py-lg-3"
                                data-swiper='{
                  "spaceBetween": 24,
                  "loop": true,
                  "speed": 400,
                  "controlSlider": "#heroImages",
                  "pagination": {
                    "el": "#sliderBullets",
                    "clickable": true
                  },
                  "autoplay": {
                    "delay": 5500,
                    "disableOnInteraction": false
                  }
                }'>
                                <div class="swiper-wrapper align-items-center">

                                    <!-- Item -->
                                    <div class="swiper-slide text-center text-md-start">
                                        <p class="fs-xl mb-2 mb-lg-3 mb-xl-4">The new warm collection</p>
                                        <h2 class="display-4 text-uppercase mb-4 mb-xl-5">New fall <br
                                                class="d-none d-md-inline">season 2024</h2>
                                        <a class="btn btn-lg btn-outline-dark" href="{{ route('second', ['shop', 'catalog-fashion']) }}">
                                            Shop now
                                            <i class="ci-arrow-up-right fs-lg ms-2 me-n1"></i>
                                        </a>
                                    </div>

                                    <!-- Item -->
                                    <div class="swiper-slide text-center text-md-start">
                                        <p class="fs-xl mb-2 mb-lg-3 mb-xl-4">Ready for the party?</p>
                                        <h2 class="display-4 text-uppercase mb-4 mb-xl-5">Choose outfits for parties</h2>
                                        <a class="btn btn-lg btn-outline-dark" href="{{ route('second', ['shop', 'catalog-fashion']) }}">
                                            Shop now
                                            <i class="ci-arrow-up-right fs-lg ms-2 me-n1"></i>
                                        </a>
                                    </div>

                                    <!-- Item -->
                                    <div class="swiper-slide text-center text-md-start">
                                        <p class="fs-xl mb-2 mb-lg-3 mb-xl-4">Shades of gray for your look</p>
                                        <h2 class="display-4 text-uppercase mb-4 mb-xl-5">-50% on gray Collection</h2>
                                        <a class="btn btn-lg btn-outline-dark" href="{{ route('second', ['shop', 'catalog-fashion']) }}">
                                            Shop now
                                            <i class="ci-arrow-up-right fs-lg ms-2 me-n1"></i>
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <!-- Slider bullets (pagination) -->
                        <div
                            class="d-flex justify-content-center justify-content-md-start pb-4 pb-xl-5 mt-n1 mt-md-auto mb-md-3 mb-lg-4">
                            <div class="swiper-pagination position-static w-auto pb-1" id="sliderBullets"></div>
                        </div>
                    </div>

                    <!-- Linked images (controlled slider) -->
                    <div class="col-md-6 col-lg-7 align-self-end">
                        <div class="position-relative ms-md-n4">
                            <div class="ratio" style="--cz-aspect-ratio: calc(662 / 770 * 100%)"></div>
                            <div class="swiper position-absolute top-0 start-0 w-100 h-100 user-select-none"
                                id="heroImages"
                                data-swiper='{
                  "allowTouchMove": false,
                  "loop": true,
                  "effect": "fade",
                  "fadeEffect": {
                    "crossFade": true
                  }
                }'>
                                <div class="swiper-wrapper">
                                    <div class="swiper-slide">
                                        <img src="/img/home/fashion/v1/hero-slider/01.png" class="rtl-flip"
                                            alt="Image">
                                    </div>
                                    <div class="swiper-slide">
                                        <img src="/img/home/fashion/v1/hero-slider/02.png" class="rtl-flip"
                                            alt="Image">
                                    </div>
                                    <div class="swiper-slide">
                                        <img src="/img/home/fashion/v1/hero-slider/03.png" class="rtl-flip"
                                            alt="Image">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>


        <!-- Popular products carousel -->
        <section class="container py-5 my-2 my-sm-3 my-lg-4 my-xl-5">
            <div class="row align-items-lg-center py-xxl-3">

                <!-- Products -->
                <div class="col-md-6 col-xl-5 offset-xl-1 order-md-2 mb-4 mb-md-0">
                    <div class="ps-md-3 ps-lg-4 ps-xl-0">
                        <div class="d-flex align-items-center justify-content-between pb-4 mb-md-1 mb-lg-2 mb-xl-3">
                            <h2 class="me-3 mb-0">Popular products</h2>

                            <!-- Slider prev/next buttons -->
                            <div class="d-flex gap-2">
                                <button type="button"
                                    class="btn btn-icon btn-outline-secondary animate-slide-start rounded-circle me-1"
                                    id="popularPrev" aria-label="Prev">
                                    <i class="ci-chevron-left fs-lg animate-target"></i>
                                </button>
                                <button type="button"
                                    class="btn btn-icon btn-outline-secondary animate-slide-end rounded-circle"
                                    id="popularNext" aria-label="Next">
                                    <i class="ci-chevron-right fs-lg animate-target"></i>
                                </button>
                            </div>
                        </div>

                        <!-- Products master slider -->
                        <div class="swiper"
                            data-swiper='{
                "spaceBetween": 24,
                "loop": true,
                "speed": 400,
                "controlSlider": "#sliderImages",
                "navigation": {
                  "prevEl": "#popularPrev",
                  "nextEl": "#popularNext"
                }
              }'>
                            <div class="swiper-wrapper">

                                <!-- Products list slide -->
                                <div class="swiper-slide">
                                    <div class="d-flex flex-column gap-3 gap-lg-4">
                                        <div
                                            class="d-flex align-items-center position-relative bg-body-tertiary rounded overflow-hidden animate-underline">
                                            <img src="/img/shop/fashion/thumbs/01.png" width="110" alt="Thumbnail">
                                            <div class="nav flex-column gap-2 min-w-0 p-3">
                                                <a class="nav-link text-dark-emphasis stretched-link w-100 min-w-0 p-0"
                                                    href="{{ route('second', ['shop', 'product-fashion']) }}">
                                                    <span class="animate-target text-truncate">Short jacket in long-pile
                                                        faux fur</span>
                                                </a>
                                                <div class="h6 mb-0">$218.00</div>
                                            </div>
                                        </div>
                                        <div
                                            class="d-flex align-items-center position-relative bg-body-tertiary rounded overflow-hidden animate-underline">
                                            <img src="/img/shop/fashion/thumbs/02.png" width="110" alt="Thumbnail">
                                            <div class="nav flex-column gap-2 min-w-0 p-3">
                                                <a class="nav-link text-dark-emphasis stretched-link w-100 min-w-0 p-0"
                                                    href="{{ route('second', ['shop', 'product-fashion']) }}">
                                                    <span class="animate-target text-truncate">Women's walking shoes tennis
                                                        sneakers</span>
                                                </a>
                                                <div class="h6 mb-0">$54.99</div>
                                            </div>
                                        </div>
                                        <div
                                            class="d-flex align-items-center position-relative bg-body-tertiary rounded overflow-hidden animate-underline">
                                            <img src="/img/shop/fashion/thumbs/03.png" width="110" alt="Thumbnail">
                                            <div class="nav flex-column gap-2 min-w-0 p-3">
                                                <a class="nav-link text-dark-emphasis stretched-link w-100 min-w-0 p-0"
                                                    href="{{ route('second', ['shop', 'product-fashion']) }}">
                                                    <span class="animate-target text-truncate">Classic aviator sunglasses
                                                        for women</span>
                                                </a>
                                                <div class="h6 mb-0">$76.00</div>
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <!-- Products list slide -->
                                <div class="swiper-slide">
                                    <div class="d-flex flex-column gap-3 gap-lg-4">
                                        <div
                                            class="d-flex align-items-center position-relative bg-body-tertiary rounded overflow-hidden animate-underline">
                                            <img src="/img/shop/fashion/thumbs/04.png" width="110" alt="Thumbnail">
                                            <div class="nav flex-column gap-2 min-w-0 p-3">
                                                <a class="nav-link text-dark-emphasis stretched-link w-100 min-w-0 p-0"
                                                    href="{{ route('second', ['shop', 'product-fashion']) }}">
                                                    <span class="animate-target text-truncate">Vintage oversized wool
                                                        blazer jacket</span>
                                                </a>
                                                <div class="h6 mb-0">$174.00</div>
                                            </div>
                                        </div>
                                        <div
                                            class="d-flex align-items-center position-relative bg-body-tertiary rounded overflow-hidden animate-underline">
                                            <img src="/img/shop/fashion/thumbs/05.png" width="110" alt="Thumbnail">
                                            <div class="nav flex-column gap-2 min-w-0 p-3">
                                                <a class="nav-link text-dark-emphasis stretched-link w-100 min-w-0 p-0"
                                                    href="{{ route('second', ['shop', 'product-fashion']) }}">
                                                    <span class="animate-target text-truncate">Classic pilot style
                                                        polarized sunglasses</span>
                                                </a>
                                                <div class="h6 mb-0">$93.00</div>
                                            </div>
                                        </div>
                                        <div
                                            class="d-flex align-items-center position-relative bg-body-tertiary rounded overflow-hidden animate-underline">
                                            <img src="/img/shop/fashion/thumbs/06.png" width="110" alt="Thumbnail">
                                            <div class="nav flex-column gap-2 min-w-0 p-3">
                                                <a class="nav-link text-dark-emphasis stretched-link w-100 min-w-0 p-0"
                                                    href="{{ route('second', ['shop', 'product-fashion']) }}">
                                                    <span class="animate-target text-truncate">Cotton dress straight-leg
                                                        pants</span>
                                                </a>
                                                <div class="h6 mb-0">$65.00</div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Complete look images (controlled slider) -->
                <div class="col-md-6 order-md-1">
                    <div class="swiper user-select-none" id="sliderImages"
                        data-swiper='{
              "allowTouchMove": false,
              "loop": true,
              "effect": "fade",
              "fadeEffect": {
                "crossFade": true
              }
            }'>
                        <div class="swiper-wrapper">
                            <div class="swiper-slide">
                                <div class="ratio d-none d-md-block" style="--cz-aspect-ratio: calc(720 / 636 * 100%)">
                                </div>
                                <div class="ratio ratio-4x3 d-md-none"></div>
                                <img src="/img/home/fashion/v1/popular/01.jpg"
                                    class="position-absolute top-0 start-0 w-100 h-100 object-fit-cover rounded-5"
                                    alt="Image">
                            </div>
                            <div class="swiper-slide">
                                <div class="ratio d-none d-md-block" style="--cz-aspect-ratio: calc(720 / 636 * 100%)">
                                </div>
                                <div class="ratio ratio-4x3 d-md-none"></div>
                                <img src="/img/home/fashion/v1/popular/02.jpg"
                                    class="position-absolute top-0 start-0 w-100 h-100 object-fit-cover rounded-5"
                                    style="object-position: center top" alt="Image">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>


        <!-- Featured products -->
        <x-home.product-highlight />

        <!-- Special collection carousel -->
        <x-home.new-arrivals />


        <!-- Brands -->
        <x-home.brand-home template="fashion-v1" />


        <!-- Reviews carousel -->
        <section class="bg-body-tertiary py-5">
            <div class="container py-1 py-sm-2 py-md-3 py-lg-4 py-xl-5">
                <h2 class="text-center pb-2 pb-md-3 pb-lg-4 pt-xxl-3">Happy customers</h2>
                <div class="position-relative pb-xxl-3">

                    <!-- External slider prev/next buttons visible on screens > 500px wide (sm breakpoint) -->
                    <button type="button"
                        class="btn btn-icon btn-outline-secondary bg-body rounded-circle animate-slide-start position-absolute top-50 start-0 z-2 translate-middle d-none d-sm-inline-flex mt-n4"
                        id="reviewsPrev" aria-label="Prev">
                        <i class="ci-chevron-left fs-lg animate-target"></i>
                    </button>
                    <button type="button"
                        class="btn btn-icon btn-outline-secondary bg-body rounded-circle animate-slide-end position-absolute top-50 start-100 z-2 translate-middle d-none d-sm-inline-flex mt-n4"
                        id="reviewsNext" aria-label="Next">
                        <i class="ci-chevron-right fs-lg animate-target"></i>
                    </button>

                    <!-- Slider -->
                    <div class="swiper"
                        data-swiper='{
              "slidesPerView": 1,
              "spaceBetween": 24,
              "loop": true,
              "navigation": {
                "prevEl": "#reviewsPrev",
                "nextEl": "#reviewsNext"
              },
              "pagination": {
                "el": ".swiper-pagination",
                "clickable": true
              },
              "breakpoints": {
                "600": {
                  "slidesPerView": 2
                },
                "992": {
                  "slidesPerView": 3
                }
              }
            }'>
                        <div class="swiper-wrapper">

                            <!-- Review -->
                            <div class="swiper-slide h-auto">
                                <div class="card h-100 border-0 rounded-4 p-sm-2">
                                    <div class="card-body">
                                        <div class="d-flex align-items-center mb-3">
                                            <div class="ratio ratio-1x1 flex-shrink-0" style="max-width: 80px">
                                                <img src="/img/home/fashion/v1/reviews/01.png" width="80"
                                                    alt="Image">
                                            </div>
                                            <div class="ps-2 ms-1">
                                                <div class="d-flex gap-1 fs-xs pb-2 mb-1">
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                </div>
                                                <h3 class="h6 mb-0">Victoria Gardner</h3>
                                            </div>
                                        </div>
                                        <p class="mb-0">Very satisfied with the bag! A wonderful shopper, not too big and
                                            not too small, but as it should be 🔥 The bag looks more expensive than it
                                            costs.</p>
                                    </div>
                                </div>
                            </div>

                            <!-- Review -->
                            <div class="swiper-slide h-auto">
                                <div class="card h-100 border-0 rounded-4 p-sm-2">
                                    <div class="card-body">
                                        <div class="d-flex align-items-center mb-3">
                                            <div class="ratio ratio-1x1 flex-shrink-0" style="max-width: 80px">
                                                <img src="/img/home/fashion/v1/reviews/02.png" width="80"
                                                    alt="Image">
                                            </div>
                                            <div class="ps-2 ms-1">
                                                <div class="d-flex gap-1 fs-xs pb-2 mb-1">
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                </div>
                                                <h3 class="h6 mb-0">Alexandra D.</h3>
                                            </div>
                                        </div>
                                        <p class="mb-0">A wonderful compact bag, holds a lot of things, good tailoring,
                                            smooth seams, strong fittings, good quality.</p>
                                    </div>
                                </div>
                            </div>

                            <!-- Review -->
                            <div class="swiper-slide h-auto">
                                <div class="card h-100 border-0 rounded-4 p-sm-2">
                                    <div class="card-body">
                                        <div class="d-flex align-items-center mb-3">
                                            <div class="ratio ratio-1x1 flex-shrink-0" style="max-width: 80px">
                                                <img src="/img/home/fashion/v1/reviews/03.png" width="80"
                                                    alt="Image">
                                            </div>
                                            <div class="ps-2 ms-1">
                                                <div class="d-flex gap-1 fs-xs pb-2 mb-1">
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                </div>
                                                <h3 class="h6 mb-0">Jenny Wilson</h3>
                                            </div>
                                        </div>
                                        <p class="mb-0">Elegant blouse and the color is very nice, the seams are neat. 🛍
                                            Excellent quality fabric, for summer weather is very good because the fabric is
                                            light and does not stick to the body.</p>
                                    </div>
                                </div>
                            </div>

                            <!-- Review -->
                            <div class="swiper-slide h-auto">
                                <div class="card h-100 border-0 rounded-4 p-sm-2">
                                    <div class="card-body">
                                        <div class="d-flex align-items-center mb-3">
                                            <div class="ratio ratio-1x1 flex-shrink-0" style="max-width: 80px">
                                                <img src="/img/home/fashion/v1/reviews/04.png" width="80"
                                                    alt="Image">
                                            </div>
                                            <div class="ps-2 ms-1">
                                                <div class="d-flex gap-1 fs-xs pb-2 mb-1">
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star text-body-tertiary opacity-75"></i>
                                                </div>
                                                <h3 class="h6 mb-0">Kristin Watson</h3>
                                            </div>
                                        </div>
                                        <p class="mb-0">The quality is impeccable, sturdy yet stylish. They provide
                                            excellent support, comfortable for all-day wear. The massive design adds a
                                            unique edge to any outfit.</p>
                                    </div>
                                </div>
                            </div>

                            <!-- Review -->
                            <div class="swiper-slide h-auto">
                                <div class="card h-100 border-0 rounded-4 p-sm-2">
                                    <div class="card-body">
                                        <div class="d-flex align-items-center mb-3">
                                            <div class="ratio ratio-1x1 flex-shrink-0" style="max-width: 80px">
                                                <img src="/img/home/fashion/v1/reviews/05.png" width="80"
                                                    alt="Image">
                                            </div>
                                            <div class="ps-2 ms-1">
                                                <div class="d-flex gap-1 fs-xs pb-2 mb-1">
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                    <i class="ci-star-filled text-warning"></i>
                                                </div>
                                                <h3 class="h6 mb-0">Daniel Adams</h3>
                                            </div>
                                        </div>
                                        <p class="mb-0">These sunglasses are a game-changer! Not only do they offer
                                            superior protection from the sun, but they also elevate my style.</p>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <!-- Pagination (Bullets) -->
                        <div class="swiper-pagination position-static pt-3 mt-sm-1 mt-md-2 mt-lg-3"></div>
                    </div>
                </div>
            </div>
        </section>


        <!-- Instagram feed -->
        <section class="container pt-5 mt-1 mt-sm-2 mt-md-3 mt-lg-4 mt-xl-5">
            <div class="text-center pt-xxl-3 pb-2 pb-md-3">
                <h2 class="pb-2 mb-1">
                    <span class="animate-underline">
                        <a class="animate-target text-dark-emphasis text-decoration-none" href="#!">#cartzilla</a>
                    </span>
                </h2>
                <p>Find more inspiration on our Instagram</p>
            </div>
            <div class="overflow-x-auto pb-3 mb-n3" data-simplebar>
                <div class="d-flex gap-2 gap-md-3 gap-lg-4" style="min-width: 700px">
                    <a class="hover-effect-scale hover-effect-opacity position-relative w-100 overflow-hidden"
                        href="#!">
                        <span
                            class="hover-effect-target position-absolute top-0 start-0 w-100 h-100 bg-black bg-opacity-25 opacity-0 z-1"></span>
                        <i
                            class="ci-instagram hover-effect-target fs-4 text-white position-absolute top-50 start-50 translate-middle opacity-0 z-2"></i>
                        <div class="hover-effect-target ratio ratio-1x1">
                            <img src="/img/instagram/01.jpg" alt="Instagram image">
                        </div>
                    </a>
                    <a class="hover-effect-scale hover-effect-opacity position-relative w-100 overflow-hidden"
                        href="#!">
                        <span
                            class="hover-effect-target position-absolute top-0 start-0 w-100 h-100 bg-black bg-opacity-25 opacity-0 z-1"></span>
                        <i
                            class="ci-instagram hover-effect-target fs-4 text-white position-absolute top-50 start-50 translate-middle opacity-0 z-2"></i>
                        <div class="hover-effect-target ratio ratio-1x1">
                            <img src="/img/instagram/02.jpg" alt="Instagram image">
                        </div>
                    </a>
                    <a class="hover-effect-scale hover-effect-opacity position-relative w-100 overflow-hidden"
                        href="#!">
                        <span
                            class="hover-effect-target position-absolute top-0 start-0 w-100 h-100 bg-black bg-opacity-25 opacity-0 z-1"></span>
                        <i
                            class="ci-instagram hover-effect-target fs-4 text-white position-absolute top-50 start-50 translate-middle opacity-0 z-2"></i>
                        <div class="hover-effect-target ratio ratio-1x1">
                            <img src="/img/instagram/03.jpg" alt="Instagram image">
                        </div>
                    </a>
                    <a class="hover-effect-scale hover-effect-opacity position-relative w-100 overflow-hidden"
                        href="#!">
                        <span
                            class="hover-effect-target position-absolute top-0 start-0 w-100 h-100 bg-black bg-opacity-25 opacity-0 z-1"></span>
                        <i
                            class="ci-instagram hover-effect-target fs-4 text-white position-absolute top-50 start-50 translate-middle opacity-0 z-2"></i>
                        <div class="hover-effect-target ratio ratio-1x1">
                            <img src="/img/instagram/04.jpg" alt="Instagram image">
                        </div>
                    </a>
                    <a class="hover-effect-scale hover-effect-opacity position-relative w-100 overflow-hidden"
                        href="#!">
                        <span
                            class="hover-effect-target position-absolute top-0 start-0 w-100 h-100 bg-black bg-opacity-25 opacity-0 z-1"></span>
                        <i
                            class="ci-instagram hover-effect-target fs-4 text-white position-absolute top-50 start-50 translate-middle opacity-0 z-2"></i>
                        <div class="hover-effect-target ratio ratio-1x1">
                            <img src="/img/instagram/05.jpg" alt="Instagram image">
                        </div>
                    </a>
                </div>
            </div>
        </section>
    </main>

    @include('layouts.partials/footer2')
@endsection

@section('scripts')    
@endsection
