/* Promo Banner Styles */
.promo-banner {
    background-color: #ff0000;
    color: #ffffff;
    text-align: center;
    padding: 10px 15px;
    width: 100%;
    z-index: 1000;
}
.drawer-menu__header{
    margin-top: 35px;
}

.promo-banner__content {
        font-size: 12px;
    letter-spacing: 0.5px;
}

/* Mobile Responsive Styles for Promo Banner */
@media screen and (max-width: 768px) {
    .promo-banner {
        padding: 8px 10px;
    }

    .promo-banner__content {
        font-size: 12px;
    }
}

/* Image Slider Styles */
.image-slider-container {
    width: 100%;
    margin: 0 auto 30px;
    overflow: hidden;
    position: relative;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

/* Responsive image display controls */
.desktop-slider-img {
    display: block;
}

.mobile-slider-img {
    display: none;
}

.mobile-only-slide {
    display: none;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ffffff !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    color: #ffffff !important;
    font-weight: bold;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ffffff !important;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #ffffff !important;
}

/* Mobile Responsive Styles for Slider */
@media screen and (max-width: 768px) {
    .swiper-slide {
        height: 250px;
    }

    /* Hide desktop images and show mobile images on mobile screens */
    .desktop-slider-img {
        display: none;
    }

    .mobile-slider-img {
        display: block;
    }

    .mobile-only-slide {
        display: flex;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
        margin: 0 10px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }
}

/* Bootstrap-like Grid System */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    width: calc(50% - 10px);
    padding: 0 15px;
    box-sizing: border-box;
}

/* Add space between category items */
.col-md-6:first-child {
    margin-right: 10px;
}

.col-md-6:last-child {
    margin-left: 10px;
}

/* Category Showcase Styles */
.category-showcase {
    padding: 30px 0 60px;
}

.category-item {
    position: relative;
    height: 500px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-item:first-child {
    background: url('../ShelbyCover.jpg') center/cover no-repeat;
}

.category-item:last-child {
    background: url('../UrbanCover.jpg') center/cover no-repeat;
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #ffffff;
    text-align: center;
}

.category-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-shop {
    display: inline-block;
    padding: 10px 25px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-shop:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Mobile Responsive Styles for Category Showcase */
@media screen and (max-width: 768px) {
    .col-md-6 {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .col-md-6:first-child {
        margin-bottom: 20px;
    }

    .category-item {
        height: 350px;
    }

    .category-content h2 {
        font-size: 24px;
    }
}

/* Custom Orders Section Styles */
.custom-orders-section {
    padding: 60px 0;
    background: url('../BottomBackdrop.jpg') center/cover no-repeat fixed;
    position: relative;
    color: #ffffff;
}

.custom-orders-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.custom-orders-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.custom-orders-text {
    width: 48%;
    padding: 30px;
}

.custom-orders-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-orders-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 16px;
}

/* Custom Orders CTA restyle */
.custom-orders-form {
    width: 100%;
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: flex;
    justify-content: center;
}

.custom-orders-form .submit-btn {
    width: auto;
    max-width: none;
    padding: 14px 28px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 9999px;
    letter-spacing: 1px;
}

.custom-orders-form .submit-btn:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Reduce extra spacing when form content is simplified */
.custom-orders-section .custom-orders-content { align-items: center; }
.custom-orders-section .custom-orders-text { width: 100%; text-align: center; }

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #333333;
}

/* Mobile Responsive Styles for Custom Orders Section */
@media screen and (max-width: 768px) {
    .custom-orders-content {
        flex-direction: column;
    }

    .custom-orders-text,
    .custom-orders-form {
        width: 100%;
        margin-bottom: 30px;
    }

    .custom-orders-text {
        padding: 20px 0;
    }

    .custom-orders-text h2 {
        font-size: 28px;
    }

    .custom-orders-form h3 {
        font-size: 22px;
    }
}

/* Header layout overrides */
.header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

/* Ensure hamburger menu icon is visible and on the left */
.header .header__menu-icon {
    grid-column: 1;
    justify-self: start;
    display: inline-flex;
}

/* Center desktop logo */
.header .desktop-only-logo {
    grid-column: 2;
    justify-self: center;
    margin: 0;
}

/* Place right icons on the right */
.header .header__right {
    grid-column: 3;
    justify-self: end;
}

/* Hide inline links; use drawer via hamburger */
.header .header__links {
    display: none !important;
}

/* Mobile/Desktop logo visibility (fallback if theme doesn't handle) */
@media screen and (min-width: 769px) {
    .header .mobile-only-logo { display: none !important; }
    .header .desktop-only-logo { display: block !important; }
}

@media screen and (max-width: 768px) {
    /* Keep center alignment on mobile as well */
    .header { grid-template-columns: auto 1fr auto; }
    .header .mobile-only-logo { grid-column: 2; justify-self: center; }
}

/* Refined header alignment using absolute positioning */
.header {
    position: relative;
    min-height: 64px;
}

/* Scope to direct children to avoid affecting nested panels */
.header > .header__menu-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
}

.header > .header__right {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.header > .desktop-only-logo,
.header > .mobile-only-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    text-align: center;
}

/* Hide inline nav links; use drawer */
.header > .header__links { display: none !important; }

/* Ensure correct logo visibility */
@media screen and (min-width: 769px) {
    .header > .mobile-only-logo { display: none !important; }
    .header > .desktop-only-logo { display: block !important; }
}

@media screen and (max-width: 768px) {
    .header > .mobile-only-logo { display: block !important; }
    .header > .desktop-only-logo { display: none !important; }
}

/* Custom Order Page Styles */

/* Hero Banner */
.hero-banner {
    position: relative;
    width: 100%;
    /* height: 500px; */
    overflow: hidden;
    /* Add parallax effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-image {
    position: relative;
    width: 100%;
   /* height: 120%;*/ /* Make container larger to accommodate parallax movement */
    /* Enhanced parallax with transform */
    will-change: transform;
    top: -10%; /* Offset to center the larger container */
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Parallax transform */
    transform: translate3d(0, 0, 0);
    transition: transform 0.1s ease-out;
    /* Ensure image covers any gaps */
    min-height: 120%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-title {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
    letter-spacing: 2px;
}

.mobile-hero {
    display: none;
}

/* Custom Steps Section */
.custom-steps {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 50px;
    color: #333;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #ff0000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Custom Order Form */
.custom-order-form {
    padding: 80px 0;
    background: white;
}

.order-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 40px;
}

.form-label {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

/* Color Options */
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.color-option:hover,
.color-option.selected {
    border-color: #ff0000;
    background-color: #f9f9f9;
}

.color-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 8px;
    border: 1px solid #ddd;
}

.color-option span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Radio Groups */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
}

.radio-option:hover {
    border-color: #ff0000;
    background-color: #f9f9f9;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #ff0000;
    background-color: #ff0000;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

/* Upload Section */
.upload-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.upload-group {
    text-align: center;
}

.upload-btn {
    display: block;
    padding: 20px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9f9f9;
    font-weight: bold;
    color: #333;
}

.upload-btn:hover {
    border-color: #ff0000;
    background-color: #fff;
}

.upload-btn input[type="file"] {
    display: none;
}

.file-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

/* Quantity Input */
.quantity-input {
    width: 100px;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.quantity-input:focus {
    border-color: #ff0000;
    outline: none;
}

/* Quotation Button */
.quotation-btn {
    background: #ff0000;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.quotation-btn:hover {
    background: #e60000;
    transform: translateY(-2px);
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .hero-banner {
       /* height: 300px;*/
        /* Disable parallax on mobile for better performance */
        background-attachment: scroll;
    }

    .desktop-hero {
        display: none;
    }

    .mobile-hero {
        display: block;
    }

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

    .custom-steps {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .custom-order-form {
        padding: 50px 0;
    }

    .upload-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .radio-group {
        flex-direction: column;
        gap: 15px;
    }

    .color-options {
        justify-content: center;
    }

    .quotation-btn {
        max-width: 100%;
    }
}
