﻿/* ΠΡΟΦΙΛΟΔΟΜΗ: αρχική εμφάνιση, καθαρή δομή και προσαρμογή σε κινητά. */
* { box-sizing: border-box; }
html { color: #000; background: #292929 url("bgrndcarbon.png") repeat; }
body { margin: 0; padding: 26px 18px 48px; font-family: Arial, Helvetica, sans-serif; }
img { border: 0; }
a { color: #000; }
a:hover { color: #c31d1d; }
a:focus-visible { outline: 3px solid #c31d1d; outline-offset: 4px; }
.skip-link { position: absolute; left: 12px; top: -70px; padding: 12px; background: #fff; z-index: 10; }
.skip-link:focus { top: 12px; }
.site-page { width: 100%; max-width: 1047px; margin: 0 auto; background: #fff; border-radius: 25px; box-shadow: 6px 6px 5px #000; overflow: hidden; }

/* Κεφαλίδα: οι θέσεις αφορούν μόνο την επικάλυψη του αρχικού γραφικού. */
.site-header { position: relative; height: 158px; }
.header-art { position: absolute; left: 0; top: 26px; width: calc(100% - 22px); height: 132px; object-fit: cover; object-position: left center; }
.brand-title { position: absolute; top: 71px; left: 23.2%; margin: 0; color: #c31d1d; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; font-size: 60px; font-weight: 700; line-height: 1.2; }
.english-block { position: absolute; top: 32px; right: 25px; width: 223px; text-align: right; font-size: 13.333px; line-height: normal; }
.english-block a { color: #0000ee; font-size: 16px; }
.carbon-rule { height: 14px; background: #292929 url("bgrndcarbon.png") repeat; }

/* Κοινή διάταξη των μεγάλων καρτελών: ίδια εικόνα αριστερά / κείμενο δεξιά. */
.product-row { display: flex; align-items: flex-start; width: 100%; }
.product-media { flex: 0 0 43.36%; min-width: 0; padding-left: 55px; }
.product-media a { display: inline-block; max-width: 100%; }
.product-media img { display: block; max-width: 100%; object-fit: contain; }
.product-copy { flex: 1; min-width: 0; padding-right: 22px; }
.product-copy h2 { margin: 1em 0; font-size: 18.72px; line-height: normal; }
.product-lines { font-size: 13.333px; line-height: 1.15; }
.product-lines p { margin: 0; }
.solar-row { min-height: 180px; }
.solar-row .product-media { padding-top: 7px; }
.solar-row .product-copy { padding-top: 2px; }
.solar-row h2 { margin: .67em 0; font-size: 21.333px; }
.solar-intro { margin: 1em 0; font-size: 16px; line-height: normal; }
.solar-photo { width: 314px; height: 156px; }
.carports-row { min-height: 218px; }
.carports-row .product-media { padding-top: 15px; }
.carports-row .product-copy { padding-top: 18px; }
.carports-row h2 { margin: 19.92px 0; font-size: 18.667px; }
.carports-photo { width: 293px; height: 175px; }
.cable-row, .gypsum-row { min-height: 220px; }
.cable-row .product-media, .gypsum-row .product-media { padding-top: 24px; }
.cable-row .product-copy, .gypsum-row .product-copy { padding-top: 24px; }
.cable-row .product-lines, .gypsum-row .product-lines { margin-top: 35px; }
.catalog-photo { width: 292px; height: 178px; }

/* Οι τρεις μικρές κατηγορίες διατηρούν τις αρχικές εικόνες και αναλογίες. */
.secondary-products { display: flex; min-height: 225px; padding-top: 20px; }
.secondary-card { display: flex; align-items: flex-start; min-width: 0; min-height: 200px; padding: 20px 4px 0; }
.storage-card { flex: 0 0 31%; }
.metal-card { flex: 0 0 35%; }
.steel-card { flex: 0 0 34%; }
.secondary-card + .secondary-card { border-left: 7px inset #808080; border-image: url("bgrndcarbon.png") 7 repeat; padding-left: 11px; }
.secondary-image { flex-shrink: 1; min-width: 0; }
.secondary-image img { display: block; max-width: 100%; object-fit: contain; }
.secondary-card h2 { flex: 1; min-width: 0; margin: 18px 0 0 8px; font-size: 16px; line-height: normal; }
.storage-card .secondary-image { flex-basis: 188px; }
.metal-card .secondary-image { flex-basis: 201px; }
.steel-card .secondary-image { flex-basis: 162px; }
.funding-banner { min-height: 95px; text-align: center; padding: 0 16px 25px; }
.funding-banner img { display: inline-block; max-width: 100%; height: auto; }
.site-footer { display: flex; align-items: flex-start; min-height: 165px; padding: 5px 24px 35px; font-size: 10px; }
.exhibition-banner { flex: 0 1 48%; min-width: 0; }
.exhibition-banner a { display: inline-block; max-width: 100%; color: #000080; }
.exhibition-banner span { display: block; margin-bottom: 2px; font-size: 10px; font-style: italic; }
.exhibition-banner img { display: block; max-width: 100%; height: auto; }
.footer-links { flex: 1; padding: 25px 0 0 28px; font-size: 9px; line-height: 1.8; text-align: center; }
.footer-links a { color: #000080; white-space: nowrap; }
.footer-links a + a::before { content: " | "; display: inline-block; padding: 0 3px; color: #000; text-decoration: none; }

/* Μικρότερο desktop / tablet: ίδια δύο πεδία, χωρίς σταθερό πλάτος σελίδας. */
@media (max-width: 1060px) and (min-width: 721px) {
  .brand-title { font-size: clamp(37px, 5.4vw, 60px); top: 79px; }
  .english-block { font-size: 11px; }
  .english-block a { font-size: 14px; }
  .product-media { padding-left: 28px; padding-right: 24px; }
  .product-row { padding-bottom: 18px; }
  .secondary-products { min-height: 220px; }
  .secondary-card { display: block; padding: 15px; }
  .secondary-card h2 { margin: 15px 0; }
  .secondary-image img { margin: 0 auto; }
}

/* Κινητά: κάθε εικόνα πάνω από το δικό της κείμενο, με το ίδιο φόντο και ύφος. */
@media (max-width: 720px) {
  body { padding: 12px 10px 28px; }
  .site-page { border-radius: 20px; box-shadow: 4px 4px 5px #000; }
  .site-header { height: 145px; }
  .header-art { top: 20px; width: 100%; height: 125px; }
  .brand-title { top: 88px; left: 160px; right: 8px; font-size: clamp(18px, 6.1vw, 38px); line-height: 1.2; }
  .english-block { top: 30px; right: 12px; width: calc(100% - 164px); font-size: 10px; }
  .english-block a { font-size: 13px; }
  .carbon-rule { height: 10px; }
  .product-row { display: block; min-height: 0; }
  .product-row .product-media { padding: 22px 20px 0; text-align: center; }
  .product-row .product-copy { padding: 0 22px 28px; }
  .product-row .product-copy h2 { margin: 20px 0 16px; font-size: 19px; }
  .product-media img { margin: 0 auto; }
  .product-lines { font-size: 14px; line-height: 1.55; }
  .product-lines p + p { margin-top: 3px; }
  .solar-intro { font-size: 16px; line-height: 1.4; }
  .cable-row .product-lines, .gypsum-row .product-lines { margin-top: 24px; }
  .secondary-products { display: block; min-height: 0; padding: 0 18px; }
  .secondary-card { min-height: 155px; padding: 22px 0; align-items: center; }
  .secondary-card + .secondary-card { border: 0; border-top: 7px solid transparent; border-image: url("bgrndcarbon.png") 7 repeat; padding-left: 0; }
  .secondary-card .secondary-image { flex: 0 1 52%; }
  .secondary-card img { width: 100%; height: 118px; }
  .secondary-card h2 { margin: 0 0 0 18px; font-size: 16px; line-height: 1.35; }
  .funding-banner { min-height: 0; padding: 24px 18px; }
  .site-footer { display: block; padding: 10px 18px 28px; min-height: 0; }
  .exhibition-banner { max-width: 457px; margin: 0 auto; }
  .footer-links { padding: 22px 0 0; line-height: 2.4; font-size: 10px; }
}
@media (max-width: 360px) {
  .header-art { height: 116px; }
  .site-header { height: 136px; }
  .brand-title { left: 144px; top: 89px; font-size: 18px; }
  .english-block { width: calc(100% - 142px); right: 9px; font-size: 9px; }
  .product-row .product-copy { padding-left: 18px; padding-right: 18px; }
  .product-media img { width: 100%; height: auto; max-height: 178px; }
  .secondary-products { padding: 0 12px; }
  .secondary-card h2 { font-size: 14px; margin-left: 12px; }
}
@media print {
  html, body { background: #fff; padding: 0; }
  .site-page { max-width: none; border-radius: 0; box-shadow: none; }
  .product-row, .secondary-card, .site-footer { break-inside: avoid; }
  .carbon-rule { height: 2px; background: #777; }
}
