/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #1a1a1a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Navigation */
.navbar {
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid #333;
}

.navbar-brand .logo {
  font-size: 2rem;
  font-weight: bold;
  color: #c4ff00;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #c4ff00 !important;
}

/* Modern Burger Menu - Higher Specificity */
.navbar .navbar-toggler.custom-toggler {
  border: none !important;
  background: none !important;
  padding: 8px !important;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 1001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar .navbar-toggler.custom-toggler:focus {
  box-shadow: none !important;
  outline: none !important;
}

.navbar .navbar-toggler.custom-toggler .hamburger {
  display: flex !important;
  flex-direction: column;
  width: 30px;
  height: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar .navbar-toggler.custom-toggler .hamburger-line {
  display: block !important;
  height: 3px;
  width: 100%;
  background-color: #ffffff !important;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
  margin: 0;
}

.navbar .navbar-toggler.custom-toggler .hamburger-line:nth-child(1) {
  margin-bottom: 6px;
}

.navbar .navbar-toggler.custom-toggler .hamburger-line:nth-child(2) {
  margin-bottom: 6px;
}

/* Burger Animation - Open State */
.navbar .navbar-toggler.custom-toggler[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background-color: #c4ff00 !important;
}

.navbar .navbar-toggler.custom-toggler[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar .navbar-toggler.custom-toggler[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background-color: #c4ff00 !important;
}

/* Hover Effect */
.navbar .navbar-toggler.custom-toggler:hover .hamburger-line {
  background-color: #c4ff00 !important;
  transform: scaleY(1.1);
}

.navbar .navbar-toggler.custom-toggler[aria-expanded="true"]:hover .hamburger-line {
  background-color: #ffffff !important;
}

/* Hide default Bootstrap toggler icon */
.navbar .navbar-toggler.custom-toggler .navbar-toggler-icon {
  display: none !important;
}

/* Hide burger menu on desktop */
@media (min-width: 992px) {
  .navbar .navbar-toggler.custom-toggler {
    display: none !important;
  }
}

/* Ensure burger menu is visible on mobile */
@media (max-width: 991.98px) {
  .navbar .navbar-toggler.custom-toggler {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .navbar .navbar-toggler.custom-toggler .hamburger {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .navbar .navbar-toggler.custom-toggler .hamburger-line {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Mobile Profile Sidebar System */
.mobile-profile-trigger {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(26, 26, 26, 0.9);
  border-radius: 50%;
  padding: 5px;
  backdrop-filter: blur(10px);
  border: 2px solid #c4ff00;
}

.mobile-profile-trigger:hover {
  transform: scale(1.05);
}

.mobile-profile-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid #c4ff00;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(196, 255, 0, 0.3);
}

.mobile-profile-indicator {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: #c4ff00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #1a1a1a;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mobile-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.mobile-sidebar-overlay.active {
  opacity: 1;
  z-index: 999;
}

/* Mobile Close Button */
.mobile-close-button {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  width: 60px;
  height: 60px;
  background: #c4ff00;
  border: 3px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(196, 255, 0, 0.8);
  opacity: 0;
  visibility: hidden;
}

.mobile-close-button:hover {
  transform: scale(1.05);
  background: #ffffff;
  color: #c4ff00;
}

.mobile-close-button i {
  font-size: 20px;
  color: #1a1a1a;
  font-weight: bold;
}

.mobile-close-button:hover i {
  color: #c4ff00;
}

/* Mobile Menu Improvements */
@media (max-width: 991.98px) {
  .mobile-profile-trigger {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .mobile-sidebar-overlay {
    display: block !important;
  }
  
  .mobile-close-button {
    display: flex !important;
  }
  
  /* Force mobile profile trigger visibility */
  .mobile-profile-trigger {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 1001 !important;
  }
  
  .mobile-profile-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .mobile-profile-indicator {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Debug: Make button more visible */
  .mobile-profile-trigger {
    background: #c4ff00 !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 0 20px rgba(196, 255, 0, 0.8) !important;
  }
  
  .mobile-profile-image {
    border: 2px solid #ffffff !important;
  }
  
  /* Hide sidebar on mobile by default */
  #profileSidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #1a1a1a;
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.3);
  }
  
  #profileSidebar.active {
    right: 0;
  }
  
  /* Adjust main content on mobile */
  .col-lg-9.col-md-8 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  
  .navbar-collapse {
    background-color: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin-top: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-item {
    margin: 10px 0;
  }
  
  .navbar-nav .nav-link {
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
  }
  
  .navbar-nav .nav-link:hover {
    background-color: rgba(196, 255, 0, 0.1);
    transform: translateX(5px);
  }
  
  .navbar-nav .nav-link.active {
    background-color: rgba(196, 255, 0, 0.2);
    color: #c4ff00 !important;
  }
}

.nav-icons i {
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-icons i:hover {
  color: #c4ff00;
}

/* Section Padding */
.section-padding {
  padding: 100px 0;
}

/* Profile Card */
.profile-card {
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border: 1px solid #333;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: sticky;
  top: 120px;
  height: fit-content;
  z-index: 10;
}

.profile-image {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.profile-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 3px solid #333;
}

.status-dot {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  background-color: #c4ff00;
  border-radius: 50%;
  border: 3px solid #1a1a1a;
}

.profile-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.profile-title {
  color: #888;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.contact-info {
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #888;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #c4ff00;
  color: #1a1a1a;
  transform: translateY(-2px);
}

.hire-btn {
  background-color: #c4ff00;
  color: #1a1a1a;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: bold;
  margin-bottom: 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.hire-btn:hover {
  background-color: #a8d600;
  transform: translateY(-2px);
}

.download-cv {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.download-cv:hover {
  color: #c4ff00;
}

/* Main Content */
.main-wrapper {
  padding-top: 100px;
  min-height: 100vh;
}

.content-sections {
  padding-left: 2rem;
}

.content-section {
  padding: 100px 0;
  min-height: 100vh;
}

.content-section:first-child {
  padding-top: 20px;
}

.main-content {
  /* padding-left: 2rem; - removed as it's now in content-sections */
}

.intro-text {
  margin-bottom: 3rem;
}

.greeting {
  color: #c4ff00;
  font-size: 1rem;
  display: block;
  margin-bottom: 1rem;
}

.main-title {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 2rem;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  grid-auto-rows: 120px;
}

.bento-item {
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border: 1px solid #333;
  border-radius: 15px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.bento-item:hover {
  transform: translateY(-5px);
  border-color: #c4ff00;
}

.bento-upwork {
  background: linear-gradient(135deg, #14a800, #0d7a00);
}

.bento-about {
  background: linear-gradient(135deg, #c4ff00, #a8d600);
  color: #1a1a1a;
  grid-column: span 2;
}

.bento-dribbble {
  background: linear-gradient(135deg, #ea4c89, #d63384);
}

.bento-skill {
  background: linear-gradient(135deg, #17a2b8, #138496);
  grid-row: span 2;
}

.bento-portfolio {
  background: linear-gradient(135deg, #fd7e14, #e55a00);
  grid-column: span 2;
}

.bento-social {
  background: linear-gradient(135deg, #e1306c, #c13584);
}

.bento-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.bento-flyer {
  background: linear-gradient(135deg, #ffc107, #e0a800);
  color: #1a1a1a;
  grid-row: span 2;
}

.bento-contact {
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  grid-column: span 2;
}

.bento-price {
  background: linear-gradient(135deg, #6f42c1, #5a2d91);
}

.bento-client {
  background: linear-gradient(135deg, #dc3545, #b02a37);
}

.bento-news {
  background: linear-gradient(135deg, #ffc107, #e0a800);
  color: #1a1a1a;
}

/* Adding new bento grid items for updated content */
.bento-typo3 {
  background: linear-gradient(135deg, #ff8700, #e67300);
  color: #ffffff;
}

.bento-wordpress {
  background: linear-gradient(135deg, #21759b, #1e6a8d);
}

.bento-scrum {
  background: linear-gradient(135deg, #0052cc, #0747a6);
}

.bento-git {
  background: linear-gradient(135deg, #f05032, #d63031);
}

.bento-seo {
  background: linear-gradient(135deg, #4285f4, #3367d6);
}

.bento-jira {
  background: linear-gradient(135deg, #0052cc, #0747a6);
}

.bento-languages {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.bento-content {
  text-align: center;
  width: 100%;
}

.bento-text {
  font-size: 0.8rem;
  font-weight: bold;
  display: block;
}

.logo-large {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.bento-item i {
  font-size: 2rem;
}

.typo3-logo {
  width: 120px;
  height: auto;
  margin-bottom: 0.5rem;
  max-width: 100%;
}

.bento-typo3 .bento-text {
  font-size: 0.8rem;
  font-weight: bold;
  display: block;
}

/* Section Headers */
.section-header {
  margin-bottom: 3rem;
}

.section-subtitle {
  color: #c4ff00;
  font-size: 1rem;
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-description {
  color: #888;
  line-height: 1.8;
  max-width: 600px;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border: 1px solid #333;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  border-color: #c4ff00;
}

.portfolio-image {
  height: 250px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-category {
  background-color: #c4ff00;
  color: #1a1a1a;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 1rem;
}

.portfolio-category.xd-design {
  background-color: #ff61f6;
  color: #ffffff;
}

/* Adding new portfolio category */
.portfolio-category.wordpress-design {
  background-color: #21759b;
  color: #ffffff;
}

.portfolio-category.typo3-design {
  background: linear-gradient(135deg, #ff8700, #ff6b00);
  color: white;
}

.portfolio-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffffff;
}

/* Skills */
.skills-list {
  max-width: 600px;
}

.skill-item {
  margin-bottom: 2rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-weight: bold;
  color: #ffffff;
}

.skill-percentage {
  color: #c4ff00;
  font-weight: bold;
}

.skill-bar {
  height: 8px;
  background-color: #333;
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background-color: #c4ff00;
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

/* Services */
.services-list {
  margin-bottom: 3rem;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border: 1px solid #333;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.service-item:hover {
  border-color: #c4ff00;
  transform: translateY(-2px);
}

.service-info h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-count {
  color: #c4ff00;
  font-size: 0.9rem;
}

.service-details h5 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.service-details p {
  color: #888;
  font-size: 0.9rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, #333, #2a2a2a);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  font-size: 1.5rem;
  color: #c4ff00;
}

.load-more-btn {
  background: transparent;
  border: 2px solid #333;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  border-color: #c4ff00;
  color: #c4ff00;
}

/* Footer */
.footer {
  background-color: #0f0f0f;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #333;
}

.copyright {
  color: #888;
  font-size: 0.9rem;
}

/* Contact Form */
/* Added complete contact form styling */

.contact-form {
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border: 1px solid #333;
  border-radius: 20px;
  padding: 3rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
  border: 2px solid #333;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c4ff00;
  box-shadow: 0 0 0 3px rgba(196, 255, 0, 0.1);
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666;
}

.form-group textarea {
  min-height: 120px;
  font-family: inherit;
}

.submit-btn {
  background: linear-gradient(135deg, #c4ff00, #a8d600);
  color: #1a1a1a;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #a8d600, #8fb800);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 255, 0, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.submit-btn i {
  transition: transform 0.3s ease;
}

.submit-btn:hover:not(:disabled) i {
  transform: translateX(3px);
}

/* Form Validation Styles */

.form-group input:valid:not(:focus):not(:placeholder-shown),
.form-group textarea:valid:not(:focus):not(:placeholder-shown) {
  border-color: #28a745;
}

/* Added error styling for form validation */
.form-group input.error,
.form-group textarea.error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-message {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: block;
}

/* Responsive Contact Form */
@media (max-width: 768px) {
  .contact-form {
    padding: 2rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 1.5rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .content-sections {
    padding-left: 0;
    margin-top: 2rem;
  }

  .content-section {
    padding: 50px 0;
    min-height: auto;
  }

  .main-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 100px;
  }

  .bento-about {
    grid-column: span 2;
  }

  .bento-skill {
    grid-row: span 1;
  }

  .bento-portfolio {
    grid-column: span 2;
  }

  .bento-contact {
    grid-column: span 2;
  }

  .bento-flyer {
    grid-row: span 1;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .profile-card {
    position: static;
    margin-bottom: 2rem;
  }

  .service-icon {
    margin: auto;
    margin-bottom: 10px;
    order: 1;
  }

  .service-info {
    order: 2;
  }
  .service-details {
    order: 3;
  }

}

@media (max-width: 480px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-about,
  .bento-portfolio,
  .bento-contact {
    grid-column: span 1;
  }

  .main-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
.skill-progress {
  animation: loadSkill 2s ease-in-out;
}

@keyframes loadSkill {
  from {
    width: 0;
  }
}

/* Hover Effects */
.bento-item,
.portfolio-item,
.service-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c4ff00;
}

img.navbar-logo {
  width: 60px;
  height: auto;
}

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

.contact-info p a {
  color: inherit;
}

.bento-item a {
  color: #fff;
  width: 100%;
  height: 100%;
  display: flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
}

/* About page specific styles */
.about-content {
  max-width: 800px;
}

/* Hero Portrait Section */
.hero-portrait-section {
  margin-bottom: 4rem;
  padding: 2rem 0;
}

.portrait-container {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}

.hero-portrait {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.hero-portrait:hover {
  transform: scale(1.02);
}

.portrait-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
}

.portrait-badge {
  background: linear-gradient(135deg, #c4ff00, #a8e600);
  color: #1a1a1a;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(196, 255, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.portrait-badge i {
  font-size: 1rem;
}

.hero-content h3 {
  color: #c4ff00;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.hero-description {
  color: #cccccc;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #c4ff00;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive adjustments for hero portrait */
@media (max-width: 768px) {
  .hero-portrait-section {
    margin-bottom: 2rem;
    padding: 1rem 0;
  }
  
  .hero-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .portrait-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

.about-summary {
  margin-bottom: 3rem;
}

.about-summary h3 {
  color: #c4ff00;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-summary p {
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.strengths-section {
  margin-bottom: 3rem;
}

.strengths-section .row {
  margin: 0 -0.75rem;
}

.strengths-section .col-md-4 {
  padding: 0 0.75rem;
  margin-bottom: 1.5rem;
}

/* Responsive adjustments for strengths */
@media (max-width: 768px) {
  .strengths-section .col-md-4 {
    margin-bottom: 1rem;
  }
  
  .strength-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .strength-item i {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .strength-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .strength-item p {
    font-size: 0.85rem;
  }
}

.strengths-section h3 {
  color: #c4ff00;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.strength-item {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border: 1px solid #333;
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.strength-item:hover {
  border-color: #c4ff00;
  transform: translateY(-5px);
}

.strength-item i {
  font-size: 2rem;
  color: #c4ff00;
  margin-bottom: 1rem;
}

.strength-item h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.strength-item p {
  color: #888;
  font-size: 0.9rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.achievements-section {
  margin-bottom: 3rem;
}

.achievements-section h3 {
  color: #c4ff00;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border: 1px solid #333;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.achievement-item:hover {
  border-color: #c4ff00;
  transform: translateY(-2px);
}

.achievement-item i {
  font-size: 1.5rem;
  color: #c4ff00;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.achievement-content h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.achievement-content p {
  color: #888;
  line-height: 1.6;
}

.technical-skills h3 {
  color: #c4ff00;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border: 1px solid #333;
  border-radius: 15px;
  padding: 1.5rem;
}

.skill-category h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background-color: #333;
  color: #c4ff00;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Portfolio detail page styles */
.project-detail {
  max-width: 800px;
}

.project-overview {
  margin-bottom: 3rem;
}

.project-overview h3 {
  color: #c4ff00;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-overview p {
  color: #cccccc;
  line-height: 1.8;
  font-size: 1.1rem;
}

.project-section {
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border: 1px solid #333;
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
}

.project-section h4 {
  color: #c4ff00;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.project-section p {
  color: #cccccc;
  line-height: 1.7;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background-color: #333;
  color: #c4ff00;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
}

.results-list {
  list-style: none;
  padding: 0;
}

.results-list li {
  color: #cccccc;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.results-list li:before {
  content: "✓";
  color: #c4ff00;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.project-cta {
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border: 1px solid #333;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}

.project-cta h4 {
  color: #c4ff00;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.project-cta p {
  color: #888;
  margin-bottom: 1.5rem;
}

/* News page styles */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.news-item {
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border: 1px solid #333;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-item:hover {
  transform: translateY(-5px);
  border-color: #c4ff00;
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.05);
}

/* Impressum and Datenschutz page styles */
.impressum-content,
.datenschutz-content {
  max-width: 800px;
}

.impressum-section,
.datenschutz-section {
  margin-bottom: 3rem;
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border: 1px solid #333;
  border-radius: 15px;
  padding: 2rem;
}

.impressum-section h3,
.datenschutz-section h3 {
  color: #c4ff00;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #333;
  padding-bottom: 0.5rem;
}

.impressum-section h4,
.datenschutz-section h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.impressum-section p,
.datenschutz-section p {
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.impressum-section ul,
.datenschutz-section ul {
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.impressum-section li,
.datenschutz-section li {
  margin-bottom: 0.5rem;
}

.impressum-details {
  background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
  border: 1px solid #444;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1rem 0;
}

.impressum-details p {
  margin-bottom: 1rem;
}

.impressum-details a {
  color: #c4ff00;
  text-decoration: none;
  transition: color 0.3s ease;
}

.impressum-details a:hover {
  color: #a8d600;
  text-decoration: underline;
}

.impressum-footer,
.datenschutz-footer {
  background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
  border: 1px solid #444;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.impressum-footer p,
.datenschutz-footer p {
  margin-bottom: 1rem;
}

.impressum-footer a,
.datenschutz-footer a {
  color: #c4ff00;
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.impressum-footer a:hover,
.datenschutz-footer a:hover {
  color: #a8d600;
  text-decoration: underline;
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #c4ff00;
}

/* Testimonials Section */
.testimonials-placeholder {
  margin: 0 auto;
  width: 100%;
}

.testimonial-card {
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border: 1px solid #333;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.testimonial-content i {
  font-size: 2rem;
  color: #c4ff00;
  margin-bottom: 1rem;
  display: block;
}

.testimonial-content .btn i {
  font-size: 1rem;
  margin-bottom: 0;
}

.testimonial-content p {
  color: #cccccc;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author strong {
  color: #ffffff;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.testimonial-author span {
  color: #888;
  font-size: 0.9rem;
}

/* Enhanced Testimonials Section */
.testimonial-content h4 {
  color: #c4ff00;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.testimonial-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(196, 255, 0, 0.1);
  border-radius: 8px;
  border-left: 3px solid #c4ff00;
}

.feature-item i {
  color: #c4ff00;
  font-size: 1rem;
}

.feature-item span {
  color: #cccccc;
  font-size: 0.9rem;
  font-weight: 500;
}

.testimonial-cta {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
}

.testimonial-cta p {
  color: #ffffff;
  margin-bottom: 1rem;
}

.testimonials-placeholder .testimonial-card .testimonial-cta .btn {
  background-color: #c4ff00 !important;
  color: #1a1a1a !important;
  border: none !important;
  padding: 12px 24px !important;
  border-radius: 25px !important;
  font-weight: bold !important;
  margin-bottom: 1rem !important;
  width: auto !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-size: 0.9rem !important;
}

.testimonials-placeholder .testimonial-card .testimonial-cta .btn i {
  color: #1a1a1a !important;
}

.testimonials-placeholder .testimonial-card .testimonial-cta .btn:hover {
  background-color: #a8d600 !important;
  transform: translateY(-2px) !important;
  color: #1a1a1a !important;
}

.testimonials-placeholder .testimonial-card .testimonial-cta .btn:hover i {
  color: #1a1a1a !important;
}

/* Intro Subtitle */
.intro-subtitle {
  color: #cccccc;
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 1rem;
  max-width: 600px;
}

/* Performance Optimizations */
img {
  loading: lazy;
}

/* Preload critical resources */
.preload {
  display: none;
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Contact Form Messages */
.form-message {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  animation: slideDown 0.3s ease-out;
}

.form-message.success {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #28a745;
}

.form-message.error {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #dc3545;
}

.message-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.message-content i {
  font-size: 1.1rem;
}

.char-counter {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.5rem;
  text-align: right;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading State */
.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-btn .fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
