/* ============================================
   Tarim Theme Styles
   Fonts: Inter (OFL), Playfair Display (OFL)
   Icons: Font Awesome 6 Free (MIT/OFL/CC BY 4.0)
   ============================================ */

:root {
    --brand-amber: #d97706;
    --brand-amber-light: #fbbf24;
    --brand-dark: #0f172a;
    --brand-red: #E30A24;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* WordPress default overrides */
body.admin-bar #mainNav {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar #mainNav {
        top: 46px;
    }
}

/* Remove WP block library padding/margin conflicts */
.wp-block-post-content,
.entry-content {
    padding: 0;
    margin: 0;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
}

.tarim-content img {
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
}

input, textarea, select {
    font: inherit;
}

/* ---- Tailwind-like Utility Reset ---- */
.container { width: 100%; margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-sm { max-width: 24rem; }

a { text-decoration: none; color: inherit; }

/* ---- Glass Nav ---- */
.glass-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-nav .nav-link {
    color: #475569 !important;
}
.glass-nav .nav-link:hover {
    color: #0f172a !important;
}
.glass-nav #contactBtn,
.glass-nav .border-white {
    border-color: #d97706 !important;
    color: #d97706 !important;
}
.glass-nav #contactBtn:hover,
.glass-nav .border-white:hover {
    background-color: #d97706 !important;
    color: #fff !important;
}
.glass-nav .tarim-mobile-menu-btn {
    color: #0f172a !important;
}

/* Hamburger icon - pure CSS, no font dependency */
.tarim-mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 51;
    -webkit-tap-highlight-color: transparent;
}

.tarim-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 20px;
}

.tarim-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu toggle visible on touch/small devices */
@media (max-width: 767px) {
    .tarim-mobile-menu-btn {
        display: flex !important;
    }
    #desktopMenu {
        display: none !important;
    }
}

/* Tablets in portrait (768px-1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .tarim-mobile-menu-btn {
        display: flex !important;
    }
    #desktopMenu {
        display: none !important;
    }
}

/* Desktop menu only on lg+ */
@media (min-width: 1024px) {
    .tarim-mobile-menu-btn {
        display: none !important;
    }
    #desktopMenu {
        display: flex !important;
    }
}

/* ---- Desktop Dropdown Menu ---- */
.tarim-menu-parent {
    position: relative;
}

.tarim-chevron {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.tarim-menu-parent:hover > .tarim-chevron,
.tarim-menu-parent:hover > a .tarim-chevron {
    transform: rotate(180deg);
}

/* Level 1 dropdown */
.tarim-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 0.75rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    border: 1px solid #f1f5f9;
    padding: 0.5rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 100;
    list-style: none;
    margin: 0;
    margin-top: 0.75rem;
}

.tarim-menu-parent:hover > .tarim-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Level 2+ nested dropdown */
.tarim-dropdown--nested {
    position: absolute;
    left: 100%;
    top: 0;
    margin-top: 0;
    margin-left: 4px;
}

.tarim-dropdown-parent {
    position: relative;
}

.tarim-dropdown-parent:hover > .tarim-dropdown--nested {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown links */
.tarim-dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #334155;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.tarim-dropdown-link:hover {
    background-color: #fffbeb;
    color: #d97706;
}

.tarim-chevron-right {
    flex-shrink: 0;
    margin-left: 0.5rem;
    opacity: 0.5;
}

.tarim-dropdown-link:hover .tarim-chevron-right {
    opacity: 1;
}

/* Keep dropdown open while moving mouse to it */
.tarim-menu-parent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0.75rem;
}

/* ---- Mobile Menu Dropdown ---- */
.tarim-mobile-item {
    list-style: none;
}

.tarim-mobile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tarim-mobile-link {
    display: block;
    padding: 0.75rem 0;
    transition: color 0.2s ease;
}

.tarim-mobile-link:hover {
    color: #d97706;
}

.tarim-mobile-link--top {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
}

.tarim-mobile-link--sub {
    font-size: 1rem;
    font-weight: 400;
    color: #334155;
}

.tarim-mobile-row .tarim-mobile-link {
    flex-grow: 1;
}

.tarim-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.tarim-mobile-toggle:hover {
    color: #d97706;
    background-color: #fffbeb;
}

.tarim-mobile-toggle-icon {
    transition: transform 0.25s ease;
}

.tarim-mobile-toggle.is-open .tarim-mobile-toggle-icon {
    transform: rotate(180deg);
}

/* Mobile sub-menu */
.tarim-mobile-sub {
    list-style: none;
    padding-left: 1rem;
    margin: 0;
    border-left: 2px solid #f1f5f9;
    margin-left: 0.5rem;
    overflow: hidden;
}

.tarim-mobile-sub .tarim-mobile-sub {
    padding-left: 1rem;
}

/* ---- Hero Title ---- */
.hero-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* ---- Hero ---- */
.hero-text-shadow {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.slide-content {
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.slide-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}
.slide-active {
    opacity: 1;
    transform: translateY(0);
}
.bg-transition {
    transition: opacity 1s ease-in-out;
}

/* ---- Product Cards ---- */
.product-card:hover .product-img {
    transform: scale(1.05);
}

/* ---- Content Prose ---- */
.tarim-content h1,
.tarim-content h2,
.tarim-content h3,
.tarim-content h4 {
    font-weight: 700;
    color: #0f172a;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.tarim-content h1 { font-size: 2rem; }
.tarim-content h2 { font-size: 1.5rem; }
.tarim-content h3 { font-size: 1.25rem; }
.tarim-content p {
    margin-bottom: 1em;
    line-height: 1.8;
    color: #475569;
}
.tarim-content ul {
    list-style: disc;
    margin: 1em 0;
    padding-left: 1.5em;
}
.tarim-content ol {
    list-style: decimal;
    margin: 1em 0;
    padding-left: 1.5em;
}
.tarim-content li {
    margin-bottom: 0.5em;
    line-height: 1.7;
    color: #475569;
}
.tarim-content a {
    color: #d97706;
    text-decoration: underline;
}
.tarim-content a:hover {
    color: #92400e;
}
.tarim-content img {
    border-radius: 0.75rem;
    margin: 1.5em 0;
}
.tarim-content blockquote {
    border-left: 4px solid #d97706;
    padding: 1em 1.5em;
    margin: 1.5em 0;
    background: #fffbeb;
    border-radius: 0 0.5rem 0.5rem 0;
}
.tarim-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}
.tarim-content th, .tarim-content td {
    border: 1px solid #e2e8f0;
    padding: 0.75em 1em;
    text-align: left;
}
.tarim-content th {
    background: #f8fafc;
    font-weight: 600;
}

/* ---- Pagination ---- */
.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #475569;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}
.nav-links .page-numbers:hover {
    background: #fffbeb;
    border-color: #d97706;
    color: #d97706;
}
.nav-links .page-numbers.current {
    background: #d97706;
    color: #fff;
    border-color: #d97706;
}

/* ---- Page Header ---- */
.tarim-page-header {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 3rem;
    background: #0f172a;
    color: #fff;
    overflow: hidden;
}

.tarim-page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 0;
}

.tarim-page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(30,41,59,0.65) 50%, rgba(15,23,42,0.88) 100%);
    z-index: 1;
}

.tarim-page-header-inner {
    position: relative;
    z-index: 2;
}

/* Breadcrumb */
.tarim-breadcrumb {
    margin-bottom: 1.25rem;
}

.tarim-breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
}

.tarim-breadcrumb li {
    display: flex;
    align-items: center;
}

.tarim-breadcrumb li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 1px;
    background: #475569;
    margin: 0 0.625rem;
}

.tarim-breadcrumb li:first-child::before {
    display: none;
}

.tarim-breadcrumb a {
    color: rgba(251,191,36,0.85);
    transition: color 0.2s;
}

.tarim-breadcrumb a:hover {
    color: #fbbf24;
}

.tarim-breadcrumb a i {
    margin-right: 0.25rem;
    font-size: 0.7rem;
    opacity: 0.7;
}

.tarim-breadcrumb li:last-child span {
    color: rgba(255,255,255,0.5);
}

/* Page Title */
.tarim-page-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .tarim-page-header {
        padding-top: 11rem;
        padding-bottom: 3.5rem;
    }
    .tarim-page-title {
        font-size: 2.75rem;
    }
}

/* ---- Page Body & Layout ---- */
.tarim-page-body {
    padding-top: 3rem;
    padding-bottom: 4rem;
    background-color: #f8fafc;
    min-height: 50vh;
}

.tarim-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .tarim-layout {
        grid-template-columns: 1fr 320px;
    }
}

.tarim-main {
    min-width: 0;
}

.tarim-article {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* ---- Sidebar ---- */
.tarim-sidebar {
    width: 100%;
}

.tarim-sidebar-box {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}

.tarim-sidebar-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #fef3c7;
}

.tarim-sidebar-products {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tarim-sidebar-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s;
}

.tarim-sidebar-product:hover {
    background-color: #fffbeb;
}

.tarim-sidebar-product-img {
    width: 56px;
    height: 56px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.tarim-sidebar-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.tarim-sidebar-product:hover .tarim-sidebar-product-img img {
    transform: scale(1.08);
}

.tarim-sidebar-product-info {
    flex: 1;
    min-width: 0;
}

.tarim-sidebar-more {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #d97706;
    transition: color 0.2s;
}

.tarim-sidebar-more:hover {
    color: #92400e;
}

.tarim-widget {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}

.tarim-widget-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #fef3c7;
}

/* ---- Post Cards Grid ---- */
.tarim-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .tarim-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tarim-post-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}

.tarim-post-card:hover {
    box-shadow: 0 12px 24px -6px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.tarim-post-card-img {
    display: block;
    height: 260px;
    overflow: hidden;
}

.tarim-post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tarim-post-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tarim-post-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tarim-post-card-title a {
    color: inherit;
    transition: color 0.2s;
}

.tarim-post-card:hover .tarim-post-card-title a {
    color: #d97706;
}

.tarim-post-card-excerpt {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.tarim-post-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #d97706;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: gap 0.2s, color 0.2s;
    margin-top: auto;
}

.tarim-post-card-link:hover {
    color: #92400e;
    gap: 0.625rem;
}

.tarim-post-card-link i {
    font-size: 0.625rem;
}

/* Post navigation (single) */
.tarim-post-nav {
    display: block;
    background: #fff;
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}

.tarim-post-nav:hover {
    box-shadow: 0 6px 16px -4px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.tarim-post-nav--next {
    text-align: right;
}

.tarim-post-nav-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.tarim-post-nav-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    transition: color 0.2s;
    margin: 0;
}

.tarim-post-nav:hover .tarim-post-nav-title {
    color: #d97706;
}

/* ---- Share Buttons ---- */
.tarim-share {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.tarim-share-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tarim-share-label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    white-space: nowrap;
}

.tarim-share-buttons {
    display: flex;
    gap: 0.5rem;
}

.tarim-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.625rem;
    font-size: 1rem;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tarim-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -4px rgba(0,0,0,0.3);
}

.tarim-share-btn--fb {
    background: #1877F2;
}

.tarim-share-btn--tw {
    background: #000;
}

.tarim-share-btn--wa {
    background: #25D366;
}

/* ---- WP Gallery ---- */
.tarim-content .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.tarim-content .gallery-columns-1 { grid-template-columns: 1fr; }
.tarim-content .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.tarim-content .gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.tarim-content .gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

.tarim-content .gallery .gallery-item {
    margin: 0;
}

.tarim-content .gallery .gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tarim-content .gallery .gallery-item img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px -4px rgba(0,0,0,0.15);
}

.tarim-content .gallery .gallery-caption {
    font-size: 0.8125rem;
    color: #64748b;
    text-align: center;
    padding: 0.375rem 0;
}

/* WP Block Gallery (Gutenberg) */
.tarim-content .wp-block-gallery {
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.tarim-content .wp-block-gallery .wp-block-image img {
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tarim-content .wp-block-gallery .wp-block-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px -4px rgba(0,0,0,0.15);
}

/* Content standalone images - lightbox cursor */
.tarim-content a.glightbox {
    display: block;
    line-height: 0;
}

.tarim-content a.glightbox img {
    cursor: zoom-in;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 0.5rem;
}

.tarim-content a.glightbox img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px -4px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .tarim-content .gallery,
    .tarim-content .gallery-columns-3,
    .tarim-content .gallery-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .tarim-content .gallery .gallery-item img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .tarim-content .gallery,
    .tarim-content .gallery-columns-2,
    .tarim-content .gallery-columns-3,
    .tarim-content .gallery-columns-4 {
        grid-template-columns: 1fr;
    }
    .tarim-content .gallery .gallery-item img {
        height: 200px;
    }
}

/* ---- AOS Overflow Protection ---- */
html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Prevent AOS from pushing elements outside viewport */
#hero-slider,
.tarim-page-header,
.tarim-page-body,
section,
footer {
    overflow-x: hidden;
}

[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

[data-aos="fade-left"],
[data-aos="fade-right"] {
    will-change: transform, opacity;
}

/* ---- Footer Menu ---- */
.footer-menu-item a {
    transition: color 0.2s;
}
.footer-menu-item a:hover {
    color: #f59e0b;
}

/* ---- Scroll Smooth ---- */
html.scroll-smooth {
    scroll-behavior: smooth;
}

/* ---- Mobile Menu ---- */
#mobileMenu.active {
    display: flex;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem !important;
    }
    #hero-slider h1 {
        font-size: 2.5rem !important;
    }
    #hero-slider p {
        font-size: 1.1rem !important;
    }
    /* Hero mobile */
    #hero-slider {
        height: auto;
        min-height: auto !important;
        padding-top: 8rem;
        padding-bottom: 0;
        display: block;
        position: relative;
    }
    #hero-slider #bg-container,
    #hero-slider > .absolute.inset-0 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    #hero-slider #bg-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #hero-slider .flex-grow {
        position: relative;
        z-index: 40;
        padding-top: 2rem;
        padding-bottom: 1rem;
    }
    .min-h-\[600px\] {
        min-height: auto;
    }
    /* Hero bottom section mobile */
    #hero-slider > .relative.z-40.w-full.flex.flex-col {
        position: relative;
        z-index: 40;
    }
    /* Slider nav buttons mobile - centered */
    #hero-slider > .relative.z-40.w-full.flex.flex-col > .absolute.right-6 {
        position: relative;
        right: auto;
        bottom: auto;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
    /* Wave mobile - relative, flush bottom */
    #hero-slider > .relative.z-40.w-full.flex.flex-col > .absolute.bottom-0 {
        position: relative;
        bottom: auto;
    }
    #hero-slider svg.relative {
        height: 25px;
    }
    /* Production grid single column */
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
    /* News card image */
    .news-card .h-64 {
        height: 12rem;
    }
    /* News gap */
    .gap-10 {
        gap: 1.5rem;
    }
    /* Page header mobile */
    .tarim-page-header {
        padding-top: 8rem;
        padding-bottom: 2rem;
    }
    .tarim-page-title {
        font-size: 1.75rem;
    }
    .tarim-breadcrumb ol {
        font-size: 0.75rem;
    }
    /* Post card image height */
    .tarim-post-card-img {
        height: 220px;
    }
    /* Footer padding */
    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .py-24 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    /* About section image */
    .h-\[500px\] {
        height: 320px;
    }
    /* About badge hide on mobile (already hidden via md:block but reinforce) */
    .absolute.-bottom-8 {
        display: none;
    }
    /* Contact section padding */
    #iletisim .gap-12 {
        gap: 2rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    #hero-slider h1 {
        font-size: 2rem !important;
    }
    #hero-slider p {
        font-size: 1rem !important;
    }
    #hero-slider {
        padding-top: 7rem;
    }
    .tarim-page-title {
        font-size: 1.5rem;
    }
    .p-8 {
        padding: 1.25rem;
    }
    .p-6 {
        padding: 1rem;
    }
    .px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .tarim-article {
        padding: 1.25rem;
    }
    .tarim-post-card-body {
        padding: 1rem;
    }
}

/* ---- Tailwind Utility Classes ---- */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.\!z-\[5\], .z-\[5\] { z-index: 5; }
.z-\[60\] { z-index: 60; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-grow { flex-grow: 1; }
.flex-wrap { flex-wrap: wrap; }
.shrink-0 { flex-shrink: 0; }

.items-center { align-items: center; }
.items-start { align-items: start; }
.items-end { align-items: end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.w-2 { width: 0.5rem; }
.w-3 { width: 0.75rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-40 { width: 10rem; }
.w-full { width: 100%; }

.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-3 { height: 0.75rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-40 { height: 10rem; }
.h-56 { height: 14rem; }
.h-64 { height: 16rem; }
.h-72 { height: 18rem; }
.h-screen { height: 100vh; }
.h-\[400px\] { height: 400px; }
.h-\[500px\] { height: 500px; }
.h-\[60px\] { height: 60px; }
.h-auto { height: auto; }

.min-h-\[600px\] { min-height: 600px; }
.min-h-screen { min-height: 100vh; }
.min-w-\[200px\] { min-width: 200px; }

.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pt-32 { padding-top: 8rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-20 { padding-bottom: 5rem; }
.pl-4 { padding-left: 1rem; }
.pl-8 { padding-left: 2rem; }
.pl-12 { padding-left: 3rem; }

.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.ml-0\.5 { margin-left: 0.125rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.-top-10 { top: -2.5rem; }
.-left-10 { left: -2.5rem; }
.-bottom-8 { bottom: -2rem; }
.-right-8 { right: -2rem; }
.-z-10 { z-index: -10; }

.top-0 { top: 0; }
.right-0 { right: 0; }
.right-6 { right: 1.5rem; }
.bottom-0 { bottom: 0; }
.bottom-20 { bottom: 5rem; }
.left-0 { left: 0; }

.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-lg { border-radius: 0.5rem; }

.border { border-width: 1px; border-style: solid; border-color: #e2e8f0; }
.border-2 { border-width: 2px; border-style: solid; }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-none { border: none; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-gray-800 { border-color: #1f2937; }
.border-gray-900 { border-color: #111827; }
.border-white { border-color: #fff; }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-white\/30 { border-color: rgba(255,255,255,0.3); }
.border-white\/40 { border-color: rgba(255,255,255,0.4); }
.border-amber-600 { border-color: #d97706; }

.bg-transparent { background-color: transparent; }
.bg-black { background-color: #000; }
.bg-black\/20 { background-color: rgba(0,0,0,0.2); }
.bg-black\/40 { background-color: rgba(0,0,0,0.4); }
.bg-white { background-color: #fff; }
.bg-white\/5 { background-color: rgba(255,255,255,0.05); }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.bg-white\/50 { background-color: rgba(255,255,255,0.5); }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-900 { background-color: #0f172a; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-amber-600 { background-color: #d97706; }
.bg-amber-700 { background-color: #b45309; }
.bg-\[\#0a0a0a\] { background-color: #0a0a0a; }
.bg-\[\#E30A24\] { background-color: #E30A24; }

.text-white { color: #fff; }
.text-white\/90 { color: rgba(255,255,255,0.9); }
.text-white\/50 { color: rgba(255,255,255,0.5); }
.text-black { color: #000; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-amber-500 { color: #f59e0b; }
.text-amber-600 { color: #d97706; }
.text-amber-700 { color: #b45309; }
.text-amber-800 { color: #92400e; }
.text-amber-900 { color: #78350f; }
.text-zinc-300 { color: #d4d4d8; }
.text-amber-400 { color: #fbbf24; }

.text-\[10px\] { font-size: 11px; line-height: 1.3; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.15; }
.text-8xl { font-size: 6rem; line-height: 1; }
.text-\[14px\] { font-size: 14px; }

.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-\[0\] { line-height: 0; }
.whitespace-nowrap { white-space: nowrap; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.resize-none { resize: none; }

.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center { object-position: center; }
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }

.opacity-0 { opacity: 0; }
.opacity-10 { opacity: 0.1; }
.opacity-80 { opacity: 0.8; }
.opacity-100 { opacity: 1; }
.invisible { visibility: hidden; }
.visible { visibility: visible; }
.pointer-events-none { pointer-events: none; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

.transition-all { transition: all 0.2s ease; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.transition-shadow { transition: box-shadow 0.2s ease; }
.transition-opacity { transition: opacity 0.2s ease; }
.transition-transform { transition: transform 0.2s ease; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

.transform { transform: translateZ(0); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:translate-x-2:hover { transform: translateX(0.5rem); }

.cursor-pointer { cursor: pointer; }
.outline-none { outline: none; }
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(217,119,6,0.5); }
.focus\:ring-amber-500:focus { box-shadow: 0 0 0 3px rgba(245,158,11,0.4); }

.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* ---- Hover States ---- */
.hover\:bg-white:hover { background-color: #fff; }
.hover\:bg-amber-50:hover { background-color: #fffbeb; }
.hover\:bg-amber-600:hover { background-color: #d97706; }
.hover\:bg-amber-700:hover { background-color: #b45309; }
.hover\:bg-amber-100:hover { background-color: #fef3c7; }
.hover\:bg-white\/10:hover { background-color: rgba(255,255,255,0.1); }
.hover\:bg-\[\#E30A24\]:hover { background-color: #E30A24; }
.hover\:text-white:hover { color: #fff; }
.hover\:text-amber-500:hover { color: #f59e0b; }
.hover\:text-amber-600:hover { color: #d97706; }
.hover\:text-amber-700:hover { color: #b45309; }
.hover\:text-amber-800:hover { color: #92400e; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.hover\:border-\[\#E30A24\]:hover { border-color: #E30A24; }
.hover\:space-x-4:hover > * + * { margin-left: 1rem; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }

/* Group hover */
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:text-amber-600 { color: #d97706; }
.group:hover .group-hover\:translate-x-2 { transform: translateX(0.5rem); }

/* Dropdown group hover */
.group\/item:hover > ul { opacity: 1; visibility: visible; }
.group\/sub:hover > ul { opacity: 1; visibility: visible; }

/* ---- Grid ---- */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-span-1 { grid-column: span 1 / span 1; }

/* ---- Gradient ---- */
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-black\/60 { --tw-gradient-from: rgba(0,0,0,0.6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-transparent { --tw-gradient-to: transparent; }

/* ---- Order ---- */
.order-1 { order: 1; }
.order-2 { order: 2; }

/* ---- Form Message ---- */
.form-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.form-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ---- Responsive ---- */
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:col-span-1 { grid-column: span 1 / span 1; }
    .md\:text-3xl { font-size: 1.875rem; }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:text-5xl { font-size: 3rem; }
    .md\:text-7xl { font-size: 4.5rem; line-height: 1.1; }
    .md\:text-2xl { font-size: 1.5rem; }
    .md\:p-8 { padding: 2rem; }
    .md\:w-2\/5 { width: 40%; }
    .md\:w-3\/5 { width: 60%; }
    .md\:h-auto { height: auto; }
    .md\:block { display: block; }
    .md\:mb-0 { margin-bottom: 0; }
    .md\:mt-0 { margin-top: 0; }
    .md\:right-16 { right: 4rem; }
    .md\:bottom-32 { bottom: 8rem; }
}

@media (min-width: 1024px) {
    .lg\:flex-row { flex-direction: row; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:w-1\/2 { width: 50%; }
    .lg\:order-1 { order: 1; }
    .lg\:order-2 { order: 2; }
    .lg\:text-left { text-align: left; }
    .lg\:justify-start { justify-content: flex-start; }
}
