@media (max-width: 767px) {
  .gallery-container {
    display: block !important;
    width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .gallery-slide {
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: relative !important;
  }
  .gallery-image img {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover !important;
    display: block !important;
  }
  .gallery-image .image-text {
    position: absolute;
    bottom: 32px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    background: rgba(0,0,0,0.3);
    padding: 8px 0;
    font-size: 1.2em;
  }
}
@media (max-width: 767px) {
  .wrapper {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .left {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .left .line-1, .left .line-2 {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .left .copy-right, .left .mobile-u, .left .mobile-i {
    width: 100% !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }
  .left .image-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 113% !important;
  }
}
/* Mobilde üst ve alt yazıları ortala */
@media (max-width: 767px) {
  .left .line-1, .left .line-2 {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .left .copy-right, .left .mobile-u, .left .mobile-i {
    text-align: center !important;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block;
  }
}
/* Hide .right-desktop-only on mobile, show on desktop */
@media (max-width: 767px) {
  .right-desktop-only {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .right-desktop-only {
    display: block !important;
  }
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  /* Responsive Typography */
  --base-font: clamp(14px, 1.1vw, 18px);
  --scale: clamp(1rem, 1.2vw, 1.25rem);

  /* Spacing System */
  --space-unit: clamp(0.5rem, 1vw, 1rem);
  --space-xs: calc(var(--space-unit) * 0.5);
  --space-s: var(--space-unit);
  --space-m: calc(var(--space-unit) * 2);
  --space-l: calc(var(--space-unit) * 3);
  --space-xl: calc(var(--space-unit) * 4);

  /* Breakpoints */
  --mobile-s: 320px;
  --mobile-l: 425px;
  --tablet: 768px;
  --desktop: 1024px;
  --desktop-l: 1200px;
}

html {
  font-size: var(--base-font);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: m;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@font-face {
  font-family: m;
  src: url(./font/MargarethRosinante-Regular.otf);
  font-display: swap;
}

section {
  min-height: 100vh;
  width: 100%;
  flex-shrink: 0;
  transform: translateZ(0);
  will-change: transform;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.section-1 {
  display: flex;
  height: 100vh;
}

.section-2 {
  height: 100vh;
  transition: transform 0.6s ease-in-out;
}

.main-wrapper {
  display: flex;
  height: auto;
  width: 100%;
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  touch-action: pan-x pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.page-sections {
  width: 100%;
  background: #000;
}

.section-4,
.section-3,
.section-5 {
  width: 100%;
  min-height: 100vh;
  padding: 80px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
}

.section-3, .section-4, .section-5 {
  min-height: 100vh;
  width: 100%;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background: #000;
}

.section-title {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #fff;
  margin: 20px auto 0;
}

.about-modern {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4rem;
  padding: 4rem;
  background: #000;
}

.about-quadrant {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.top-left {
  margin-left: 7rem;
}

.top-leftp {
  margin-left: 7rem;
  margin-top: 1rem;
}

.about-quadrant h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4rem;
}

.about-quadrant p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #aaa;
  max-width: 500px;
}

.counter-box {
  text-align: center;
  margin-bottom: 4rem;
}

.counter {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  display: inline-block;
}

.counter-box h3 {
  font-size: 1.2rem;
  color: #aaa;
  margin-top: 0.5rem;
}

.plus, .percent {
  font-size: 2.5rem;
  color: #fff;
  display: inline-block;
  vertical-align: top;
  margin-left: 0.2rem;
}

.service-tags {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.service-tags li {
  color: #aaa;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.service-tags li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #fff;
}

/* Animasyon stilleri */
.counter-box {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.counter-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-left p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.seo-tags span {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9em;
  color: #ffffff;
}

.service-list {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
}

.service-list h3 {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.service-list ul {
  list-style: none;
  padding: 0;
}

.service-list ul li {
  padding: 10px 0;
  color: #e0e0e0;
  font-size: 1.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-title {
  font-size: 4rem;
  margin-bottom: 60px;
  font-weight: 300;
  letter-spacing: 4px;
  opacity: 0;
  transform: translateY(30px);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-paragraph {
  opacity: 0;
  transform: translateY(30px);
}

.about-paragraph h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 2px;
}

.about-paragraph p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.8;
}

.about-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(30px);
}

.number-item {
  text-align: center;
}

.number-item .counter {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 10px;
  display: block;
}

.number-item p {
  font-size: 1rem;
  opacity: 0.8;
}

.about-image {
  position: relative;
  height: 100%;
  opacity: 0;
  transform: translateX(50px);
}

.tainer {
  height: 100%;
  position: relative;
  overflow: hidden;
}



.mobile-u {
  color: black;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 1s ease;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%) -50px 0,
    linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%) -50px 0,
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%) -50px 0,
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%) -50px 0;
  background-size: 100px 100px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
  opacity: 0.3;
}

.image-container:hover img {
  transform: scale(1);
}

.section-4 {
  background-color: #fff;
  margin-top: 0;
}

.box1 {
  width: 65%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.name {
  font-size: 150px;
}

.box2 {
  width: 35%;
}

.image-gallery {
  display: flex;
  height: auto;
  min-height: 100vh;
  transform: none;
  width: 100%;
  padding: 1rem;
  gap: 1rem;
}

.col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

img {
  min-height: 300px;
  height: auto;
  width: 200px;
  object-fit: cover;
  background-color: black;
}

.col-1 img,
.col-3 img {
  padding: 0.2rem 0.5rem;
}

.col-2 img {
  padding: 0.2rem 0;
}

.wrapper {
  display: flex;
  width: 100%;
  height: 100%;
}

.left {
  width: 65%;
  padding: 0 0.8rem;
  padding-left: 0;
  padding-bottom: 0.5rem;
}

.left img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

p {
  font-size: 80px;
}

.line-1 {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
}

.line-2 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

.num {
  text-align: left;
  width: 100%;
}

.loop {
  height: 30px;
  width: 120px;
  white-space: nowrap;
  overflow: hidden;
  background: none;
  border: 1px solid #444;
  position: absolute;
  top: 75%;
  left: 80%;
  cursor: pointer;
}

.loop span {
  animation: loop 10s linear infinite;
  display: inline-block;
  padding-left: 110%;
}

.loop2 span {
  animation-delay: 5s;
}

@keyframes loop {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

.right {
  width: 35%;
}

.animate-text {
  height: 120px;
  background-color: black;
  color: #fff;
  font-size: 100px;
  white-space: nowrap;
  overflow: hidden;
}

.animate-text span {
  animation: loop 10s linear infinite;
  display: inline-block;
}

.img-container {
  width: 100%;
  height: 780px;
  padding: 0.5rem;
  background-color: black;
}

.img-container img {
  width: 100%;
  object-fit: cover;
}

.rows {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0.5rem;
}

.row {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  height: 33.33%;
  color: #fff;
}

.row-2 {
  background-color: #fff;
  color: black;
}

/* Hamburger Menü Stilleri */
.hamburger-menu {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.menu-icon {
  width: 35px;
  height: 25px;
  position: relative;
  cursor: pointer;
  z-index: 2;
}

.menu-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #000;
  transition: all 0.3s ease-in-out;
}

.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 10px; }
.menu-icon span:nth-child(3) { top: 20px; }

.menu-icon.active span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}

.menu-icon.active span:nth-child(2) {
  opacity: 0;
}

.menu-icon.active span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

.menu-content {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  transition: 0.3s ease-in-out;
  padding: 80px 0;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.menu-content.active {
  left: 0;
}

.menu-content nav ul {
  list-style: none;
  padding: 0;
}

.menu-content nav a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.menu-content nav ul li {
  padding: 15px 30px;
}

.menu-content nav ul li a {
  color: #000;
  text-decoration: none;
  font-size: 24px;
  transition: 0.3s ease;
}

.menu-content nav ul li a:hover {
  color: #666;
  padding-left: 10px;
}

/* Galeri Stilleri */
.section-title {
  text-align: center;
  font-size: 48px;
  margin-bottom: 50px;
  color: #ffffff;
}

.section-3 {
  padding: 80px 0;
  background: #000;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.gallery-container {
  width: 100%;
  height: calc(130vh - 100px);
  position: relative;
  overflow: hidden;
}

.gallery-slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide.active {
  opacity: 1;
  visibility: visible;
}

.gallery-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  will-change: transform;
  transition: transform 1.5s ease;
}

.image-text {
  position: absolute;
  bottom: 50px;
  left: 50px;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.gallery-slide.active .image-text {
  opacity: 1;
  transform: translateY(0);
}

.image-text h3 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.image-text p {
  font-size: 1.2rem;
  opacity: 0.8;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  aspect-ratio: 3/4;
  background: #111;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  transition: 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  bottom: 0;
}

.gallery-overlay h3 {
  margin: 0;
  font-size: 20px;
}

.gallery-overlay p {
  margin: 5px 0 0;
  font-size: 16px;
  opacity: 0.8;
}

/* Section 4 - Hakkımızda */
.section-4 {
  background: #000;
  padding: 80px 0;
}

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

.about-content {
  color: #fff;
}

.about-info {
  text-align: center;
  margin-bottom: 60px;
}

.about-info h3 {
  font-size: 36px;
  margin-bottom: 30px;
}

.about-info p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-item i {
  font-size: 40px;
  color: #fff;
  margin-bottom: 20px;
}

.feature-item h4 {
  font-size: 24px;
  margin-bottom: 15px;
}

.feature-item p {
  font-size: 16px;
  opacity: 0.7;
}

/* Section 5 - İletişim */
.section-5 {
  background: #000;
  padding: 80px 0;
}

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

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.social-btn {
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}

.social-btn i {
  font-size: 1.5rem;
  margin-right: 0.8rem;
}

.social-btn span {
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.social-btn.whatsapp:hover {
  background: #25D366;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.social-btn.phone:hover {
  background: #007AFF;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(225, 48, 108, 0.3);
}

.social-btn.tiktok:hover {
  background: linear-gradient(45deg, #000000, #69C9D0);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(105, 201, 208, 0.3);
}

@media (max-width: 768px) {
  .social-buttons {
    flex-wrap: wrap;
  }

  .social-btn {
    min-width: 200px;
    justify-content: center;
  }
}

.contact-info {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  padding: 40px;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-details {
  color: #fff;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 40px;
  flex: 1;
  text-align: left;
}

.info-item i {
  font-size: 2rem;
  margin-right: 1rem;
  color: #fff;
}

.info-item h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.info-item p {
  color: #aaa;
  font-size: 1.1rem;
  line-height: 1.5;
}

.info-item i {
  font-size: 24px;
  margin-right: 20px;
  margin-top: 5px;
}

.info-item h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.info-item p {
  font-size: 16px;
  opacity: 0.8;
  line-height: 1.6;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 10px;
}

.contact-form h3 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Responsive Tasarım */
@media screen and (max-width: 768px) {
  .about-features {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }
}

.row li a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.row li a:hover {
  color: #888;
  transform: scale(1.05);
}

.row-1 li {
  font-size: 80px;
  cursor: pointer;
}

.row-2 li {
  font-size: 60px;
}

.row-3 li {
  font-size: 100px;
}

.side-bar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 65px;
  background-color: #fff;
  height: 100%;
  padding: 1rem;
  position: fixed;
  left: -10%;
  top: 0;
  opacity: 0;
  z-index: 11;
}

.side-bar div {
  transform: rotate(-90deg);
}

.des {
  font-size: 10px;
  width: 200px;
  text-transform: uppercase;
  margin-bottom: 5rem;
}






/* Mini Footer */
.mini-footer {
  background: #000000;
  padding: 3rem 0;
  text-align: center;
  font-family: inherit;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-text {
  color: #aaa;
  font-size: 0.9rem;
  margin: 0;
}

.footer-link {
  color: #ffffff;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #0077b5; /* LinkedIn mavisi */
}

/* =======================
   Responsive Design System
   - Desktop First Approach
   - Fluid Typography
   - Flexible Layouts
   ======================= */

/* Large Desktop (1200px and up) */
@media screen and (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Desktop and Tablet Landscape (1024px to 1199px) */
@media screen and (max-width: 1199px) {
  .name {
    font-size: clamp(48px, 8vw, 120px);
  }

  .main-wrapper {
    height: auto;
    min-height: 100vh;
  }

  .section-1 {
    height: auto;
    min-height: 100vh;
  }

  .box1 { width: 50%; }
  .box2 { width: 50%; }

  .image-gallery {
    height: auto;
    min-height: 100vh;
  }

  .col img {
    width: 100%;
    max-width: 200px;
    min-height: auto;
    height: auto;
  }

  /* Adjust about section for better tablet view */
  .about-modern {
    gap: 2rem;
    padding: 2rem;
  }

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

  .counter {
    font-size: 3rem;
  }
}

/* Tablet Portrait (768px to 1023px) */
@media screen and (max-width: 1023px) {
  body {
    font-size: 16px;
  }

  .main-wrapper {
    flex-direction: column;
  }

  .section-1 {
    flex-direction: column;
  }

  .box1, .box2 {
    width: 100%;
  }

  .box1 {
    padding: 2rem 1rem;
  }

  .name {
    font-size: clamp(36px, 8vw, 80px);
    text-align: center;
  }

  .image-gallery {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 1rem;
    height: auto;
  }

  .col {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }

  /* About section adjustments */
  .about-modern {
    grid-template-columns: 1fr;
  }

  .top-left, .top-leftp {
    margin-left: 0;
  }

  .about-quadrant h2 {
    font-size: 2rem;
  }

  /* Gallery adjustments */
  .gallery-container {
    height: auto;
  }

  .gallery-slide {
    position: relative;
    height: auto;
  }

  .image-text h3 {
    font-size: 1.8rem;
  }
}

/* Mobile Large (425px to 767px) */
@media screen and (max-width: 767px) {
  html, body {
    overflow-x: hidden;
    font-size: 14px;
    width: 100%;
    height: 100%;
    position: relative;
  }

  body {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .main-wrapper {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    background: #000;
  }

  .section-1 {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    background-color: #ffffff;
  }

  .box1 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 50vh;
  }

  .box2 {
    width: 100%;
    min-height: 60vh;
    overflow: hidden;
    padding: 1rem;
  }

  .name {
    font-size: clamp(28px, 8vw, 60px);
    text-align: center;
    line-height: 1.1;
    padding: 0 1rem;
  }

  .image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 1rem;
    height: 100%;
    overflow-y: auto;
    position: relative;
  }

  .col {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .col img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    background: #000;
  }

  .col img:hover {
    transform: scale(1.05);
  }

  /* Menu adjustments */
  .menu-content {
    width: 100%;
    left: -100%;
  }

  .menu-content nav ul li a {
    font-size: 20px;
  }

  /* About section mobile */
  .about-modern {
    padding: 2rem;
    gap: 2rem;
  }

  .about-quadrant {
    padding: 1.5rem;
  }

  .service-tags {
    grid-template-columns: 1fr;
  }

  /* Counter adjustments */
  .counter-box {
    margin-bottom: 2rem;
  }

  .counter {
    font-size: 2.5rem;
  }

  /* Contact section */
  .social-buttons {
    flex-direction: column;
    padding: 0 1rem;
  }

  .social-btn {
    width: 100%;
  }

  .info-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .info-item i {
    margin: 0;
  }

  /* Section Optimizations */
  .section-2, .section-3, .section-4, .section-5 {
    width: 100%;
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    background: #000;
    position: relative;
  }

  .section-2 {
    margin-top: 0;
    background: #fff;
  }

  .section-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
  }

  .section-content.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .section-2 {
    background-color: #fff;
  }

  .section-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
  }

  .section-content.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Small (320px to 424px) */
@media screen and (max-width: 424px) {
  .name {
    font-size: clamp(20px, 7vw, 36px);
  }

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

  .col {
    flex: 0 0 95%;
  }

  .about-quadrant h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .counter {
    font-size: 2rem;
  }

  .social-btn {
    padding: 0.8rem 1.5rem;
  }

  .social-btn i {
    font-size: 1.2rem;
  }

  .mini-footer {
    padding: 1.5rem 0;
  }
}


a{
  text-decoration:none;
}
.floating_btn {
  position: fixed;
  bottom: 100px;
  right: 100px;
  width: 1000px;
  height: 1000px;
  display: flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  z-index: 1000;
}

@keyframes pulsing {
  to {
    box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
  }
}

.contact_icon {
  background-color: #515151;
  color: #fff;
  width: 45px;
  height: 45px;
  font-size:25px;
  border-radius: 40px;
  text-align: center;
  box-shadow: 1px 1px 2px #999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translatey(0px);
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 0 0 #383838;
  -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  font-weight: normal;
  font-family: sans-serif;
  text-decoration: none !important;
  transition: all 300ms ease-in-out;
  margin-left: 85px;
  margin-top: 85px;
}


.text_icon {
  margin-top: 8px;
  color: #707070;
  font-size: 13px;
}



/* ===== sadece 767px ve altında animasyonlu başlık ===== */
@media (max-width: 767px) {
  .name {
    opacity: 0;                 /* başlangıçta gizli */
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
  }
  .name.animate {              /* JS ile tetiklenecek */
    opacity: 1;
    transform: translateY(0);
  }
}






@media (max-width: 767px) {
  html, body {
    overflow-x: hidden;          /* yatay taşmayı kes */
    overflow-y: auto;            /* dikey scroll’u açık bırak */
    -webkit-overflow-scrolling: touch; /* iOS momentum */
    height: auto;                /* fixed yükseklik kaldır */
  }

  /* Pinlenmiş spacer’ları küçült */
  .pin-spacer {
    height: auto !important;
    min-height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* GSAP’in translate’lerini sıfırla */
  .main-wrapper,
  section {
    transform: none !important;
    position: relative !important;
    width: 100 %;
  }

  /* Galeri grid’i esnek yap */
  .gallery-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    height: auto;               /* sabit yükseklik yok */
  }
  .gallery-slide {
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
  }
}




/* Sadece mobilde çalışır */
@media (max-width: 767px) {
  .scroll-trigger-area {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;          /* WhatsApp ikonunun genişliği */
    height: 100%;         /* Section boyunca uzanır */
    z-index: 998;         /* WhatsApp'tan 1 alt */
    background: transparent;
    cursor: grab;         /* Kaydırma hissi */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
}

@media (max-width: 767px) {
  .scroll-trigger-area {
    touch-action: none; /* <= tarayıcının kendi kaydırmasını devre dışı bırak */
  }
}
