
/* ------Fonts----- */
@font-face {
    font-family: "IRANYekan";
    font-weight: lighter;
    src: url("../fonts/IRANYekanLight\(FaNum\).ttf") format("ttf");
    src: url("../fonts/iranyekanweblight.eot") format("eot");
    src: url("../fonts/iranyekanweblight.woff") format("woff");
}

@font-face {
    font-family: "IRANYekan";
    font-weight: bold;
    src: url("../fonts/iranyekanwebbold.ttf") format("ttf");
    src: url("../fonts/iranyekanwebbold.eot") format("eot");
    src: url("../fonts/iranyekanwebbold.woff") format("woff");
} 
 /* ===== استایل‌های پایه ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'IRANYekan', 'Segoe UI', system-ui, -apple-system, sans-serif;
        }

        body {
            background: linear-gradient(145deg, #F6FBFF 0%, #EEF8FD 40%, #E2F2FA 100%);
            min-height: 200vh;
            color: #1a2e3f;
            scroll-behavior: smooth;
        }

        ::-webkit-scrollbar {
            width: 6px;
        }
        ::-webkit-scrollbar-track {
            background: #dce9f2;
        }
        ::-webkit-scrollbar-thumb {
            background: #8ecae6;
            border-radius: 20px;
        }

        .container {
            max-width: 1440px;
            margin: 0 auto;
            padding: 2rem 4rem;
            position: relative;
        }

        /* ===== هدر ===== */
        .header-image {
            width: 100%;
            border-radius: 40px;
            overflow: hidden;
        }

        .header-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* ===== بخش دماسنج ===== */
        .thermometer-section {
		  display: flex;
		  flex-direction: column;
		  justify-content: center;
		  align-items: center;
		  position: sticky;
		  top: 0;
		  z-index: 99;
		  width: 20%;
		  float: left;
		  max-width: 150px;
		}

        .thermometer-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            backdrop-filter: blur(2px);
            width: 100%;
            position: relative;
        }

        .thermometer-image-wrapper {
            width: 120px;
            height: 500px;
            position: relative;
            display: flex;
            justify-content: center;
        }

        .thermometer-image-wrapper img {
            height: 100%;
            width: auto;
            object-fit: contain;
            filter: drop-shadow(0 10px 30px rgba(2, 115, 229, 0.15));
        }

        .mercury-overlay {
            position: absolute;
            bottom: 19.2%;
            left: 50%;
            transform: translateX(-50%);
            width: 10%;
            height: 90%;
            border-radius: 20px 20px 10px 10px;
            transition: height 0.2s ease, background 0.3s ease, box-shadow 0.3s ease;
            opacity: 0.85;
            z-index: 2;
            background: #e53935;
            box-shadow: 0 0 40px rgba(229, 57, 53, 0.4);
        }

        .temp-label {
            margin-top: 5px;
            font-size: 1.5rem;
            font-weight: 300;
            background: linear-gradient(135deg, #1a4b66, #3c7b9e);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 40px rgba(0, 119, 255, 0.08);
            backdrop-filter: blur(2px);
            padding: 0 20px;
            z-index: 5;
            position: relative;
        }

        .temp-unit {
            font-size: 1rem;
            font-weight: 200;
            -webkit-text-fill-color: #5a8aa8;
            margin-left: 8px;
        }

        .discount-badge {
            margin-top: 5px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  padding: 10px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  font-weight: 300;
  color: #1e5a7a;
  box-shadow: 0 10px 30px rgba(0, 40, 70, 0.06);
  transition: opacity 0.4s;
  opacity: 0;
  z-index: 5;
  position: relative;
  direction: rtl;
        }

        .discount-badge.show {
            opacity: 1;
        }

        /* ===== ذرات شناور ===== */
        .floating-particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            poIRANYekan-events: none;
            z-index: 1;
            overflow: hidden;
        }
        .particle {
            position: absolute;
            background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(180, 230, 255, 0.03) 80%);
            border-radius: 50%;
            filter: blur(2px);
            animation: floatParticle 18s infinite alternate ease-in-out;
        }
        @keyframes floatParticle {
            0% { transform: translate(0, 0) scale(1); opacity: 0.15; }
            100% { transform: translate(30px, -80px) scale(1.4); opacity: 0.4; }
        }

        /* ===== هیرو ===== */
        .hero {
            position: relative;
            z-index: 10;
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
            text-align: center;
            poIRANYekan-events: none;
        }

        .hero h1 {
            font-size: 2rem;
            font-weight: 300;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #1a3b4f, #3c7b9e);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 0.2rem;
        }

        .hero .sub {
            font-size: 1rem;
            font-weight: 300;
            color: #3f6b84;
            background: rgba(255,255,255,0.3);
            backdrop-filter: blur(6px);
            display: inline-block;
            padding: 0.3rem 1.8rem;
            border-radius: 60px;
            border: 1px solid rgba(255,255,255,0.3);
        }

        /* ===== دسته‌بندی محصولات ===== */
        .category-section {
            position: relative;
            z-index: 10;
            margin: 3rem 0 4rem;
            direction: ltr;
            text-align: left;
        }

        .category-header {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid rgba(100, 180, 210, 0.15);
            direction: ltr;
        }

        .category-title {
            font-size: 2rem;
            font-weight: 300;
            letter-spacing: 1px;
            color: #1a4b66;
            order: 1;
            text-align: right;
            flex: 1;
        }

        /* ===== برچسب تخفیف با کادر و سایه ===== */
        .category-temp {
            font-size: 1.1rem;
            font-weight: 500;
            color: #1a4b66;
            background: rgba(255, 255, 255, 0.4);
            backdrop-filter: blur(8px);
            padding: 0.5rem 1.5rem;
            border-radius: 60px;
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 8px 25px -6px rgba(0, 40, 70, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
            order: 0;
            margin-left: 0;
            text-align: left;
            flex-shrink: 0;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            font-family: 'IRANYekan', 'Segoe UI', system-ui, sans-serif;
        }

        .category-temp:hover {
            background: rgba(255, 255, 255, 0.6);
            box-shadow: 0 12px 30px -8px rgba(0, 40, 70, 0.12);
            transform: translateY(-2px);
        }

        .product-scroll {
            display: flex;
            gap: 1.8rem;
            overflow-x: auto;
            padding: 1rem 0.5rem 2rem;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            direction: rtl;


        }

        .product-scroll::-webkit-scrollbar {
            height: 4px;
        }
        .product-scroll::-webkit-scrollbar-track {
            background: rgba(200, 225, 245, 0.2);
            border-radius: 10px;
        }
        .product-scroll::-webkit-scrollbar-thumb {
            background: #8ecae6;
            border-radius: 10px;
        }

        .product-card {
            min-width: 220px;
            max-width: 220px;
            flex: 0 0 auto;
            background: rgba(255, 255, 255, 0.35);
            backdrop-filter: blur(12px) saturate(180%);
            -webkit-backdrop-filter: blur(12px) saturate(180%);
            border-radius: 32px;
            padding: 1.5rem 1.5rem 1.8rem;
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 20px 50px -15px rgba(0, 40, 70, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
            transition: transform 0.25s ease, box-shadow 0.3s;
            poIRANYekan-events: auto;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .product-card:hover {
            transform: translateY(-6px) scale(1.02);
            box-shadow: 0 30px 60px -15px rgba(0, 80, 130, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
            background: rgba(255, 255, 255, 0.5);
        }

        .product-image {
            width: 100%;
            aspect-ratio: 1 / 1;
            background: radial-gradient(circle at 20% 30%, #e6f4fa, #c5dde9);
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            box-shadow: inset 0 0 40px rgba(255,255,255,0.3);
        }

        .product-image img {
            width: 80%;
            height: 80%;
            object-fit: contain;
            filter: drop-shadow(0 10px 20px rgba(0, 30, 50, 0.08)) brightness(1.02);
            transition: 0.3s;
        }

        .product-card:hover .product-image img {
            transform: scale(1.05);
            filter: drop-shadow(0 20px 30px rgba(0, 50, 80, 0.1)) brightness(1.05);
        }

        .product-title {
            font-size: 1.2rem;
            font-weight: 400;
            color: #1c3d52;
            margin-bottom: 0.5rem;
        }

        .view-all-btn {
  display: inline-block;
  padding: 0.6rem 0.6rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 40px;
  color: #1a4b66;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
}

        .view-all-btn:hover {
            background: rgba(255, 255, 255, 0.5);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px -8px rgba(0, 40, 70, 0.15);
        }

        .view-all-btn i {
           margin-left: 8px;
  float: left;
  margin-top: 2px;
        }

        /* ===== خدمات ایران تایمر ===== */
        .services-section {
            position: relative;
            z-index: 10;
            margin: 4rem 0 2rem;
            padding: 3.5rem 3rem;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(16px);
            border-radius: 60px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 30px 60px -20px rgba(0, 40, 70, 0.06);
            direction: rtl;
        }

        .services-title {
            font-size: 2.2rem;
            font-weight: 300;
            letter-spacing: 2px;
            color: #1a4b66;
            margin-bottom: 2.5rem;
            text-align: center;
            direction: ltr;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 1.5rem;
        }

        .service-item {
            text-align: center;
            padding: 1.2rem 0.8rem;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 28px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.3rem;
        }

        .service-item:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-4px);
        }

        .service-item i {
            font-size: 1.8rem;
            color: #3c7b9e;
            margin-bottom: 0.2rem;
        }

        .service-item h4 {
            font-size: 0.95rem;
            font-weight: 400;
            color: #1a3b4f;
        }

        /* ===== پیام نهایی ===== */
        .final-message {
            text-align: center;
            padding: 4rem 2rem;
            margin: 3rem auto 2rem;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(20px);
            border-radius: 80px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 30px 60px -20px rgba(0, 40, 70, 0.06);
            max-width: 850px;
            opacity: 0;
            transform: translateY(40px);
            transition: all 1s cubic-bezier(0.15, 0.85, 0.3, 1);
        }

        .final-message.show {
            opacity: 1;
            transform: translateY(0);
        }

        .final-message h2 {
            font-size: 3.5rem;
            font-weight: 200;
            letter-spacing: 4px;
            background: linear-gradient(135deg, #1f6b8a, #6bb3d6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .final-message p {
            font-size: 1.1rem;
            color: #2b5c78;
            margin-top: 1rem;
            font-weight: 300;
            letter-spacing: 1px;
        }

        /* ===== فوتر ===== */
        .footer-section {
            position: relative;
            z-index: 10;
            margin: 4rem 0 1rem;
            padding: 3rem 2rem 2rem;
            text-align: center;
            border-top: 1px solid rgba(100, 180, 210, 0.15);
        }

        .footer-text {
            font-size: 1.3rem;
            font-weight: 500;
            color: #1a3b4f;
            letter-spacing: 0.5px;
            margin-bottom: 1.5rem;
            line-height: 1.8;
            text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
        }

        .footer-contact {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 2.5rem;
            flex-wrap: wrap;
            margin-bottom: 1.5rem;
            font-size: 1rem;
            color: #1a4b66;
        }

        .footer-contact a {
            color: #1a4b66;
            text-decoration: none;
            transition: color 0.3s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .footer-contact a:hover {
            color: #0273e5;
        }

        .footer-contact i {
            font-size: 1.1rem;
            color: #3c7b9e;
        }

        .footer-social {
            display: flex;
            justify-content: center;
            gap: 1.8rem;
            flex-wrap: wrap;
        }

        .footer-social a {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #1a4b66;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 300;
            transition: all 0.3s;
            padding: 0.4rem 1rem;
            border-radius: 40px;
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .footer-social a:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
            color: #0273e5;
        }

        .footer-social a i {
            font-size: 1.2rem;
        }

        /* ===== ریسپانسیو ===== */
        @media (max-width: 768px) {
            .container { padding: 1.5rem; }
            .header-image { border-radius: 10px; }
            .header-image img { max-height: 200px; }
            .temp-label { font-size: 1.2rem; }
            .thermometer-image-wrapper { width: 80px; height: 350px; }
            .category-title { font-size: 0.9rem; }
            .category-temp { font-size: 0.9rem; padding: 0.4rem 1rem; }
            .product-card { min-width: 180px; max-width: 180px; padding: 1rem; }
            .services-section { padding: 2rem 1.5rem; }
            .services-grid { grid-template-columns: repeat(2, 1fr); }
            .final-message h2 { font-size: 1.1rem; }
            .hero h1 { font-size: 1.5rem; }
            .hero .sub{font-size: 0.7rem;}
            .footer-contact { gap: 1.2rem; flex-direction: column; }
            .footer-social { gap: 0.8rem; }
            .footer-text { font-size: 1.1rem; }
            .final-message p {
    font-size: 0.9rem;}
        }

        @media (max-width: 480px) {
            .services-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
            .product-card { min-width: 160px; max-width: 160px; padding: 0.8rem; }
            .header-image img { max-height: 150px; }
            .category-header { flex-wrap: wrap; gap: 0.5rem; }
            .category-temp { margin-left: 0; }
            .view-all-btn { font-size: 0.7rem;
    padding: 0.4rem 0.5rem; }
            .thermometer-image-wrapper { width: 60px; height: 280px; }
            .footer-text { font-size: 1rem; }
            .service-item { padding: 0.8rem 0.5rem; }
            .service-item i { font-size: 1.4rem; }
            .service-item h4 { font-size: 0.8rem; }
        }

.service-item a,.final-message a{
  text-decoration: none;
}

.product-scroll:after {
    content: "\f060"; /* fa-arrow-left */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    bottom: 30px;
    left: 0; /* top-right corner of the scroll container */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    color: #1a4b66;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 20px rgba(0, 40, 70, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    pointer-events: auto; /* makes the pseudo-element clickable */
}

.product-scroll:after:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(0, 40, 70, 0.15);
}