
/*
Theme Name: ranptheme
Theme URI: https://ranp.ir
Author: Nadia Golboo
Author URI: https://viradmarket.ir
Description: قالب اختصاصی
Version: 1.0
Text Domain: ranp.ir
*/
/* ========================================
   1. Reset & Base Styles
======================================== */


@font-face{
    font-family:"iransans";
    src:url("assets/fonts/iransans.woff2") format("woff2"),
    url("assets/fonts/iransans.woff") format("woff"),
    url("assets/fonts/iransans.eot") format("eot"),
    url("assets/fonts/iransans.ttf") format("ttf");
    font-weight:200;
    font-display:swap;
}

@font-face{
    font-family: "PINAR-DS1-BLACK";
    src: url("assets/fonts/FontPinar/PINAR-DS1-BLACK.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: "PINAR-DS1-BOLD";
    src: url("assets/fonts/FontPinar/PINAR-DS1-BOLD.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: "PINAR-DS1-EXTRABOLD";
    src: url("assets/fonts/FontPinar/PINAR-DS1-EXTRABOLD.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: "PINAR-DS1-LIGHT";
    src: url("assets/fonts/FontPinar/PINAR-DS1-LIGHT.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: "PINAR-DS1-MEDIUM";
    src: url("assets/fonts/FontPinar/PINAR-DS1-MEDIUM.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: "PINAR-DS1-REGULAR";
    src: url("assets/fonts/FontPinar/PINAR-DS1-REGULAR.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: "PINAR-DS1-SEMIBOLD";
    src: url("assets/fonts/FontPinar/PINAR-DS1-SEMIBOLD.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PINAR-DS1-LIGHT', 'Tahoma', sans-serif;
    background-color: #f5f7fa;
    direction: rtl;
}

/* Header Styles */
header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text h1 {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 700;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #4b5563;
    font-size: 15px;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: #2563eb;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6b7280;
    cursor: pointer;
}

.btn-login {
    background: #2563eb;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-login:hover {
    background: #1e40af;
}

/* Hero Section */
.hero {
    /*background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);*/
    padding: 80px 0;
    margin-top: 20px;
    border-radius: 20px;
    background:url("assets/images/hero.png") left / cover no-repeat;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-text h2 {
    font-size: 42px;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-text p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-primary {
    background: #22c55e;
    color: white;
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #16a34a;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Features Section */
.features {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #eff6ff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
}

/* Stats Section */
.stats {
    padding: 40px 0;
}

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

.stat-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: #f0fdf4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
}

.stat-sublabel {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 5px;
}

/* Services Section */
.services {
    padding: 60px 0;
    background: white;
    margin-top: 40px;
    border-radius: 20px;
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.service-card h3 {
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        /*background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);*/
        padding: 80px 0;
        margin-top: 20px;
        border-radius: 20px;
        background:url("assets/images/hero.png") right / cover no-repeat;
    }
    .hero-content {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .stats-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        display: none;
    }

    .hero-text h2 {
        font-size: 28px;
    }
}
