/* UMUMIY SOZLAMALAR */
:root {
    --gold: #D4AF37;
    --dark: #2C2C2C;
    --text-main: #333;
    --text-light: #777;
    --bg-light: #f9f9f9;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-main);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* HEADER */
header {
    background-color: var(--dark);
    color: var(--white);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: #ccc;
    transition: 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
}

.lang-select {
    cursor: pointer;
    color: #ccc;
}

.mobile-toggle {
    display: none;
}

/* HERO SECTION (BANNER) */
.hero-section {
    position: relative;
    padding: 60px 0;
    background-image: url('./cfa1dd486dc7be75ea3ce5fa5ed3a6cf080e41f9.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    /* background: linear-gradient(90deg, #fdfbf7 50%, #fff 50%); Fonni 2 ga bo'lish */
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Orqa fon bezagi (to'lqin effekt imitatsiyasi) */
.hero-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
}

.hero-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Chap tomon (Matn) */
.hero-text {
    width: 45%;
}

.script-font {
    font-family: 'Great Vibes', cursive;
    font-size: 80px;
    font-weight: 400;
    line-height: 0.8;
    color: var(--text-main);
    margin-bottom: 20px;
}

.clean-font {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 300;
    display: block;
    margin-top: 10px;
    line-height: 1.2;
}

.hero-text p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
    max-width: 400px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-gold {
    background-color: #D4AF37;
    color: #fff;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-gray {
    background-color: #ccc;
    color: #333;
}

.btn:hover {
    transform: translateY(-3px);
}

/* O'ng tomon (Carousel) */
.hero-slider {
    width: 50%;
    position: relative;
    display: flex;
    align-items: center;
}

.slider-container {
    display: flex;
    gap: 20px;
    /* overflow: hidden; -> Javascript bilan siljitish uchun */
}

.slide {
    position: relative;
    transition: 0.5s ease;
}

.slide img {
    width: 300px;
    /* Asosiy rasm o'lchami */
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Aktiv slaydda hoshiya (ko'k ramka imitatsiyasi) */
.slide.active img {

    transform: scale(1.05);
}

.slide.next img {
    opacity: 0.6;
    transform: scale(0.9);
}
.mobilslider{
    display: none;
}

/* Rang tanlash doirachalari */
.color-options {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.color-options span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.slider-arrow {
    position: absolute;
    bottom: -40px;
    right: 50%;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gold);
    cursor: pointer;
}

/* VISUAL CATEGORIES (UY/OFIS) */
.visual-cats {
    padding: 60px 0;
}

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

.visual-card {
    position: relative;
    height: 350px;
    border-radius: 5px;
    overflow: hidden;
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

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

.script-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Great Vibes', cursive;
    font-size: 60px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ICONS SECTION */
.icon-cats {
    text-align: center;
    padding: 40px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 40px;
}

.icons-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #2F2F2F;
text-align: center;
font-family: Questrial;
font-size: 32px;
font-style: normal;
font-weight: 400;
line-height: 140%; /* 44.8px */
}

.icon-box {
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-main);
    transition: 0.3s;
}

.icon-item:hover .icon-box {
    border-color: var(--gold);
    color: var(--gold);
}

/* CATALOG */
.catalog {
    background: #fcfcfc;
    padding: 60px 0;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.filter-btn,
.sort-btn {
    padding: 8px 20px;
    background: #eee;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.clear-filter {
    color: var(--gold);
    font-size: 14px;
    margin-left: 15px;
    cursor: pointer;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    transition: 0.3s;
    padding-bottom: 15px;
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 320px;
    background: #eee;
    position: relative;
    overflow: hidden;
}

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

.badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--gold);
    font-size: 24px;
}

.badge-new img{
    width: 57px;
height: 49px;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    color: #2F2F2F;
font-family: Montserrat;
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 140%; /* 22.4px */
}

.sub-text {
    color: #FFB902;
font-family: Montserrat;
font-size: 16px;
font-style: normal;
font-weight: 300;
line-height: 140%; /* 22.4px */
}

.price {
    color: #2F2F2F;
font-family: Montserrat;
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 140%; /* 22.4px */
}

.price small {
    color: rgba(47, 47, 47, 0.70);
font-family: Montserrat;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 140%;
}

.colors {
    display: flex;
    gap: 5px;
}

.colors span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #eee;
}
.visual-card .script-title{
 
    border: 1px solid; /* border qalinligi */
   
    border-image-source: linear-gradient(290.42deg, #FFB902 0%, #FFFFFF 96.89%);
   
    border-image-slice: 1; /* muhim, gradientni border bo‘ylab to‘liq ko‘rsatadi */
    
    border-radius: 8px; 
   
    height:90%;
    width:90%;

    display:flex;
    align-items:center;
    justify-content:center
    
}
/* Modal oyna */
.filter-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.filter-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
}

/* FOOTER */
footer {
    background: var(--dark);
    color: #ccc;
    padding-top: 60px;
    font-size: 14px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}

.footer-logo {
    color: var(--gold);
    font-size: 20px;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    width: 35px;
    height: 35px;
    border: 1px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.socials a:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: #666;
}
.icons-grid{
    overflow: hidden;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-text,
    .hero-slider {
        width: 100%;
    }

    .hero-slider {
        margin-top: 40px;
        justify-content: center;
    }

    .hero-bg-decoration {
        width: 100%;
        height: 50%;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}
@media (max-width: 768px){
.mobilslider{
    display: block;

}
.desktop-slider{
    display: none;
}
}
@media (max-width: 600px) {
    .visual-grid {
        grid-template-columns: 1fr;
    }

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

    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
        font-size: 24px;
    }
}

.mySwiperss{
    overflow: hidden;
}
.mySwiperss .swiper-slide-next,.mySwiperss .swiper-slide-prev{
    transform:scale(0.8)
}
.mySwiperss .slide-content{
    position:relative;
}
.mySwiperss .color-container{
    position:absolute;
    bottom:10%;
    display:flex;
    flex-direction:column;
    
   
    
}
.mySwiperss .color-dot{
    width:30px;
    height:30px;
    border-radius:50%;   
    margin-bottom:10px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    color:#000;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
img{
    width:100%;
    height:auto
}


@media (max-width: 768px){
.mySwiperss .color-container{
    position:absolute;
    bottom:0%;
    display:flex;
    flex-direction: row;
    gap:10px;
    left:20%
    
   
    
}
.mySwiperss .color-dot{
    width:20px;
    height:20px;
    border-radius:50%;   
    margin-bottom:10px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    color:#000;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
}

}
#filterModal .color-options{
    position:static;
    flex-direction:row;
    margin:15px;
    flex-wrap:wrap;
}






