/*

Stimulus Template

http://www.templatemo.com/tm-498-stimulus

*/

body {
 	background: var(--page-bg);
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
	font-weight: 300;
  overflow-x: hidden;
  color: var(--text);
    font-size: 16px;
}

html,body {
  width: 100%;
  height: 100%;
}

/*
   Color palette is defined with CSS variables at :root.  All components should refer to
   these variables rather than hardcoding hex values.  Use the helper classes below to
   set text/background colours in markup; this keeps specificity low and makes it obvious
   what colour a given element will have.  For example: <h3 class="text-white"> or
   <div class="bg-dark text-white">.

   The original template used selectors like "#service p" which forcibly coloured every
   paragraph, leading to cascading confusion.  That rule has been removed so that a
   developer can explicitly apply a colour class to each element.
*/
:root {
  --page-bg: #F1F6F8;
  --surface: #FFFFFF;
  --text: #1F2937;
  --muted: #6B7280;
  --accent: #2C7A7B; /* teal */
  --accent-2: #F28C6E; /* coral F28C6E*/
  --highlight: #F6D8A8; /* soft gold / light */
  --dark: #0F172A;
}


/*---------------------------------------
    Typorgraphy              
-----------------------------------------*/

h1,h2,h3,h4,h5,h6 {
  font-style: normal;
  font-weight: 300;
}

h1,h2,h3 {
  font-weight: 300;
}

h1 {
  font-size: 42px;
  padding-bottom: 14px;
  margin-bottom: 0px;
}

h2 {
  font-size: 42px;
  line-height: 52px;
  margin-top: 0px;
}

h3 {
  font-size: 26px;
  line-height: 32px;
  padding-bottom: 6px;
}

h4 {
  color: #999;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-top: 6px;
}

h5 {
  color: #666666;
}

strong {
  color: var(--text);
  font-weight: normal;
}

p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  letter-spacing: 0.2px;
}

.section-btn {
  background-color: transparent;
  border: 3px solid var(--text);
  border-radius: 100px;
  color: var(--text);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1.6px;
  padding: 12px 36px;
  margin-top: 42px;
  transition: all 0.4s ease-in-out;
  text-transform: uppercase;
}

.section-btn:hover {
  background: var(--accent);
  border-color: transparent;
  color: #ffffff;
}

.btn-success:focus {
  background-color: var(--dark);
  border-color: transparent;
}

.parallax-section {
  background-attachment: fixed !important;
  background-size: cover !important;
}

.section-title {
  position: relative;
  padding-bottom: 22px;
}

#about,
#service,
#experience,
#education,
#contact {
  position: relative;
}

/* Ensure all parallax sections use a full-width container with no side padding
   so the 4-column grid lines up vertically across sections. Specific ID-based
   rules caused duplicates (e.g. renamed sections) to keep their default
   Bootstrap padding and break the vertical seams. */
.parallax-section > .container {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* Keep legacy ID-specific selectors for any special cases (preserve earlier behaviour) */
#home .container,
#about .container,
#experience .container,
#service .container,
#education .container,
#contact .container {
  width: 100%;
}

#experience .experience-thumb,
#education .education-thumb  {
  padding: 22px 42px 42px 42px;
}

#service,
#quotes,
footer {
  text-align: center;
}

#experience,
#education {
  background: var(--page-bg);
}

.background-image {
    background-position: 50% 50% !important;
    background-size: cover !important;
    width: 100%;
    /* default column image min-height for smaller contexts */
    min-height: 50vh;
    /* use relative positioning so image participates in flex layout when needed */
    position: relative;
}

/* When used as a direct column child inside a parallax section row, make the
   background image a flex child so it fills the full column height and aligns
   with sibling tiles (prevents backgrounds from 'popping out'). */
.parallax-section > .container > .row > [class*="col-"] > .background-image {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  position: relative;
  background-position: center center !important;
  background-size: cover !important;
}

/* shorthand utilities for text colours; adding !important makes them easy to drop onto
   arbitrary elements without worrying about selector specificity.  Juniors can look at these
   and know exactly what colour will be applied. */
.text-white { color: #ffffff !important; }
.text-dark  { color: var(--text) !important; }
.text-muted { color: var(--muted) !important; }
.text-accent { color: var(--accent) !important; }
.text-accent-2 { color: var(--accent-2) !important; font-weight: 400;}
.text-highlight { color: var(--highlight) !important; }

/* When elements explicitly have .bg-white, ensure any white text becomes dark for contrast.
   note: selector targets new utility class; legacy .color-white rule is only preserved above
   for a brief transition. */
.bg-white .text-white {
  color: var(--text) !important;
}

/* background utility helpers */
.bg-yellow,
.bg-accent-2 { /* legacy .bg-yellow kept for backwards compatibility */
  background: var(--accent-2);
}

.bg-accent {
  background: var(--accent);
}

.bg-highlight {
  background: var(--highlight);
}

.bg-white {
  background: #ffffff;
}

.bg-dark {
  background: var(--dark);
}

/* Ensure dark/light background containers set readable text color */
.bg-dark {
  color: #ffffff;
}
.bg-white {
  color: var(--text);
}



/*---------------------------------------
    General               
-----------------------------------------*/

html{
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
}
a:hover, a:active, a:focus {
  color: var(--accent);
  outline: none;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}



/*---------------------------------------
    Preloader section              
-----------------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #ffffff;
}

.spinner {
  border: 1px solid transparent;
  border-radius: 5px;
  position: relative;
}

.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  border-top-color: #f9f9f9;
  animation: spinner .6s linear infinite;
}

@-webkit-@keyframes spinner {
  to {transform: rotate(360deg);}
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}



/*---------------------------------------
    Navigation section              
-----------------------------------------*/

.custom-navbar {
    margin-bottom: 0;
    background-color: #ffffff !important;
    padding-top: 10px;
}

.custom-navbar .navbar-brand {
  color: var(--accent);
  text-shadow: none;
  font-weight: bold;
  font-size: 24px;
  line-height: 35px;
  letter-spacing: 1px;
}

.custom-navbar .nav li a {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 30px;
  transition: all 0.4s ease-in-out;
}

.custom-navbar .nav li a:hover {
  color: var(--accent);
}

.custom-navbar .navbar-nav > li > a:hover,
.custom-navbar .navbar-nav > li > a:focus {

}

.custom-navbar .nav li.active > a {
  color: var(--accent);
}

.custom-navbar .navbar-toggle {
    border: none;
    padding-top: 10px;

}

.custom-navbar .navbar-toggle .icon-bar {
    background: var(--accent);
    border-color: transparent;

}

/* when navbar is collapsed to solid white (scrolled), switch logo/links to dark */
.custom-navbar.top-nav-collapse {
  background: #ffffff;
}
.custom-navbar.top-nav-collapse .navbar-brand {
  color: var(--accent);
  text-shadow: none;
}
.custom-navbar.top-nav-collapse .nav li a {
  color: var(--muted);
}
.custom-navbar.top-nav-collapse .nav li.active > a {
  color: var(--accent);
}
.custom-navbar.top-nav-collapse .navbar-toggle .icon-bar {
  background: var(--accent);
}

@media(min-width:768px) {
    .custom-navbar {
        padding: 0px 0;
        border-bottom: 0;
        background: 0 0; 
    }
    .custom-navbar.top-nav-collapse {
        background: #ffffff;
        box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.08);
        padding: 0;
    }

}



/*---------------------------------------
    Home section              
-----------------------------------------*/

#home h1 {
  padding-bottom: 18px;
}

#home .col-md-6 {
  background: #f1e2d7;
/* light blue color: #c3eafd; */
  padding-right: 0;
  padding-left: 0;
}

#home .home-thumb {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100vh;
  padding: 0 45px 0 45px;
  position: relative;
}
#home .home-img {
    background: url('/static/images/1.jpg') no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  width: 100%;
  height: 100vh;
  position: relative; /* allow absolutely positioned arrow inside to anchor to image column */
}



/*---------------------------------------
   About section              
-----------------------------------------*/
#about .about-img {
  background: url('/static/images/2.jpg') no-repeat;
}

#about .about-thumb,
#about .skill-thumb {
  padding: 22px 32px 32px 32px;
}

/* Restore inner padding for the renamed section so its text keeps the
   same spacing as the original About column (prevents content from
   touching the column edges after gutters were removed). */
#what-i-dont-do .about-thumb,
#what-i-dont-do .contact-thumb {
  padding: 22px 32px 32px 32px;
}

/* Make columns in the about and the renamed "what-i-dont-do" section equal height
   so background colours applied to the column produce clean rectangles. This keeps
   the coloured box (e.g. .bg-accent-2) spanning the full column height instead of
   only the content area. */
#about .row, #what-i-dont-do .row {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
#about [class*="col-"], #what-i-dont-do [class*="col-"] {
  display: flex;
  flex-direction: column;
}
#about .about-thumb, #about .skill-thumb,
#what-i-dont-do .about-thumb, #what-i-dont-do .contact-thumb {
  flex: 1 1 auto;
}

#about .progress {
  background: #ffffff;
  border-radius: 0px;
  box-shadow: none;
  height: 2px;
}

#about .progress-bar-primary {
  background: var(--text);
}

#about strong,
#about span {
  font-weight: bold;
  display: inline-block;
  padding-bottom: 8px;
}



/*---------------------------------------
    Service section              
-----------------------------------------*/

#service {
  background: var(--page-bg);
}

/* paragraphs inside service will inherit their container's text color; use utility classes on the
   service-thumb, the <h3> or <p> itself for explicit colouring.  The previous rule hard‑coded a
   dark text colour and was overriding individual .color-white or .text-* helpers, leading to
   the confusion described by the client. */
#service p {
  font-size: 18px;
  line-height: 30px;
  /* colour removed, use .text‑* helpers */
}

#service .service-thumb {
  padding: 52px 22px 52px 22px;
}

#service .service-thumb .fa {
  font-size: 42px;
  padding-bottom: 22px;
}



/*---------------------------------------
    Experience section              
-----------------------------------------*/

#experience .media-heading {
  margin-bottom: 0px;
}

#experience .media .fa {
  font-size: 42px;
  margin-right: 14px;
  margin-left: 14px;
}

#experience small {
  color: var(--accent-2);
}
#experience .experience-img {
  background: url('/static/images/3.jpg') no-repeat;
}


/*---------------------------------------
    Education section              
-----------------------------------------*/

#education {
  background: var(--page-bg);
}


#education .media-heading {
  margin-bottom: 0px;
}

#education .media .fa {
  font-size: 42px;
  margin-right: 14px;
}

#education small {
  color: var(--accent-2);
}

#education .education-img {
  background: url('/static/images/6.jpg') no-repeat;
}


/*---------------------------------------
   Quotes section              
-----------------------------------------*/

#quotes {
  background-size: cover;
  background-position: center center;
  color: var(--text);
  position: relative;
  padding: 160px 0px;
}

#quotes .quotes-thumb {
  padding: 12px;
  position: relative;
}

/* Carousel styles for quotes */
.quotes-carousel {
  text-align: center;
  position: relative;
}
.quotes-carousel .quote-item {
  display: block; /* kept visible but overlapped via absolute positioning */
  opacity: 0;
  transition: opacity 0.45s ease-in-out;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
.quotes-carousel .quote-item.active {
  opacity: 1;
  position: absolute;
}
.quote-controls {
}
.quote-controls .btn {
  border-radius: 20px;
  padding: 6px 12px;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
}
.quote-controls .btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* Spacing and stacking inside the quotes carousel to avoid overlap */
.quotes-carousel {
  padding: 120px 24px 220px; /* increased top/bottom spacing */
  box-sizing: border-box;
}
.quotes-carousel .fa {
  font-size: 46px;
  display: block;
  margin: 0 auto 46px auto;
  color: var(--accent-2);
  z-index: 4;
}
.quotes-carousel h2 {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 48px 0;
  padding: 0 10px;
  z-index: 2;
}
.quotes-carousel h4 {
  margin: 0 0 56px 0;
  color: var(--muted);
  font-weight: 400;
  z-index: 2;
}
.quotes-carousel .quote-item {
  z-index: 1;
  padding: 0 20px; /* internal horizontal breathing room */
}
.quotes-carousel .quote-item.active { z-index: 2; }

/* Place controls on left and right sides of screen */
.quote-controls {
  position: absolute;
  bottom: -48px; /* move controls further below the content area */
  z-index: 5;
  pointer-events: auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  left: 0; /* position relative to the full section width */
  right: 0;
}

/* Polished circular controls: fixed size, centered, spaced and overriding
   Bootstrap defaults (no inner backgrounds or extra borders). */
.quote-controls .btn {
  width: 48px !important;
  height: 48px !important;
  line-height: 44px !important;
  padding: 0 !important;
  margin: 0 10px !important;
  display: inline-block !important;
  text-align: center !important;
  vertical-align: middle !important;
  border-radius: 50% !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--accent) !important;
  border: 2px solid var(--accent) !important;
  box-shadow: none !important;
  font-size: 20px !important;
}
.quote-controls .btn:hover {
  background: var(--accent) !important;
  color: #ffffff !important;
  border-color: var(--accent) !important;
}
.quote-controls .btn:focus, .quote-controls .btn:active { outline: none !important; box-shadow: none !important; }

#quotes .fa {
  font-size: 42px;
  margin-top: 32px;
  margin-bottom: 22px;
}

#quotes p {
  padding-top: 32px;
}
#quotes {
  background: url('/static/images/4.jpg') 50% 0 repeat-y fixed;
}


/*---------------------------------------
    Contact section              
-----------------------------------------*/
#contact .contact-img {
  background: url('/static/images/5.jpg') no-repeat;
    min-height: 75vh;
}

#contact {
  background: var(--page-bg);
}

#contact .contact-form,
#contact .contact-thumb {
  padding: 22px 32px 22px 32px;
  min-height: 75vh;
}

  
#contact .contact-info {
  padding-top: 6px;
  padding-bottom: 6px;
}

#contact .form-control::-moz-placeholder{color:var(--muted);opacity:1}
#contact .form-control:-ms-input-placeholder{color:var(--muted)}
#contact .form-control::-webkit-input-placeholder{color:var(--muted)}

#contact .form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--accent);
  border-radius: 0px;
  box-shadow: none;
  color: var(--text);
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 25px;
  transition: all 0.4s ease-in-out;
}

#contact .form-control:focus {
  border-bottom-color: var(--accent);
}

/* výška inputov */
#contact input {
  height: 45px;
}

/* tlačidlo – teraz button, nie input[type="submit"] */
#contact button[type="submit"] {
  background: transparent;
  border: 3px solid var(--text);
  border-radius: 100px;
  color: var(--text);
  padding: 20px 36px;
  font-weight: bold;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 1.6px;

    display: flex;
    align-items: center;   /* vertikálne centrovanie */
    justify-content: center; /* horizontálne centrovanie */


}

/* hover stav */
#contact button[type="submit"]:hover:not(:disabled) {
  background: var(--accent);
  border-color: transparent;
  color: #ffffff;
}

/* disabled stav – aby bolo jasné, že sa nedá klikať */
#contact button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ikona, ak ju používaš */
#contact .fa {
  padding-right: 10px;
}




/*---------------------------------------
   Footer section              
-----------------------------------------*/

footer {
  padding: 140px 0px;
  color: var(--muted);
  background-color: #ffffff;
}



/*---------------------------------------
   Social icon             
-----------------------------------------*/

.social-icon {
    position: relative;
    padding: 0;
    margin: 0;
    text-align: center;
}

.social-icon li {
    display: inline-block;
    list-style: none;
}

.social-icon li a {
    border: 2px solid transparent;
    border-radius: 100px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    vertical-align: middle;
    position: relative;
    margin: 22px 4px 10px 4px;
}

.social-icon li a:hover {
  background: var(--accent);
  border-color: #ffffff;
  color: #ffffff;
}



/*---------------------------------------
   Mobile Responsive         
-----------------------------------------*/

/* Equal-height tile grid for parallax sections on large screens.
   Keeps columns aligned, makes colored backgrounds fill their column rectangles,
   and prevents background panels from "popping out" when content is short. */
@media (min-width:768px) {
  .parallax-section > .container > .row {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
  }
  .parallax-section > .container > .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
  }
  /* Remove the default Bootstrap column gutters inside parallax sections so
     adjacent section tiles line up perfectly across rows. Padding for inner
     content is preserved via .*-thumb elements. */
  .parallax-section > .container > .row {
    margin-left: 0;
    margin-right: 0;
  }
  .parallax-section > .container > .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }
  .parallax-section .about-thumb,
  .parallax-section .skill-thumb,
  .parallax-section .service-thumb,
  .parallax-section .experience-thumb,
  .parallax-section .quotes-thumb,
  .parallax-section .contact-thumb {
    flex: 1 1 auto;
  }
  /* Make inline background images fill their column instead of being absolutely positioned
     so the column's background forms a rectangle matching its siblings. */
  .parallax-section > .container > .row > [class*="col-"] > .background-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 50vh;
  }
}

@media only screen and (max-width: 580px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
    line-height: inherit;
  }

  h3 {
    font-size: 22px;
    line-height: inherit;
  }
}

@media only screen and (max-width: 767px) {
  .custom-navbar .navbar-brand {
    line-height: 18px;
  }

  #home .home-thumb {
    height: auto;
    padding-top: 32px;
    padding-bottom: 12px;
    min-height: 60vh; /* ensure the text column plus padding fits the remaining viewport on mobile */
  }

  /* shorten the large image column on mobile so the whole #home section fits on one screen */
  #home .home-img {
    height: 40vh;
    min-height: 220px;
  }

  /* restore container side padding for all parallax sections on narrow screens */
  .parallax-section .container {
    padding-right: 15px;
    padding-left: 15px;
  }

  #about .col-md-3,
  #experience .col-md-6,
  #education .col-md-6,
  #contact .col-md-3 {
    padding: 0;
    margin: 0;
  }

  /* ensure the stats column spans full width on mobile */
  #about .col-sm-6 {
    width: 100% !important;
  }

  .background-image {
    position: relative;
    min-height: 65vh;
  }
}

@media only screen and (max-width: 1024px) {
  .section-title {
    padding-bottom: 12px;
  }

  footer {
    padding: 40px 0;
  }
}

#submitBtn:disabled {
    background-color: #9acfa1 !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* custom adjustments requested for mobile layout and spacing */

/* make collapsed navbar panels opaque and white on small screens */
@media (max-width: 767px) {
  .navbar-collapse {
    background-color: #ffffff;
  }
  /* add more vertical space below the primary home button */
  .home-thumb .section-btn {
    margin-bottom: 60px;
  }
  /* ensure all main thumb/content blocks match the about section spacing */
  #home .home-thumb,
  .about-thumb,
  .skill-thumb,
  .skills-thumb,
  .service-thumb,
  .experience-thumb,
  .education-thumb,
  .quotes-thumb,
  .contact-thumb,
  #contact .contact-form {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  /* override default 32px horizontal padding inside contact forms on mobile */
  #contact .contact-form{
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  #contact .contact-thumb {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
  /* scroll-down-mobile removed */
}

/* Desktop navbar: left-align brand, right-align nav */
@media (min-width: 992px) {
  .custom-navbar .navbar-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .custom-navbar .collapse.navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
  }
  .custom-navbar .navbar-nav {
    float: none;
    display: flex;
    margin: 0;
  }
  .custom-navbar .navbar-nav > li {
    display: inline-flex;
    align-items: center;
  }
}

/* Tablet navbar: ensure proper alignment for 780px to 990px */
@media (min-width: 768px) and (max-width: 991px) {
  .custom-navbar .navbar-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .custom-navbar .collapse.navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
  }
  .custom-navbar .navbar-nav {
    float: none;
    display: flex;
    margin: 0;
  }
  .custom-navbar .navbar-nav > li {
    display: inline-flex;
    align-items: center;
  }
}

/* spacing under quote-item headings */
.quotes-carousel .quote-item h3 {
  margin-bottom: 60px;
}

