/* ریست و متغیرهای رنگ */
:root {
    --primary: #ff4d6d;
    --secondary: #2d3436;
    --accent: #ff9eaf;
    --light: #fff5f6;
    --dark: #1a1a1a;
    --gradient: linear-gradient(135deg, #ff4d6d, #ff9eaf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazir', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* هدر و ناوبری - مدرن‌تر */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    padding: 0.5rem;
}

.logo {
    height: 80px;
    width: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    margin-right: 2rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.login-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 500;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 77, 109, 0.3);
}

/* قسمت هیرو - مدرن و فشن */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding-top: 60px;
    loading: lazy;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 77, 109, 0.4);
}

/* ویژگی‌ها - طراحی مدرن */
.features {
    padding: 6rem 2rem;
    background-color: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--secondary);
    position: relative;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background-color: white;
    border-radius: 20px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.feature-card:hover img {
    transform: scale(1.1);
}

/* آپلود لباس - طراحی مدرن */
.add-clothes {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #fff5f6 0%, #fff 100%);
}

.upload-container {
    max-width: 800px;
    margin: 0 auto;
}

.upload-box {
    border: 3px dashed var(--accent);
    padding: 3rem;
    text-align: center;
    border-radius: 20px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.upload-box:hover {
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 77, 109, 0.1);
}

.upload-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 77, 109, 0.3);
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ریسپانسیو */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin: 1.5rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-links a {
        margin: 0.5rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .features {
        padding: 4rem 1rem;
    }

    .feature-card {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .cta-btn {
        padding: 1rem 2rem;
    }

    .upload-box {
        padding: 2rem 1rem;
    }
}

/* فوتر */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* استایل بخش درباره ما */
.about-us {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--light) 0%, #fff 100%);
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
}

.about-content h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--secondary);
    position: relative;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-text .highlight {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.about-feature {
    text-align: center;
}

.feature-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.feature-text {
    color: var(--secondary);
    font-weight: 500;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    loading: lazy;
}

.about-image img:hover {
    transform: translateY(-10px);
}

/* استایل بخش چرا جالباسی */
.why-us {
    padding: 6rem 2rem;
    background-color: white;
}

.why-content {
    max-width: 1400px;
    margin: 0 auto;
}

.why-content h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--secondary);
    position: relative;
}

.why-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.why-card {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--light);
    border-radius: 20px;
    transition: all 0.3s;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.why-card h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.why-card p {
    color: var(--dark);
    line-height: 1.8;
}

/* اضافه کردن ریسپانسیو برای بخش‌های جدید */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text {
        padding-right: 0;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .about-text .highlight {
        font-size: 1.3rem;
    }
}

/* اضافه کردن استایل‌های منوی همبرگری */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: var(--primary);
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-login {
    display: none;
}

/* تغییر استایل‌های ریسپانسیو */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .desktop-login {
        display: none;
    }

    .mobile-login {
        display: block;
        margin-top: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 1rem 0;
        font-size: 1.2rem;
        width: 100%;
        padding: 0.5rem 0;
    }

    /* استایل همبرگر وقتی منو باز است */
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* اضافه کردن اورلی تیره پشت منو */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* بهبود ریسپانسیو برای صفحه‌های خیلی کوچک */
@media (max-width: 480px) {
    .nav-links {
        width: 100%;
    }
}

/* استایل بخش اینستاگرام */
.instagram-feed {
    padding: 6rem 2rem;
    background-color: white;
}

.instagram-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.instagram-content h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.instagram-username {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s;
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
}

.instagram-stats {
    color: white;
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.3);
    border-radius: 20px;
    backdrop-filter: blur(4px);
    margin-top: 0.5rem;
}

.instagram-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.instagram-item:hover {
    transform: scale(1.02);
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.instagram-follow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 77, 109, 0.3);
}

.instagram-icon {
    font-size: 1.2rem;
}

/* ریسپانسیو برای بخش اینستاگرام */
@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .instagram-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: 1fr;
    }

    .instagram-content h2 {
        font-size: 1.8rem;
    }
} 