@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;600;700;800&display=swap');

/* BRAND COLOR SYSTEM */
:root {
  --primary: #316d75;
  --primary-dark: #1d4348;
  --primary-light: #4c8a92;
  --accent: #f59e0b; /* Safety amber yellow */
  --accent-light: #fbbf24;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text-dark: #0f1719;
  --text-light: #f1f5f9;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --capacity-icon-size: 20px;
  --mv-title: #ffffff;
  --mv-text: #ffffff;
  --mv-bg-1: #316d75;
  --mv-bg-2: #1d4348;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: rgba(31, 38, 135, 0.08);
  --transition-fast: 0.25s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px -5px rgba(29, 67, 72, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* RESET & CORE STYLE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id], header[id] {
  scroll-margin-top: 90px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* CONTAINER UTILITIES (Enlarged for 1920x1080 screens) */
.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-bg-alt {
  background-color: #f1f5f9;
}

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

.section-tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 14px rgba(49, 109, 117, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(49, 109, 117, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #d97706);
  color: white;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* HEADER & NAVBAR */
.topbar {
  background-color: var(--primary-dark);
  color: white;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-info {
  display: flex;
  gap: 24px;
}

.topbar-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-info i {
  color: var(--accent);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-fast);
}

.header.scrolled {
  background-color: var(--primary-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-md);
}

.header.scrolled a {
  color: white;
}

.header.scrolled .logo-text {
  color: white;
}

.header.scrolled .logo-title {
  color: white;
}

.header.scrolled .logo-img {
  filter: brightness(0) invert(1);
}

.header.scrolled .nav-menu a::after {
  background-color: var(--accent);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 50px;
  width: auto;
  transition: height var(--transition-fast), filter var(--transition-fast);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-wrapper.no-text .logo-img {
  height: 75px;
}

.logo-wrapper.no-text .logo-text {
  display: none;
}

.logo-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 1px;
  transition: color var(--transition-fast);
}

.logo-subtitle {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-dark);
}

/* HERO SLIDER (Auto-fade background slider) */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  padding: 120px 0;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 30%, rgba(29, 67, 72, 0.7) 100%);
}

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

.hero-badge {
  background-color: var(--accent);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 24px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

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

.hero-desc {
  font-size: 19px;
  opacity: 0.9;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* ABOUT / HAKKIMIZDA */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: flex-start;
}

.about-text h3 {
  font-size: 28px;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 16px;
}

.capacity-card {
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
}

.capacity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.capacity-title {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.capacity-title i {
  color: var(--accent);
}

.capacity-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.capacity-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 12px;
}

.capacity-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.capacity-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.capacity-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.capacity-label i {
  color: var(--primary);
  width: calc(var(--capacity-icon-size) + 4px);
  font-size: var(--capacity-icon-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.capacity-val {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 18px;
}

/* NESTED CAPACITY DETAILS STYLE */
.cap-sub-list {
  margin-top: 8px;
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cap-sub-item-text {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.cap-sub-item-text i {
  font-size: 6px;
  color: var(--accent);
}

.capacity-highlight {
  background-color: #ecf3f4;
  padding: 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  border-left: 4px solid var(--primary);
}

.capacity-highlight-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-dark);
  white-space: nowrap;
}

.capacity-highlight-desc {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* MISSION & VISION BOXES */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}

.mv-box {
  padding: 40px;
  border-radius: var(--radius-md);
  color: var(--mv-text);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mv-box-1 {
  background: var(--mv-bg-1);
}

.mv-box-2 {
  background: var(--mv-bg-2);
}

.mv-box i {
  font-size: 40px;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 20px;
  display: block;
}

.mv-box h4 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--mv-title) !important;
}

.mv-box p {
  font-size: 15px;
  opacity: 0.95;
  line-height: 1.6;
  color: var(--mv-text) !important;
}

/* PRODUCTS / ÜRÜN VE HİZMETLER */
.products-desc {
  max-width: 1000px;
  margin: -40px auto 50px auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.product-badge {
  background-color: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 18px;
  width: 80px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.product-title {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-details {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
}

.detail-label {
  color: var(--text-muted);
  font-weight: 500;
}

.detail-val {
  font-weight: 600;
  color: var(--text-dark);
}

/* CONCRETE & STEEL CALCULATORS DUAL GRID */
.calculators-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 1280px) {
  .calculators-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.calc-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.calc-form-panel {
  padding: 30px 35px;
}

.calc-result-panel {
  background: linear-gradient(135deg, var(--primary-dark), #0f2427);
  color: white;
  padding: 30px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.calc-result-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background: radial-gradient(circle, var(--accent) 10%, transparent 11%);
  background-size: 16px 16px;
}

.calc-group {
  margin-bottom: 24px;
}

.calc-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.calc-input {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: var(--transition-fast);
}

.calc-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(49, 109, 117, 0.15);
}

.calc-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.calc-result-title {
  font-size: 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: 700;
}

.calc-result-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 30px;
}

.calc-result-value {
  font-size: 56px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  color: white;
  line-height: 1;
}

.calc-result-unit {
  font-size: 24px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.calc-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calc-info-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: var(--radius-sm);
}

.calc-info-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 12px;
}

.calc-info-num {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.calc-info-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.calc-disclaimer {
  margin-top: 30px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.calc-disclaimer i {
  margin-top: 2px;
}

.btn-sync {
  transition: background-color var(--transition-fast);
}

.btn-sync:hover {
  background-color: var(--primary-dark) !important;
}

/* TECHNICAL INFO (ACCORDION) */
.tech-container {
  width: 100%;
}

.accordion-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.accordion-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.accordion-header {
  width: 100%;
  padding: 24px 30px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.accordion-icon {
  font-size: 16px;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background-color: #fcfdfe;
}

.accordion-content-inner {
  padding: 0 30px 30px 30px;
  font-size: 15px;
  color: var(--text-muted);
}

.accordion-content-inner strong {
  color: var(--text-dark);
  display: inline;
}

.accordion-content-inner ul {
  margin-top: 10px;
}

/* Fixed Vertical Alignment for List Bullet Items */
.accordion-content-inner li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.accordion-content-inner li i {
  color: var(--accent);
  font-size: 10px;
  margin-top: 6px; /* Lower dot slightly to sit level with text middle line */
  flex-shrink: 0;
}

/* REFERENCES (3-Column Desktop Grid with enlarged images) */
.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-muted);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); /* Enlarged items sizing */
  gap: 35px;
}

@media (min-width: 1024px) {
  .references-grid {
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 items per row on desktop */
  }
}

.reference-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  opacity: 1;
}

.reference-card.hidden {
  display: none;
}

.reference-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px; /* Enlarged reference card image height */
  background-color: #e2e8f0;
}

/* Generic mock image styling inside references */
.reference-img-wrapper::after {
  content: '\f1ad';
  font-family: 'FontAwesome';
  font-size: 48px;
  color: rgba(49, 109, 117, 0.15);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.reference-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.reference-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.reference-card:hover img {
  transform: scale(1.06);
}

.reference-info {
  padding: 24px;
}

.reference-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.reference-title {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.reference-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* CONTACT, MAP, & FORM LAYOUT RE-POSITIONING */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.contact-upper-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: stretch;
}

.contact-info-panel h3 {
  font-size: 26px;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

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

.contact-link-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-link-icon {
  background-color: rgba(49, 109, 117, 0.1);
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

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

.contact-link-details p,
.contact-link-details a {
  font-size: 15px;
  color: var(--text-muted);
}

.contact-link-details a:hover {
  color: var(--primary);
}

/* Inline map styling */
.contact-map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 100%;
  min-height: 350px;
  box-shadow: var(--shadow-sm);
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Form below, occupying full width or styled centered */
.contact-lower-form {
  width: 100%;
}

.contact-form-card {
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.contact-form-title {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(49, 109, 117, 0.15);
}

textarea.form-input {
  resize: vertical;
}

/* FOOTER */
.footer {
  background-color: #111a1c;
  color: #94a3b8;
  padding: 80px 0 20px 0;
  border-top: 5px solid var(--primary-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-widget h4 {
  color: white;
  font-size: 18px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.footer-widget p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  background-color: white;
  padding: 4px;
  border-radius: 4px;
}

.footer-logo-title {
  color: white;
  font-weight: 800;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-links i {
  font-size: 12px;
  color: var(--accent);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: white;
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: -60px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 999;
  transition: var(--transition-normal);
}

.back-to-top.show {
  right: 30px;
}

.back-to-top:hover {
  background-color: var(--accent);
  transform: translateY(-4px);
}

/* ALERT NOTIFICATIONS */
.alert-popup {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: var(--primary-dark);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(150%);
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  border-left: 5px solid var(--accent);
}

.alert-popup.show {
  transform: translateY(0);
}

/* MEDIA QUERIES (RESPONSIVE) */
@media (max-width: 1280px) {
  .references-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 48px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .calc-container {
    grid-template-columns: 1fr;
  }
  .contact-upper-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  .header .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  body {
    font-size: 14px;
  }
  .section-title {
    font-size: 28px;
  }
  .topbar {
    display: none;
  }
  .navbar {
    padding: 12px 0;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-toggle {
    display: block;
  }
  .nav-link {
    font-size: 15px;
  }
  .header.scrolled .nav-toggle {
    color: white;
  }
  .header.scrolled .nav-menu {
    background-color: rgba(29, 67, 72, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
  }
  .header.scrolled .nav-menu .nav-link {
    color: white;
  }
  .hero {
    min-height: auto;
    padding: 100px 0 80px 0;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .about-text h3 {
    font-size: 22px;
  }
  .capacity-val {
    font-size: 16px;
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .calc-form-panel, .calc-result-panel {
    padding: 30px;
  }
  .calc-result-value {
    font-size: 44px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* clickable product cards */
.product-card {
  cursor: pointer;
}


/* PRODUCT MODAL STYLES */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 25, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  width: 95%;
  max-width: 600px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-dark);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--accent);
}

.modal-badge {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-weight: 800;
  font-size: 20px;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 24px;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.modal-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.6;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  background-color: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 25px;
}

.spec-item {
  font-size: 14px;
  color: var(--text-dark);
}

.spec-item strong {
  color: var(--text-muted);
}

.modal-use-cases h4 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.modal-use-cases ul {
  padding-left: 20px;
  list-style-type: disc;
  font-size: 14px;
  color: var(--text-muted);
}

.modal-use-cases li {
  margin-bottom: 8px;
}

.modal-actions {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
}

/* TESTIMONIALS SLIDER */
.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.testimonials-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 40px;
  text-align: center;
}

.testimonial-quote {
  font-size: 20px;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 25px;
  line-height: 1.6;
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-family: 'Montserrat', sans-serif;
  font-size: 80px;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: -40px;
  left: 20px;
  line-height: 1;
}

.testimonial-stars {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 16px;
}

.testimonial-stars i {
  margin: 0 2px;
}

.testimonial-author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-dark);
}

.testimonial-company {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.dot.active {
  background-color: var(--primary);
}

/* WEATHER WARNING BANNERS */
.weather-alert {
  margin-bottom: 25px;
  border-radius: var(--radius-lg);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.weather-alert-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.weather-alert-info strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.weather-alert-ideal {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}
.weather-alert-ideal .weather-alert-icon {
  color: #22c55e;
}
.weather-alert-cold {
  background-color: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}
.weather-alert-cold .weather-alert-icon {
  color: #3b82f6;
}
.weather-alert-hot {
  background-color: #fffbeb;
  border-color: #fef08a;
  color: #854d0e;
}
.weather-alert-hot .weather-alert-icon {
  color: #f59e0b;
}

/* FORM ELEMENTS FOR MODALS */
.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}
@media (max-width: 600px) {
  .modal-form-grid {
    grid-template-columns: 1fr;
  }
}
.modal-form-group {
  margin-bottom: 12px;
}
.modal-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-dark);
}
.modal-form-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
  color: var(--text-dark);
  outline: none;
}
.modal-form-input:focus {
  border-color: var(--primary);
}

/* PHOTO GALLERY & LIGHTBOX STYLES */
.gallery-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
  box-shadow: var(--shadow);
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-photo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-photo-card:hover img {
  transform: scale(1.05);
}

.gallery-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 25, 0.7) 0%, rgba(15, 23, 25, 0) 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-photo-card:hover .gallery-photo-overlay {
  opacity: 1;
}

.gallery-photo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 25, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content-wrapper {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  z-index: 3010;
}

.lightbox-btn:hover {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

@media (max-width: 1024px) {
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
}

.lightbox-close-btn {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox-close-btn:hover {
  color: var(--accent);
}

/* Print Media Stylesheet */
#print-section {
  display: none;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 8mm 10mm 22mm 10mm;
  }

  /* Hide main site wrapper and overlays */
  #app-wrapper, .modal-overlay, .alert-popup {
    display: none !important;
  }
  
  /* Show only our print section */
  #print-section {
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', Arial, sans-serif;
    color: #000;
    background: #fff;
  }

  /* Specific print formatting for nice page-breaks and look */
  .print-header {
    border-bottom: 2px solid #316d75;
    padding-bottom: 8px;
    margin-bottom: 12px;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }
  
  .print-logo-box {
    display: flex !important;
    align-items: center;
    gap: 10px;
  }
  
  .print-logo-img {
    height: 40px !important;
    width: auto !important;
  }

  .print-title {
    font-size: 18px !important;
    font-weight: bold;
    color: #1d4348 !important;
    line-height: 1.2;
  }
  
  .print-subtitle {
    font-size: 10px !important;
    color: #555;
    line-height: 1.2;
  }

  .print-meta {
    text-align: right;
    font-size: 11px;
    color: #555;
    line-height: 1.4;
  }

  .print-report-title {
    font-size: 18px !important;
    font-weight: 800;
    text-align: center;
    color: #1d4348;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .print-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px;
    margin-bottom: 15px;
  }

  .print-card {
    flex: 1 !important;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px;
    background: #f8fafc;
    box-sizing: border-box;
  }

  .print-card h3 {
    font-size: 13px !important;
    font-weight: 700;
    color: #1d4348;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 6px;
    margin-bottom: 10px;
    text-transform: uppercase;
  }

  .print-row {
    display: flex !important;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 12px;
    border-bottom: 1px dashed #e2e8f0;
  }

  .print-row:last-child {
    border-bottom: none;
  }

  .print-row strong {
    color: #0f172a;
  }

  .print-result-row {
    display: flex !important;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 2px solid #316d75;
    font-size: 14px !important;
    font-weight: bold;
    color: #1d4348;
  }

  .print-disclaimer {
    font-size: 10px !important;
    color: #64748b;
    margin-top: 10px;
    padding: 8px 12px;
    border-left: 3px solid #f59e0b;
    background-color: #fffbeb;
    line-height: 1.4;
  }

  .print-signatures {
    display: flex !important;
    justify-content: space-between;
    margin-top: 20px;
  }

  .print-signature-col {
    width: 180px;
    text-align: center;
    border-top: 1px solid #475569;
    padding-top: 6px;
    font-size: 11px;
    color: #475569;
  }

  .print-footer {
    position: fixed;
    bottom: 15px;
    left: 20px;
    right: 20px;
    text-align: center;
    font-size: 10px;
    color: #64748b;
  }
}

/* ==========================================================================
   HYDRAULIC PRESS SIMULATOR STYLES
   ========================================================================== */

.press-simulator-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  margin-top: 50px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.press-simulator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.simulator-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch;
}

.simulator-screen {
  background: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  background-size: 15px 15px, 15px 15px, auto;
  border: 4px solid #334155;
  border-radius: var(--radius-md);
  padding: 20px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8), var(--shadow-md);
  overflow: hidden;
}

/* Neon red warning lights when alarm class is active */
.simulator-screen.alarm::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(239, 68, 68, 0.15);
  animation: alarm-pulse 0.5s infinite alternate;
  pointer-events: none;
  z-index: 10;
}

@keyframes alarm-pulse {
  0% { opacity: 0.1; }
  100% { opacity: 1.0; }
}

.press-machine {
  width: 240px;
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Structural columns on left and right for industrial look */
.press-machine::before, .press-machine::after {
  content: '';
  position: absolute;
  top: 30px;
  width: 16px;
  height: 255px;
  background: linear-gradient(to right, #475569 0%, #94a3b8 50%, #334155 100%);
  box-shadow: inset 1px 0 3px rgba(255,255,255,0.2), 3px 0 5px rgba(0,0,0,0.4);
  z-index: 0;
}
.press-machine::before {
  left: 10px;
}
.press-machine::after {
  right: 10px;
}

.press-top-plate {
  width: 100%;
  height: 30px;
  background: linear-gradient(to bottom, #cbd5e1 0%, #64748b 40%, #334155 100%);
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  z-index: 4;
  border-bottom: 2px solid #1e293b;
}

.press-base-plate {
  width: 100%;
  height: 35px;
  background: linear-gradient(to bottom, #94a3b8 0%, #475569 40%, #0f172a 100%);
  border-radius: 6px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
  z-index: 4;
  border-top: 2px solid #1e293b;
}

.piston-housing {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 50px;
  background: linear-gradient(to right, #1e293b, #475569, #334155, #1e293b);
  border-bottom: 3px solid #0f172a;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), inset 0 -1px 2px rgba(255, 255, 255, 0.1);
  z-index: 3;
}

.press-piston {
  width: 36px;
  height: 120px;
  background: linear-gradient(90deg, #94a3b8 0%, #ffffff 20%, #e2e8f0 40%, #cbd5e1 60%, #64748b 80%, #334155 100%);
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  box-shadow: inset 1px 0 2px rgba(255,255,255,0.4), 0 4px 6px rgba(0,0,0,0.3);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
}

.press-piston::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 16px;
  background: linear-gradient(to bottom, #cbd5e1 0%, #475569 100%);
  border: 1.5px solid #1e293b;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4), inset 0 1px 2px rgba(255,255,255,0.5);
}

/* Fast linear transition during active crushing */
.press-piston.active-test {
  transition: transform 0.05s linear;
}

/* Laser indicator lines on columns */
.laser-line {
  position: absolute;
  top: 30px;
  width: 4px;
  height: 255px;
  z-index: 1;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 2px;
  background-color: rgba(74, 222, 128, 0.15); /* Dormant green */
}

.left-laser {
  left: 16px; /* Centered on the 16px column at left: 10px */
}

.right-laser {
  right: 16px; /* Centered on the 16px column at right: 10px */
}

.laser-safe {
  background-color: #22c55e;
  box-shadow: 0 0 10px #22c55e, 0 0 20px #22c55e;
}

.laser-warning {
  background-color: #eab308;
  box-shadow: 0 0 10px #eab308, 0 0 20px #eab308;
}

.laser-danger {
  background-color: #ef4444;
  box-shadow: 0 0 10px #ef4444, 0 0 20px #ef4444;
  animation: laser-blink 0.3s infinite alternate;
}

.laser-alarm {
  background-color: #ef4444;
  box-shadow: 0 0 15px #ef4444, 0 0 30px #ef4444;
  animation: laser-blink-fast 0.15s infinite alternate;
}

@keyframes laser-blink {
  0% { opacity: 0.4; }
  100% { opacity: 1.0; }
}

@keyframes laser-blink-fast {
  0% { opacity: 0.2; }
  100% { opacity: 1.0; }
}

/* Sound toggle button HUD */
.btn-sound-toggle {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.80);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.2s ease;
  outline: none;
}

.btn-sound-toggle:hover {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
  transform: scale(1.08);
}

.btn-sound-toggle:active {
  transform: scale(0.95);
}

/* Stress-strain HUD chart wrapper */
.simulator-chart-wrapper {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 146px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 6px 8px;
  z-index: 15;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none; /* Let clicks pass through if user clicks columns */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.simulator-chart-wrapper canvas {
  display: block;
  width: 100%;
  height: auto;
}

.concrete-block-wrapper {
  width: 140px;
  height: 140px;
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}

.concrete-block {
  width: 120px;
  height: 120px;
  background-color: #8b96a4; /* Solid concrete gray */
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 0),
    radial-gradient(rgba(0, 0, 0, 0.16) 1.5px, transparent 0);
  background-size: 8px 8px;
  background-position: 0 0, 4px 4px;
  border: 5px solid #576375; /* Solid gray border */
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(0,0,0,0.25);
  transition: transform 0.1s linear, height 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-radius 0.3s ease, background-color 0.5s ease, box-shadow 0.3s ease;
}

.concrete-block.shaking {
  animation: shake-block 0.08s infinite alternate;
}

.concrete-block.shaking-hard {
  animation: shake-block-hard 0.04s infinite alternate;
}

.concrete-block.broken {
  height: 75px;
  background-color: #555e6a; /* Darker solid concrete gray */
  border-color: #353c47;
  border-radius: 12px 12px 6px 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0,0,0,0.55);
  transform: scaleX(1.22);
}

.block-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 850;
  font-size: 28px;
  color: rgba(15, 23, 26, 0.3);
  text-shadow: 1px 1px 1px rgba(255,255,255,0.2), -1px -1px 1px rgba(0,0,0,0.4);
  pointer-events: none;
  user-select: none;
  transition: opacity 0.3s ease;
}

.concrete-block.broken .block-label {
  opacity: 0.05;
}

.crack-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#crack-svg path {
  transition: stroke-dashoffset 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, stroke 0.3s ease, stroke-width 0.3s ease;
  opacity: 0;
}

.show-cracks-1 #crack-lvl1 {
  stroke-dashoffset: 0 !important;
  opacity: 0.8;
}

.show-cracks-2 #crack-lvl1 {
  stroke-dashoffset: 0 !important;
  opacity: 0.9;
  stroke: #1e293b;
  stroke-width: 3px;
}
.show-cracks-2 #crack-lvl2 {
  stroke-dashoffset: 0 !important;
  opacity: 0.85;
}

.show-cracks-3 #crack-lvl1,
.show-cracks-3 #crack-lvl2 {
  opacity: 1;
  stroke-width: 4.5px;
  stroke: #0f172a;
}
.show-cracks-3 #crack-lvl3 {
  stroke-dashoffset: 0 !important;
  opacity: 1;
}

/* Gauge details */
.gauge-box {
  background-color: #0b0f19;
  border: 2px solid #1e293b;
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: inset 0 2px 12px rgba(0,0,0,0.9), var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.gauge-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.03) 50%, rgba(0, 0, 0, 0.1) 50%);
  background-size: 100% 4px;
  pointer-events: none;
}

.gauge-title {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.gauge-value {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 800;
  font-size: 44px;
  color: #f59e0b;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.gauge-value::after {
  content: ' MPa';
  font-size: 18px;
  color: #475569;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-shadow: none;
}

.gauge-box.broken-gauge .gauge-value {
  color: #ef4444;
  text-shadow: 0 0 15px rgba(239, 68, 68, 0.9);
  animation: blink-gauge 0.4s infinite alternate;
}

.gauge-bar-wrapper {
  background-color: #111827;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #1e293b;
}

.gauge-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
  border-radius: 4px;
  transition: width 0.05s linear;
}

.gauge-box.broken-gauge .gauge-bar {
  background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.9);
  width: 100% !important;
}

/* Stats list details */
.sim-stats {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-top: 15px;
  box-shadow: var(--shadow-md);
  animation: slide-down 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 14px;
}

.stat-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-row span {
  color: var(--text-muted);
  font-weight: 500;
}

.stat-row strong {
  font-size: 15px;
}

.equiv-card {
  background-color: #fffbeb;
  border-left: 4px solid var(--accent);
  padding: 12px 14px;
  margin-top: 15px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #854d0e;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.equiv-card i {
  color: var(--accent);
  margin-top: 2px;
  font-size: 16px;
  flex-shrink: 0;
}

/* Animations keys */
@keyframes shake-block {
  0% { transform: translate(-1px, 0); }
  100% { transform: translate(1px, 0); }
}

@keyframes shake-block-hard {
  0% { transform: translate(-2px, -1px) rotate(-0.5deg); }
  100% { transform: translate(2px, 1px) rotate(0.5deg); }
}

@keyframes blink-gauge {
  0% { opacity: 0.7; }
  100% { opacity: 1.0; }
}

@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .simulator-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .press-simulator-card {
    padding: 24px;
  }
  .simulator-screen {
    height: 380px;
  }
  .press-machine {
    height: 280px;
    width: 180px;
  }
  .press-machine::before, .press-machine::after {
    height: 215px;
    width: 12px;
  }
  .press-machine::before {
    left: 8px;
  }
  .press-machine::after {
    right: 8px;
  }
  .piston-housing {
    width: 50px;
    height: 40px;
  }
  .press-piston {
    width: 30px;
    height: 110px;
    top: 0px;
  }
  .press-piston::after {
    width: 90px;
    height: 14px;
  }
  .laser-line {
    height: 215px;
    width: 3px;
  }
  .left-laser {
    left: 12px;
  }
  .right-laser {
    right: 12px;
  }
  .concrete-block-wrapper {
    width: 100px;
    height: 100px;
  }
  .concrete-block {
    width: 90px;
    height: 90px;
    border-width: 4px;
  }
  .concrete-block.broken {
    height: 60px;
    transform: scaleX(1.2);
  }
  .block-label {
    font-size: 20px;
  }
  .btn-sound-toggle {
    top: 12px;
    left: 12px;
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .simulator-chart-wrapper {
    width: 110px;
    top: 12px;
    right: 12px;
    padding: 4px;
  }
}

/* ==========================================================================
   INTERACTIVE STRUCTURE VISUALIZER STYLES
   ========================================================================== */
.structure-visualizer-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.structure-visualizer-card:hover {
  box-shadow: var(--shadow-lg);
}

.visualizer-title {
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.visualizer-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.visualizer-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: radial-gradient(circle at center, #ffffff 0%, #f8fafc 100%);
  border: 1px dashed var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 15px;
  position: relative;
  overflow: hidden;
}

#structure-svg {
  width: 100%;
  height: auto;
  display: block;
}

.struct-part {
  cursor: pointer;
}

.struct-part .part-shape {
  fill: #e2e8f0;
  stroke: #cbd5e1;
  stroke-width: 1.5;
  transition: fill 0.2s ease, stroke 0.2s ease, stroke-width 0.2s ease;
}

.struct-part .part-text {
  fill: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-anchor: middle;
  pointer-events: none;
  transition: fill 0.2s ease;
}

.struct-part .part-text.side-text {
  font-size: 9px;
}

.struct-part .part-dimension-line {
  stroke: #cbd5e1;
  stroke-width: 1;
  stroke-dasharray: 4 2;
  pointer-events: none;
}

.struct-part .part-dimension-node {
  fill: #cbd5e1;
  pointer-events: none;
}

/* Hover effects */
.struct-part:hover .part-shape {
  fill: rgba(49, 109, 117, 0.12);
  stroke: var(--primary);
  stroke-width: 2.5;
  filter: url(#glow-effect);
}

.struct-part:hover .part-text {
  fill: var(--primary-dark);
}

.struct-part:hover .part-dimension-line {
  stroke: var(--primary);
}

.struct-part:hover .part-dimension-node {
  fill: var(--primary);
}

/* Active selected state */
.struct-part.selected .part-shape {
  fill: rgba(245, 158, 11, 0.15);
  stroke: var(--accent);
  stroke-width: 3;
}

.struct-part.selected .part-text {
  fill: var(--accent);
}

/* ==========================================================================
   BETON REÇETE LABORATUVARI STYLES
   ========================================================================== */
.sim-tab-btn {
  flex: 1;
  padding: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
  color: var(--text-muted);
  outline: none;
  transition: all 0.2s;
}

.sim-tab-btn:hover {
  color: var(--primary);
}

.sim-tab-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
}

.sim-tab-btn.active {
  color: var(--primary-dark) !important;
  border-bottom: 2px solid var(--primary) !important;
}

.slider-group input[type="range"] {
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border-color);
  border-radius: 3px;
  outline: none;
  transition: background 0.25s;
}

.slider-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s, background-color 0.15s;
}

.slider-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--primary-dark);
}

.slider-group input[type="range"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.slider-group input[type="range"]:disabled::-webkit-slider-thumb {
  background: var(--text-muted);
  cursor: not-allowed;
}

/* Educational Recipe Rapor Card */
.recipe-feedback-card {
  margin-top: 12px;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

.recipe-feedback-card.success-recipe {
  background-color: rgba(34, 197, 94, 0.1);
  border-left: 4px solid #22c55e;
  color: #15803d;
}

.recipe-feedback-card.warning-recipe {
  background-color: rgba(245, 158, 11, 0.1);
  border-left: 4px solid #f59e0b;
  color: #b45309;
}

.recipe-feedback-card.danger-recipe {
  background-color: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #ef4444;
  color: #b91c1c;
}

.recipe-feedback-icon {
  font-size: 16px;
  margin-top: 2px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .structure-visualizer-card {
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  
  .struct-part .part-text {
    font-size: 12px;
  }
  
  .struct-part .part-text.side-text {
    font-size: 10px;
  }
  
  .sim-mode-tabs button {
    font-size: 11px !important;
    padding: 6px 2px !important;
  }
}

/* ==========================================================================
   MİKSER TAKİP SİMÜLATÖRÜ STYLES
   ========================================================================== */
.tracker-card {
  background: #0f1322;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  overflow: hidden;
}

.tracker-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
}

/* Sidebar Delivery List */
.tracker-sidebar {
  display: flex;
  flex-direction: column;
  height: 540px;
}

.sidebar-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.delivery-list {
  flex: 1;
  overflow-y: auto;
  padding-right: 5px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Custom Scrollbar for list */
.delivery-list::-webkit-scrollbar {
  width: 4px;
}
.delivery-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.delivery-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.delivery-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.delivery-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.delivery-item.selected {
  background: rgba(49, 109, 117, 0.15);
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(49, 109, 117, 0.2);
}

.delivery-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background-color 0.2s;
}

.delivery-item.status-dolumda-border::before { background: #3b82f6; }
.delivery-item.status-yolda-border::before { background: #22c55e; }
.delivery-item.status-bosaltimda-border::before { background: #eab308; }
.delivery-item.status-donuste-border::before { background: #ef4444; }
.delivery-item.status-tesiste-border::before { background: #64748b; }

.delivery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.truck-id {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}

/* Status Badges */
.status-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.status-dolumda { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.status-yolda { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.status-bosaltimda { background: rgba(234, 179, 8, 0.15); color: #facc15; }
.status-donuste { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.status-tesiste { background: rgba(100, 116, 139, 0.15); color: #94a3b8; }

.delivery-details {
  font-size: 10.5px;
  color: #94a3b8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}

.delivery-details i {
  margin-right: 4px;
  color: rgba(255, 255, 255, 0.3);
}

/* Map Module */
.tracker-map-container {
  background: #090c15;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 540px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.map-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 15px;
  font-family: monospace;
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.blinking-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: led-blink 1.5s infinite;
}

@keyframes led-blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.tracker-map-wrapper {
  flex: 1;
  position: relative;
  overflow: hidden;
}

#tracker-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* SVG Nodes & Text */
.map-node-text {
  fill: #94a3b8;
  font-family: monospace;
  font-size: 8px;
  font-weight: bold;
  text-anchor: middle;
  pointer-events: none;
}

.node-santral .map-node-text {
  fill: #38bdf8;
  font-size: 9px;
  font-weight: 800;
}

/* Map Popups Overlay */
.map-popup-overlay {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(15, 19, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 15px;
  width: 230px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  z-index: 10;
  backdrop-filter: blur(5px);
  animation: popup-fade-in 0.25s ease-out;
}

@keyframes popup-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.popup-close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
}
.popup-close-btn:hover { color: #fff; }

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.popup-header h4 {
  font-size: 13px;
  color: #fff;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

.popup-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.popup-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

.popup-row span { color: #64748b; }
.popup-row strong { color: #e2e8f0; }

/* Animated truck markers */
.map-truck-marker {
  cursor: pointer;
  transition: filter 0.15s;
}

.map-truck-marker:hover {
  filter: drop-shadow(0px 0px 5px var(--primary-light));
}

.map-truck-marker.selected {
  filter: drop-shadow(0px 0px 6px var(--accent));
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .tracker-layout {
    grid-template-columns: 260px 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .tracker-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .tracker-sidebar {
    height: 250px;
  }
  
  .tracker-map-container {
    height: 350px;
  }
  
  .map-popup-overlay {
    width: calc(100% - 30px);
    left: 15px;
    right: 15px;
    bottom: 15px;
  }
}


