/* Updated Portfolio Styles */

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Projects List - One per row */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.project-row {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.project-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.project-content {
  display: flex;
  align-items: center;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  justify-content: center;
}

.project-info {
  flex: 1;
  padding: 3rem;
  z-index: 2;
  position: relative;
}

.project-image {
  flex: 2;
  max-width: 60%;
  height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-row:hover .project-image img {
  transform: scale(1.05);
}

/* Company Branding */
.company-logo h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.company-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Service Points */
.service-points {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.service-points li {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-points li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: bold;
}

/* Analyze Button */
.analyze-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.analyze-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Brand Colors with Gradients */
.badi-company {
  background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
}

.badi-etkinlik {
  background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
}

.badi-youth {
  background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
}

.badi-creative {
  background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
}

.badi-talent {
  background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
}

.badi-akademi {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
}

.clidenta {
  background: linear-gradient(135deg, rgb(5, 97, 54) 0%, #44a08d 100%);
}

/* Decorative Elements */
.project-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="90" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .project-content {
    flex-direction: column;
    min-height: auto;
  }

  .project-info {
    padding: 2rem;
    text-align: center;
  }

  .project-image {
    height: 250px;
    order: -1;
    max-width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .company-logo h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .projects-list {
    gap: 2rem;
  }

  .project-info {
    padding: 1.5rem;
  }

  .company-logo h3 {
    font-size: 1.5rem;
  }

  .service-points li {
    font-size: 0.9rem;
  }

  .project-image {
    height: 200px;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .project-info {
    padding: 1rem;
  }

  .company-logo h3 {
    font-size: 1.3rem;
  }

  .analyze-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .service-points li {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }
}

/* Keep existing Mac Mockup and other styles */
.mac-mockup {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.mac-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.mac-image:hover {
  transform: translateY(-5px);
}

/* Stats Grid Responsive */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-box {
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2.5rem;
  color: #0066cc;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.stat-text {
  color: #666;
  font-weight: 600;
}

/* Statistic Tags - Keep existing styles */
.stat-tag {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  transition: all 0.3s ease;
  z-index: 10;
}

.stat-tag:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.stat-tag-1 {
  top: 15%;
  left: -10%;
  animation-delay: 0.2s;
}

.stat-tag-2 {
  top: 35%;
  right: -15%;
  animation-delay: 0.4s;
}

.stat-tag-3 {
  bottom: 35%;
  left: -5%;
  animation-delay: 0.6s;
}

.stat-tag-4 {
  bottom: 15%;
  right: -10%;
  animation-delay: 0.8s;
}

.stat-tag-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.stat-tag-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-tag-number {
  font-weight: 700;
  font-size: 16px;
  color: #333;
  line-height: 1;
}

.stat-tag-label {
  font-size: 11px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Floating Elements */
.floating-element {
  position: absolute;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgb(234, 197, 255), rgb(87, 187, 254));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  opacity: 0.7;
  animation: float 3s ease-in-out infinite;
}

.floating-element-1 {
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.floating-element-2 {
  top: 60%;
  left: 5%;
  animation-delay: 1s;
}

.floating-element-3 {
  bottom: 10%;
  right: 20%;
  animation-delay: 2s;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive adjustments for stat tags */
@media (max-width: 1400px) and (min-width: 1024px) {
  .stat-tag-1 {
    top: 15%;
    left: -5%;
  }

  .stat-tag-2 {
    top: 35%;
    right: -8%;
  }

  .stat-tag-3 {
    bottom: 35%;
    left: -2%;
  }

  .stat-tag-4 {
    bottom: 15%;
    right: -5%;
  }
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-flex {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 2rem;
  }

  .mac-mockup {
    max-width: 90%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-box {
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-tag {
    padding: 8px 12px;
    font-size: 12px;
  }

  .stat-tag-1 {
    top: 10%;
    left: -5%;
  }

  .stat-tag-2 {
    top: 30%;
    right: -10%;
  }

  .stat-tag-3 {
    bottom: 30%;
    left: 0%;
  }

  .stat-tag-4 {
    bottom: 10%;
    right: -5%;
  }

  .stat-tag-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .stat-tag-number {
    font-size: 14px;
  }

  .stat-tag-label {
    font-size: 10px;
  }

  .floating-element {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}

@media (max-width: 550px) {
  .mac-mockup {
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stat-tag {
    position: static;
    margin: 10px auto;
    display: inline-flex;
  }

  .floating-element {
    display: none;
  }

  .mac-mockup::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.portfolio-projects .container {
  flex-direction: column;
  margin-top: 3rem;
}

/* New Project Brand Colors */
.new-inn {
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

.longosphere {
  background: linear-gradient(135deg, #68d391 0%, #48bb78 100%);
}

.mowico {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.storytel {
  background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
}

.petros-hotel {
  background: linear-gradient(135deg, #2c5282 0%, #2a4365 100%);
}

.Gilan {
  background: linear-gradient(135deg, #38b2ac 0%, #319795 100%);
}

.tmob {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

.tmob .project-image {
  height: 300px;
}

.bade-natural .project-image {
  height: 300px;
}

.boutique-hotel-amiral-palace {
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

.prev {
  background: linear-gradient(
    135deg,
    rgb(74, 102, 179) 0%,
    rgb(13, 3, 48) 100%
  );
}

.bade-natural {
  background: linear-gradient(135deg, #2c7a7b 0%, #285e61 100%);
}

.efor-patent {
  background: linear-gradient(135deg, #63b3ed 0%, #4299e1 100%);
}

.momkidart {
  background: linear-gradient(135deg, #f687b3 0%, #ed64a6 100%);
}

.nevita {
  background: linear-gradient(135deg, rgb(26, 27, 93) 0%, #153e75 100%);
}

.romance-istanbul-hotel {
  background: linear-gradient(135deg, #fbd38d 0%, #f6ad55 100%);
}

.inter-hair-istanbul {
  background: linear-gradient(135deg, rgb(30, 31, 90) 0%, rgb(32, 33, 44) 100%);
}

.midsole {
  background: linear-gradient(135deg, rgb(0, 0, 0) 0%, rgb(79, 51, 139) 100%);
}

/* Load More Button Styles */
.load-more-container {
  text-align: center;
  margin: 60px 0 40px;
  padding: 20px 0;
}

.load-more-btn,
.show-less-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  color: #fff;
  border: none;
  padding: 18px 35px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
  position: relative;
  overflow: hidden;
}

.load-more-btn::before,
.show-less-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.load-more-btn:hover::before,
.show-less-btn:hover::before {
  left: 100%;
}

.load-more-btn:hover,
.show-less-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(96, 165, 250, 0.4);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.load-more-btn i,
.show-less-btn i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.load-more-btn:hover i {
  transform: translateY(2px);
}

.show-less-btn:hover i {
  transform: translateY(-2px);
}

.show-less-btn {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  box-shadow: 0 4px 15px rgba(100, 116, 139, 0.3);
}

.show-less-btn:hover {
  background: linear-gradient(135deg, #475569 0%, #334155 100%);
  box-shadow: 0 8px 25px rgba(100, 116, 139, 0.4);
}

/* Hidden projects animation */
.hidden-projects {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  margin-top: 3rem;
}

.hidden-projects .project-row {
  margin-bottom: 3rem !important;
}

.hidden-projects .project-row:last-child {
  margin-bottom: 0 !important;
}

.hidden-projects.show {
  opacity: 1;
  max-height: 9999px;
  overflow: visible;
}

/* Mobile gap adjustment for hidden projects */
@media (max-width: 768px) {
  .hidden-projects .project-row {
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 768px) {
  .load-more-container {
    margin: 40px 0 30px;
  }
  
  .load-more-btn,
  .show-less-btn {
    padding: 15px 25px;
    font-size: 14px;
    gap: 8px;
  }
}
