/* ================================================= */
/* Fundi HOME PAGE – MODERN & RESPONSIVE */
/* ================================================= */

/* ==================== GLOBAL ==================== */
main {
    width: 100%;
    overflow-x: hidden;
}

/* Section Titles */
.section-title {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #34aaff, #34aaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}
/* ==================== HERO SECTION (بدون سایه) ==================== */
.modern-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 550px;
}

/* همه اسلایدها بصورت absolute روی هم قرار می‌گیرن */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

/* فقط اسلاید active نمایش داده میشه */
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* سایه رو کامل حذف کردیم */
/* .modern-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(0,0,0,0.6) 0%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0) 100%);
    z-index: 3;
    pointer-events: none;
} */

/* caption - بدون سایه و با پس زمینه نیمه شفاف برای خوانایی بهتر */
.modern-caption {
    position: absolute;
    bottom: 15%;
    left: 5%;
    color: white;
    z-index: 4;
    max-width: 500px;
    pointer-events: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* فقط سایه متن برای خوانایی */
}

.modern-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modern-caption p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.shop-now {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.3);
}

.shop-now:hover {
    background: rgba(255,255,255,0.3);
    transform: translateX(5px);
}

/* دکمه‌های کنترلی */
.modern-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.3);
    pointer-events: auto;
}

.modern-control:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.modern-control.prev {
    left: 20px;
}

.modern-control.next {
    right: 20px;
}

/* ایندیکیتورها */
.modern-indicators {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 5;
    pointer-events: auto;
}

.modern-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
    pointer-events: auto;
}

.modern-indicators span.active {
    background: white;
    transform: scale(1.2);
    border-color: #34aaff;
}

.modern-indicators span:hover {
    background: white;
    transform: scale(1.2);
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .hero-slides {
        height: 600px;
        width: 100%;
    }

    .modern-caption h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-slides {
        height: 450px;
        width: 100%;
    }

    .modern-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .modern-caption h2 {
        font-size: 1.5rem;
    }

    .modern-caption p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-slides {
        height: 300px;
    }

    .modern-indicators {
        display: none;
    }

    .modern-caption {
        bottom: 10%;
    }

    .modern-caption h2 {
        font-size: 1.2rem;
    }

    .shop-now {
        padding: 5px 16px;
        font-size: 0.9rem;
    }
}

/* ==================== PRODUCTS ROW ==================== */
.products-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px 20px;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.products-row::-webkit-scrollbar {
    height: 8px;
}

.products-row::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.products-row::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.products-row::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Product Card */
.modern-card {
    flex: 0 0 auto;
    width: 260px;
    border-radius: 20px;
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.modern-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(37,99,235,0.25);
}

.modern-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: 0.6s ease;
}

.modern-card:hover .modern-img {
    transform: scale(1.08);
}

/* Product Text */
.product-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 6px;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-desc {
    font-size: 0.8rem;
    color: #6b7280;
    min-height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Price System */
.card-price-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.old-price {
    color: #ef4444;
    text-decoration: line-through;
    font-size: 0.8rem;
}

.final-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: #111827;
}

/* Badge */
.discount-badge-modern {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(239,68,68,0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 10px rgba(239,68,68,0.3); }
    50% { box-shadow: 0 4px 20px rgba(239,68,68,0.5); }
    100% { box-shadow: 0 4px 10px rgba(239,68,68,0.3); }
}

/* Buttons */
.modern-btn {
    border-radius: 12px;
    padding: 6px 12px;
    font-size: 0.85rem;
    background: linear-gradient(135deg, #34aaff, #7c3aed);
    border: none;
    transition: 0.3s;
}

.modern-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(37,99,235,0.4);
}

.view-all-link {
    text-decoration: none;
    font-weight: 500;
    color: #34aaff;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.view-all-link:hover {
    gap: 10px;
    color: #7c3aed;
}

.scroll-controls {
    display: flex;
    gap: 8px;
}

.btn-scroll-modern {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.btn-scroll-modern:hover {
    background: #34aaff;
    color: white;
    border-color: #34aaff;
    transform: scale(1.1);
}

/* Features Section */
.features-section {
    background: white;
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    margin-top: 40px;
}

.feature-card {
    text-align: center;
    padding: 20px;
}

.feature-card i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #34aaff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.feature-card h6 {
    font-weight: 600;
    margin-bottom: 5px;
    color: #34aaff;
}

.feature-card p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero-slides {
        aspect-ratio: 16/9;
    }

    .modern-caption h2 {
        font-size: 2rem;
    }

    .modern-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .hero-slides {
        aspect-ratio: 4/3;
    }

    .modern-caption {
        bottom: 10%;
    }

    .modern-caption h2 {
        font-size: 1.5rem;
    }

    .modern-caption p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .shop-now {
        padding: 6px 18px;
        font-size: 0.9rem;
    }

    .modern-control {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .modern-card {
        width: 220px;
    }

    .features-section {
        padding: 30px 15px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.3rem;
    }

    .hero-slides {
        aspect-ratio: 3/4;
    }

    .modern-caption {
        left: 20px;
        bottom: 20px;
    }

    .modern-caption h2 {
        font-size: 1.2rem;
    }

    .modern-caption p {
        font-size: 0.8rem;
        display: none;
    }

    .modern-indicators {
        display: none;
    }

    .modern-card {
        width: 180px;
    }

    .scroll-controls {
        display: none;
    }

    .features-section .row {
        row-gap: 20px;
    }

    .feature-card i {
        font-size: 2rem;
    }

    .feature-card h6 {
        font-size: 0.9rem;
    }

    .feature-card p {
        font-size: 0.75rem;
    }
}

@media (max-width: 400px) {
    .modern-card {
        width: 160px;
    }

    .final-price {
        font-size: 1rem;
    }
}

/* --- Base Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  /* --- Section Container --- */
  .services-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .services-container {
    max-width: 1200px;
    width: 100%;
  }
  
  /* --- Section Header --- */
  .services-header {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .services-header h2 {
    font-size: 2.0rem;
    color: #34aaff;
    margin-bottom: 15px;
    font-weight: 700;
  }
  
  .services-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .5);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
  }
  
  /* --- Responsive Layout Grid --- */
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  /* --- Service Card Box --- */
  .service-card {
    background-color: #ffffff;
    flex: 1 1 calc(33.333% - 20px);
    min-width: 290px;
    max-width: 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Hover Interaction: Box lifts off screen slightly */
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  }
  
  /* --- Image Box Wrapper --- */
  .service-image-box {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
  }
  
  .service-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  /* Hover Interaction: Zooms photo inside box boundary */
  .service-card:hover .service-image-box img {
    transform: scale(1.1);
  }
  
  /* --- Text Content Box --- */
  .service-content {
    padding: 25px;
  }
  
  .service-content h3 {
    font-size: 1.2rem;
    color: #34aaff;
    margin-bottom: 12px;
  }
  
  .service-content p {
    font-size: 0.95rem;
    color: #696969;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  
  /* --- Mobile Responsiveness --- */
  @media (max-width: 992px) {
    .service-card {
        flex: 1 1 calc(50% - 20px); /* 2 Columns on Medium screens */
    }
  }
  
  @media (max-width: 650px) {
    .services-header h2 {
        font-size: 2rem;
    }
    .service-card {
        flex: 1 1 100%; /* 1 Column on Mobile screens */
    }
  }

  /* ABOUT */
#about {
    background: #fff
  }
  
  .abt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center
  }
  
  .abt-img-wrap {
    position: relative
  }
  
  .abt-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    background: var(--bg3)
  }
  
  .abt-overlay {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--red);
    color: #fff;
    padding: 1.25rem 1.75rem;
    border-radius: 5px
  }
  
  .ao-n {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1
  }
  
  .ao-t {
    font-size: .65rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .85;
    margin-top: 3px
  }
  
  .abt-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem
  }
  
  .as {
    background: var(--bg3);
    padding: 1.2rem 1rem;
    border-radius: 5px;
    text-align: center
  }
  
  .as-n {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #34aaff;
    line-height: 1
  }
  
  .as-l {
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 3px
  }
  
  .abt-text p {
    font-size: 1.0rem;
    color: #696969;;
    line-height: 1.8;
    margin-bottom: 1.2rem
  }
  
  .abt-addr {
    background: var(--bg3);
    border-left: 3px solid #34aaff;
    padding: 1.4rem 1.5rem;
    border-radius: 0 5px 5px 0;
    margin-top: 2rem
  }
  
  .aa-lbl {
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #34aaff;
    font-weight: 600;
    margin-bottom: .65rem
  }
  
  .aa-txt {
    font-size: .86rem;
    color: var(--text);
    line-height: 1.8
  }
  
  .aa-txt a {
    color: #34aaff;
    text-decoration: none;
    font-weight: 600
  }

  .sh {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: capitalize;
    line-height: .93;
    letter-spacing: .02em;
    color: #34aaff;
    margin-bottom: 1.2rem
  }

  .partners-slider {
    overflow: hidden;
    position: relative;
  }
  .partners-track {
    display: flex;
    width: max-content; /* Ensure container spans full row length */
    animation: slide linear infinite 25s;
  }
  .partner-logo {
    padding: 0 40px;
  }
  .partner-logo img {
    filter: grayscale(100%);
    transition: all 0.3s ease;
  }
  .partner-logo img:hover {
    filter: grayscale(0%);
  }
  .partners-slider:hover .partners-track {
    animation-play-state: paused;
  }
  @keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves by half the track width */
  }

  
 /* RESPONSIVE */
@media(max-width:1100px) {
    .ft {
      grid-template-columns: 1fr 1fr
    }
  
    .abt-grid {
      grid-template-columns: 1fr;
      gap: 3rem
    }
  
    .enq-g {
      grid-template-columns: 1fr;
      gap: 3rem
    }
  }
  
  @media(max-width:900px) {
    .nl {
      display: none
    }
  
    .ham {
      display: flex
    }
  
    .bk,
    .bk.flip {
      grid-template-columns: 1fr;
      direction: ltr
    }
  
    .bkimg {
      min-height: 240px
    }
  
    .bkinfo {
      padding: 2rem 1.75rem
    }
  
    section {
      padding: 4rem 5%
    }
  
    #bikes {
      padding: 4rem 5%
    }
  
    #enq {
      padding: 4rem 5%
    }
  
    .why-g {
      grid-template-columns: 1fr 1fr
    }
  
    .ft {
      grid-template-columns: 1fr 1fr
    }
  }
  
  @media(max-width:600px) {
    .why-g {
      grid-template-columns: 1fr
    }
  
    .frow {
      grid-template-columns: 1fr
    }
  
    .ft {
      grid-template-columns: 1fr
    }
  
    .ss {
      gap: 1.5rem
    }
  
    .hh1 {
      font-size: 2.2rem
    }
  } 