@charset "UTF-8";

/* ==============================================
   Front Page Specific Styles
   ============================================== */

/* Scoped Reset for Home Main to avoid theme conflicts */
.home-main {
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    /* Prevent scrollbar from breakout */
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Ensure Header itself is visible but remove default background if any */
body.home .header {
    background-image: none !important;
}

/* Hide Breadcrumbs on front page */
body.home .breadcrumb {
    display: none !important;
}

/* Footer adjustment */
footer#footer {
    margin-top: 0;
}

div#content,
div#container {
    margin-top: 0;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

/* Force override theme main styles */
body.home main,
.home-main {
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

.home-main * {
    box-sizing: border-box;
}

/* 
   Full Width Breakout - Simplified
   Since parents are now forced to 100%, we don't need the vw hack
*/
.align-full {
    width: 100%;
}

/* Section Common */
.home-section {
    padding: 60px 0;
    /* Vertical padding only, let container handle horizontal */
    background-color: #fff;
}

.container {
    margin: 0 auto;
    position: relative;
    /* User requested generic container. 
       Added safe padding to prevent edge text touching on small screens if not handled elsewhere */
    padding: 0 4%;
}

/* Typography */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: "Garamond", "Times New Roman", "YuMincho", "Hiragino Mincho ProN", serif;
    font-size: 3.2rem;
    font-weight: 400;
    color: #222;
    margin: 0 0 10px;
    letter-spacing: 0.1em;
    text-transform: capitalize;
    /* or uppercase depending on preference, capitalizing looks more elegant */
    position: relative;
    display: block;
}

/* Remove the old underline */
.section-title::after {
    display: none;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #888;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
    margin-top: 10px;
}

/* 
   1. Hero Section 
*/
.home-hero {
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    /* High quality placeholder or user's asset would go here */
    background-color: #333;
    /* Fallback */
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
        url('https://8feet.site/wp-content/uploads/2023/08/first-view_re.jpg');
    /* Shoes */
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
    /* Override default margins */
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 20px;
    animation: fadeUp 1s ease-out forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 40px;
    font-weight: 500;
    opacity: 0.9;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-search-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 8px;
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.hero-search-wrapper:focus-within {
    transform: scale(1.02);
    background: #fff;
}

.search-input {
    border: none;
    background: transparent;
    flex: 1;
    padding: 15px 25px;
    font-size: 1.1rem;
    outline: none;
    color: #333;
}

.search-btn {
    background: #e67e22;
    color: #fff;
    border: none;
    border-radius: 50px;
    width: 60px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #d35400;
}

/* 
   2. Features / Pick Up 
*/
.home-pickup {
    background-color: #f8f9fa;
}

.pickup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pickup-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pickup-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pickup-thumb {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.pickup-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.pickup-card:hover .pickup-thumb img {
    transform: scale(1.1);
}

.pickup-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pickup-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 15px;
    color: #333;
    line-height: 1.5;
}

.pickup-meta {
    margin-top: auto;
    font-size: 0.85rem;
    color: #999;
}

/* 
   2.5 New Arrivals 
*/
.home-new {
    background-color: #fff;
    padding-top: 0;
    /* Connect closer to Pick Up or reduce gap */
}

.new-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.new-card {
    text-decoration: none !important;
    color: #333;
    display: block;
    transition: opacity 0.3s;
}

.new-card:hover {
    opacity: 0.8;
}

.new-thumb {
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
}

.new-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1.5;
}

.new-meta {
    font-size: 0.8rem;
    color: #aaa;
}

/* View All Button */
.view-all-wrapper {
    text-align: center;
    margin-top: 50px;
}

.view-all-btn {
    display: inline-block;
    padding: 12px 40px;
    border: 1px solid #333;
    color: #333;
    text-transform: uppercase;
    text-decoration: none !important;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    background: transparent;
}

.view-all-btn:hover {
    background: #333;
    color: #fff;
}

/* 
   3. Scene Navigation 
*/
.home-scene {
    background-color: #fff;
}

.scene-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.scene-item {
    flex: 1 1 200px;
    max-width: 280px;
    text-decoration: none !important;
    color: #333;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.scene-item:hover {
    border-color: #e67e22;
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.15);
    transform: translateY(-4px);
}

.scene-icon {
    font-size: 2.5rem;
    color: #e67e22;
    margin-bottom: 20px;
    display: inline-block;
}

.scene-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Tag Cloud */
.tag-cloud-section {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px dashed #eee;
}

.tag-section-title {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 700;
}

.home-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tag-cloud-link {
    display: inline-block;
    padding: 8px 20px;
    background: #f0f0f0;
    color: #555;
    border-radius: 50px;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.tag-cloud-link:hover {
    background: #e67e22;
    color: #fff;
    transform: translateY(-2px);
}

/* 
   4. Video Section 
*/
.home-video {
    background-color: #222;
    color: #fff;
    padding-bottom: 80px;
}

.home-video .section-title {
    color: #fff;
}

.home-video .section-subtitle {
    color: #ccc;
}

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

.video-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* for nice momentum scrolling on iOS */
    padding-left: 5%;
    /* Start with a peek */
    padding-right: 5%;
}

/* Hide scrollbar but keep functionality */
.video-carousel::-webkit-scrollbar {
    height: 8px;
}

.video-carousel::-webkit-scrollbar-track {
    background: #333;
}

.video-carousel::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.video-card {
    flex: 0 0 85%;
    /* Mobile first: show 85% width */
    max-width: 400px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
}

@media (min-width: 768px) {
    .video-card {
        flex: 0 0 45%;
        /* Tablet: 2 items */
    }
}

@media (min-width: 1024px) {
    .video-card {
        flex: 0 0 30%;
        /* Desktop: 3 items */
    }
}

.video-card .iframe-container {
    border-bottom: 1px solid #333;
}

.video-card-body {
    padding: 15px;
    background: #1a1a1a;
}

.video-card-body h5 {
    color: #fff;
    margin: 0;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yt-subscribe-btn {
    display: inline-block;
    background: #ff0000;
    color: #fff;
    text-align: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.yt-subscribe-btn:hover {
    background: #fff !important;
    color: #c4302b !important;
    border: 1px solid #c4302b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 48, 43, 0.3);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .video-showcase {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .home-hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .pickup-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}