/* ------------------------------------------- */
/* RESET & GLOBALS                            */
/* ------------------------------------------- */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
  }
  
  body {
	font-family: "Inter", sans-serif;
	color: #2D2D2D;
	background-color: #ffffff;
	line-height: 1.6;
  }
  
  ul { list-style: none; }
  a {
	text-decoration: none;
	color: #160E26;
	transition: color 0.2s, background-color 0.2s;
  }
  img { max-width: 100%; display: block; }
  .hidden { display: none !important; }
  
  /* ------------------------------------------- */
  /* A small class for the EPC icon             */
  /* ------------------------------------------- */
  .grade {
	width: 100px;
	height: auto;
	vertical-align: middle;
	margin-right: 8px;
  }
  
  /* ------------------------------------------- */
  /* HEADER                                      */
  /* ------------------------------------------- */
  .site-header {
	width: 100%;
	background: linear-gradient(to right, #fafafa 30%, #f4f4f4 100%);
	box-shadow: 0 0 4px rgba(0,0,0,0.1);
	position: sticky;
	top: 0;
	z-index: 100;
  }
  .header-inner {
	width: 90%;
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 0;
  }
  .header-left {
	display: flex;
	align-items: center;
	gap: 1rem;
  }
  .logo-header {
	width: 130px;
	height: auto;
  }
  .mobile-menu-icon {
	display: none;
	font-size: 1.5rem;
	cursor: pointer;
  }
  /* Navigation menu */
  .nav {
	display: flex;
	align-items: center;
  }
  .nav ul {
	display: flex;
	gap: 2rem;
  }
  .nav ul li a {
	padding: 0.5rem 0;
	font-weight: 500;
  }
  .nav ul li a:hover,
  .nav ul li a.active {
	font-weight: 700;
	border-bottom: 2px solid #243163;
  }
  /* Profile area on the right */
  .profile-area {
	display: flex;
	align-items: center;
	gap: 0.5rem;
  }
  .profile-img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
  }
  
  /* ------------------------------------------- */
  /* BANNER / HERO                              */
  /* ------------------------------------------- */
  .banner {
	width: 100%;
	position: relative;
	min-height: 320px;
	background: url('../img/banner.png') no-repeat center / cover;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
  }
  .banner-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.45) 100%);
  }
  .banner-content {
	z-index: 2;
	color: #fff;
	width: 90%;
	max-width: 700px;
	margin: 0 auto;
  }
  .banner-title {
	font-size: 2rem;
	margin-bottom: 0.5rem;
	font-weight: 700;
  }
  .banner-subtitle {
	font-size: 1.1rem;
	margin-bottom: 1.2rem;
	line-height: 1.5;
  }
  .banner-btn {
	background-color: #fff;
	font-weight: 500;
	padding: 0.65rem 1.25rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 5px;
	border: 1px solid #ccc;
	transition: background-color 0.2s, color 0.2s;
	color: #2D2D2D;
  }
  .banner-btn:hover {
	background-color: #004c43;
	color: #fff;
  }
  /* Container for the two buttons in the banner */
  .banner-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
  }
  
  /* ------------------------------------------- */
  /* MAIN CONTENT                                */
  /* ------------------------------------------- */
  .main-content {
	margin: 2rem 0;
  }
  /* Two-column layout (90% width, centered) */
  .two-col {
	width: 90%;
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
  }
  .left-col, .right-col {
	width: 100%;
  }
  /* Card style */
  .card {
	background: #fff;
	box-shadow: 0 1px 6px rgba(0,0,0,0.05);
	border-radius: 6px;
	padding: 1.2rem;
	position: relative;
  }
  /* Top images row: big image on left, two smaller on right */
  .top-images-row {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
  }
  .big-image-area {
	flex: 1;
	min-width: 250px;
  }
  .big-image-area img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
	transition: transform 0.3s, box-shadow 0.3s;
  }
  .two-smaller-images {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 220px;
  }
  .two-smaller-images img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 5px;
	transition: transform 0.3s, box-shadow 0.3s;
  }
  /* Hover effect for images */
  .big-image-area img:hover,
  .two-smaller-images img:hover {
	transform: scale(1.03);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  /* Description block below the images */
  .description-block {
	margin-top: 1rem;
  }
  .company-logo {
	width: 80px;
	margin-bottom: 0.8rem;
  }
  
  /* Title / Price / etc. */
  .title-sec {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1rem;
  }
  .title-sec h1 {
	margin: 0;
	font-size: 1.6rem;
	line-height: 1.2;
  }
  .location {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.4rem;
	font-size: 1rem;
	color: #555;
  }
  .price-and-date {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
  }
  .price {
	font-size: 1.3rem;
	font-weight: bold;
	color: #160E26;
  }
  .date {
	font-size: 0.9rem;
	margin-top: 0.3rem;
	color: #666;
  }
  /* Quick Info list */
  .list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	margin-top: 1rem;
  }
  .list li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
  }
  /* Divider line */
  .dvd {
	height: 1px;
	background-color: #E5E5E5;
	margin: 1.5rem 0;
  }
  /* Table-like blocks for features */
  .tableview {
	display: grid;
	gap: 0.5rem;
  }
  .row-style {
	display: flex;
	justify-content: space-between;
	align-items: center;
  }
  .rowlabel {
	color: #444;
  }
  
  /* ------------------------------------------- */
  /* FULL-WIDTH TABS (Images / Documents)       */
  /* ------------------------------------------- */
  .tabs-section {
	width: 100%;
	background-color: #fcfcfc;
	margin-top: 2rem;
	padding: 1.5rem 0;
  }
  .tabs-wrapper {
	width: 90%;
	max-width: 1400px;
	margin: 0 auto;
  }
  .tabs {
	display: flex;
	gap: 2rem;
	margin-bottom: 1rem;
	font-size: 1.1rem;
	border-bottom: 1px solid #ccc;
	padding-bottom: 0.4rem;
  }
  .tabs div {
	cursor: pointer;
	padding-bottom: 0.4rem;
	color: #333;
	font-weight: 500;
  }
  .active-tab {
	font-weight: 700;
	border-bottom: 3px solid #160E26;
  }
  .tab-content {
	display: none;
  }
  .imagestab {
	display: block;
  }
  /* Img gallery in the tab */
  .img-gallery {
	display: grid;
	gap: 0.6rem;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .img-gallery img {
	border-radius: 5px;
	transition: transform 0.3s, box-shadow 0.3s;
	cursor: pointer;
	object-fit: cover;
  }
  .gallery-portrait {
	width: auto;
	height: 220px;
  }
  .gallery-landscape {
	width: auto;
	height: 220px;
  }
  .img-gallery img:hover {
	transform: scale(1.03);
	box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }
  /* Documents listing */
  .plantab-list {
	margin: 1rem;
  }
  .plantab-list ul {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
  }
  
  /* ------------------------------------------- */
  /* FOOTER                                      */
  /* ------------------------------------------- */
  .site-footer {
	width: 100%;
	border-top: 1px solid #e8e8e8;
	margin-top: 3rem;
	background-color: #fafafa;
	padding: 2rem 0 1rem;
  }
  .footer-top {
	width: 90%;
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
  }
  .footer-questions h3 {
	color: #160E26;
	font-size: 1.3rem;
	margin-bottom: 0.5rem;
  }
  .footer-questions p {
	color: #333;
	line-height: 1.5;
  }
  .footer-btns {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
  }
  .footer-btn {
	border: 1px solid #ccc;
	background-color: #fff;
	padding: 0.6rem 1.2rem;
	border-radius: 5px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.95rem;
	transition: background-color 0.2s, color 0.2s;
  }
  .footer-btn:hover {
	background-color: #004c43;
	color: #fff;
  }
  .footer-bottom {
	width: 90%;
	max-width: 1400px;
	margin: 2rem auto 0;
	border-top: 1px solid #e8e8e8;
	padding-top: 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	font-size: 0.9rem;
  }
  .footer-right {
	display: flex;
	gap: 1rem;
	align-items: center;
  }
  .footer-bottom img {
	width: 120px;
	height: auto;
  }
  
  /* ------------------------------------------- */
  /* IMAGE MODAL (kept hidden by default)       */
  #imageModal {
	display: none; /* Ensures it's closed on page load */
	position: fixed;
	z-index: 9999;
	left: 0; top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.9);
  
	/* Center content if we switch to 'display: flex' from JS */
	align-items: center;
	justify-content: center;
  
	overflow: auto;
	transition: all 0.3s;
  }
  #modalContent {
	margin: auto;
	display: block;
	width: 50%;
	max-height: 80vh;
	border-radius: 6px;
	object-fit: contain;
	cursor: pointer; /* so user knows it can go next */
  }
  .modal-button-container {
	position: fixed;
	width: 100%;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	padding: 0 1rem;
  }
  .modal-button-container button {
	pointer-events: auto;
	background-color: rgba(0, 0, 0, 0.6);
	border: none;
	color: #fff;
	font-size: 1rem;
	font-weight: bold;
	padding: 3rem 5rem;
	border-radius: 4px;
	transition: background-color 0.3s;
  }
  .modal-button-container button:hover {
	background-color: rgba(0, 0, 0, 0.8);
  }
  #closeModal {
	position: absolute;
	top: 1rem;
	right: 2rem;
	color: #f1f1f1;
	font-size: 2rem;
	font-weight: bold;
	cursor: pointer;
  }
  
  /* ------------------------------------------- */
  /* RESPONSIVE BREAKPOINTS                     */
  /* ------------------------------------------- */
  @media screen and (max-width: 992px) {
	.mobile-menu-icon {
	  display: block;
	}
	.nav {
	  position: absolute;
	  top: 60px;
	  right: 0; left: 0;
	  background-color: #f5f5f5;
	  display: none;
	  padding: 1rem;
	  border-top: 1px solid #ccc;
	}
	.nav-open {
	  display: block !important;
	}
	.nav ul {
	  flex-direction: column;
	  gap: 1rem;
	}
	.two-col {
	  grid-template-columns: 1fr;
	}
	.footer-top {
	  grid-template-columns: 1fr;
	  text-align: center;
	}
	.footer-btns {
	  align-items: center;
	}
	.footer-bottom {
	  flex-direction: column;
	  align-items: center;
	  text-align: center;
	}
	.big-image-area,
	.two-smaller-images {
	  width: 100%;
	}
	.two-smaller-images {
	  flex-direction: row;
	  flex-wrap: wrap;
	  justify-content: space-between;
	}
	.two-smaller-images img {
	  width: 48%;
	}
  }
  @media screen and (max-width: 600px) {
	.banner-subtitle {
	  font-size: 1rem;
	}
	.title-sec {
	  flex-direction: column;
	  align-items: flex-start;
	}
	.price-and-date {
	  align-items: flex-start;
	}
	.list {
	  grid-template-columns: 1fr;
	}
	.big-image-area img {
	  height: 220px;
	}
	.two-smaller-images img {
	  height: 120px;
	}
  }
  
  /* ------------------------------------------- */
  /* PDF SELECTION MODE                         */
  /* ------------------------------------------- */
  .pdf-selected {
	position: relative;
  }
  .pdf-selected::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border: 3px solid rgba(0, 123, 255, 0.7);
	border-radius: inherit;
	pointer-events: none;
	box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
  }