@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@media (max-width: 768px) {
    header {
        display: ; /* Hide header in mobile view */
    }
    
    .menu-toggle {
        display: flex;
    }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

svg.filters {
  display: none;
}

.header-text {
  color: #c8c2bd;
  font-size: 3em;
  text-align: center;
  line-height: 1.0625;
  font-weight: 600;
  letter-spacing: -0.009em;
}


body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}
:root{
    --index: calc(1vw + 1vh);
    --transition: cubic-bezier(.1, .7, 0, 1);
}
header {
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #ff6b6b;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.3s;
}



* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        border-radius: 5px;
        padding: 20px;
        gap: 10px;
    }

    .nav-links.show {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

#hero2 {
  background-image: url('about2.jpg');
  background-size: cover;
  background-position: center;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  filter: blur(4px);
  position: relative;
}
#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for better contrast */
  z-index: 1;
}

.hero-content {
  z-index: 2; /* Place the content above the overlay */
  position: relative;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.cta {
  padding: 15px 30px;
  background-color: #ff6b6b;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.cta:hover {
  background-color: #ff4949;
}

#hero {
  background-image: url('https://i.ibb.co/9bHwhNs/Pngtree-creating-3d-renderings-for-mobile-5821871.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
}



#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for better contrast */
  z-index: 1;
}

.hero-content {
  z-index: 2; /* Place the content above the overlay */
  position: relative;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.cta {
  padding: 15px 30px;
  background-color: #ff6b6b;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.cta:hover {
  background-color: #ff4949;
}

#about, #services, #portfolio {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.services-container, .portfolio-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.portfolio-item {
  flex: 1 1 200px; /* Allows the items to be flexible but have a minimum width of 200px */
  max-width: 350px; /* Set a maximum width to prevent items from growing too large */
}

.service-box, .portfolio-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.service-box:hover, .portfolio-item:hover {
  transform: translateY(-10px);
}

.portfolio-item img {
  width: 100%;
  border-radius: 10px;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
}

footer a {
  color: #ff6b6b;
  text-decoration: none;
  margin-left: 10px;
}

footer a:hover {
  text-decoration: underline;
}

#why-we-are {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
  background-color: #f9f9f9;
}

#why-we-are h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.why-we-are-container {
  display: grid;
  grid-template-columns: 1fr; /* Set to a single column */
  gap: 20px;
}

.why-we-are-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}


.why-we-are-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.why-we-are-item h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.why-we-are-item p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Mobile Phone Interface Styling */
#phone {
  width: 320px;
  height: 568px;
  border: 16px solid #333;
  border-radius: 36px;
  position: relative;
  margin: 20px auto;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

#screen {
  width: 100%;
  height: calc(100% - 50px); /* Adjust height for header */
  position: relative;
  background: #f5f5f5;
  overflow-y: auto;
}

#header {
  width: 100%;
  height: 50px;
  background: #333;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

#menu {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu li {
  cursor: pointer;
  padding: 10px;
}

.pullmenu-icon {
  width: 30px;
  height: 4px;
  background: #fff;
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.pullmenu-icon:before {
  content: '';
  display: block;
  width: 30px;
  height: 4px;
  background: #fff;
  position: absolute;
  top: 10px;
  left: 0;
  border-radius: 2px;
}

.pullmenu-content {
  position: absolute;
  top: 50px;
  right: 0;
  background: #333;
  color: #fff;
  padding: 15px;
  width: 150px;
  display: none;
  border-radius: 5px;
}

.pullmenu-content a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 10px 0;
}

.pullmenu-content a:hover {
  background: #444;
}

.pullmenu-content.show {
  display: block;
}


/* Mobile Content Styling */
.mobile-content {
  background-color: #ffffff;
}


.mobile-content, .mobile-services {
  padding: 45px;
  color: #;
}

.mobile-content h1, .mobile-services h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.mobile-content p, .mobile-services p {
  font-size: 1rem;
  margin-bottom: 15px;
}

button {
  padding: 10px 20px;
  background-color: #ff6b6b;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #;
}

/* Mobile Why We Are Section Styling */
.mobile-why-we-are2 {
  padding: 30px;
  color: #;
}

.mobile-why-we-are2 h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.why-we-are2-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.why-we-are2-item {
  background-color: #fffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.why-we-are2-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.why-we-are2-item p {
  font-size: 1rem;
  line-height: 1.5;
}


.wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.titans {
    display: flex;
    gap: 0.4rem;
    perspective: calc(var(--index) * 35);
}

.titan {
    width: calc(var(--index) * 3);
    height: calc(var(--index) * 12);
    background-color: #222;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    filter: grayscale(1) brightness(.5);
    transition: transform 1.25s var(--transition), filter 3s var(--transition), width 1.25s var(--transition);
    will-change: transform, filter, rotateY, width;
}

.titan::before, .titan::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 20px;
    right: calc(var(--index) * -1);
}

.titan::after {
    left: calc(var(--index) * -1);
}

.titans .titan:hover {
    filter: inherit;
    transform: translateZ(calc(var(--index) * 10));
}

/* Right */

.titans .titan:hover + * {
    filter: inherit;
    transform: translateZ(calc(var(--index) * 8.5)) rotateY(35deg);
    z-index: -1;
}

.titans .titan:hover + * + * {
    filter: inherit;
    transform: translateZ(calc(var(--index) * 5.6)) rotateY(40deg);
    z-index: -2;
}

.titans .titan:hover + * + * + * {
    filter: inherit;
    transform: translateZ(calc(var(--index) * 2.5)) rotateY(30deg);
    z-index: -3;
}

.titans .titan:hover + * + * + * + * {
    filter: inherit;
    transform: translateZ(calc(var(--index) * .6)) rotateY(15deg);
    z-index: -4;
}

/* Left */

.titans .titan:has(+ :hover) {
    filter: inherit;
    transform: translateZ(calc(var(--index) * 8.5)) rotateY(-35deg);
}

.titans .titan:has(+ * + :hover) {
    filter: inherit;
    transform: translateZ(calc(var(--index) * 5.6)) rotateY(-40deg);
}

.titans .titan:has(+ * + * + :hover) {
    filter: inherit;
    transform: translateZ(calc(var(--index) * 2.5)) rotateY(-30deg);
}

.titans .titan:has(+ * + * + * + :hover) {
    filter: inherit;
    transform: translateZ(calc(var(--index) * .6)) rotateY(-15deg);
}

.titans .titan:active, .titans .titan:focus {
    width: 28vw;
    filter: inherit;
    z-index: 100;
    transform: translateZ(calc(var(--index) * 10));
    margin: 0 .45vw;
}

#deneme section {
  height: 100%;
}

#deneme .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 710px;
}

#deneme h3 {
  font-size: 30px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #d3d1d1;
}

#deneme p {
  font-size: 18px;
  font-weight: 400;
  color: #d3d1d1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

#deneme a.zoomed p {
  -webkit-line-clamp: unset;
}

#deneme a.zoomed .card-inner {
  overflow: auto;
}

#deneme a.opacity-0 {
  opacity: 0;
}

#deneme .overflow {
  overflow: hidden;
}

#deneme .overflow .background {
  opacity: 0 !important;
}

#deneme .background {
  background-color: #2c5c7f;
  border-radius: 20px;
  position: absolute;
  transition: all 0.4s ease-in-out;
  opacity: 0;
}

#deneme .card-wraper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: space-between;
}

#deneme a.card {
  text-decoration: none;
  height: 100%;
  width: 100%;
  display: inline-block;
  position: relative;
  padding: 10px;
}

#deneme .card-main {
  border: 1px solid #1a5582;
  padding: 40px;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #000;
}

#deneme .card:hover .card-main {
  position: relative;
  z-index: 20;
}

#deneme .card-inner {
  position: relative;
  z-index: 50;
  height: 100%;
}

#deneme .card-inner div {
  height: 100%;
}

#deneme img {
  height: 100%;
  width: 100%;
}

/* Media Queries */

@media screen and (max-width: 1199px) {
  #deneme .container {
    max-width: 960px;
  }
}

@media screen and (max-width: 991px) {
  body {
    height: 100%;
  }

  #deneme .container {
    max-width: 720px;
    display: block;
  }

  #deneme .card-wraper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  #deneme .container {
    max-width: 520px;
  }

  #deneme .card-wraper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #deneme .card-main {
    padding: 30px 20px;
  }

  #deneme a.card {
    padding: 6px;
  }
}

@media screen and (max-width: 575px) {
  #deneme .container {
    max-width: 100%;
  }

  #deneme .card-wraper {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  #deneme .card-main {
    padding: 40px;
  }

  #deneme a.card {
    padding: 10px;
  }
}