/*
Theme Name: titi-farm
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: یک قالب سبک و بهینه برای المنتور - با پشتیبانی کامل از هدر، فوتر و بخش‌های سفارشی
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elementor-starter
Tags: elementor, page-builder, blog, custom-header, custom-footer, full-width-template
*/

/* =====================================================
   RESET & BASE
===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/*@font-face {*/
/*            font-family: 'IRANYekanWeb';*/
/*            src: url('fonts/IRANYekanWeb.woff2') format('woff2'),*/
/*                 url('fonts/IRANYekanWeb.woff') format('woff'),*/
/*                 url('fonts/IRANYekanWeb.ttf') format('truetype'),*/
/*                 url('fonts/IRANYekanWeb.eot');*/
/*            font-weight: normal;*/
/*            font-style: normal;*/
/*            font-display: swap;*/
/*        }*/
      @font-face {
            font-family: 'IranianSans';
            src: url('fonts/IranianSans.woff2') format('woff2'),
                 url('fonts/IranianSans.woff') format('woff'),
                 url('fonts/IranianSans.ttf') format('truetype'),
                 url('fonts/IranianSans.eot');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }  
        
html {
    scroll-behavior: smooth;
    font-size: 16px;font-family:IranianSans;
}

body {
    font-family: 'IranianSans';
    line-height: 1.6;
    color: #333;
    background: #fff;
    direction: rtl; /* برای سایت‌های فارسی - در صورت نیاز حذف کنید */
}
        
    h1,h2,h3,h4,h5,h6,span,p,input,lable,button,a,li{font-family: 'IranianSans' !important;font-weight: 600;}
/* =====================================================
   LAYOUT
===================================================== */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

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

/* =====================================================
   HEADER
===================================================== */
#masthead {
    position: relative;
    z-index: 100;
}

/* =====================================================
   FOOTER
===================================================== */
#colophon {
    margin-top: auto;
}

/* =====================================================
   ELEMENTOR OVERRIDES
===================================================== */
.elementor-section.elementor-section-full_width {
    max-width: 100%;
}

/* Full width pages */
.page-template-elementor_canvas #masthead,
.page-template-elementor_canvas #colophon,
.page-template-elementor_canvas .site-content > .container {
    display: none;
}

/* Elementor Header/Footer - when using Theme Builder */
.elementor-location-header,
.elementor-location-footer {
    width: 100%;
}

/* =====================================================
   CONTENT AREA
===================================================== */
.entry-content {
    max-width: 100%;
    margin: 0 auto;
    /*padding: 40px 20px;*/
}

.entry-header {
    padding: 40px 20px 20px;
    text-align: center;
}

.entry-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* =====================================================
   NAVIGATION
===================================================== */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-navigation a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: color 0.2s;
}

.main-navigation a:hover {
    color: #007cba;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
    .entry-title {
        font-size: 1.5rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* =====================================================
   ACCESSIBILITY
===================================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: #007cba;
    color: #fff;
    padding: 8px 16px;
    z-index: 999;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}
