/*
	Theme Name: Cukiernia Rarytas Theme
	Theme URI: https://snleaders.pl
	Description: Dedykowany szablon graficzny stworzony dla Cukiernia Rarytas
	Version: 1.0.1
	Author: System Net Leaders
	Author URI: https://snleaders.pl
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}


@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}


/*!
 * Szablon: Ciastkarnia Rarytas
 * Opis: Responsywny szablon strony cukierni z animacjami i stylami Bootstrap 5
 * Autor: Rafał Mieszczak @System Net Leaders
 * Kontakt: kontakt@snleaders.pl
 * Wersja: 1.0
 */
 
 

 :root {
	--font-text: "Inter", sans-serif;
	--font-header: "Meow Script", cursive;
	--color-text: #2a2a2a;
  --color-text-grey: #8d9b97;
  --color-text-blue: #636280;
	--color-highlight: #ff7182;
	--color-alt: #d1e7e0;
}

html {
	margin: 0 0 !important;
	padding: 0 0;
}
body {
    font-family: var(--font-text);
    font-size: 17px;
    line-height: 1.5em;
}

  /* Linki */
  a {
  color: var(--color-text-grey); 
  text-decoration: none;
  transition: all 0.3s ease;
  }

  a:hover {
    color: var(--color-text); 
  }


 /* Fonty */
  h1, h3, h4, h5, h6 {
    font-family: var(--font-text);
    color: var(--color-text);
  }
h2 {
    font-size: 40px;
    font-family: var(--font-text);
    font-weight: 600;
    color: var(--color-highlight);
    letter-spacing: -.75px;
}
  .navbar .nav-link {
    font-family: var(--font-text);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 16px;
  }
  .footer-header {
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-grey); 
  }
  .footer-text {
    font-family: var(--font-text);
    font-size: 15px;
    
  }
  .footer-copyright {
    font-family: var(--font-text);
    color: var(--color-text-grey)
  }
  .footer-list li {
  color: var(--color-text-grey);
  font-family: var(--font-text);
  position: relative;
  padding-left: 1.2em;
  font-weight: 600;
  }
  .footer-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #fff;
    font-size: 1.1em;
    line-height: 1;
  }

/* Przyciski */
.btn, .btn-outline-pink {
    border: 2px solid var(--color-highlight);
    color: var(--color-highlight);
    font-family: var(--font-text);
    font-weight: 600;
    text-transform: uppercase;
    padding: 17px 40px;
    transition: all 0.3s ease;
    letter-spacing: .5px;
    border-radius: 10px;
}
.btn-outline-pink:hover {
  background-color: var(--color-highlight);
  color: #fff;
}


/* Header */
.navbar {
  padding: 20px 0;
  font-weight: 500;
  height: 15vh;
}
.navbar-nav .nav-link {
  color: var(--color-text);
  margin-right: 20px;
  text-transform: uppercase;
  font-size: 16px;
  transition: color 0.3s ease;
  font-family: var(--font-text);
  font-weight: 400;
}
.navbar-nav .nav-link:hover {
  color: var(--color-highlight);
}
.nav-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-icons i {
  font-size: 20px;
  color: var(--color-text);
  transition: color 0.3s ease;
}
.nav-icons i:hover {
  color: var(--color-highlight);
}
.dropdown-menu {
  text-transform: uppercase;
  font-size: 13px;
}
.navbar-brand img {
  max-height: 150px;
}
.logo-hover img {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo-hover:hover img {
  transform: scale(1.05) rotate(-2deg);
  filter: brightness(1.1);
}
@media (max-width: 991.98px) {
  .nav-icons {
    margin-top: 10px;
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
      display: block;
      animation: fadeInDown 0.3s ease both;
      margin-top: 0;
    }
  }
@media (min-width: 992px) {
  .navbar .dropdown-menu {
  display: none;
  margin-top: 0;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 0.75rem 0;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
  animation: fadeInDown 0.3s ease both;
  min-width: 220px;
}
.navbar .dropdown:hover > .dropdown-menu {
  display: block;
}
.navbar .dropdown-item {
  padding: 10px 20px;
  font-size: 15px;
  color: var(--color-text);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.navbar .dropdown-item:hover {
  background-color: #f8f9fa;
  color: var(--color-highlight);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    }
  }
}
.collapse {
  transition: height 0.3s ease;
}
.offcanvas .nav-link {
  font-size: 16px;
  padding: 10px 0;
  color: var(--color-text);
  border-bottom: 1px solid #eee;
}
.offcanvas .nav-link:hover {
  color: var(--color-highlight);
}
.offcanvas ul ul a.nav-link {
  padding-left: 0;
  font-size: 15px;
  color: #666;
  border: none;
}
.offcanvas ul ul a.nav-link:hover {
  color: var(--color-highlight);
}
.rotate-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}
.collapse.show + .rotate-icon,
.nav-link[aria-expanded="true"] .rotate-icon {
  transform: rotate(180deg);
}
.rotate-icon.rotated {
  transform: rotate(180deg);
}
.nav-icon-link {
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-icon-link:hover {
  transform: translateY(-2px);
  color: var(--color-highlight);
}

.nav-icon-link:hover i,
.nav-icon-link:hover span {
  color: var(--color-highlight);
}
@media (max-width: 767.98px) {
  /* Pomniejszenie logo */
  .navbar-brand img {
    max-width: 95px;
    padding-left: 10px;
  }

  /* Powiększenie ikon i tekstów */
  .navbar .d-lg-none i {
    font-size: 1.6rem; /* większa ikona */
  }

  .navbar .d-lg-none small {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
  }

  /* Zwiększenie odstępów między ikonami */
  .navbar .d-lg-none {
    gap: 1.5rem;
  }
}





/* Sekcja Hero */
.carousel-item {
  height: 60vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-overlay {
  max-width: 630px;
}
.hero-content h2 {
  font-family: var(--font-header);
  font-size: 56px;
  color: var(--color-highlight);
  margin: 0 0 0em 0;
  font-weight: 400;
  margin-bottom: 10px;
}
.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero-content h2 + h1 {
    margin-top: -15px;
}
.hero-content p {
  color: var(--color-text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 30px;
  margin-bottom: 30px;
}

.carousel-indicators {
  bottom: 20px;
}
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d3d3d3;
  margin: 0 5px;
}
.carousel-indicators .active {
  background-color: var(--color-text);
}
@media (max-width: 768px) {
  .hero-overlay {
    padding: 30px;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .hero-content p {
    font-size: 15px;
	line-height: 20px;
    font-family: var(--font-text);
    color: var(--color-text);
    font-weight: 500;
  }
  .carousel-inner .align-items-center {
	  align-items: flex-end !important;
	  padding-bottom: 50px;
  }
}
@media (max-width: 767.98px) {
  .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0));
    z-index: 1;
  }

  .carousel-item {
    position: relative;
    background-size: cover;
    background-position: center;
  }

  .hero-overlay,
  .hero-content {
    position: relative;
    z-index: 2;
  }
}



/* Sekcja banner podstrony */
.subpage-banner {
    position: relative;
    width: 100%;
	background-color: #FFF;
    min-height: 400px; 
    display: flex; 
    align-items: center; 
    justify-content: start; 
    color: var(--color-text); 
    overflow: hidden;
}

.subpage-banner picture,
.subpage-banner .banner-image { /* Style dla elementu picture i img */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center center; 
    z-index: 1; 
	opacity: 1;
}
.subpage-banner:before {
    content: "";
    z-index: 3;
    background-image: linear-gradient(90deg, rgba(255,255,255,.9) 50%, transparent 77%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}
.subpage-banner .container {
    position: relative;
    z-index: 5; 
    margin: 0 auto;
    padding: 20px;
}
.subpage-banner .banner-content {
    text-shadow: 1px 1px 3px #FFF;
}

.banner-content h1 {
    font-size: 68px;
    font-family: var(--font-header);
    font-weight: 400;
    color: var(--color-highlight);
    letter-spacing: -.75px;
}

.banner-content .content {
    font-size: 17px;
	max-width: 700px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.subpage-banner + .text-image {
    margin-top: 25px;
}
.subpage-banner + .text-image .heart-image {
    border-radius: 12px;
}

/* Opcjonalne: Ustawienia dla mniejszych ekranów */
@media (max-width: 991px) { /* Używamy 991px, aby dopasować się do media query w HTML */
	.subpage-banner {
		height: 450px;
		align-items: flex-start;
	}
    .banner-content h1 {
        font-size: 36px;
    }

	.banner-content .content p {
		font-size: 14px;
		padding: 10px 50px 10px 0;
	}
	.subpage-banner picture, .subpage-banner .banner-image {
		object-position: 85% 50%;
		height: calc(100% - 100px);
		top: 100px;
	}
	.subpage-banner:before {
		background-image: linear-gradient(170deg, rgba(255,255,255,.9) 50%, transparent 77%);
		top: 50px;
	}
}

.text-image h2 + h3 {
    margin: -.5em 0 1em 0;
}



/* Sekcja z produktami */
.section-products{
  margin-top: 7vh;
  margin-bottom: 7vh;
}
.section-title {
  text-align: left;
  margin-bottom: 30px;
}
.section-title h2 {
  font-size: 42px;
  font-family: var(--font-text);
  font-weight: 600;
  color: var(--color-highlight);
}
.section-title p {
  font-size: 36px;
  color: var(--color-text-blue);
  font-family: var(--font-header);
  margin-bottom: 5px;
}
.card-hover {
  border: none;
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.25s ease;
}
.card-hover img {
  border-radius: 12px;
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 280px;
  transition: all 0.25s ease;
}

.card-hover:hover img {
  transform: scale(.95);
  box-shadow: 0px 20px 30px -20px rgba(0,0,0,.25);
  filter: contrast(1.1);
}
.card-title {
    text-align: left;
    margin: 15px 10px 5px 15px;
    font-weight: 600;
    font-size: 20px;
    font-family: var(--font-text);
    color: var(--color-text);
	transition: all 0.25s ease;
}
.card-hover:hover .card-title {
	color: var(--color-highlight);
	transform: translateX(5px);
}
@media (max-width: 767.98px) {
  .card-hover img {
  height: 160px;
  }
}



/* Sekcja tekst po lewej + zdjęcie po prawej PINK */
.bg-light-pink {
  background-color: #fff3f3;
}
.heart-image {
  max-width: 100%;
  height: auto;
}
.header-info-section{
  font-size: 36px;
  color: var(--color-text-blue);
  font-family: var(--font-header);
  margin-bottom: 5px;
}
.section-text p {
  font-family: var(--font-text);
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
}

.createdby {
	font-size: .75em;
	opacity: .5;
}


/* Sekcja galerii realizacji */
.gallery-row {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery-row > div {
  scroll-snap-align: start;
  flex: 0 0 auto;
}
.gallery-hover {
  overflow: hidden;
  border-radius: 12px;
  display: block;
}

.gallery-hover img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
	transition: all .25s ease;
}

.gallery-hover:hover img {
  transform: scale(.95);
  box-shadow: 0px 20px 30px -20px rgba(0,0,0,.25);
  filter: contrast(1.1);
}
a.gallery-hover .desc {
    display: block;
    text-align: center;
    padding: 10px 5px;
    font-size: .9em;
    color: var(--color-text);
	transition: all .25s ease;
}
a.gallery-hover:hover .desc {
	color: var(--color-text-blue);
	transform: translateY(-2px);
}

/* Sekcja CTA */
.cta-text {
  color: var(--color-text);
  font-family: var(--font-text);
  font-size: 16px;
  margin-bottom: 30px;
}
.cta-number {
  color: var(--color-text);
  font-family: var(--font-text);
  font-size: 15px;
  margin-top: 0px;
  font-weight: 600;
  margin-bottom: 0px;
  font-size: 2rem;
}
.cta-number:hover {
  color: var(--color-highlight);   
  transform: scale(1.05);
}
@media (max-width: 575.98px) {
  .cta-section .text-start {
    text-align: center;
  }

  .cta-section .d-flex {
    justify-content: center !important;
    flex-wrap: wrap;
  }
  .cta-section .cta-number {
    font-size: 28px;
    margin-bottom: 0px;
  }
  .cta-text {
    font-size: 15px;
    text-align: center;
  }
  .cta-section p,
  .cta-section h2 {
    margin-bottom: 0.5rem;
  }
  .cta-section h2 {
	font-size: 24px;
  }
  .cta-section img,
  .col-lg-5.offset-lg-1 {
    margin: 0 auto;
  }
}
.cta-section img {
    max-width: 460px;
  }
@media (max-width: 575.98px) {
  .cta-image {
    max-width: 280px;
  }
}



/* Stopka */
.bg-footer {
  background-color: #d0e7de;
  border-radius: 20px 20px 0 0;
}
.footer-inner {
  background-color: #d0e7de;
  border-radius: 20px;
}
.footer-nav {
  line-height: 1.8;
  color: #6c757d;
}
@media (max-width: 575.98px) {
  .footer-nav {
    font-size: 11px;
  }
  .mobile-text-center{
    text-align: center;
  }
}
.scroll-top-section {
  background-color: #fff;
}
#scrollTop {
  transition: transform 0.3s ease, color 0.3s ease;
}

#scrollTop:hover {
  transform: translateY(-5px);
  color: var(--color-highlight); 
}

#scrollTop:hover .text-dark {
  color: var(--color-highlight);
}
.scroll-top-text {
font-family: var(--font-text);
font-size: 12px;
}


.fulltext form {
    max-width: 800px;
    margin: 0 auto !important;
}



@media (max-width: 992px) {
	html, body {
		font-size: 13px;
	}
	.navbar .btn[data-bs-target="#mobileMenu"] {
		padding: 0 10px;
		margin: -8px 5px 0 5px;
	}
	.hero-content h2 {
		font-size: 38px;
	}
	
	.gallery h2,
	.text-image h2 {
		font-size: 26px;
		margin: 16px 0 10px 0;
		letter-spacing: 0px;
	}
	.section-title h2 {
		font-size: 26px;
		font-weight: 600;
	}
	.section-title h2 strong,
	.section-title h2 b {
		font-weight: inherit;
	}
	.gallery .text-column,
	.text-image .text-column {
		padding-left: 20px;
		padding-right: 20px;
	}
	iframe {
		margin: 10px 10px;
		max-width: 93%;
	}
	.card-title {
		margin: 10px 10px 10px 10px;
		font-size: 14px;
	}
	.gallery-row {
		margin-left: 0px;
	}
}