/* Reset and Base Styles - Google-like Minimal */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Import Vazir Font from CDN */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css');

/* Base Styles */
body {
    font-family: 'Vazir', 'Inter', 'Tahoma', 'Arial', sans-serif;
    line-height: 1.6;
    background: #ffffff;
    color: #202124;
    min-height: 100vh;
    direction: rtl;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header - Google Style */
.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 16px 0;
    border-bottom: 1px solid rgba(232, 234, 237, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 600;
    color: #1a73e8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    font-size: 28px;
    background: linear-gradient(135deg, #1a73e8, #34a853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-item {
    padding: 10px 16px;
    color: #5f6368;
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    position: relative;
}

.nav-item:hover {
    background: #f8f9fa;
    color: #202124;
}

.nav-item.primary {
    background: #1a73e8;
    color: white;
    box-shadow: 0 1px 3px rgba(26, 115, 232, 0.3);
}

.nav-item.primary:hover {
    background: #1669d6;
    box-shadow: 0 2px 5px rgba(26, 115, 232, 0.4);
}

/* Hero Banner - Modern Google Style */
.hero {
    text-align: center;
    padding: 140px 20px;
    background: linear-gradient(135deg, 
        rgba(26, 115, 232, 0.03) 0%, 
        rgba(52, 168, 83, 0.03) 50%, 
        rgba(251, 188, 5, 0.03) 100%),
        url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #202124;
    margin-bottom: 24px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #5f6368;
    margin-bottom: 48px;
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Vazir', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #1a73e8;
    color: white;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.btn-primary:hover {
    background: #1669d6;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #3c4043;
    border: 1px solid #dadce0;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Festivals Section */
.festivals-section {
    padding: 100px 20px;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #202124;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #5f6368;
    max-width: 600px;
    margin: 0 auto;
}

/* Festivals Grid */
.festivals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.festival-card {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.festival-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: #dadce0;
}

.festival-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.festival-content {
    padding: 24px;
}

.festival-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #202124;
    margin-bottom: 12px;
    line-height: 1.4;
}

.festival-description {
    color: #5f6368;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.festival-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #5f6368;
    padding-top: 16px;
    border-top: 1px solid #f1f3f4;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(52, 168, 83, 0.1);
    color: #34a853;
}

.status-upcoming {
    background: rgba(251, 188, 5, 0.1);
    color: #fbbc05;
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(232, 234, 237, 0.5);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    color: #1a73e8;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: #202124;
}

.feature-description {
    color: #5f6368;
    line-height: 1.7;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #202124;
    color: white;
    padding: 60px 20px 30px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: #9aa0a6;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: #1a73e8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #3c4043;
    color: #9aa0a6;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out both;
}

.slide-up {
    animation: slideUp 0.6s ease-out both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* User Menu */
.user-menu-container {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a73e8, #34a853);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.05);
}

.user-dropdown {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: white;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(232, 234, 237, 0.8);
    z-index: 1000;
    margin-top: 8px;
    padding: 8px 0;
    animation: fadeIn 0.2s ease;
}

.user-menu-container:hover .user-dropdown {
    display: block;
}

.user-info {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f4;
}

.user-name {
    font-weight: 500;
    color: #202124;
    font-size: 0.9rem;
}

.user-email {
    font-size: 0.8rem;
    color: #5f6368;
    margin-top: 2px;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #5f6368;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    border-left: 3px solid transparent;
}

.user-dropdown-item:hover {
    background: #f8f9fa;
    color: #1a73e8;
    border-left-color: #1a73e8;
}

.user-dropdown-item.logout {
    color: #ea4335;
}

.user-dropdown-item.logout:hover {
    background: #fef0f0;
    color: #ea4335;
    border-left-color: #ea4335;
}

.user-dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-menu span {
    width: 20px;
    height: 2px;
    background: #5f6368;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 1px solid #e8eaed;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 16px;
    }

    .nav.active {
        display: flex;
    }

    .nav-item {
        padding: 12px 16px;
        border-radius: 8px;
    }

    .hero {
        padding: 100px 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .festivals-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        justify-content: center;
    }

    .festivals-section {
        padding: 80px 20px;
    }
    
    .features-section {
        padding: 80px 20px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 24px;
}

.mt-4 {
    margin-top: 24px;
}

/* Loading Animation */
.loading {
    display: inline-flex;
    gap: 4px;
}

.loading span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5f6368;
    animation: loading 1.4s ease-in-out infinite both;
}

.loading span:nth-child(1) { animation-delay: -0.32s; }
.loading span:nth-child(2) { animation-delay: -0.16s; }

@keyframes loading {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}












/* Auth Pages Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 420px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #1a73e8;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #202124;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: #5f6368;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #202124;
    font-weight: 500;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Vazir', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.2);
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e8eaed;
}

.auth-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.auth-link {
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #1669d6;
}

.demo-notice {
    background: rgba(251, 188, 5, 0.1);
    color: #f57c00;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: center;
    border: 1px solid rgba(251, 188, 5, 0.3);
    font-size: 14px;
}

.error-message {
    background: rgba(234, 67, 53, 0.1);
    color: #d93025;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: center;
    border: 1px solid rgba(234, 67, 53, 0.3);
    font-size: 14px;
}








/* Blog Styles */
.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-title {
    font-size: 2.5rem;
    color: #202124;
    margin-bottom: 16px;
}

.blog-subtitle {
    font-size: 1.2rem;
    color: #5f6368;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.post-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-content {
    padding: 30px;
}

.post-card-title {
    font-size: 1.5rem;
    color: #202124;
    margin-bottom: 16px;
}

.post-card-title a {
    color: inherit;
    text-decoration: none;
}

.post-card-title a:hover {
    color: #1a73e8;
}

.post-card-excerpt {
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #5f6368;
    font-size: 0.9rem;
}

.read-more {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Single Post */
.blog-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.post-header {
    padding: 40px;
    border-bottom: 1px solid #e8eaed;
}

.post-title {
    font-size: 2.2rem;
    color: #202124;
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta {
    color: #5f6368;
    font-size: 0.9rem;
}

.post-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
}

.post-content {
    padding: 40px;
    line-height: 1.8;
    color: #202124;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content h2, .post-content h3 {
    margin: 30px 0 20px;
    color: #202124;
}

.post-content ul, .post-content ol {
    margin-bottom: 20px;
    padding-right: 20px;
}

.post-content li {
    margin-bottom: 8px;
}



