@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
/* GLOBAL BODY SETTINGS */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  /* Modern purple gradient background */
  background: linear-gradient(135deg, #4a148c, #1a001f);
  color: #fff;
  scroll-behavior: smooth;
}

#bludit-content {
  position: static; /* Ensure it's not fixed or sticky */
  z-index: 1; /* Adjust z-index if necessary */
  overflow: hidden; /* Prevent overflow issues */
  margin-top: 20px; /* Add some spacing if needed */
  margin-bottom: 20px; /* Add some spacing if needed */
}

/* NAVBAR */
.navbar {
  background-color: rgba(26, 0, 31, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: background-color 0.3s ease;
  padding: 0; /* Remove padding above and below the navbar */
}

.navbar > .container {
  max-width: 100%; /* Ensure the container doesn't limit the navbar */
  padding: 0; /* Remove padding if it's causing issues */
}

.navbar-brand {
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Align logos to the left */
  min-width: max-content; /* Prevent shrinking */
}

/* Logo images */
.logo-img {
  max-width: 140px; /* Increased max-width */
  min-width: 120px;
  height: auto; /* Maintain aspect ratio */
  margin-right: 10px; /* Space between logos */
  object-fit: contain; /* Ensures the logos scale proportionally */
  transition: transform 0.3s ease; /* Smooth hover effect */
}

/* Hover effect for logos */
.logo-img:hover {
  transform: scale(1.5); /* Increased scale on hover */
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.8)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-nav .nav-link {
  color: #ccc !important;
  margin-right: 15px;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 5px 10px;
  border-radius: 5px;
}
.navbar-nav .nav-link:hover {
  background-color: #9a4ffc;
  color: #fff !important;
}

/* HERO SECTION */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: url("images/profile.webp") no-repeat center center;
  background-size: cover;
  padding: 20px;
  border-bottom: 2px solid #fff; /* White bottom border */
}

/* Semi-transparent overlay for text container only */
.hero .text-container {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  padding: 20px; /* Add padding for better spacing */
  border-radius: 10px; /* Optional: rounded corners */
  margin-left: 250px; /* Space for the photo */
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Align content to the right */
  text-align: right; /* Align text to the right */
}

/* HERO text styling */
.hero h1 {
  font-size: 3rem; /* Original size */
  font-weight: 700; /* Original weight */
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Text shadow */
}

.hero p {
  font-size: 1.1rem; /* Original size */
  color: #ddd;
  max-width: 500px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Text shadow */
}

/* Custom purple button using Bootstrap styling */
.btn-purple {
  background-color: #9a4ffc;
  border-color: #9a4ffc;
  color: #fff;
  padding: 0.5rem 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn-purple:hover {
  background-color: #7b38d2;
  border-color: #7b38d2;
  transform: translateY(-2px);
}

/* SECTIONS */
section {
  padding: 80px 0;
}
.section-divider {
  border: none;
  border-top: 1px solid #fff; /* belata linia */
  margin: 0;
}

/* Contact Section Styles */
.contact-section {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  padding: 40px;
  border-radius: 15px;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.contact-form .form-control {
  border-radius: 5px;
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.9);
}

.contact-form .form-control:focus {
  border-color: #6a11cb;
  box-shadow: none;
}

.contact-form .btn-primary {
  background-color: #6a11cb;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  width: 100%;
}

.contact-form .btn-primary:hover {
  background-color: #2575fc;
}

.social-links {
  text-align: center;
  padding: 20px;
}

.social-links h3 {
  margin-bottom: 20px;
  font-weight: 700;
}

.social-links a {
  display: block;
  margin: 15px 0;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.social-links i {
  margin-right: 10px;
}

/* Portfolio Section Styles */
#portfolio {
  padding: 60px 0; /* Keep the padding for spacing */
  background: transparent; /* Remove the gradient */
  color: #fff; /* Keep the text color */
}

.portfolio-container {
  background: linear-gradient(135deg, #6a11cb, #2575fc); /* Same gradient as Contact section */
  padding: 40px; /* Add padding for spacing */
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

.portfolio-container h2 {
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

#portfolio h2 {
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(106, 17, 203, 0.8);
  color: #fff;
  display: flex;
  align-items: center; /* Vertically center the content */
  justify-content: center; /* Horizontally center the content */
  opacity: 0; /* Hidden by default */
  transition: opacity 0.3s ease; /* Smooth fade-in effect */
}

.portfolio-item:hover .overlay {
  opacity: 1; /* Visible on hover */
}

.portfolio-item .overlay div {
  text-align: center; /* Center-align the text */
  padding: 20px; /* Add padding for better spacing */
  z-index: 2; /* Ensure the text is above the image */
}

.portfolio-item .overlay h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  z-index: 3; /* Ensure the heading is above the overlay */
}

.portfolio-item .overlay p {
  font-size: 16px;
  text-align: center; /* Center-align the paragraph text */
  padding: 0 20px; /* Add padding to prevent text from touching the edges */
  z-index: 3; /* Ensure the paragraph is above the overlay */
}

.portfolio-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin: 20px 0;
}

.portfolio-section h2 {
  color: #ba8cfa;
  margin-bottom: 40px;
  text-align: center;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #aaa;
  margin-top: 40px;
}

/* Mobile HERO Section (NEW) */
.mobile-hero {
  display: none; /* Hidden by default */
  background: url("images/profile.webp") no-repeat center center;
  background-size: cover;
  padding: 20px;
  border-bottom: 2px solid #fff;
}

.mobile-hero .mobile-text-container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 15px;
  text-align: center; /* Center text for mobile */
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  border-radius: 10px; /* Optional: rounded corners */
}

.mobile-hero h1 {
  font-size: 2rem; /* Smaller font size for mobile */
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.mobile-hero p {
  font-size: 1rem; /* Smaller font size for mobile */
  color: #ddd;
  max-width: 100%; /* Full width for mobile */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.mobile-hero .btn-purple {
  padding: 0.4rem 0.8rem; /* Smaller button size for mobile */
  font-size: 0.9rem; /* Smaller font size for the button */
  display: block; /* Make the button a block element */
  margin: 0 auto; /* Center the button */
}

/* Media query for smaller screens */
@media (max-width: 767px) {
  .hero {
    display: none; /* Hide the desktop HERO on small screens */
  }

  .mobile-hero {
    display: block; /* Show the mobile HERO on small screens */
  }
  .logo-img {
    max-width: 90px; /* Enlarged width for mobile */
    margin-right: 8px; /* Reduced space between logos */
  }
	  #contactForm input, #contactForm textarea {
	  max-width: 100%;
  }
}

@media (max-width: 991px) {
  .hero h1 {
    font-size: 2rem; /* Adjusted for smaller screens */
  }
  .hero p {
    font-size: 1rem; /* Adjusted for smaller screens */
  }
}