/* Custom CSS to replace Tailwind classes */

/* Font Face Definitions */
@font-face {
    font-family: "Segoe UI";
    src: url("segoeuithis.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Segoe UI";
    src: url("segoeuithibd.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

/* Reset and base styles */
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-feature-settings: normal;
    font-family: "Segoe UI", Figtree, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
        sans-serif;
    line-height: 1.6;
}

/* Background colors */
.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-white {
    background-color: #ffffff;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

/* Gate Section Base Styles */
.gate-section {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

.gate-container {
    width: 100%;
    max-width: 1173px;
    margin: 0 auto;
}

/* About Section Styles */
.about-section {
    padding-top: 60px;
    padding-left: 10px;
    padding-right: 10px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}

/* Image positioning variants */
.about-grid.image-right {
    grid-template-columns: 1.5fr 1fr;
}

.about-grid.image-left {
    grid-template-columns: 1fr 1.5fr;
}

.about-grid-item-img-wrap {
    padding-bottom: 73%;
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 12px;
}

.about-grid-item-img-wrap img {
    height: 100%;
    width: 100%;
    position: absolute;
    border-radius: 12px;
    object-fit: cover;
}

.about-grid-item {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background-color: #f7f5f4;
    padding: 32px 15px;
    border-radius: 12px;
}

/* Featured Collections Styles */
.featured-collections {
    padding-top: 116px;
    padding-bottom: 30px;
    position: relative;
}

.featured-collections__container {
    position: relative;
}

.featured-collections__heading {
    padding-bottom: 40px;
}

.featured-collections__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
}

.featured-collections__grid-item {
    position: relative;
}

.featured-collection__img-wrap {
    padding-bottom: 37%;
    height: 100%;
    width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.featured-collection__img-wrap img {
    height: 100%;
    width: 100%;
    position: absolute;
    object-fit: cover;
    border-radius: 12px;
}

.featured-collections__img-content__wrap {
    position: relative;
}

.featured-collections__img-content__wrap::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    border-radius: 12px;
    pointer-events: none;
}

.featured-collections__img-content__wrap img {
    border-radius: 12px;
    object-fit: cover;
}

.featured-collections__folding-gate__img-wrap {
    padding-bottom: 75%;
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 12px;
}

.featured-collections__folding-gate__img-wrap::after {
    display: none;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    border-radius: 12px;
    pointer-events: none;
}

.featured-collections__folding-gate__img-wrap img {
    height: 100%;
    width: 100%;
    position: absolute;
    object-fit: cover;
    border-radius: 12px;
}

/* Explore Products Styles */
.explore-product__section {
    padding-top: 116px;
    padding-left: 10px;
    padding-right: 10px;
}

.explore-product__explore-heading__and-viwall {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 48px;
}

/* Swiper Container Styles */
.products-swiper {
    width: 100%;
    overflow: visible;
    position: relative;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.swiper-slide {
    flex-shrink: 0;
    width: calc(25% - 15px);
}

/* Responsive Swiper slides */
@media (max-width: 1024px) {
    .swiper-slide {
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .swiper-slide {
        width: calc(50% - 7.5px);
    }
}

@media (max-width: 376px) {
    .swiper-slide {
        width: calc(100% - 5px);
    }
}

/* Swiper navigation - hide default buttons */

.swiper-button-next:after,
.swiper-button-prev:after {
    display: none !important;
}

/* Testimonials Swiper Styles */
.testimonials-swiper {
    width: 100%;
    overflow: visible;
    position: relative;
}

.testimonials-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.testimonials-swiper .swiper-slide {
    flex-shrink: 0;
    width: calc(33.333% - 20px);
    margin-right: 30px;
}

/* Responsive Testimonials Swiper slides */
@media (max-width: 1024px) {
    .testimonials-swiper .swiper-slide {
        width: calc(50% - 15px);
    }
}

@media (max-width: 376px) {
    .testimonials-swiper .swiper-slide {
        width: calc(100% - 10px);
    }
}

.explore-product__product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 10px;
}

.explore-product__product-img__wrap {
    padding-bottom: 108%;
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 12px;
}

.explore-product__product-img__wrap img {
    height: 100%;
    width: 100%;
    position: absolute;
    border-radius: 8px;
    object-fit: cover;
}

.explore-product__product-content h5 {
    max-width: 19ch;
}

.explore-product__product-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.explore-product__product-card a {
    text-decoration: none;
    color: inherit;
}

.explore-product__product-card a:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.explore-product__product-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.explore-product__products-arrow {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 20px;
}

.explore-product__products-arrow-left,
.explore-product__products-arrow-right {
    cursor: pointer;
}

.explore-product__products-arrow-left.swiper-button-disabled,
.explore-product__products-arrow-right.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Responsive styles */
@media (max-width: 768px) {
    .explore-product__product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .about-grid.image-right,
    .about-grid.image-left {
        grid-template-columns: 1fr;
    }

    .about-grid.image-right .about-grid-item2 {
        order: 1;
    }

    .about-grid.image-right .about-grid-item {
        order: 2;
    }

    .featured-collections__grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .featured-collection__img-wrap {
        padding-bottom: 75%;
    }

    .featured-collection__content {
        padding: 16px 20px;
    }
}

@media (max-width: 376px) {
    .explore-product__product-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.bg-gray-800 {
    background-color: #1f2937;
}

.bg-gray-900 {
    background-color: #111827;
}

.bg-red-50 {
    background-color: #fef2f2;
}

.bg-red-800 {
    background-color: #991b1b;
}

/* Text colors */
.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-900 {
    color: #111827;
}

.text-white {
    color: #ffffff;
}

.text-red-500 {
    color: #ef4444;
}

/* Layout */
.min-h-screen {
    min-height: 100vh;
}

.max-w-7xl {
    max-width: 80rem;
}

.max-w-md {
    max-width: 28rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.p-6 {
    padding: 1.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.mx-6 {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

/* Flexbox */
.flex {
    display: flex;
}

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

.items-center {
    align-items: center;
}

.self-center {
    align-self: center;
}

/* Grid */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* Text alignment */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/* Typography */
.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.font-extrabold {
    font-weight: 800;
}

.font-semibold {
    font-weight: 600;
}

.leading-relaxed {
    line-height: 1.625;
}

/* Sizing */
.h-16 {
    height: 4rem;
}

.w-16 {
    width: 4rem;
}

.h-7 {
    height: 1.75rem;
}

.w-7 {
    width: 1.75rem;
}

.h-6 {
    height: 1.5rem;
}

.w-6 {
    width: 1.5rem;
}

.w-auto {
    width: auto;
}

/* Borders and shadows */
.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Positioning */
.relative {
    position: relative;
}

.fixed {
    position: fixed;
}

.top-0 {
    top: 0;
}

.right-0 {
    right: 0;
}

.z-10 {
    z-index: 10;
}

/* Transforms and transitions */
.scale-100 {
    transform: scale(1);
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.shrink-0 {
    flex-shrink: 0;
}

/* Stroke colors */
.stroke-red-500 {
    stroke: #ef4444;
}

.stroke-gray-400 {
    stroke: #9ca3af;
}

/* Text decoration */
.underline {
    text-decoration: underline;
}

/* Focus styles */
.focus\:outline:focus {
    outline-style: solid;
}

.focus\:outline-2:focus {
    outline-width: 2px;
}

.focus\:outline-red-500:focus {
    outline-color: #ef4444;
}

.focus\:rounded-sm:focus {
    border-radius: 0.125rem;
}

/* Hover styles */
.hover\:text-gray-900:hover {
    color: #111827;
}

.hover\:text-gray-700:hover {
    color: #374151;
}

.hover\:text-white:hover {
    color: #ffffff;
}

/* Responsive design */
@media (min-width: 640px) {
    .sm\:flex {
        display: flex;
    }

    .sm\:fixed {
        position: fixed;
    }

    .sm\:top-0 {
        top: 0;
    }

    .sm\:right-0 {
        right: 0;
    }

    .sm\:justify-center {
        justify-content: center;
    }

    .sm\:items-center {
        align-items: center;
    }

    .sm\:justify-between {
        justify-content: space-between;
    }

    .sm\:text-left {
        text-align: left;
    }

    .sm\:text-right {
        text-align: right;
    }

    .sm\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .sm\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .sm\:ml-0 {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }

    .md\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .md\:max-w-3xl {
        max-width: 48rem;
    }

    .md\:mt-5 {
        margin-top: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .lg\:gap-8 {
        gap: 2rem;
    }

    .lg\:p-8 {
        padding: 2rem;
    }

    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    .dark\:bg-gray-900 {
        background-color: #111827;
    }

    .dark\:bg-gray-800\/50 {
        background-color: rgba(31, 41, 55, 0.5);
    }

    .dark\:bg-red-800\/20 {
        background-color: rgba(153, 27, 27, 0.2);
    }

    .dark\:text-white {
        color: #ffffff;
    }

    .dark\:text-gray-400 {
        color: #9ca3af;
    }

    .dark\:hover\:text-white:hover {
        color: #ffffff;
    }

    .dark\:ring-1 {
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    }

    .dark\:ring-inset {
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    }

    .dark\:shadow-none {
        box-shadow: none;
    }
}

/* Motion preferences */
@media (prefers-reduced-motion: no-preference) {
    .motion-safe\:hover\:scale-\[1\.01\]:hover {
        transform: scale(1.01);
    }
}

/* Selection styles */
.selection\:bg-red-500 *::selection {
    background-color: #ef4444;
}

.selection\:text-white *::selection {
    color: #ffffff;
}

.selection\:bg-red-500::selection {
    background-color: #ef4444;
}

.selection\:text-white::selection {
    color: #ffffff;
}

/* Background patterns */
.bg-dots-darker {
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.22676 0C1.91374 0 2.45351 0.539773 2.45351 1.22676C2.45351 1.91374 1.91374 2.45351 1.22676 2.45351C0.539773 2.45351 0 1.91374 0 1.22676C0 0.539773 0.539773 0 1.22676 0Z' fill='rgba(0,0,0,0.07)'/%3E%3C/svg%3E");
}

/* Alert Styles */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.4;
}

.alert-info {
    background-color: #e1f5fe;
    border: 1px solid #81d4fa;
    color: #01579b;
}

.alert-sign {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #29b6f6;
    color: white;
    font-size: 12px;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}

.alert-text {
    flex: 1;
}

.bg-center {
    background-position: center;
}

.from-gray-700\/50 {
    background: linear-gradient(to bottom left, rgba(55, 65, 81, 0.5));
}

.via-transparent {
    background: linear-gradient(to bottom left, transparent);
}

@media (prefers-color-scheme: dark) {
    .dark\:bg-dots-lighter {
        background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.22676 0C1.91374 0 2.45351 0.539773 2.45351 1.22676C2.45351 1.91374 1.91374 2.45351 1.22676 2.45351C0.539773 2.45351 0 1.91374 0 1.22676C0 0.539773 0.539773 0 1.22676 0Z' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E");
    }

    .dark\:bg-gradient-to-bl {
        background-image: linear-gradient(
            to bottom left,
            var(--tw-gradient-stops)
        );
    }
}
