
/* ========================= */
/* CSS VARIABLES & RESET    */
/* ========================= */

:root {
    --primary-color: #D5232A;
    --primary-dark: #b61e24;
    --primary-light: #dc444a;
    --primary-lighter: #e2656a;
    --secondary-color: #2c3e50;
    --accent-color: #34495e;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --shadow: rgba(0, 0, 0, 0.1);
    --font-family: 'Arial', sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    font-size: 14px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========================= */
/* TYPOGRAPHY               */
/* ========================= */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

li {
    margin-bottom: 5px;
    line-height: 1.5;
}

/* ========================= */
/* BUTTONS                  */
/* ========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(213, 35, 42, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(213, 35, 42, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid #e9ecef;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ========================= */
/* SLIDER                   */
/* ========================= */

.slider {
    position: relative;
    width: 100%;
    height: 750px;
    background: #f0f0f0;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slider Navigation */
.slider-navigation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary-color);
    border-color: white;
    transform: scale(1.3);
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s linear;
}

/* ========================= */
/* HEADER                   */
/* ========================= */

.header {
    background: var(--white);
    border-bottom: 1px solid #e9ecef;
    padding: 15px 0;
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo img {
    height: 80px;
    max-width: 300px;
    object-fit: contain;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* ========================= */
/* LANGUAGE SELECTOR        */
/* ========================= */

.language-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: var(--white);
    padding: 8px 10px;
    border-radius: 25px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-wrap: nowrap;
    min-width: 280px;
    position: relative;
    z-index: 1000;
    pointer-events: auto;
}

.flag-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 26px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    pointer-events: auto;
    z-index: 1001;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.flag-option:hover {
    transform: scale(1.08);
    border-color: var(--primary-color);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.flag-option.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(213, 35, 42, 0.3);
    background: rgba(213, 35, 42, 0.1);
}

.flag-option img {
    width: 26px;
    height: 20px;
    border-radius: 3px;
    object-fit: cover;
    transition: var(--transition);
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.flag-option:hover img {
    transform: scale(1.02);
}

/* ========================= */
/* CUSTOMER LINE            */
/* ========================= */

.customer-line {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.customer-info {
    text-align: right;
}

.customer-info span {
    display: block;
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.customer-info strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
}

/* ========================= */
/* NAVIGATION               */
/* ========================= */

.navigation {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 15px 20px;
    transition: var(--transition);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

/* Dropdown Menu */
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-dark);
    min-width: 280px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dropdown-menu li {
    width: 100%;
    position: relative;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    font-weight: 500;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 25px;
    color: var(--white);
}

/* Sub-dropdown Menu */
.sub-dropdown:hover .sub-dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.sub-dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--primary-color);
    min-width: 250px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    margin-left: 5px;
}

.sub-dropdown-menu li {
    width: 100%;
}

.sub-dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 500;
}

.sub-dropdown-menu li:last-child a {
    border-bottom: none;
}

.sub-dropdown-menu li:first-child a {
    border-radius: 8px 8px 0 0;
}

.sub-dropdown-menu li:last-child a {
    border-radius: 0 0 8px 8px;
}

.sub-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    padding-left: 25px;
    color: var(--white);
}

/* Sub-dropdown arrow indicator */
.sub-dropdown > a::after {
    content: '→';
    float: right;
    margin-left: 10px;
    font-size: 12px;
    transition: var(--transition);
}

.sub-dropdown:hover > a::after {
    transform: translateX(3px);
}

/* ========================= */
/* MOBILE NAVIGATION        */
/* ========================= */

.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 12px 15px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo img {
    height: 40px;
    max-width: 150px;
}

.hamburger-menu {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: var(--white);
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav.show {
    left: 0;
}

.mobile-nav-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-menu > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.mobile-nav-menu > li > a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.mobile-nav-menu > li > a.active {
    background: var(--primary-color);
    color: var(--white);
}

.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
}

.mobile-dropdown.show {
    max-height: 300px;
}

.mobile-dropdown a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    border-bottom: 1px solid #e9ecef;
}

.mobile-dropdown a:hover {
    color: var(--primary-color);
    background: var(--white);
    padding-left: 45px;
}

.mobile-content-wrapper {
    display: none;
}

/* ========================= */
/* PAGE HEADER              */
/* ========================= */

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: var(--white);
}

/* ========================= */
/* CONTENT SECTIONS         */
/* ========================= */

.content-section {
    background: var(--light-bg);
    padding: 60px 0;
    min-height: 400px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.main-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.main-content.full-width {
    width: 100%;
}

.page-text h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.page-text h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.page-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.page-text ul {
    color: var(--text-light);
    margin: 15px 0 15px 30px;
}

.page-text li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ========================= */
/* SIDEBAR                  */
/* ========================= */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.sidebar-widget h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    color: var(--primary-color);
    padding-left: 10px;
}

.sidebar-menu a span {
    background: #f8f9fa;
    color: #999;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    transition: var(--transition);
}

.sidebar-menu a:hover span {
    background: var(--primary-color);
    color: var(--white);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

.contact-item i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ========================= */
/* FORMS                    */
/* ========================= */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(213, 35, 42, 0.1);
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    cursor: pointer;
}

/* ========================= */
/* GRID LAYOUTS            */
/* ========================= */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* ========================= */
/* CARDS                    */
/* ========================= */

.card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ========================= */
/* STATISTICS              */
/* ========================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.stat-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.stat-item h3,
.stat-item h4 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* ========================= */
/* FOOTER                   */
/* ========================= */

.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-section i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 15px;
}

.footer-bottom {
    border-top: 1px solid #3a4a5c;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #ccc;
    font-size: 12px;
    text-align: center;
    flex: 1;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links a {
    color: #ccc;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ========================= */
/* UTILITIES               */
/* ========================= */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-dark { color: var(--text-dark) !important; }
.text-light { color: var(--text-light) !important; }
.text-white { color: var(--white) !important; }

.bg-primary { background: var(--primary-color) !important; }
.bg-light { background: var(--light-bg) !important; }
.bg-white { background: var(--white) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-15 { margin-bottom: 15px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }

.mt-0 { margin-top: 0 !important; }
.mt-10 { margin-top: 10px !important; }
.mt-15 { margin-top: 15px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-30 { margin-top: 30px !important; }

.p-0 { padding: 0 !important; }
.p-10 { padding: 10px !important; }
.p-15 { padding: 15px !important; }
.p-20 { padding: 20px !important; }

.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }
.d-none { display: none !important; }

/* ========================= */
/* PRODUCT GRID & CARDS     */
/* ========================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.product-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.product-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 250px);
}

.product-info h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-info p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-info ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.product-info li {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.product-info li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.product-info strong {
    color: var(--text-dark);
    font-weight: 600;
}

.usage-areas {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 13px;
    line-height: 1.5;
    border-left: 4px solid var(--primary-color);
}

.usage-areas strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.product-action {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.view-details {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.view-details:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Product Detail Pages */
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.product-image {
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-specs {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.product-specs h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-specs p {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Specifications Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.spec-table th,
.spec-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.spec-table th {
    background: #f6600;
    color: white;
    font-weight: 600;
}

.spec-table tr:nth-child(even) {
    background: #f9f9f9;
}

/* Product Tabs */
.product-tabs {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-button {
    flex: 1;
    padding: 20px;
    background: #f8f9fa;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid #eee;
}

.tab-button:last-child {
    border-right: none;
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
}

.product-tabs .tab-content {
    display: none;
    padding: 30px;
}

.product-tabs .tab-content.active {
    display: block;
}

/* Download Section */
.download-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.download-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.1);
}

.download-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.download-btn {
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin-top: 15px;
}

.download-btn:hover {
    background: #e55a00;
    transform: translateY(-2px);
}

/* Order Form */
.order-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #e55a00;
    transform: translateY(-2px);
}

/* Page Content */
.page-content {
    background: #f8f9fa;
    padding: 40px 0;
    min-height: 500px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sidebar-widget ul li a {
    display: block;
    padding: 12px 0;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-widget ul li a:hover,
.sidebar-widget ul li a.active {
    color: var(--primary-color);
    padding-left: 10px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.btn-submit {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #e55a00;
    transform: translateY(-2px);
    color: white;
}

/* ========================= */
/* BAYILER SAYFASI ÖZEL     */
/* ========================= */

/* Bayiler Ana Container */
.main-content {
    padding: 40px;
}

/* Dünya Haritası Bölümü */
.world-map-section {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
    margin: 0;
}

/* Harita Legend */
.map-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.legend-dot.headquarters {
    background-color: #ff6600;
}

.legend-dot.dealer {
    background-color: #4a7c59;
}

/* Dealer Kartları Grid */
.dealers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.dealer-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dealer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dealer-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.dealer-flag {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.dealer-title h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.3;
}

.dealer-region {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dealer-info {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--primary-color);
    width: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-item span {
    color: var(--text-light);
}

.dealer-contacts {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.dealer-contacts h4 {
    color: var(--primary-color);
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-person {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
    line-height: 1.4;
}

.contact-person strong {
    color: var(--text-dark);
}

.dealer-products {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Sidebar Widget'ları */
.sidebar .widget {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    margin-bottom: 25px;
}

.widget h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* Bölge Listesi */
.region-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.region-list li {
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
}

.region-list li:last-child {
    border-bottom: none;
}

.region-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.region-list a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.region-list i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 16px;
}

.region-badge {
    background: #f8f9fa;
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.region-list a:hover .region-badge {
    background: var(--primary-color);
    color: var(--white);
}

/* Ürün Kategorileri */
.product-categories {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: var(--transition);
}

.category-item:hover {
    background: var(--primary-lighter);
    transform: translateX(5px);
}

.category-item i {
    color: var(--primary-color);
    font-size: 24px;
    width: 30px;
    text-align: center;
}

.category-info h4 {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.category-info span {
    color: var(--text-light);
    font-size: 12px;
}

/* Bayi Başvuru Formu */
.dealer-application p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.application-form .form-group {
    margin-bottom: 0;
}

.application-form input,
.application-form select,
.application-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(213, 35, 42, 0.1);
}

.application-form textarea {
    resize: vertical;
    font-family: inherit;
}

.btn-apply {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-apply:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(213, 35, 42, 0.3);
}

/* İletişim Widget */
.contact-widget {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-info h4 {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-info p {
    color: var(--text-light);
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

/* Global İstatistikler */
.global-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
}

.stat-value {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
}

/* Geri Butonu */
.back-button-container {
    margin-bottom: 20px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-3px);
}

.back-text {
    font-weight: 500;
}

/* ========================= */
/* RESPONSIVE DESIGN        */
/* ========================= */

@media (max-width: 1200px) {
    .dealers-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }
    
    .content-wrapper {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Header Mobile */
    .header {
        display: none;
    }
    
    .navigation {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .mobile-content-wrapper {
        display: block;
        padding-top: 64px;
    }
    
    /* Mobil bayrak düzeltmeleri */
    .language-selector {
        gap: 2px;
        padding: 4px 6px;
        border-radius: 15px;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .flag-option {
        width: 28px;
        height: 20px;
        border-radius: 3px;
        border: 1px solid #ddd;
    }
    
    .flag-option img {
        width: 20px;
        height: 15px;
        border-radius: 1px;
    }
    
    .flag-option:hover,
    .flag-option.active {
        transform: scale(1.02);
        border-color: var(--primary-color);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }
    
    /* Page Header */
    .page-header {
        padding: 40px 0 20px;
        margin-top: 64px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    /* Content Layout */
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .main-content {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    /* Dealers Grid */
    .dealers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }
    
    .dealer-card {
        padding: 20px;
    }
    
    .dealer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .dealer-flag {
        font-size: 24px;
    }
    
    .dealer-title h3 {
        font-size: 1rem;
    }
    
    .info-item {
        font-size: 13px;
        flex-wrap: wrap;
    }
    
    .product-tag {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    /* Map Section */
    .world-map-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    #dealerMap {
        height: 300px !important;
    }
    
    .map-legend {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    /* Sidebar */
    .sidebar {
        gap: 15px;
    }
    
    .sidebar .widget {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .widget h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    /* Region List */
    .region-list a {
        font-size: 13px;
        padding: 10px 0;
    }
    
    /* Product Categories */
    .category-item {
        padding: 12px;
        gap: 12px;
    }
    
    .category-item i {
        font-size: 20px;
    }
    
    .category-info h4 {
        font-size: 13px;
    }
    
    .category-info span {
        font-size: 11px;
    }
    
    /* Application Form */
    .application-form input,
    .application-form select,
    .application-form textarea {
        padding: 10px;
        font-size: 13px;
    }
    
    .btn-apply {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    /* Contact Widget */
    .contact-item {
        gap: 10px;
    }
    
    .contact-info h4 {
        font-size: 13px;
    }
    
    .contact-info p {
        font-size: 12px;
    }
    
    /* Global Stats */
    .stat-row {
        padding: 10px 0;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .stat-value {
        font-size: 14px;
    }
    
    /* Container */
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    /* Very small screens */
    .dealers-grid {
        gap: 15px;
    }
    
    .dealer-card {
        padding: 15px;
    }
    
    .dealer-title h3 {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .dealer-region {
        font-size: 11px;
    }
    
    .info-item {
        font-size: 12px;
    }
    
    .product-tag {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .world-map-section {
        padding: 15px;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    #dealerMap {
        height: 250px !important;
    }
    
    .sidebar .widget {
        padding: 15px;
    }
    
    .widget h3 {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 10px;
    }
}

/* ========================= */
/* RTL SUPPORT FOR ARABIC   */
/* ========================= */

/* Arapça için sadece metin yönü RTL - Layout normal kalacak */
.goog-te-hl-ar {
    direction: rtl !important;
}

/* Sadece metin içerikli elementler RTL */
.goog-te-hl-ar p,
.goog-te-hl-ar h1,
.goog-te-hl-ar h2,
.goog-te-hl-ar h3,
.goog-te-hl-ar h4,
.goog-te-hl-ar h5,
.goog-te-hl-ar h6,
.goog-te-hl-ar span,
.goog-te-hl-ar div:not(.header-content):not(.logo):not(.language-selector):not(.nav-menu) {
    text-align: right !important;
    direction: rtl !important;
}

/* Dropdown menüler RTL için düzeltme - sadece açılma yönü */
.goog-te-hl-ar .dropdown-menu {
    left: auto !important;
    right: 0 !important;
}

.goog-te-hl-ar .sub-dropdown-menu {
    left: auto !important;
    right: 100% !important;
    margin-left: 0 !important;
    margin-right: 5px !important;
}

/* Dropdown arrow RTL için */
.goog-te-hl-ar .sub-dropdown > a::after {
    content: '←' !important;
    float: left !important;
    margin-left: 0 !important;
    margin-right: 10px !important;
}

/* Form elementleri RTL */
.goog-te-hl-ar .form-control {
    text-align: right !important;
    direction: rtl !important;
}

/* Liste elementleri RTL */
.goog-te-hl-ar ul,
.goog-te-hl-ar ol {
    padding-left: 0 !important;
    padding-right: 25px !important;
    direction: rtl !important;
}

.goog-te-hl-ar li {
    text-align: right !important;
    direction: rtl !important;
}

/* Tablo içerikleri RTL */
.goog-te-hl-ar .spec-table th,
.goog-te-hl-ar .spec-table td {
    text-align: right !important;
    direction: rtl !important;
}

/* Content alanları RTL - ama layout normal */
.goog-te-hl-ar .page-text p,
.goog-te-hl-ar .main-content p,
.goog-te-hl-ar .sidebar p,
.goog-te-hl-ar .product-info p,
.goog-te-hl-ar .dealer-info p,
.goog-te-hl-ar .haber-content p,
.goog-te-hl-ar .announcement-content p {
    text-align: right !important;
    direction: rtl !important;
}

/* Footer içerikler RTL ama layout normal */
.goog-te-hl-ar .footer-section p,
.goog-te-hl-ar .footer-section ul,
.goog-te-hl-ar .footer-section li {
    text-align: right !important;
    direction: rtl !important;
}

/* LAYOUT ELEMENTLERİ NORMAL KALACAK */
.goog-te-hl-ar .header-content,
.goog-te-hl-ar .logo,
.goog-te-hl-ar .language-selector,
.goog-te-hl-ar .nav-menu,
.goog-te-hl-ar .mobile-nav,
.goog-te-hl-ar .footer-bottom {
    direction: ltr !important;
}

/* Navigation menü itemları normal sırada - sadece text RTL */
.goog-te-hl-ar .nav-menu > li > a {
    text-align: center !important;
}

.goog-te-hl-ar .dropdown-menu a,
.goog-te-hl-ar .sub-dropdown-menu a {
    text-align: right !important;
}

/* Mobile navigation normal pozisyon */
.goog-te-hl-ar .mobile-nav {
    left: -320px !important;
    right: auto !important;
}

.goog-te-hl-ar .mobile-nav.show {
    left: 0 !important;
    right: auto !important;
}

/* Google Translate Override - KONTROLLÜ GİZLEME */
.goog-te-banner-frame,
.goog-te-gadget,
.goog-te-gadget-simple,
.goog-te-menu-frame,
.goog-te-balloon-frame,
.gtranslate_wrapper,
.gt-current-lang,
.goog-te-gadget-icon {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    z-index: -999 !important;
}

/* Google Translate Element'i gizli tut ama çalışmasına izin ver */
#google_translate_element {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    z-index: -1 !important;
}

/* Google Translate select'ini gizli tut ama erişilebilir yap */
#google_translate_element select {
    position: absolute !important;
    left: -9999px !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
}

body {
    top: 0 !important;
    position: static !important;
}

/* Body override for Google Translate */
body.goog-te-hl-en,
body.goog-te-hl-de,
body.goog-te-hl-ru,
body.goog-te-hl-ar,
body.goog-te-hl-fr,
body.goog-te-hl-es {
    top: 0 !important;
    position: static !important;
}

/* ANASAYFA MOBİL DÜZENLEMELERİ */
@media (max-width: 768px) {
    /* Mobile Content Wrapper için padding */
    .mobile-content-wrapper {
        padding-top: 64px;
    }
    
    /* Slider mobil düzenlemeleri */
.slider {
    height: 500px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ff6600, #ff8533);
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
    
    .slide img {
        height: 200px;
        object-fit: cover;
    }
    
    /* Content section mobil padding */
    .content-section {
        padding: 20px 0;
        background: #f5f5f5;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Katalog box mobil */
    .katalog-box {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .katalog-content h2 {
        font-size: 20px;
        text-align: center;
        justify-content: center;
    }
    
    .pdf-download-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Haber-Duyuru Grid mobil */
    .haber-duyuru-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .haberler-kolon h2,
    .duyurular-kolon h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .haberler-section,
    .duyurular-section {
        min-height: 300px;
        height: auto;
    }
    
    .haber-item img,
    .announcement-featured img {
        height: 180px;
    }
    
    .haber-content,
    .announcement-content {
        padding: 15px;
    }
    
    .haber-content h3,
    .announcement-content h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .haber-content p,
    .announcement-content p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    /* Footer mobil */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-logo img {
        max-height: 60px;
    }
    
    .footer-copyright p {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-links p {
        width: 100%;
        margin-bottom: 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    /* Çok küçük ekranlar için */
    .slider-container {
        height: 150px;
    }
    
    .slide img {
        height: 150px;
    }
    
    .katalog-box {
        padding: 15px;
    }
    
    .katalog-content h2 {
        font-size: 18px;
    }
    
    .katalog-content p {
        font-size: 14px;
    }
    
    .pdf-download-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .haber-item img,
    .announcement-featured img {
        height: 150px;
    }
    
    .haber-content h3,
    .announcement-content h4 {
        font-size: 14px;
    }
    
    .haber-content p,
    .announcement-content p {
        font-size: 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-section h4 {
        font-size: 14px;
    }
    
    .footer-section ul li a,
    .footer-contact p {
        font-size: 12px;
    }
    
    .container {
        padding: 0 10px;
    }
}

/* Leaflet controls responsive */
@media (max-width: 768px) {
    .leaflet-control-container {
        font-size: 14px;
    }
    
    .leaflet-control-zoom {
        margin: 5px !important;
    }
    
    .leaflet-control-zoom a {
        width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
    }
}
