/* Main section */
.main {
  flex: 1;
  padding: 20px;
}

ion-icon {
  width: 28px;
  height: 28px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 500;
  background-color: #daf2e0;
  color: #006618;
  padding: 10px 15px;
  width: fit-content;
  border-radius: 20px;
}

.availability::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #28a745;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.hero h1 {
  font-size: 48px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #333;
}

.hero h1 .name {
  color: #999;
  font-style: italic;
  font-weight: bold;
}

.hero h1 .highlight {
  color: #333;
  font-weight: bold;
}

.hero p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  max-width: 600px;
  margin-bottom: 40px;
}

.cta-section {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 60px;
}

.download-btn {
  background: #333;
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: #555;
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  gap: 15px;
}

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

.social-links a:hover {
  background: #333;
  color: white;
  transform: translateY(-2px);
}

.carousel-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.carousel-container {
  width: 100%;
  max-width: none;
  position: relative;
  height: 400px;
  overflow: hidden;
  background-color: #f9f9f9;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-item {
  min-width: calc(33.333% - 15px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 15px;
  border-radius: 20px;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  transition: transform 0.3s ease;
}

.carousel-item:hover img {
  transform: scale(1.03);
}

.carousel {
  display: flex;
  height: 100%;
  gap: 0;
  padding: 0 10px;
}

.carousel:hover .carousel-item img {
  transform: scale(1.02);
}

.page-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #333;
}

.page-description {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 40px;
}

.content-section {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.content-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.content-section p {
  line-height: 1.6;
  color: #666;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .carousel-container {
    height: 300px;
  }

  .carousel-item {
    min-width: calc(60% - 10px);
  }

  .cta-section {
    flex-direction: column;
    align-items: start;
  }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .carousel-item {
    min-width: calc(80% - 10px);
  }
}

/* Another section */
.portfolio-section {
  padding: 80px 0;
 background-color: #f8f9fa;
}

.portfolio-content {
  max-width: 800px;
}

.portfolio-header {
  margin-bottom: 40px;
}

.portfolio-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #e9ecef;
  color: #6c757d;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.portfolio-tag ion-icon {
  font-size: 16px;
}

.portfolio-title {
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.2;
}

.portfolio-description {
  font-size: 18px;
  color: #6c757d;
  line-height: 1.6;
  max-width: 600px;
}

.portfolio-tabs {
  display: flex;
  gap: 16px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 2px solid #e9ecef;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  border-color: #333;
  color: #333;
}

.tab-btn.active {
  background-color: #333;
  border-color: #333;
  color: white;
}

.tab-btn ion-icon {
  font-size: 16px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .portfolio-section {
    padding: 60px 0;
  }

  .portfolio-title {
    font-size: 36px;
  }

  .portfolio-description {
    font-size: 16px;
  }

  .portfolio-tabs {
    flex-direction: column;
    gap: 12px;
  }

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

/* Project Showcase Section */
.project-showcase {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.project-card {
  border-radius: 20px;
  margin: 0 auto;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 20px;
}

.project-info {
  flex: 1;
}

.project-logo {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.logo-icon {
  width: 60px;
  height: 60px;
  background: black;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.project-details {
  flex: 1;
}

.project-name-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.project-name {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.5px;
}

.project-subtitle {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
  font-weight: 400;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  background-color: #f1f3f4;
  color: #5f6368;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #e8eaed;
}

.read-case-study-btn {
  background-color: #1a1a1a;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  height: fit-content;
}

.read-case-study-btn:hover {
  background-color: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-description {
  color: #5f6368;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 12px;
  max-width: 600px;
}

.project-gallery {
  position: relative;
  background-color: #e7eaf0;
  padding: 20px;
  border-radius: 16px;
}

.gallery-container {
  background-color: white;
  border-radius: 16px;
  padding: 50px;
  overflow: hidden;
  position: relative;
}

.gallery-track {
  display: flex;
  transition: transform 0.3s ease;
}

.gallery-slide {
  min-width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.gallery-slide img {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.gallery-slide img {
  width: 800px;
  height: 380px;
}

.gallery-nav {
  background-color: #e7eaf0;
  color: #6c757d;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.prev-btn {
  left: 15px;
}

.next-btn {
  right: 15px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .project-card {
    padding: 30px 20px;
    border-radius: 16px;
  }

  .project-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .project-logo {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-name-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .project-name {
    font-size: 20px;
  }

  .project-tags {
    gap: 5px;
  }

  .read-case-study-btn {
    align-self: flex-start;
  }

  .project-gallery {
    gap: 15px;
  }

  .gallery-container {
    padding: 20px;
  }

  .gallery-slide img{
    width: 200px;
    height: 280px;
  }


  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .project-showcase {
    padding: 40px 0;
  }

  .project-card {
    margin: 0 10px;
    padding: 20px 15px;
  }

  .project-logo {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-name-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-slide {
    gap: 10px;
  }

  .gallery-slide img:first-child {
    width: 140px;
    height: 220px;
  }

  .gallery-slide img:last-child {
    width: 70px;
    height: 220px;
  }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .portfolio-title {
    font-size: 28px;
  }

  .portfolio-tabs {
    gap: 8px;
  }
}

.shots-gallery {
  max-width: 1200px;
  padding: 20px;
  margin: 0 auto;
  border-radius: 16px;
  background-color: #f8f9fa;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.gallery-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
}

.see-more {
  color: #6366f1;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s ease;
}

.see-more:hover {
  color: #4f46e5;
}

.gallery-description {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #f3f4f6;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item::after {
  content: attr(data-title);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:not(:has(img))::after,
.gallery-item img[src=""]::after {
  opacity: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .shots-gallery {
    padding: 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-title {
    font-size: 24px;
  }

  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
