/*
 * dekorujkwiatem.pl — Uzupełniający CSS (GoodLayers Infinite theme)
 * Pokrywa brakujące pliki: goodlayers-core/plugins/style.css,
 * goodlayers-core/include/css/page-builder.css, FontAwesome
 */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Raleway', 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  background: #fff;
  margin: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #c89595; text-decoration: none; }
a:hover { color: #b07878; }
h1, h2, h3, h4, h5, h6 { font-family: 'Raleway', sans-serif; font-weight: 700; color: #333; }

/* ===== PAGE BUILDER GRID (gdlr-core-column-*) ===== */
/* 60-unit grid — full width container max ~1240px */
.gdlr-core-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.gdlr-core-pbf-wrapper-container { width: 100%; }
.gdlr-core-pbf-wrapper-container-inner { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.gdlr-core-pbf-wrapper-content { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.gdlr-core-pbf-section-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.gdlr-core-pbf-column {
  float: left;
  min-height: 1px;
  position: relative;
  padding: 0 15px;
}

/* Column widths (out of 60) */
.gdlr-core-column-60 { width: 100%; }
.gdlr-core-column-45 { width: 75%; }
.gdlr-core-column-40 { width: 66.667%; }
.gdlr-core-column-36 { width: 60%; }
.gdlr-core-column-30 { width: 50%; }
.gdlr-core-column-24 { width: 40%; }
.gdlr-core-column-20 { width: 33.333%; }
.gdlr-core-column-15 { width: 25%; }
.gdlr-core-column-12 { width: 20%; }
.gdlr-core-column-10 { width: 16.667%; }

.gdlr-core-column-first { clear: left; }

/* Clearfix for row containers */
.gdlr-core-pbf-section::after,
.gdlr-core-pbf-wrapper::after,
.gdlr-core-pbf-wrapper-content::after,
.gdlr-core-item-list-wrap::after,
.gdlr-core-portfolio-item-holder::after,
.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* ===== WRAPPER / SECTION PADDING ===== */
.gdlr-core-pbf-wrapper { position: relative; }
.gdlr-core-pbf-section { position: relative; }
.gdlr-core-pbf-background-wrap { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.gdlr-core-pbf-column-content { position: relative; z-index: 1; }
.gdlr-core-pbf-column-content-margin { padding: 0; }

/* ===== ITEMS PADDING ===== */
.gdlr-core-item-pdb { padding-bottom: 20px; }
.gdlr-core-item-pdlr { padding-left: 15px; padding-right: 15px; }
.gdlr-core-item-mgb { margin-bottom: 20px; }
.gdlr-core-item-mglr { margin-left: 15px; margin-right: 15px; }

/* ===== PORTFOLIO ITEMS ===== */
.gdlr-core-portfolio-item { margin-bottom: 40px; }
.gdlr-core-portfolio-item-holder { overflow: hidden; }

.gdlr-core-item-list {
  float: left;
  position: relative;
  overflow: hidden;
  padding: 8px;
}

/* Small portfolio grid — 3 per row */
.gdlr-core-portfolio-medium.gdlr-core-size-small {
  width: 33.333%;
}
@media (max-width: 768px) {
  .gdlr-core-portfolio-medium.gdlr-core-size-small { width: 50%; }
}
@media (max-width: 480px) {
  .gdlr-core-portfolio-medium.gdlr-core-size-small { width: 100%; }
}

.gdlr-core-portfolio-thumbnail { position: relative; overflow: hidden; }
.gdlr-core-portfolio-thumbnail img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}
.gdlr-core-portfolio-thumbnail:hover img { transform: scale(1.05); }

.gdlr-core-portfolio-content-wrap { padding: 10px 0; }
.gdlr-core-portfolio-title { font-size: 15px; font-weight: 600; margin: 0; }
.gdlr-core-portfolio-content { font-size: 13px; color: #777; }

/* Portfolio overlay */
.gdlr-core-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(249, 194, 213, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gdlr-core-portfolio-thumbnail:hover .gdlr-core-image-overlay { opacity: 1; }
.gdlr-core-image-overlay-icon { font-size: 24px; color: #fff; }
.gdlr-core-image-overlay-content { color: #fff; text-align: center; }

/* ===== GALLERY ITEMS ===== */
.gdlr-core-gallery-item-holder { overflow: hidden; }
.gdlr-core-gallery-column {
  float: left;
  padding: 5px;
  width: 33.333%;
}
.gdlr-core-gallery-column img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.gdlr-core-gallery-column:hover img { transform: scale(1.03); }

/* ===== IMAGE ITEM ===== */
.gdlr-core-image-item { text-align: center; }
.gdlr-core-image-item-wrap { display: inline-block; position: relative; overflow: hidden; }
.gdlr-core-image-item-wrap img {
  display: block;
  width: 100%;
}
.gdlr-core-image-item-style-circle .gdlr-core-image-item-wrap { border-radius: 50%; }
.gdlr-core-media-image { display: block; }
.gdlr-core-media-image img { width: 100%; }

/* ===== TEXT / TITLE ITEMS ===== */
.gdlr-core-title-item-title { font-size: 28px; margin-bottom: 10px; }
.gdlr-core-title-item-divider { display: inline-block; width: 60px; height: 3px; background: #f9c2d5; margin: 10px auto 20px; }
.gdlr-core-text-box-item { line-height: 1.8; }
.gdlr-core-info-font { font-size: 13px; color: #888; }

/* ===== BUTTONS ===== */
.gdlr-core-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.gdlr-core-button-gradient {
  background: linear-gradient(135deg, #f9c2d5 0%, #e8a0b0 100%);
  color: #fff;
}
.gdlr-core-button-gradient:hover { background: linear-gradient(135deg, #e8a0b0 0%, #d08090 100%); color: #fff; }
.gdlr-core-button-no-border { border: none; }

/* ===== SKIN COLORS (infinite theme skin) ===== */
.gdlr-core-skin-title { color: #333; }
.gdlr-core-skin-content { color: #666; }
.gdlr-core-skin-divider { border-color: #e5e5e5; }

/* ===== ALIGNMENTS ===== */
.gdlr-core-left-align { text-align: left; }
.gdlr-core-center-align { text-align: center; }
.gdlr-core-right-align { text-align: right; }

/* ===== SOCIAL NETWORK ICONS (without icon font — use text placeholders) ===== */
.gdlr-core-social-network-item { display: inline-block; margin: 0 5px; }
.gdlr-core-social-network-icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  background: #f9c2d5;
  color: #fff;
  font-size: 14px !important;
  margin-left: 5px !important;
}

/* Hide broken social icons with huge font size */
.gdlr-core-social-network-item .gdlr-core-social-network-icon[style*="font-size: 100px"] {
  font-size: 16px !important;
  margin-left: 5px !important;
  width: 36px;
  height: 36px;
  line-height: 36px;
  overflow: hidden;
}

/* ===== REVOLUTION SLIDER placeholder ===== */
.rev_slider_wrapper, .revslider-initialised {
  width: 100% !important;
  min-height: 200px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tp-loader { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 999px) {
  .gdlr-core-pbf-column { float: none; width: 100% !important; padding: 0 10px; }
  .gdlr-core-item-list { float: none; width: 100% !important; }
  .gdlr-core-gallery-column { width: 50%; }
}
@media (max-width: 767px) {
  .gdlr-core-container, .gdlr-core-pbf-wrapper-container-inner,
  .gdlr-core-pbf-wrapper-content, .gdlr-core-pbf-section-container {
    padding: 0 15px;
  }
  .gdlr-core-gallery-column { width: 100%; }
}

/* ===== HIDE BROKEN/USELESS ELEMENTS ===== */
/* .gdlr-core-js-2 display:none removed — content was invisible */
/* Hide preload spinner */
.gdlr-core-page-preload { display: none !important; }

/* ===== INFINITE THEME SUPPLEMENTS ===== */
/* Sticky nav shade */
.infinite-with-sticky-navigation .infinite-navigation {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

/* Mobile menu toggle */
.infinite-mobile-header { display: none; }
@media (max-width: 999px) {
  .infinite-mobile-header { display: block; }
}

/* Copyright fix */
.infinite-copyright-text {
  font-size: 13px;
  color: #888;
  padding: 20px 0;
  text-align: center;
}

/* Full height sections */
.gdlr-core-wrapper-full-height { min-height: 400px; }

/* Content visibility for hidden elements */
.gdlr-core-hide-in-desktop { display: none; }
.gdlr-core-hide-in-tablet-mobile { display: block; }
@media (max-width: 999px) {
  .gdlr-core-hide-in-desktop { display: block; }
  .gdlr-core-hide-in-tablet-mobile { display: none; }
}
