/*
Theme Name: Żłobek Strumyk
Theme URI: https://zlobekstrumyk.pl
Author: Claude
Description: A modern, single-page WordPress theme for Żłobek Strumyk nursery
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zlobek-strumyk
*/

:root {
  --primary: #3481C1;
  --primary-dark: #325D92;
  --primary-light: #A3CDFF;
  --accent-purple: #D8CBE7;
  --accent-green-dark: #6E865A;
  --accent-green-light: #9C9F6B;
  --accent-orange: #F9B96B;
  --accent-peach: #F39C6F;
  --accent-pink: #F7B3CC;
  --white: #FFFFFF;
  --black: #333333;
  --gray-light: #F5F5F5;
  --gray: #E0E0E0;
  --font-main: 'Montserrat', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  color: var(--black);
  overflow-x: hidden;
  padding-top: 100px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
}

p {
  font-family: var(--font-secondary);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 129, 193, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.btn-icon {
  margin-left: 8px;
  width: 16px;
  height: 16px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 100;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-branding {
  display: flex;
  align-items: center;
}

.site-logo {
  max-height: 60px;
  width: auto;
  margin-right: 10px;
}

.site-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.site-title a {
  text-decoration: none;
  color: #333;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #333;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.menu-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}

.menu-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: #1E88E5;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #1E88E5;
  transition: width 0.3s ease;
}

.nav-link:hover:after, .nav-link.active:after {
  width: 100%;
}

.cta-button {
  background-color: #1E88E5;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-left: 20px;
  display: inline-block;
}

.cta-button:hover {
  background-color: #1565C0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Modern Navbar */
.modern-navbar {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.modern-navbar.sticky {
  bottom: auto;
  top: 20px;
}

.modern-navbar-item {
  color: #666;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 15px;
  position: relative;
  transition: all 0.3s ease;
}

.modern-navbar-item i {
  font-size: 20px;
  margin-bottom: 5px;
}

.modern-navbar-item span {
  font-size: 12px;
  font-weight: 500;
}

.modern-navbar-item:hover, .modern-navbar-item.active {
  color: #1E88E5;
}

.modern-navbar-item:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: #1E88E5;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.modern-navbar-item:hover:after, .modern-navbar-item.active:after {
  width: 80%;
}

/* Video Background */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.video-foreground {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.video-foreground iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100%;
  min-width: 177.77vh; /* 16:9 aspect ratio */
  transform: translate(-50%, -50%);
}

.video-foreground::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero-section {
  background-color: var(--gray-light);
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: white;
}

.hero-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.benefits-list {
  margin: 40px 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
  color: var(--primary-light);
  margin-right: 15px;
  font-size: 20px;
}

/* Modern Hero Component */
.hero-component {
  padding: 40px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(52, 129, 193, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary-light);
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
}

.hero-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-title-left {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 0;
  line-height: 1.2;
  text-align: left;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--black);
  max-width: 85%;
  opacity: 0.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.hero-images {
  position: relative;
}

.hero-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-image-1 {
  aspect-ratio: 1/1;
}

.hero-image-2 {
  grid-row: span 2;
  aspect-ratio: 1/2;
}

.hero-image-3 {
  aspect-ratio: 1/1;
}

/* Sections Common */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--primary-dark);
  position: relative;
}

.section-title::after {
  content: '';
  height: 4px;
  width: 80px;
  background-color: var(--primary);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Benefits Section */
.benefits-section {
  background-color: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: var(--gray-light);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.benefit-card-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--primary);
}

.benefit-card-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.benefit-card-desc {
  color: var(--black);
}

.benefit-feature {
  font-size: 14px;
  font-style: italic;
  margin-top: 15px;
  color: var(--primary-dark);
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--gray-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-dark);
}

.testimonial-rating {
  color: #FFD700;
  margin-top: 10px;
}

.social-proof {
  text-align: center;
  margin-top: 50px;
  font-size: 18px;
  font-weight: 600;
}

/* Contact Section */
.contact-section {
  background-color: white;
}

.cta-box {
  background-color: var(--primary-light);
  border-radius: 12px;
  padding: 50px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.cta-text {
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background-color: var(--primary-dark);
  color: white;
  padding: 50px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 20px;
}

.footer-contact {
  line-height: 1.8;
}

.footer-menu h4 {
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: rgba(255,255,255,0.8);
}

.footer-menu a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .section-title, .section-title-left {
    font-size: 2rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .main-navigation.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .menu-list {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }
  
  .menu-item {
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 8px 0;
  }
  
  .cta-button {
    margin-left: 0;
    margin-top: 15px;
    display: inline-block;
  }
  
  .modern-navbar {
    padding: 8px 15px;
  }
  
  .modern-navbar-item {
    padding: 8px 12px;
  }
  
  .modern-navbar-item i {
    font-size: 18px;
  }
  
  .modern-navbar-item span {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title, .section-title-left {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1rem;
    max-width: 100%;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .cta-box {
    padding: 30px;
  }
  
  body {
    padding-top: 20px;
    padding-bottom: 80px;
  }
}

@media (max-width: 576px) {
  .site-logo {
    max-height: 45px;
  }
  
  .hero-section {
    padding: 120px 0 60px;
  }
  
  .hero-title {
    font-size: 1.7rem;
  }
  
  .section-title, .section-title-left {
    font-size: 1.5rem;
  }
  
  .benefit-card, .testimonial-card {
    padding: 20px;
  }
  
  .modern-navbar {
    width: 90%;
    justify-content: space-around;
  }
  
  .modern-navbar-item {
    padding: 8px;
  }
} 