/*
Theme Name: BROOKY Uluslararası Nakliyat
Theme URI: https://brooky.ir
Author: BROOKY Team
Author URI: https://brooky.ir
Description: İran ve Türkiye arasında uluslararası nakliyat hizmetleri için özel tasarlanmış WordPress teması
Version: 1.0.0
License: GPL v2 or later
Text Domain: brooky-nakliyat
Tags: nakliyat, lojistik, uluslararası taşımacılık, iran, türkiye, ticaret
*/

/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a56db;
    --secondary-color: #059669;
    --accent-color: #dc2626;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --text-color: #334155;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
    color: white;
    font-size: 32px;
}

/* Mobile First Design */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Improved Header for Mobile */
.header-top {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
}

.header-top-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.contact-info a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info i {
    font-size: 14px;
    min-width: 16px;
}

/* Main Header */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--accent-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 4px 0;
    transition: 0.3s;
}

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

.main-nav a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    font-size: 15px;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

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

/* Header Styles with Background Image */
.site-header {
    position: relative;
    z-index: 100;
}

.header-hero {
    background-image: url('image/brooky.png');
    /* Buraya kendi resminizin URL'sini ekleyin */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.logo a {
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo h1 {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
    color: white;
}

.logo span {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: normal;
}

.main-nav {
    position: relative;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
    font-size: 16px;
}

.main-nav a:hover {
    color: #3b82f6;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 4px;
    z-index: 3;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content h2 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-content .btn-primary {
    background: #3b82f6;
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid #3b82f6;
}

.hero-content .btn-primary:hover {
    background: transparent;
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
}

/* Services Section - 6 items in 3 rows of 2 */
.services {
    padding: 60px 0;
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

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

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

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

.service-icon {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark-color);
}



/* Blog Section */
.blog {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-post {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.post-image {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.blog-post:hover .post-image {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 14px;
}

.post-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.post-content h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.post-content h3 a:hover {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color);
}

/* Contact Section - Full Blue Background */
.contact {
    padding: 80px 0;
    background-color: #1e40af;
    /* Full blue background */
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
}

.contact-info-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-detail:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.contact-detail i {
    color: var(--primary-color);
    font-size: 20px;
    min-width: 24px;
    text-align: center;
}

.contact-detail div {
    flex: 1;
}

.contact-detail strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 4px;
    font-size: 14px;
}

.contact-detail a,
.contact-detail span {
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    display: block;
}

.contact-detail a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-form {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
}

.contact-form h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #1e40af;
}

/* Footer */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-hero {
        min-height: 500px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }

    .logo h1 {
        font-size: 24px;
        text-align: center;
    }

    .logo span {
        font-size: 14px;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 15px;
        top: 15px;
    }

    .main-nav {
        display: none;
        width: 100%;
        margin-top: 15px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .main-nav a {
        display: block;
        padding: 10px;
        text-align: center;
        color: white;
        font-size: 16px;
    }

    .hero-content {
        margin-top: 40px;
        padding: 0 15px;
    }

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

    .hero-content p {
        font-size: 16px;
    }

    .hero-content .btn-primary {
        padding: 12px 30px;
        font-size: 16px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    /* Hizmetlerimiz section - 2 columns on mobile */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .service-card {
        min-height: 200px !important;
        padding: 15px !important;
        height: auto !important;
    }

    .service-icon {
        font-size: 32px !important;
        margin-bottom: 10px !important;
    }

    .service-card h3 {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }

    .service-card p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .whatsapp-float {
        width: 60px;
        /* Bigger on mobile */
        height: 60px;
        /* Bigger on mobile */
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float i {
        font-size: 32px;
        /* Bigger icon */
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .service-card {
        min-height: 180px !important;
        padding: 12px !important;
    }

    .service-icon {
        font-size: 28px !important;
    }

    .service-card h3 {
        font-size: 15px !important;
    }

    .service-card p {
        font-size: 12px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 28px;
    }
}

/* Mobile Menu Toggle Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* WordPress Specific Styles */
.wp-block {
    margin-bottom: 30px;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: 100%;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

/* Single Post Styles */
.single-post {
    padding: 60px 0;
}

.single-post-header {
    margin-bottom: 40px;
}

.single-post-title {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #64748b;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.single-post-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.single-post-content {
    font-size: 18px;
    line-height: 1.8;
}

.single-post-content p {
    margin-bottom: 25px;
}

.single-post-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--dark-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.single-post-content h3 {
    font-size: 24px;
    margin: 35px 0 18px;
    color: var(--dark-color);
}

.single-post-content h4 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: var(--dark-color);
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.single-post-content li {
    margin-bottom: 10px;
}

.single-post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #475569;
}

.single-post-content pre {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.single-post-content code {
    background-color: var(--light-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

/* Archive Page Styles */
.archive-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.archive-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.archive-description {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Post Content Styles */
.entry-content {
    line-height: 1.8;
}

.entry-content h2 {
    font-size: 28px;
    margin: 30px 0 15px;
    color: var(--dark-color);
}

.entry-content h3 {
    font-size: 24px;
    margin: 25px 0 15px;
    color: var(--dark-color);
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Comments Section */
.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.comment-list {
    list-style: none;
}

.comment {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #64748b;
}

.comment-author {
    font-weight: bold;
    color: var(--dark-color);
}

/* Widgets */
.widget {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--text-color);
    text-decoration: none;
}

.widget a:hover {
    color: var(--primary-color);
}

/* Search Form */
.search-form {
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
}

.search-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--light-color);
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.breadcrumb-nav a {
    color: var(--text-color);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: var(--primary-color);
}

.breadcrumb-nav span {
    color: var(--primary-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.page-numbers.current {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-numbers:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.post-navigation a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: var(--accent-color);
}

/* Author Box */
.author-box {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
}

.author-box .author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Tags */
.post-tags {
    margin: 30px 0;
}

.post-tags h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.post-tags .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-tags a {
    background-color: var(--light-color);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}
/* کانتینر اصلی - محدود به این بخش */
#tr-logistics-wrapper {
    font-family: 'Roboto', 'Arial', sans-serif; /* فونت مناسب انگلیسی/ترکی */
    direction: ltr; /* ترکی چپ به راست است */
    margin: 20px auto;
    max-width: 600px;
}

.tr-log-container {
    background: linear-gradient(145deg, #1e2a36, #2c3e50);
    color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

.tr-log-title {
    text-align: center;
    color: #f39c12; /* رنگ نارنجی لجستیکی */
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 700;
}

.tr-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.tr-form-group {
    flex: 1;
}

.tr-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #bdc3c7;
}

#tr-logistics-wrapper select {
    width: 100%;
    padding: 12px;
    background: #ecf0f1;
    border: none;
    border-radius: 8px;
    color: #2c3e50;
    font-size: 0.95rem;
    outline: none;
    height: 45px; /* ارتفاع ثابت */
}

/* دکمه جابجایی */
.tr-swap-btn {
    background: #1abc9c;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px; /* تراز کردن با ورودی ها */
    flex-shrink: 0;
}

.tr-swap-btn:hover {
    background: #16a085;
    transform: rotate(180deg);
}

/* دکمه محاسبه */
.tr-submit-btn {
    width: 100%;
    padding: 15px;
    background: #e67e22;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tr-submit-btn:hover {
    background: #d35400;
}

/* باکس نتایج */
.tr-result-box {
    margin-top: 25px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    padding: 20px;
    border-left: 5px solid #1abc9c;
    animation: trFadeIn 0.6s ease-out;
}

@keyframes trFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tr-route-info {
    text-align: center;
    font-size: 1rem;
    color: #ecf0f1;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tr-result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* سه ستون */
    gap: 10px;
    text-align: center;
}

.tr-res-item {
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 8px;
}

.tr-res-label {
    display: block;
    font-size: 0.8rem;
    color: #bdc3c7;
    margin-bottom: 5px;
}

.tr-res-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
}

.tr-price-text {
    color: #2ecc71; /* سبز برای قیمت */
    font-size: 1.2rem;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 600px) {
    .tr-form-row {
        flex-direction: column;
    }
    .tr-swap-btn {
        margin: -10px auto 10px; /* دکمه وسط بیاید */
        transform: rotate(90deg); /* چرخش عمودی */
    }
    .tr-swap-btn:hover {
        transform: rotate(270deg);
    }
    .tr-result-grid {
        grid-template-columns: 1fr; /* تک ستون در موبایل */
    }
}

/* ============================================
   TAM GENİŞLİK SAYFALARI (HEADER/FOOTER YOK)
   ============================================ */

.fullwidth-page,
.fullwidth-post {
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
}

.fullwidth-content,
.fullwidth-post-content {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 40px 20px !important;
    min-height: 100vh !important;
    background: #ffffff !important;
}

/* Post/Page Styling */
.post-header {
    text-align: center !important;
    margin-bottom: 40px !important;
    padding-bottom: 20px !important;
    border-bottom: 2px solid #f0f0f0 !important;
}

.post-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
}

.post-meta {
    color: #6b7280 !important;
    font-size: 0.9rem !important;
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

.post-content {
    max-width: 800px !important;
    margin: 0 auto !important;
    line-height: 1.8 !important;
    color: #374151 !important;
}

.post-content p {
    margin-bottom: 1.5em !important;
}

.post-content h2 {
    font-size: 1.8rem !important;
    color: #1f2937 !important;
    margin: 2em 0 1em !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.post-content h3 {
    font-size: 1.5rem !important;
    color: #374151 !important;
    margin: 1.5em 0 1em !important;
}

.post-content ul,
.post-content ol {
    margin: 1.5em 0 !important;
    padding-left: 2em !important;
}

.post-content li {
    margin-bottom: 0.5em !important;
}

.post-featured-image {
    width: 100% !important;
    height: auto !important;
    margin: 2em 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.post-footer {
    margin-top: 40px !important;
    padding-top: 20px !important;
    border-top: 2px solid #f0f0f0 !important;
    color: #6b7280 !important;
    font-size: 0.9rem !important;
}

.post-categories,
.post-tags {
    margin-bottom: 10px !important;
}

.post-categories a,
.post-tags a {
    color: #3b82f6 !important;
    text-decoration: none !important;
    margin: 0 5px !important;
}

.post-categories a:hover,
.post-tags a:hover {
    text-decoration: underline !important;
}

/* Responsive */
@media (max-width: 768px) {
    .fullwidth-content,
    .fullwidth-post-content {
        padding: 20px 15px !important;
    }
    
    .post-title {
        font-size: 2rem !important;
    }
    
    .post-content {
        font-size: 1rem !important;
    }
    
    .post-content h2 {
        font-size: 1.5rem !important;
    }
    
    .post-content h3 {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 1.8rem !important;
    }
    
    .post-meta {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
    }
}
/* ============================================
   FOOTER STYLES
   ============================================ */

.site-footer {
    background: #1e40af;
    color: white;
    padding: 40px 0;
    margin-top: auto;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-contact h3,
.footer-menu h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #dbeafe;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #93c5fd;
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #93c5fd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: white;
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #93c5fd;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .site-footer {
        padding: 30px 0;
    }
}
/* ============================================
   MODERN MENU STYLES - CROSS BROWSER COMPATIBLE
   ============================================ */

/* Reset and Base Styles */
.modern-main-nav * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.modern-main-nav {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Navigation */
.modern-main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    height: 70px;
    border-bottom: 1px solid #eaeaea;
}

/* Body padding to prevent content hiding under fixed nav */
body {
    padding-top: 70px;
    overflow-x: hidden;
}

/* Nav Container */
.nav-main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styles */
.nav-logo-main {
    flex-shrink: 0;
}

.logo-main-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-main-link:hover {
    transform: translateY(-1px);
}

.logo-main-text {
    font-size: 24px;
    font-weight: 800;
    color: #1e40af;
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-main-sub {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 0.3px;
}

/* Desktop Menu */
.desktop-main-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    height: 100%;
}

.nav-main-list {
    display: flex;
    list-style: none;
    gap: 2px;
    height: 100%;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-main-item {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-main-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 16px;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 13px;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 50px;
    justify-content: center;
    position: relative;
    min-width: 80px;
}

.nav-main-link:hover {
    background: #f3f4f6;
    color: #1e40af;
    transform: translateY(-1px);
}

.nav-main-link.active {
    color: #1e40af;
    background: #eff6ff;
    font-weight: 600;
}

.nav-main-link.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
}

.nav-main-icon {
    font-size: 18px;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.nav-main-link:hover .nav-main-icon {
    transform: scale(1.1);
}

.nav-main-label {
    white-space: nowrap;
    font-size: 12px;
}

/* Contact Info */
.nav-contact-main {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.contact-main-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.contact-main-item:hover {
    background: #ffffff;
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.contact-main-icon {
    font-size: 16px;
    color: #3b82f6;
}

.contact-main-link {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-main-link:hover {
    color: #3b82f6;
}

/* Mobile Menu Button */
.mobile-menu-main-btn {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    border-radius: 10px;
    background: #f3f4f6;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-main-btn:hover {
    background: #e5e7eb;
}

.mobile-menu-main-btn.active {
    background: #3b82f6;
}

.mobile-menu-main-btn.active .mobile-menu-icon {
    background: #ffffff;
}

.mobile-menu-icon {
    width: 20px;
    height: 2px;
    background: #4b5563;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-menu-main-btn.active .mobile-menu-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-main-btn.active .mobile-menu-icon:nth-child(2) {
    opacity: 0;
}

.mobile-menu-main-btn.active .mobile-menu-icon:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.mobile-menu-overlay-main.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Panel */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-panel.active {
    right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.mobile-menu-logo a {
    font-size: 22px;
    font-weight: 800;
    color: #1e40af;
    text-decoration: none;
}

.mobile-menu-close-btn {
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    background: #f3f4f6;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close-btn:hover {
    background: #e5e7eb;
}

.close-icon {
    font-size: 28px;
    color: #4b5563;
    line-height: 1;
}

/* Mobile Menu Content */
.mobile-menu-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.mobile-nav-list {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}

.mobile-nav-item {
    margin-bottom: 8px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: #eff6ff;
    color: #1e40af;
}

.mobile-nav-icon {
    font-size: 22px;
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.mobile-nav-text {
    font-size: 16px;
    font-weight: 500;
}

/* Mobile Contact Info */
.mobile-contact-info {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.mobile-contact-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    text-align: center;
}

.mobile-contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-contact-detail {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.mobile-contact-detail:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.detail-icon {
    font-size: 20px;
    margin-right: 12px;
    color: #3b82f6;
    width: 24px;
}

.detail-link {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-link:hover {
    color: #3b82f6;
}

/* Body states */
body.menu-open,
html.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-contact-main {
        gap: 8px;
    }

    .contact-main-item {
        padding: 6px 10px;
    }

    .contact-main-link {
        font-size: 12px;
    }
}

@media (max-width: 992px) {

    .desktop-main-menu,
    .nav-contact-main {
        display: none;
    }

    .mobile-menu-main-btn {
        display: flex;
    }

    .nav-main-container {
        padding: 0 15px;
    }

    .logo-main-text {
        font-size: 22px;
    }

    .logo-main-sub {
        font-size: 10px;
    }

    body {
        padding-top: 70px;
    }

    .modern-main-nav {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .nav-main-container {
        padding: 0 12px;
    }

    .mobile-menu-panel {
        max-width: 280px;
    }

    .mobile-menu-header {
        padding: 15px;
    }

    .mobile-menu-content {
        padding: 15px;
    }

    .mobile-nav-link {
        padding: 14px 18px;
        font-size: 15px;
    }

    body {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    .modern-main-nav {
        height: 65px;
    }

    body {
        padding-top: 65px;
    }

    .nav-main-container {
        padding: 0 10px;
    }

    .logo-main-text {
        font-size: 20px;
    }

    .logo-main-sub {
        font-size: 9px;
    }

    .mobile-menu-panel {
        max-width: 100%;
    }

    .mobile-menu-main-btn {
        width: 40px;
        height: 40px;
    }

    .mobile-menu-close-btn {
        width: 40px;
        height: 40px;
    }
}

/* Print Styles */
@media print {
    .modern-main-nav {
        display: none;
    }

    body {
        padding-top: 0;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .modern-main-nav {
        border-bottom: 2px solid #000000;
    }

    .nav-main-link {
        border: 1px solid #000000;
    }

    .mobile-nav-link {
        border: 1px solid #000000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .modern-main-nav * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

    .nav-main-link,
    .mobile-nav-link,
    .contact-main-item,
    .mobile-contact-detail {
        min-height: 44px;
        min-width: 44px;
    }

    .mobile-menu-main-btn,
    .mobile-menu-close-btn {
        min-height: 44px;
        min-width: 44px;
    }
}