/* Base Styles */
html {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: #212529;
  background-color: #fff;
}

h1, h2 {
  font-weight: 600;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 600;
}

.hero p {
  font-size: 1.25rem;
  color: #666;
} 


.hero-section {
  position: relative;
  min-height: 100vh;
  background: url("../img/LV_05308.jpg") center center/cover no-repeat;
  overflow: hidden;
}

/* Overlay pro lepší čitelnost textu */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #181717d4,#e7e7e70b, #090909aa);
  z-index: 1;
}

.hero-content {
  position: relative;
  align-items: bottom;
  z-index: 2;
  padding: 4rem;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-top: 1rem;
  opacity: 0.9;
}

.btn-green {
  background: #1e463e;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  transition: 0.3s;
}

.btn-green:hover {
  background: #2c745c;
}

/* hero potrfolio */
.hero-portfolio {
  position: relative;
  border-radius: 60px;
  min-height: 60vh;
  background: url("../img/levpičotřinulafinalfinalopravdufinal.webp") center center/cover no-repeat;
  overflow: hidden;
  padding: 25px;
  margin: 80px 10px 10px 10px;
  align-items: bottom;
}

.hero-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #25252590,#3939391a, #09090942);
  z-index: 1;
}

.hero-border {
  margin: 5px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.2;
}

.section-light {
  background-color: #f8f9fa;
}

/*Gallery part*/
.gallery-preview {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50px !important;       
  overflow: hidden;         
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  width: 100%;
}

.gallery-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit; 
}

.overlay h6 {
  color: #fff;
  font-weight: 600;
  font-size: 2.1rem;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.gallery-preview:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

.gallery-preview:hover .overlay {
  opacity: 1;
}

.gallery-preview:hover .overlay h6 {
  opacity: 1;
  transform: translateY(0);
}

.custom-row {
  padding-bottom: 2.5vh;
}

/* About Section Enhancements */
.about-section {
  min-height: 60vh;
  background: linear-gradient(to bottom right, #70aa94, #042420);
  padding: 4rem 0;
}

.about-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #212529;
}

.about-section p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #000000;
  margin-bottom: 1rem;
}

.about-section .btn-light {
  background-color: white;
  color: #000;
  border: none;
  font-weight: 600;
  padding: 0.4rem 1.25rem;
  font-size: 0.9rem;
}


.about section .btn-light:hover {
  background-color: #f0f0f0;
  color: #000;
}

.about-section img {
  max-width: 60%;
  height: auto;
  border-radius: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-section img:hover {
  transform: scale(1.03);
}

.faq-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

/* Footer section styles */
.footer-gradient {
  background: linear-gradient(to bottom right, #042420, #0b5e55);
  color: white;
}

.footer-link {
  color: #d1d1d1;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-gradient hr {
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-gradient .btn-light {
  background-color: white;
  color: #000;
  border: none;
  font-weight: 600;
  padding: 0.4rem 1.25rem;
  font-size: 0.9rem;
}

.footer-gradient .btn-light:hover {
  background-color: #f0f0f0;
  color: #000;
}

.mober-link {
  color: rgb(103, 103, 103);
  text-decoration: none;
}

.mober-link:hover {
  color: rgb(177, 177, 177);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}


@media (max-width: 1024px) {
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top left, #181717d4, #e7e7e70b, #090909aa);
    z-index: 1;
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}


@media (max-width: 767px) {
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top left, #181717d4, #e7e7e70b);
    z-index: 1;
  }

  .hero-content {
    padding: 1.5rem;          
    max-width: 100%;          
    text-align: left;         
  }

  .hero-title,
  .hero-subtitle {
    margin: 0;                
  }

  .hero-buttons {
    position: absolute;
    display: flex;
    flex-direction: row;
    gap: 10px;                
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}


@media (max-width: 576px) {
  .navbar {
    max-width: 576px;
  }

  .about-section img {
    max-width: 80%;
    margin-bottom: 1rem;
  }

  .card-body {
    padding: 1rem;
  }

  .card-title {
    font-size: 1.125rem;
  }

  .card-text {
    font-size: 1rem;
  }

  .carousel-inner .row {
    flex-direction: column;
  }

  .footer-gradient .row > div {
    text-align: center;
  }

  .footer-gradient .btn {
    margin-top: 1rem;
  }

  .footer-gradient .d-flex {
    flex-direction: column;
    gap: 0.5rem;
  }

  section h2,
  .about-section p,
  .contact-section p {
    text-align: center;
  }

  .about-section .text-md-start {
    text-align: center !important;
  }

  .contact-section {
    padding: 2rem 1rem;
  }

  .contact-info {
    padding-left: 0;
    margin-top: 2rem;
  }

  .contact-section h1 {
    font-size: 1.75rem;
  }
}

