@font-face {
    font-family: "Vazir";
    src: url("assets/path/to/Vazir.woff2") format("woff2"),
         url("assets/path/to/Vazir.woff") format("woff")
}
:root{
    --green:#2E7D32;
    --green-light:#E9F7EF;
    --green-dark:#1B5E20;
    --white:#ffffff;
    --text:#2b2b2b;
    --muted:#666;
    --border:#e3e3e3;
    --shadow:0 10px 30px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
    font-family: 'Vazir', sans-serif;
    margin:0;
    background:var(--green-light);
    color:var(--text);
}

a{text-decoration:none}

.header{
    background:linear-gradient(135deg,var(--green),var(--green-dark));
    color:#fff;
    padding:14px 22px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:var(--shadow);
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:700;
}

.logo-badge{
    width:36px;
    height:36px;
    border-radius:50%;
    background:#fff;
    color:var(--green-dark);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
}

.nav{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.nav a{
    color:#fff;
    font-weight:700;
}

.hero{
    max-width:1200px;
    margin:0 auto;
    padding:40px 20px;
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:24px;
    align-items:center;
}

.hero-text, .hero-slider, .feature-card, .product-card, .about, .details-section, .product-info{
    background:var(--white);
    border-radius:18px;
    box-shadow:var(--shadow);
}

.hero-text{
    padding:28px;
    animation:fadeUp .8s ease;
}

.hero-text h1{
    margin-top:0;
    font-size:2rem;
    line-height:1.6;
}

.hero-text p{
    color:var(--muted);
    line-height:1.9;
}

.hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:18px;
}

.btn{
    padding:12px 18px;
    border-radius:12px;
    font-weight:700;
    display:inline-block;
}

.btn-primary{
    background:var(--green);
    color:#fff;
}

.btn-secondary{
    background:#fff;
    color:var(--green-dark);
    border:1px solid var(--border);
}

.slider-frame{
    position:relative;
    overflow:hidden;
    border-radius:18px;
}

.slider-frame img{
    width:100%;
    display:block;
    aspect-ratio: 1 / 1;
    object-fit:cover;
    transition:opacity .5s ease, transform .5s ease;
}

.slide-badge{
    position:absolute;
    top:14px;
    left:14px;
    background:rgba(27,94,32,.9);
    color:#fff;
    padding:8px 12px;
    border-radius:999px;
    font-size:.9rem;
}

.features{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px 20px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.feature-card{
    padding:20px;
}

.feature-card h3, .products h2, .about h2, .details-section h2{
    margin-top:0;
}

.products{
    max-width:1200px;
    margin:0 auto;
    padding:20px;
}

.product-grid{
    margin-bottom: 30px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.product-card{
    padding:16px;
    color:inherit;
    transition:transform .25s ease;
}

.product-card:hover{transform:translateY(-4px)}

.product-card img{
    width:100%;
    aspect-ratio: 1 / 1;
    object-fit:cover;
    border-radius:14px;
}

.view-link{
    display:inline-block;
    margin-top:10px;
    color:var(--green-dark);
    font-weight:700;
}

.about, .details-section{
    max-width:1200px;
    margin:20px auto;
    padding:24px;
    line-height:1.95;
}

.product-page{
    max-width:1200px;
    margin:0 auto;
    padding:24px 20px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
    align-items:start;
}

.product-gallery{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.thumbs{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.thumbs img{
    width:88px;
    height:88px;
    object-fit:cover;
    border-radius:12px;
    cursor:pointer;
    border:2px solid transparent;
}

.thumbs img:hover{
    border-color:var(--green);
}

.product-info{
    padding:24px;
}

.product-info h1{
    margin-top:0;
    font-size:1.7rem;
}

.subtitle{
    color:var(--muted);
}

.spec-box{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin:20px 0;
}

.spec-box > div{
    background:#f8f8f8;
    padding:12px;
    border-radius:12px;
    border:1px solid var(--border);
}

.order-btn{
    width:100%;
    border:none;
    background:var(--green-dark);
    color:#fff;
    padding:16px;
    border-radius:14px;
    font-size:1.05rem;
    font-weight:700;
    cursor:pointer;
}

.mini-note{
    margin-top:10px;
    color:var(--muted);
    font-size:.95rem;
}

.footer{
    margin-top:30px;
    background:linear-gradient(135deg,var(--green),var(--green-dark));
    color:#fff;
    text-align:center;
    padding:26px 20px;
}

.phone{
    font-size:1.2rem;
    font-weight:700;
}

.button__float {
    position: fixed;
    bottom: 20px;
    right: 10px;
    cursor: pointer;
    border-radius: 10px;
    z-index: 998;
}
.ble-btn{
animation: phone-blink 6s infinite;
}
.ble-btn img{
    width: 50px;
    height: 50px;
}

.slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    border:none;
    background:rgba(255,255,255,.85);
    color:#111;
    width:42px;
    height:42px;
    border-radius:50%;
    cursor:pointer;
    font-size:1.4rem;
    font-weight:700;
}

.slider-btn.prev{right:12px;}
.slider-btn.next{left:12px;}

@keyframes fadeUp{
    from{opacity:0; transform:translateY(14px)}
    to{opacity:1; transform:translateY(0)}
}

@media (max-width: 900px){
    .hero, .product-page, .product-grid, .features{
        grid-template-columns:1fr;
    }
    .spec-box{
        grid-template-columns:1fr;
    }
    .nav{
        gap:10px;
        font-size:.95rem;
    }
}

@media (max-width: 600px){
    .hero-text h1{
        font-size:1.55rem;
    }
    .header{
        flex-direction:column;
        gap:10px;
    }
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: center;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: 0.3s ease;
    white-space: nowrap;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}
.page-content {
    padding: 40px 0 60px;
}

.page-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    line-height: 2;
}

.page-card h1 {
    margin-bottom: 16px;
    color: #1b5e20;
    font-size: 28px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 450px;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    animation: popup 0.3s ease;
}

@keyframes popup {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 28px;
    cursor: pointer;
}

.ble-id {
    margin: 15px 0;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 10px;
    font-weight: bold;
    font-size: 18px;
}

.send-message-btn {
    display: inline-block;
    background: #16681f;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 10px;
    margin-top: 10px;
    transition: 0.3s;
}

.send-message-btn:hover {
    opacity: 0.9;
}