/* ============================================================
   Aqua Rock — kopia layoutu aquarock.pl (motyw Grav)
   Kolory i typografia odtworzone z dynamic-style.css oryginału
   ============================================================ */

:root {
  --blue: #25b0ea;
  --blue-overlay: rgba(37, 176, 234, 0.51);
  --gold: #e6aa21;
  --dark: #3d3d3d;
  --text: #2f2f2f;
  --muted: #666;
  --nav-bg: rgba(255, 255, 255, 0.55);
  --footer-bg: #395c8e;
  --footer-text: #ffffff;
  --footer-heading: #cccccc;
  --footer-link: #aeaeae;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1170px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.25;
  margin: 0 0 0.5em;
}
h1 { font-size: 30px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
h4 { font-size: 17px; }

p { margin: 0 0 1.1em; }

/* ---------- nagłówki stylowane (odwzorowanie rt_heading style-1) ---------- */
.heading-style-1 {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: var(--dark);
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 1em;
}
.heading-style-1::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin-top: 8px;
}

/* ============ NAGŁÓWEK ============ */
#header {
  background: #fff;
  border-bottom: 3px solid var(--blue);
  position: relative;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
}
.logo img { max-height: 78px; width: auto; }

.navigation > ul { list-style: none; display: flex; align-items: center; }
.navigation > ul > li { position: relative; }
.navigation > ul > li > a {
  display: block;
  font-family: "Roboto Slab", Arial, serif;
  font-weight: normal;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #4c4c4c;
  padding: 16px 18px;
  background: var(--nav-bg);
  border: 1px solid var(--blue);
  margin-left: -1px;
}
.navigation > ul > li > a:hover,
.navigation > ul > li.active > a {
  background: #ffffff;
  color: #070707;
}

/* rozwijane menu */
.navigation li.has-children { position: relative; }
.navigation .sub-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-top: 3px solid var(--blue);
  display: none;
  z-index: 50;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.navigation li.has-children:hover > .sub-menu { display: block; }
.navigation .sub-menu a {
  display: block;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  color: #4c4c4c;
  padding: 11px 18px;
  border-bottom: 1px solid #f0f0f0;
}
.navigation .sub-menu a:hover { color: var(--blue); background: #fafafa; }

/* ============ STOPKA ============ */
#footer { background: var(--footer-bg); color: var(--footer-text); margin-top: 40px; }
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding-top: 40px;
  padding-bottom: 30px;
}
.footer-columns .col { flex: 1 1 200px; }
.footer-columns h5 {
  font-size: 17px;
  color: var(--footer-heading);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #3c3c3c;
}
.footer-columns ul { list-style: none; }
.footer-columns ul li { margin-bottom: 8px; }
.footer-columns a { color: var(--footer-link); font-size: 15px; }
.footer-columns a:hover { color: #fff; }
.footer-info {
  background: rgba(0,0,0,0.15);
  border-top: 1px solid #3c3c3c;
  padding: 14px 0;
}
.footer-info .copyright { font-size: 14px; color: #cccccc; }

/* ============ STRONA GŁÓWNA ============ */
/* górny niebieski pasek */
.hero-bar {
  background: var(--blue-overlay);
  padding: 18px 20px;
  text-align: center;
}
.hero-bar h1 {
  color: #fff;
  font-size: 30px;
  font-weight: 300;
  margin: 0;
}

.hero-image img { width: 100%; }

/* kafelki z ikonami */
.icon-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 0 30px;
}
.icon-box {
  flex: 1 1 220px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.icon-box .icon-holder {
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
}
.icon-box .icon-holder span { font-family: "fontello"; }
.icon-box .icon-holder [class^="icon-"]::before,
.icon-box .icon-holder [class*=" icon-"]::before {
  font-family: "fontello";
}
.icon-box h2 { font-size: 22px; margin-bottom: 8px; }
.icon-box p { font-size: 15px; color: var(--text); }

/* sekcje tekst/obraz */
.section {
  padding: 35px 0;
}
.section.alt { background: #f4f4f4; }
.section .row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.section .row > div { flex: 1 1 380px; }
.section .row img { border-radius: 4px; }
.section p { font-size: 16px; }

/* galeria */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px 0;
}
.gallery .tile { flex: 1 1 200px; }
.gallery .tile img { border-radius: 4px; transition: opacity .2s; }
.gallery .tile img:hover { opacity: 0.85; }

/* siatka wpisów */
.blog-heading { padding: 40px 0 10px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  padding-bottom: 50px;
}
.loop {
  background: #fff;
  border: 1px solid #e8e8e8;
  overflow: hidden;
}
.loop .featured_image img { width: 100%; height: 200px; object-fit: cover; }
.loop .text { padding: 18px 20px; }
.loop .entry-title { font-size: 20px; margin-bottom: 8px; }
.loop .entry-title a { color: var(--dark); }
.loop .entry-title a:hover { color: var(--blue); }
.loop p { font-size: 15px; color: #555; margin: 0; }

/* ============ WPIS / ARTYKUŁ ============ */
.post { padding: 40px 0 50px; }
.post-header { margin-bottom: 24px; }
.post-header h1 { font-size: 34px; }
.post .featured { margin-bottom: 24px; }
.post .featured img { width: 100%; border-radius: 4px; }

.post-content { max-width: 760px; }
.post-content h2 { font-size: 24px; margin-top: 1.6em; }
.post-content h3 { font-size: 19px; margin-top: 1.4em; }
.post-content p { font-size: 16px; }
.post-content img {
  max-width: 100%;
  margin: 1.5em auto;
  display: block;
  border-radius: 4px;
}
.post-content ul, .post-content ol { margin: 0 0 1.2em 1.6em; }
.post-content li { margin-bottom: 6px; }
.post-content img.aligncenter {
  margin: 1.5em auto;
  border-radius: 4px;
}
.post-content a { color: var(--blue); }

/* ============ LISTA KATEGORII / BLOG ============ */
.page-title { padding: 35px 0 0; }
.page-title h1 { font-size: 30px; }
.page-lead { color: #666; padding-bottom: 10px; }

/* ============ KONTAKT ============ */
.contact-form { max-width: 620px; }
.contact-form ul { list-style: none; }
.contact-form li { margin-bottom: 18px; }
.contact-form label {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: inherit;
  font-size: 15px;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--blue); }
.contact-form .submit {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 11px 26px;
  font-size: 15px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
}
.contact-form .submit:hover { background: #0f9bd3; }

/* ============ RÓŻNE ============ */
.notices { padding: 20px; }

/* responsywność */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; padding: 15px 0; }
  .navigation > ul { flex-wrap: wrap; justify-content: center; }
  .navigation > ul > li > a { padding: 10px 12px; font-size: 13px; }
  .section .row { gap: 20px; }
  .hero-bar h1 { font-size: 22px; }
  .blog-grid { grid-template-columns: 1fr; }
}
