﻿/* common/css/mobile.css */









/* ─── Desktop (≥
	px): hide mobile nav + header + reps ───────────── */
@media only screen and (min-width: 1024px) {
  /* mobile drawer & toggle */
  .nav-toggle,
  .nav-toggle-label,
  .nav-overlay,
  nav.mobile-nav,
  /* page header used for mobile */
  .page-header,
  /* the “Our Representatives” mobile section */
  .representatives-section {
    display: none !important;
  }
}

/* ─── Mobile (≤1024px): hide desktop top‐banner & nav ──────────────── */
@media only screen and (max-width: 1024px) {
  .ust-bg {
    display: none !important;
  }
}




@media only screen and (max-width: 1024px) {
	/* Make your page wrapper fluid */
	.page {
		width: auto !important;
		margin: 0 15px !important;
		padding: 0 !important;
	}

	/* ========== HEADER/SLIDER ========== */
	#header {
		height: 300px !important;
	}

	.headerimg {
		height: 300px !important;
		background-size: cover !important;
	}

	#headertxt {
		bottom: 15px !important;
		left: 15px !important;
		padding: 8px !important;
		font-size: 0.9rem !important;
	}

	/* Hide desktop menu, you can un-comment a mobile nav if you build one */
	.menu {
		display: none !important;
	}
	/* .mobile-nav { display: block !important; } */

	/* ========== INTRO + SECTOR ========== */
	.intro-sector {
		flex-direction: column !important;
		gap: 15px !important;
	}

	.introductionnnn,
	.sectorr {
		flex: 1 1 100% !important;
		max-width: 100% !important;
		width: auto !important;
	}
	/* If using the grid on .sectorr, collapse to one column */
	.sectorr {
		grid-template-columns: 1fr !important;
		width: 100% !important;
	}

	/* ========== BOX‑310 (Mission, Quality) ========== */
	.box-310 {
		width: 100% !important;
		float: none !important;
		margin: 0 0 20px !important;
	}

	/* ========== NEWS & GALLERY ========== */





	/* ========== IMAGES FLUID ========== */
	img {
		max-width: 100% !important;
		height: auto !important;
		display: block !important;
	}

	/* ========== TYPOGRAPHY ========== */
	body {
		font-size: 14px !important;
	}

	h1, h2, h3, h4 {
		font-size: 1.2rem !important;
	}

	/* ========== CONTACT GRID (if on homepage/contact page) ========== */
	.contact-grid {
		grid-template-columns: 1fr !important;
		grid-template-rows: repeat(5, auto) !important;
	}

	.contact-map {
		grid-column: 1 !important;
		grid-row: 5 !important;
		min-height: 200px !important;
	}

	/* ========== FOOTER ========== */
	.iletisim,
	.temsilci-ftr,
	.footer-reps {
		width: auto !important;
		float: none !important;
		text-align: center !important;
		margin: 10px auto !important;
	}
	/* prevent any accidental horizontal scroll */
	html, body {
		overflow: auto;
	}


	/* Make “Contact” and “Representatives” headings larger & bold */
	.footer-bg .iletisim .ilt-bs,
	.footer-bg .temsilci-ftr .tm-bs {
		font-size: 1.25rem !important;
		font-weight: 700 !important;
		margin-bottom: 0.5rem;
	}

	/* Tidy up contact details */
	.footer-bg .iletisim .adres,
	.footer-bg .iletisim .telefon,
	.footer-bg .iletisim .mails {
		font-size: 1rem !important;
		line-height: 1.5;
		margin-bottom: 0.25rem;
	}

	/* Add spacing before representatives list */
	.footer-bg .temsilci-ftr {
		margin-top: 1rem;
	}

	/* Style the reps links for readability */
	.footer-bg .footer-reps {
		padding: 0;
		margin: 0.5rem 0 1.5rem;
		list-style: none;
	}

		.footer-bg .footer-reps li {
			margin-bottom: 0.75rem;
		}

			.footer-bg .footer-reps li a {
				font-size: 1rem !important;
				font-weight: 600 !important;
				color: #fff !important;
			}


	/* ensure all major wrappers can’t exceed viewport */
	.page,
	#headernav-outer,
	.main-bottom-bg,
	.footer-bg,
	.faaliyet-panelgl,
	.jv-bg {
		max-width: 100% !important;
		width: auto !important;
		padding: 0 15px !important;
		box-sizing: border-box !important;
	}

	/* override that hard‑coded header nav width */
	#headernav-outer {
		margin: 0 auto !important;
	}

	/* collapse carousel padding that could push out */
	.faaliyet-panelgl {
		padding-left: 0 !important;
		margin: 15px 0 !important;
	}

	/* make sure any fixed‑width elements you missed also shrink */
	[style*="width: 1140px"], /* e.g. inline or attribute widths */
	[style*="width: 1000px"] {
		width: auto !important;
		max-width: 100% !important;
	}

	/* lastly, catch any rogue absolute or relative elements */
	* {
		box-sizing: border-box;
	}
	/* ====== Smaller fonts for mobile ====== */
	body {
		font-size: 12px !important;
		line-height: 1.4 !important;
	}

	/* Headings */
	h1 {
		font-size: 1.4rem !important; /* was ~1.6rem */
	}

	h2 {
		font-size: 1.2rem !important; /* was ~1.4rem */
	}

	h3, h4 {
		font-size: 1rem !important; /* keep these small & legible */
	}

	/* Paragraphs, list items, links */
	p,
	li,
	.menu ul li a,
	.buttonnnn,
	.devam,
	.tum-detay {
		font-size: 0.875rem !important; /* ~14px → ~12px */
	}

	/* Sector‑box buttons */
	.sectorr div[class$='-btn'] {
		font-size: 0.75rem !important; /* ~12px → ~10px */
		line-height: 1.2 !important;
	}

	/* Tighten up spacing */
	.introductionnnn p,
	.introductionnnn ul li,
	.hb-bs,
	.hbr-text,
	.foto-galeri-bs {
		margin-bottom: 0.5em !important;
	}

	/* Optional: if you still see any oversized text, force-check with: */
	* {
		font-size: inherit !important;
	}
	/* ====== Section Boundaries & Wrappers ====== */
	.main-bottom-color-bg,
	.main-bottom-bg,
	.footer-bg,
	.jv-bg {
		width: 100% !important;
		margin: 0 !important;
		padding: 10px 15px !important;
		box-sizing: border-box !important;
	}

	/* ====== Banner Slider (Header) ====== */
	#headernav-outer {
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		width: 100% !important;
		margin: 0 auto !important;
		padding: 0 10px !important;
	}

	#back, #control, #next {
		width: 40px !important;
		height: 40px !important;
		margin: 0 5px !important;
		background-size: contain !important;
	}

	/* ====== Representatives Carousel ====== */
	.faaliyet-panelgl {
		display: flex !important;
		flex-wrap: wrap !important;
		justify-content: center !important;
		gap: 10px !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.faaliyetgl li {
		float: none !important;
		width: 45% !important; /* two per row */
		margin: 5px !important;
		box-sizing: border-box !important;
	}

	/* ====== Footer Cleanup ====== */
	.footer-bg .page {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		gap: 10px !important;
	}

	.iletisim,
	.temsilci-ftr,
	.footer-reps {
		width: 100% !important;
		float: none !important;
		margin: 5px 0 !important;
		text-align: center !important;
		box-sizing: border-box !important;
	}

	.footer-reps {
		display: flex !important;
		flex-direction: column !important;
		gap: 5px !important;
		padding: 0 !important;
	}

	.copy,
	.threeinfour {
		width: 100% !important;
		text-align: center !important;
		margin: 5px 0 !important;
		float: none !important;
	}
	/* ====== Footer Contact Section Cleanup ====== */
	.iletisim {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		float: none !important;
		margin: 10px 0 !important;
		padding: 0 !important;
		text-align: center !important;
	}

		.iletisim .adres,
		.iletisim .telefon,
		.iletisim .mails {
			display: block !important;
			margin: 5px 0 !important;
			width: 100% !important;
			max-width: 300px !important;
			box-sizing: border-box !important;
		}
	/* ——— Button Spacing Reset ——— */
	.buttonnnn,
	.devam,
	.tum-detay,
	.site-btn {
		/* restore desktop spacing */
		margin: 15px 0 0 0 !important;
		padding: 0 15px !important;
		width: auto !important;
		display: inline-block !important;
		font-size: 13px !important;
		line-height: 32px !important;
	}

	/* ——— Sector Box Buttons ——— */
	.machinery-btn,
	.decor-btn,
	.spare-btn,
	.chemical-btn,
	.consultancy-btn {
		margin: 10px auto 0 auto !important; /* center under each image */
		padding: 0 !important; /* let desktop CSS control it */
		width: 190px !important; /* desktop width */
		line-height: 38px !important; /* desktop line‑height */
		background-position: center bottom !important; /* keep your icon bar */
		display: inline-block !important;
		font-size: 12px !important; /* desktop font */
	}

	/* ——— Slider Arrows ——— */
	#back, #control, #next {
		width: 56px !important;
		height: 56px !important;
		margin: 0 8px !important;
		background-size: cover !important;
	}
	/* ====== Mobile: Center Photo & Video Gallery ====== */
	.foto-galeri-blm .faaliyet-panelgl2,
	.foto-galeri-blm .faaliyetgl2 {
		width: 100% !important;
		margin: 0 auto !important;
		text-align: center !important;
		overflow: auto !important;
		box-sizing: border-box !important;
	}

		.foto-galeri-blm .faaliyetgl2 li {
			float: none !important;
			display: inline-block !important;
			margin: 0 5px !important; /* small gutter between items */
		}

			.foto-galeri-blm .faaliyetgl2 li img {
				display: block !important;
				margin: 0 auto !important;
				width: auto !important; /* let max-width rule take over */
				max-width: 90vw !important; /* image will never exceed 90% of viewport */
				height: auto !important;
			}

	/* 2‑column grid with minimal gaps */
	.sectorr {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		grid-auto-rows: auto !important;
		grid-gap: 2px !important;
		width: 100% !important;
		margin: 10px 0 !important;
	}

		/* Center “Consultancy” under both columns */
		.sectorr .consultancy {
			grid-column: 1 / -1 !important;
			justify-self: center !important;
			max-width: 48% !important;
		}

		/* Turn each tile into [big image][button] stack */
		.sectorr > a {
			display: flex !important;
			flex-direction: column !important;
			align-items: center !important;
			padding: 4px 0 !important;
			box-sizing: border-box !important;
		}

		/* Make the picture fill most of the tile */
		.sectorr .sector-img {
			flex: 1 1 auto !important;
			width: 100% !important;
			max-height: 100px !important; /* ← bump this to make pics even bigger */
			object-fit: cover !important;
			margin-bottom: 4px !important;
		}

		/* Full‑width button beneath each image */
		.sectorr div[class$='-btn'] {
			flex: 0 0 auto !important;
			width: 100% !important;
			min-height: 26px !important; /* ← adjust for taller/shorter buttons */
			padding: 0 8px !important;
			font-size: 0.7rem;
			line-height: 1 !important;
			display: flex !important;
			align-items: center !important;
			justify-content: center !important;
			box-sizing: border-box !important;
			text-align: center !important;
			background-size: cover !important;
			background-position: center bottom !important;
			background-repeat: no-repeat !important;
		}

	/* Shrink the main wrapper gutters */
	.page,
	#headernav-outer,
	.main-bottom-bg,
	.footer-bg {
		margin: 0 8px !important; /* only 8px on each side now */
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	/* If you also padded individual sections, override those too */
	.main-bottom-color-bg,
	.jv-bg,
	.haber-blm,
	.foto-galeri-blm {
		padding: 0 8px !important;
	}

	/* 1) Force html/body to never overflow and match viewport width */
	html, body {
		margin: 0 !important;
		padding: 0 !important;
		width: 100vw !important;
		max-width: 100vw !important;
		overflow-x: auto !important;
	}

	/* 2) Ensure all your main container sections span exactly the viewport */
	.page,
	#header,
	#headernav-outer,
	.main-bottom-color-bg,
	.main-bottom-bg,
	.jv-bg,
	.haber-blm,
	.foto-galeri-blm,
	.footer-bg {
		margin: 0 !important;
		padding: 0 !important;
		width: 100vw !important;
		max-width: 100vw !important;
		box-sizing: border-box !important;
	}

	/* 3) Catch any inline‑widths or images that leak out */
	[style*="width"],
	img,
	iframe {
		max-width: 100vw !important;
		width: auto !important;
		box-sizing: border-box !important;
	}
	/* ====== About Us Text Tweak ====== */
	.introductionnnn {
		padding: 10px !important; /* give some breathing room */
		font-size: 0.9rem !important; /* overall smaller base text */
		line-height: 1.4 !important; /* tighter yet legible */
	}

		.introductionnnn h1 {
			font-size: 1.3rem !important; /* smaller heading */
			margin-bottom: 0.5em !important;
		}

		.introductionnnn p,
		.introductionnnn ul {
			font-size: 0.8rem !important; /* smaller paragraph/list text */
			margin-bottom: 0.75em !important; /* consistent spacing */
		}

			.introductionnnn ul li {
				padding-left: 1em !important; /* indent bullets nicely */
			}
	/* ====== Mobile: Add side margins to sector grid ====== */
	.sectorr {
		/* keep your 2×3 layout but inset it from the edges */
		margin: 0 10px !important; /* 10px left/right space */
		width: auto !important; /* allow margin to take effect */
		max-width: calc(100% - 20px) !important; /* full width minus margins */
		box-sizing: border-box !important;
		/* you can also bump gap slightly if you like */
		grid-gap: 6px !important;
	}
	/* ====== Mobile: Add side margins to Mission/Vision/Quality boxes ====== */
	.box-310 {
		float: none !important;
		width: calc(100% - 20px) !important; /* full width minus gutters */
		max-width: calc(100% - 20px) !important;
		margin: 10px auto !important; /* 10px top/bottom, auto center */
		padding: 0 10px !important; /* optional inner padding */
		box-sizing: border-box !important;
	}
	/* ====== Mobile: Add gutters to News & Gallery ====== */
	.haber-blm,
	.foto-galeri-blm {
		float: none !important;
		width: calc(100% - 20px) !important; /* 10px each side */
		max-width: calc(100% - 20px) !important;
		margin: 15px auto !important; /* vertical spacing + center */
		padding: 0 10px !important; /* inner gutter */
		box-sizing: border-box !important;
	}

	/* Ensure each news item also doesn’t span edge‑to‑edge */
	.hb-box {
		margin: 10px 0 !important;
		padding: 10px !important;
	}

	/* Gallery UL centering already in place; just ensure the inner items fit */
	.faaliyetgl2 {
		margin: 0 auto !important;
		padding: 0 !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	/* tighten up the remaining paragraph */
	.introductionnnn > p:first-of-type {
		font-size: 0.9rem !important;
		line-height: 1.5 !important;
		margin: 0 !important;
		padding: 0 10px !important; /* small side padding */
		text-align: justify !important;
	}

	.introductionnnn {
		font-size: 0.8rem !important; /* base text smaller */
		line-height: 1.4 !important;
	}

		.introductionnnn h1 {
			font-size: 1.2rem !important; /* make the heading smaller */
			margin-bottom: 0.5em !important;
		}

		.introductionnnn p {
			font-size: 0.75rem !important; /* shrink paragraph text */
			margin-bottom: 0.75em !important;
		}

		.introductionnnn ul li {
			font-size: 0.75rem !important; /* shrink list items */
			margin-bottom: 0.5em !important;
		}
}

















/* ─── Hide mobile nav elements on desktop ───────────────────────────── */
.nav-toggle,
.nav-toggle-label,
.nav-overlay,
nav.mobile-nav,
.page-header {
	display: none; /* hide on desktop */
}

/* ─── Mobile (≤1024px): Right‑Edge Blue Drawer ───────────────────────── */
@media only screen and (max-width: 1024px) {
	/* 1) Hide desktop header and slider */
	#header,
	#headernav-outer,
	.jv-bg {
		display: none !important;
	}

	/* 2) Burger toggle (top‑right) */
	.nav-toggle-label {
		display: block !important;
		position: fixed;
		top: 16px;
		right: 16px;
		width: 36px;
		height: 36px;
		background: #0a3a66;
		color: #fff;
		font-size: 1.75rem;
		text-align: center;
		line-height: 36px;
		border-radius: 6px;
		cursor: pointer;
		z-index: 1002;
		transition: background 0.2s ease, transform 0.2s ease;
	}

		.nav-toggle-label:hover {
			background: #08304f;
		}

		.nav-toggle-label:active {
			transform: scale(0.9);
		}

	/* 3) Dimmed overlay */
	.nav-overlay {
		display: block !important;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background: rgba(10, 58, 102, 0.6);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
		z-index: 1001;
	}

	.nav-toggle:checked ~ .nav-overlay {
		opacity: 1;
		visibility: visible;
	}

	/* 4) Drawer panel */
	nav.mobile-nav {
		display: flex !important;
		flex-direction: column;
		justify-content: space-between;
		position: fixed;
		top: 0;
		right: 0;
		width: 80vw;
		max-width: 280px;
		height: 100vh;
		background: #0a3a66;
		padding: 60px 20px 20px;
		box-shadow: -2px 0 8px rgba(0,0,0,0.2);
		transform: translateX(100%);
		transition: transform 0.3s ease;
		z-index: 1002;
		overflow-y: auto;
	}

	.nav-toggle:checked ~ nav.mobile-nav {
		transform: translateX(0);
	}
	/* 5) MENU heading in the drawer */
	.mobile-nav-header {
		position: absolute;
		top: 90px; /* just under the burger */
		left: 50%; /* center horizontally */
		transform: translateX(-50%);
		width: auto;
		margin: 0;
		z-index: 1003;
		text-align: center;
	}

	.mobile-menu-title {
		color: #fff; /* white on blue */
		font-size: 1.25rem; /* adjust as desired */
		font-weight: 600;
		letter-spacing: 1px;
		text-transform: uppercase;
		margin: 0;
	}




	/* 6) Interactive links */
	.mobile-nav-links {
		list-style: none;
		margin: 0;
		padding: 0;
		flex: 1;
		overflow-y: auto;
	}

		.mobile-nav-links li + li {
			margin-top: 8px;
		}

		.mobile-nav-links a {
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 12px 15px;
			font-size: 1rem;
			color: #fff;
			text-decoration: none;
			background: rgba(255,255,255,0.05);
			border-radius: 4px;
			transition: background 0.2s ease, transform 0.2s ease;
		}

			.mobile-nav-links a:hover {
				background: rgba(255,255,255,0.15);
				transform: translateX(4px);
			}

			.mobile-nav-links a::after {
				content: '›';
				font-size: 1.2rem;
				color: rgba(255,255,255,0.7);
				transition: transform 0.2s ease;
			}

			.mobile-nav-links a:hover::after {
				transform: translateX(4px);
			}

	/* 7) Footer at bottom (plain text) */
	.mobile-nav-footer {
		margin-top: 20px;
		padding-top: 10px;
		border-top: 1px solid rgba(255,255,255,0.3);
		font-size: 0.9rem;
		color: #fff;
		text-align: center;
	}

		.mobile-nav-footer p {
			margin: 6px 0;
			padding: 0;
			background: none;
			border: none;
			line-height: 1.4;
		}
   /* show on mobile */
  .page-header {
    display: block !important;
    background: #0a3a66;    /* match your header/footer blue */
    padding: 5px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1003;          /* above everything else */
  }
  .page-header .page {
    padding: 0 15px;
  }
	.page-header__logo {
		display: block;
		margin: 4px 2px 4px 8px;
		width: 40px; /* adjust as needed */
		height: 40px; /* adjust as needed */
		background: url('../images/mobilelogo.png') no-repeat center/contain;
	}
    /* push logo + text all the way to the right */
    .page-header__inner {
        display: flex;
        justify-content: flex-start; /* ← change from center to flex‑end */
        width: 100%;
        box-sizing: border-box;
    }

    /* if you’re not using a separate .page-header__inner wrapper, you can do it on .page directly: */
    .page-header .page {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }


    /* tweak the logo */
    .page-header__logo {
        margin-right: 0px; /* space between logo & text */
    }

	/* ─── Mobile Header Title Styling ────────────────────────────────────── */
	.page-header__title {
		font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif; /* a clean, professional sans */
		font-size: 0.9rem !important; /* bigger than the previous 1rem */
		font-weight: 700; /* extra bold for impact */
		color: #fff; /* keep it white on your blue bar */
		margin: 16px 0px 0px; /* space from the logo */
		line-height: 1; /* center vertically with the logo */
	}

	/* push everything else below the header */
	body,
	#header,
	.nav-toggle-label,
	.nav-overlay {
		margin-top: 56px !important; /* header height + some breathing room */
	}
	/* push drawer content lower so MENU + links sit further down */
	nav.mobile-nav {
		padding: 140px 20px 20px !important;
	}





	/* ========================
   Our Representatives Grid
   ======================== */

	/* Section title */
	.representatives-section .section-title {
		font-size: 1.75rem;
		color: #00539f;
		text-align: center;
		margin-bottom: 1.5rem;
	}

	/* 2×3 grid with consistent gaps */
	.representatives-section .rep-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(3, auto);
		gap: 20px 16px; /* 20px row‑gap, 16px column‑gap */
		max-width: 640px;
		margin: 0 auto 40px; /* center + bottom space */
		padding: 0 16px;
	}

		/* Center the 5th card across both columns */
		.representatives-section .rep-grid .rep-card:nth-child(5) {
			grid-column: 1 / -1;
			justify-self: center;
			width: 60%; /* narrower than full width */
		}

	/* Card styling */
	.representatives-section .rep-card {
		background: #fff;
		border-radius: 12px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
		overflow: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 16px;
		transition: transform 0.25s ease, box-shadow 0.25s ease;
	}

		.representatives-section .rep-card:hover {
			transform: translateY(-6px) scale(1.02);
			box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
		}

		/* Logo image fill */
		.representatives-section .rep-card img {
			width: 100%;
			max-height: 70px;
			object-fit: cover;
			margin-bottom: 4px;
			border-radius: 4px;
		}

	/* Name label */
	.representatives-section .rep-card__name {
		background: rgba(0, 83, 159, 0.1);
		width: 100%;
		padding: 8px 0;
		font-size: 1rem;
		font-weight: 600;
		color: #00539f;
		text-align: center;
		border-radius: 0 0 12px 12px;
		transition: background 0.2s ease;
	}

	.representatives-section .rep-card:hover .rep-card__name {
		background: rgba(0, 83, 159, 0.2);
	}
}







/* ─── Mobile (≤1024px): “All Representatives” Section ───────────────── */
@media only screen and (max-width: 1024px) {
   /* 1) Container reset */
  .main-bottom-bg .page {
    display: block !important;
    padding: 70px 15px  !important;
    box-sizing: border-box;
  }

  /* 2) Sidebar menu full‑width on top */
  .left-blm {
    width: 100% !important;
    float: none !important;
    margin: 0 0 16px !important;
    box-sizing: border-box;
  }

  /* 3) “Our Representatives” heading in its pill */
  .tabs-bg {
    display: block !important;
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #00539f !important;
    margin-bottom: 8px !important;
  }

  /* 4) Wrap the nav links into a centered row */
  .left-menu ul#navigation-menu {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }
  .left-menu ul#navigation-menu li a {
    display: block;
    padding: 8px 10px;
    background: lightgray ;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    transition: background 0.2s;
  }
  .left-menu ul#navigation-menu li a:hover {
    background: #e1e1e1;
  }
  /* ─── Mobile Breadcrumbs: larger & left‑aligned ───────────────────────── */
.bread {
  text-align: left !important;
  font-size: 0.75rem !important;    /* bump up from .85rem */
  margin: 0 0 16px !important;     /* keep bottom spacing */
  color: #555 !important;
  line-height: 1.4 !important;
}
.bread a,
.bread span {
  color: #00539f !important;       /* links & separator in brand color */
  text-decoration: none !important;
  font-weight: 500 !important;
}
.bread a:hover {
  text-decoration: underline !important;
}













	/* 1) One-column grid for all logos */
	.representatives-grid {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 12px !important;
		padding: 0 !important;
		box-sizing: border-box !important;
		/* center each item horizontally within its column */
		justify-items: center !important;
		/* if your grid is narrower than the viewport, center the whole grid */
		justify-content: center !important;
	}


  /* 2) Cancel the “span two columns” hack so card #5 behaves like the rest */
  .representatives-grid > a:nth-child(5) {
    grid-column: auto !important;
    width: 89% !important;
  }

  /* 3) Ensure every card fills the row */
  .representatives-grid > a {
    width: 89% !important;
  }

  /* 4) Tidy up card & logo sizing */
  .representatives-grid .temsilci-sec {
    padding: 12px !important;
  }
  .representatives-grid .logo-marka {
    max-height: 50px !important;
    margin-bottom: 8px !important;
  }

  /* 5) Smaller description text */
  .representatives-grid .temsil-text {
    font-size: 0.65rem !important;  /* ~12.8px */
    line-height: 1.4 !important;
    text-align: left !important;
  }
    /* Make the “Detail »” button more compact */
  .representatives-grid .devam {
    font-size: 0.75rem !important;     /* smaller text */
    padding: 4px 8px !important;       /* tighter padding */
    margin-top: 6px !important;        /* a bit less gap */
    line-height: 1 !important;         
    border-radius: 3px !important;     /* slightly smaller corners */
  }











}






/* ─── FIX: Mobile Product Detail Block Overflow (≤1024px) ──────────── */
@media only screen and (max-width: 1024px) {
    .right-blm,
    .text-blmps,
    .urun-detay,
    .urun-detay-text {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
        padding-left: 1.5px !important;
        padding-right: 1.5px !important;
        overflow: auto !important;
    }

    /* Reset floats/margins of image explicitly */
    .logologo,
    .logologo img {
        float: none !important;
        display: block !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 10px auto !important;
    }

    /* Typography adjustments */
    .urun-detay-text {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        text-align: justify !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .urun-detay-text p {
        margin-bottom: 0.75em !important;
    }

    /* Adjust h2 and logo to left alignment */
    .text-blmps h2 {
        text-align: left !important;
        margin-bottom: 12px !important;
        font-size: 1.4rem !important;
        color: #00539f !important;
    }
}







/* Mobile Adjustments */
@media only screen and (max-width: 1024px) {
  .collections-heading {
    font-size: 1.3rem;
  }

  .collection-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }

  .collection-card {
    padding: 10px;
  }

  .collection-card__info {
    font-size: 0.85rem;
  }
}











/* HIDE MOBILE FOOTER ON DESKTOP */
@media only screen and (min-width: 1024px) {
  .mobile-footer {
    display: none !important;
  }
}

/* HIDE DESKTOP FOOTER ON MOBILE */
@media only screen and (max-width: 1024px) {
  .footer-bg,
  .page-footer {
    display: none !important;
  }

  .mobile-footer {
    display: block !important;
    background: #0a3a66;
    color: #fff;
    font-family: Arial, sans-serif;
    padding: 20px 12px;
    box-sizing: border-box;
  }

  .mobile-footer a {
    color: #fff;
    text-decoration: none;
  }

  /* Top: Logo + Company Name */
  .mf-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .mf-logo {
    width: 80px;
    height: auto;
    display: block;
    margin-bottom: 8px;
  }

  .mf-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
  }

  /* Two-column layout */
  .mf-main {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
  }

  .mf-col {
    width: 48%;
  }

  .mf-col h4 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
  }

  .mf-col p,
  .mf-col ul {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 0 8px 0;
  }

  .mf-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mf-col ul li {
    margin-bottom: 4px;
  }

  /* Bottom section: copyright + credit */
  .mf-bottom {
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.4;
    opacity: 0.9;
  }

  .mf-credit {
    margin-top: 4px;
    font-style: italic;
  }
}










@media only screen and (max-width: 1024px) {
  .footer-bg,
  .page-footer {
    display: none !important;
  }

  .mobile-footer {
    display: block !important;
    background: #0a3a66;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    padding: 20px 12px;
    width: 100vw;
    box-sizing: border-box;
  }

  .mobile-footer a {
    color: #fff;
    text-decoration: none;
  }

  .mf-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .mf-logo-link {
    display: inline-block;
  }

  .mf-logo {
    width: 80px;
    height: auto;
    margin-bottom: 8px;
  }

  .mf-title {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
  }

  .mf-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
  }

  .mf-col {
    width: 48%;
  }

  .mf-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 1px solid #fff;
    padding-bottom: 4px;
    margin-bottom: 10px;
  }

  .mf-col p,
  .mf-col ul {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 4px 0;
  }

  .mf-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mf-col ul li {
    margin-bottom: 6px;
    transition: color 0.2s;
  }

  .mf-col ul li a:hover {
    text-decoration: underline;
    color: #ffcc00;
  }

  .mf-bottom {
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.85;
    line-height: 1.4;
  }

  .mf-credit {
    margin-top: 4px;
    font-style: italic;
  }
}

@media only screen and (min-width: 1024px) {
  .mobile-footer {
    display: none !important;
  }
}









/* ===== Mobile Footer Styles ===== */

/* Hide on desktop */
.mobile-footer {
  display: none;
}

@media only screen and (max-width: 1024px) {
  /* Show mobile footer */
  .mobile-footer {
    display: block;
    background: #0a3a66;
    color: #fff;
    font-family: Arial, sans-serif;
    padding: 20px 16px;
    box-sizing: border-box;
    width: 100%;
  }

  .mobile-footer a {
    color: #fff;
    text-decoration: none;
  }

  .mobile-footer a:hover {
    text-decoration: underline;
  }

  /* Top Logo + Company Name */
  .mf-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 50px;
  }

  .mf-logo {
    max-width: 55px !important;
  }

    .mf-title {
        font-size: 1.25rem;
        font-weight: 700;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

  /* Main section: Contact + Reps */
  .mf-main {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .mf-col {
    width: 48%;
    box-sizing: border-box;
  }

  .mf-col h4 {
    font-size: 0.6rem !important;
    margin-bottom: 8px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 4px;
  }

  .mf-col p,
  .mf-col ul {
    font-size: 0.5rem !important;
    line-height: 1.4;
    margin: 0 0 8px 0;
  }

  .mf-col ul {
    list-style: none;
    padding: 0;
  }

    .mf-col ul li {
        margin-bottom: 6px;
        padding-left: 10px;
        font-size: 0.65rem !important;
        position: relative;
    }

  .mf-col ul li::before {
    content: "\2022";
    color: #ffffffcc;
    position: absolute;
    left: 0;
  }

  /* Bottom copyright area */
  .mf-bottom {
    text-align: center;
    font-size: 0.4rem !important;
    opacity: 0.8;
  }


    .mf-bottom p {
        text-align: center;
        font-size: 0.65rem !important;
        opacity: 0.8;
    }


  .mf-credit {
    margin-top: 4px;
    font-weight: 400;
    font-size: 0.65rem !important;
  }
}









.mobile-footer {
  background: #0a3a66;
  color: #fff;
  padding: 20px 12px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  font-size: 0.1rem;
}
.mf-title {
  font-size: 0.7rem !important;
}
.mf-main {
    font-size: 0.8rem !important;
}
.mf-col h4 {
    font-size: 0.8rem !important;
}
.mf-col p,
.mf-col ul {
    font-size: 0.7rem !important;
}
.mf-bottom {
    font-size: 0.6rem !important;
}



.nav-overlay {
  /* let this element be present (for styling), but not receive clicks */
  pointer-events: none;
}
.nav-toggle:checked ~ .nav-overlay {
  /* once checked, allow clicks so it can close the menu */
  pointer-events: auto;
}










/* ─── Mobile Banner Slider ─── */
@media (max-width: 1024px) {
  .mobile-banner-slider {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 16px; /* space under slider */
  }
  .mobile-banner-slider .slides {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .mobile-banner-slider .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
  }
  .mobile-banner-slider .slide.active {
    opacity: 1;
  }

  /* Optional caption */
  .mobile-banner-slider .slide .text {
    position: absolute;
    bottom: 8px; left: 8px;
    color: #fff;
    font-size: 0.9em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
  }
  .mobile-banner-slider .slide .text h2 {
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
  }
  .mobile-banner-slider .slide .text p {
    margin: 2px 0 0;
    font-size: 0.85em;
  }

  /* Dots */
  .mobile-banner-slider .dots {
    position: absolute;
    bottom: 8px; right: 8px;
    display: flex;
    gap: 6px;
  }
  .mobile-banner-slider .dots .dot {
    width: 8px; height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transition: background 0.3s, transform 0.2s;
  }
  .mobile-banner-slider .dots .dot.active {
    background: #fff;
    transform: scale(1.3);
  }
  .mobile-banner-slider .dots .dot:hover {
    transform: scale(1.2);
  }

}



@media only screen and (max-width: 1024px) {
  /* 1) Kill the slider’s bottom‐margin */
  .mobile-banner-slider {
    margin-bottom: 10px !important;
  }

  /* 2) Remove that 70px top‐padding so the menu (left‐blm) sits flush */
  .main-bottom-bg .page {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }


}




/* Subtitle background */
@media (max-width: 1024px) {
	.mobile-banner-slider .slide .text p {
		margin: 2px 0 0;
		font-size: 0.85em;
		/* new: */
		background: rgba(0, 0, 0, 0.6);
		display: inline-block;
		padding: 4px 6px;
		border-radius: 3px;
	}
}
.font12 {
	font-size: 12px !important;
}















