@import url('https://gardisa.ir/wp-content/themes/gardisa/single.css');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    min-height: 100vh;
   
    padding-top: 120px;
   
}

.container {
    
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

h1 {
    color: #2d3748;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.input-section {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    padding: 16px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    margin: 32px auto;
    max-width: 700px;
    min-height: 60px;
    gap: 16px;
}

.input-section textarea {
    flex: 1;
    border: none;
    outline: none;
    resize: none;
    font-size: 1rem;
    background: transparent;
    padding: 0;
    margin: 0;
    min-height: 32px;
}

.generate-button {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: 8px;
}

.generate-button:hover {
    background: #333;
}

.hide {
    display: none;
}

#print-button {
   
    width: 200px;
    padding: 1rem;
    background-color: #028f02;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#print-button:hover {
    background-color: #27ff27;
}

.itinerary-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 200px;
    white-space: pre-line;
    line-height: 1.6;
    text-align: right;
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .itinerary-box {
        padding: 1rem;
    }
}

/* Header Styles */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #007bff;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
     
    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active ul {
        flex-direction: column;
        gap: 1rem;
    }
}

.login-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.login-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.login-link:hover {
    background-color: #45a049;
}

.login-link i {
    margin-left: 8px;
}

.centered-logo {
    display: block;
    margin: 0 auto;
}



.site-wrapper {
    display: flex;
    justify-content: center;
}

/* SEO Data Display Styles */
.seo-data {
    background: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.seo-data h2 {
    color: #333;
    font-size: 18px;
    margin: 15px 0 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.seo-data p {
    color: #666;
    margin: 0 0 15px;
    line-height: 1.5;
}

.seo-data img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 3px;
}

/* Front Page SEO Section Styles */
.seo-section {
    margin-top: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.seo-section .seo-data {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.seo-section .seo-data h2 {
    color: #2c3e50;
    font-size: 20px;
    margin-top: 25px;
}

.seo-section .seo-data p {
    color: #34495e;
    font-size: 16px;
    line-height: 1.6;
}

.seo-section .seo-data img {
    border: 1px solid #eee;
    padding: 5px;
    background: #fff;
} 





/* Authentication Page Styles */
.auth-container {
    min-height: 1000px;
    width: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    padding: 2rem;
}

.auth-box {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    position: relative;
}

.auth-forms {
    position: relative;
    width: 100%;
    height: 100%;
}

.auth-form {
    position: absolute;
    width: 100%;
    padding: 2.5rem;
    transition: all 0.5s ease-in-out;
    opacity: 1;
    visibility: visible;
}

.auth-form.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
}

.auth-form h2 {
    color: #2d3748;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #028f02;
}

.auth-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(90deg, #028f02 0%, #27ff27 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 143, 2, 0.2);
}

.switch-form {
    text-align: center;
    margin-top: 1.5rem;
    color: #4a5568;
}

.switch-form a {
    color: #028f02;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.switch-form a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .auth-form {
        padding: 2rem 1.5rem;
    }
    
    .auth-form h2 {
        font-size: 1.5rem;
    }
} 




/* Header Styles */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #007bff;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active ul {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Blog Modern Styles */
.blog-container {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 2rem 0;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-post {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08), 0 1.5px 4px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-post:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
}

.blog-post img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.blog-content {
    padding: 1.2rem 1.5rem 1.5rem 1.5rem;
    text-align: right;
}

.blog-content h2 {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 0.7rem;
    font-weight: 700;
}

.blog-content p {
    color: #4a5568;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.read-more {
    align-self: flex-end;
    background: linear-gradient(90deg, #028f02 0%, #27ff27 100%);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(2,143,2,0.08);
    transition: background 0.2s, color 0.2s;
}

.read-more:hover {
    background: linear-gradient(90deg, #27ff27 0%, #028f02 100%);
    color: #fff;
}

@media (max-width: 900px) {
    .featured-blog-post {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .featured-blog-image-box.main-image {
        grid-column: 1;
        grid-row: 1;
        min-height: 320px;
    }
    
    .featured-blog-image-box.small-image {
        grid-column: 1;
        grid-row: auto;
        min-height: 300px;
    }
    
    .container {
        padding: 1rem;
        padding-top: 80px;
    }
}

@font-face {
    font-family: 'Vazir';
    src: url('https://cdn.fontcdn.ir/Font/Persian/Vazir/Vazir.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

.featured-blog-post {
    display: grid;
    grid-template-columns: 75% 25%;
    grid-template-rows: auto auto;
    gap: 1rem;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(2,143,2,0.10), 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.featured-blog-image-box {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.featured-blog-image-box img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s ease;
}

.featured-blog-image-box:hover img {
    transform: scale(1.1);
}

.featured-blog-image-box.main-image {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 100px;
}

.featured-blog-image-box.small-image {
    grid-column: 2;
    grid-row: auto;
    min-height: 50px;
}

.featured-blog-content {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(255,255,255,0.92) 10%, rgba(255,255,255,0.0) 100%);
    padding: 1.5rem 2rem 1.2rem 2rem;
    text-align: right;
    z-index: 2;
}

.featured-blog-content h2 {
    font-size: 1.5rem;
    color: #028f02;
    margin-bottom: 0.7rem;
    font-weight: 800;
    line-height: 1.4;
}

.featured-blog-content p {
    color: #333;
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
    line-height: 1.7;
}

.featured-blog-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2rem 2rem 2rem;
    background: #f9f9f9;
    border-radius: 0 22px 22px 0;
    font-family: 'Vazir', 'IRANSans', Tahoma, Arial, sans-serif;
}

@media (max-width: 900px) {
    .featured-blog-post {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .featured-blog-image-box.main-image {
        grid-column: 1;
        grid-row: 1;
        min-height: 320px;
    }
    .featured-blog-image-box.small-image {
        grid-column: 1;
        grid-row: auto;
        min-height: 300px;
    }
    .featured-blog-image-box img {
        border-radius: 0;
    }
    .featured-blog-info {
        border-radius: 0 0 22px 22px;
        padding: 1.2rem 1rem 1.2rem 1rem;
    }
}

/* --- Category Menu Styles --- */
.category-menu {
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #bbb #fff;
}

.category-menu::-webkit-scrollbar {
    height: 6px;
    background: #fff;
}
.category-menu::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 8px;
}

.category-link {
    padding: 10px 24px;
    display: block;
    border-radius: 12px;
    font-weight: 500;
    color: #333;
    background: #fff;
    transition: all 0.25s cubic-bezier(.4,2,.6,1);
    position: relative;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    cursor: pointer;
    border: 1px solid #e0e0e0;
}

.category-link:hover {
    background: linear-gradient(90deg, #028f02 0%, #27ff27 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(221,36,118,0.15);
}

.category-link.active {
    background: linear-gradient(90deg, #028f02 0%, #27ff27 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(221,36,118,0.15);
    font-weight: bold;
}



/* === Article Categories Box Styles === */
.article-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  direction: rtl;
}

.category-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 24px 20px;
  min-width: 220px;
  max-width: 260px;
  flex: 1 1 220px;
  transition: box-shadow 0.2s;
  text-align: right;
  position: relative;
}

.category-box:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  border-color: #b3b3b3;
}

.category-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1a237e;
  margin-bottom: 8px;
}

.category-count {
  font-size: 0.95rem;
  color: #757575;
  margin-bottom: 12px;
}

.category-icon {
  width: 36px;
  height: 36px;
  position: absolute;
  left: 20px;
  top: 20px;
  opacity: 0.15;
}

@media (max-width: 600px) {
  .article-categories {
    flex-direction: column;
    gap: 16px;
  }
  .category-box {
    min-width: unset;
    max-width: unset;
    width: 100%;
    padding: 16px 12px;
  }
}



