/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
  }
  
  /* Hero Section */
.hero {
  background: linear-gradient(135deg, #002244, #003366);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero .btn-primary {
  background-color: #ffcc00;
  color: #002244;
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero .btn-primary:hover {
  background-color: #ffd633; /* slightly lighter yellow */
  color: #002244;
}


.features i {
  color: #002244;
}
  
  .features .feature-card:hover {
    transform: translateY(-10px);
  }
  
  .features i {
    color: #007bff;
  }
  
  .features h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Courses */
  .courses .card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .courses .card:hover {
    transform: translateY(-5px);
  }
  
  .courses .card-img-top {
    height: 200px;
    object-fit: cover;
  }
  
  /* Enhanced Contact Section */
.contact {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact .contact-info {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.contact .contact-info p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.contact .contact-info i {
  color: #007bff;
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

  
  .contact a:hover {
    text-decoration: underline;
  }
  
  /* Footer */
  .footer {
    background-color: #f8f9fa;
    color: #666;
  }
  
  .footer a {
    color: #007bff;
    font-size: 1.25rem;
    margin-left: 1rem;
    transition: color 0.3s ease;
  }
  
  .footer a:hover {
    color: #0056b3;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .hero {
      padding: 3rem 1rem;
    }
  
    .hero h1 {
      font-size: 2rem;
    }
  
    .hero .lead {
      font-size: 1rem;
    }
  
    .features .feature-card {
      padding: 1.5rem;
    }
  
    .courses .card-img-top {
      height: 150px;
    }
  
    .contact iframe {
      min-height: 250px;
    }

  }

/* Styling pro sekci Ceník kurzu */
.cenik h4 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.table th,
.table td {
  vertical-align: middle;
}

.table-bordered {
  border: 1px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
  border: 1px solid #dee2e6;
  padding: 0.75rem;
}

/* Add a light gray line between sections */
section:not(:first-of-type) {
  border-top: 1px solid #ddd;
  margin-top: 2rem;
  padding-top: 2rem;
}


/* Ribbon container */
.ribbon {
  position: absolute;
  top: 0;         /* Align with the top edge of the box */
  right: 0;       /* Align with the right edge of the box */
  width: 100px;   /* Slightly larger container for better centering */
  height: 100px;  /* Slightly larger container for better centering */
  z-index: 1;     /* Ensure it sits above the image */
  overflow: hidden; /* Clip any excess ribbon */
}

/* Ribbon text container */
.ribbon span {
  position: absolute;
  left: 50%;      /* Center horizontally within the container */
  top: 50%;       /* Center vertically within the container */
  transform: translate(-50%, -50%) rotate(45deg); /* Center and rotate */
  width: 140px;   /* Ribbon width */
  padding: 8px 0; /* Vertical padding for height */
  background-color: #dc3545; /* Red background */
  color: #fff;    /* White text */
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* Shadow for depth */
}





