
/* Giris ekrani videosu stilleri */

.welcome-section {
    display: flex;
    position: relative;
    justify-content: center;
    height: 600px;
    margin-top: -100px;
}

#welcome-video {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    clip-path: inset(10% 0);
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.slide-text {
    opacity: 0;
    transform: translateY(-100px);
    transition: opacity 1s ease, transform 1s ease;
    transition-delay: 0s;
}

.welcome-section:hover .slide-text {
    opacity: 1;
    transform: translateY(0);
}

.slide-text h1 {
    font-size: 50px;
    font-weight: bolder;
    letter-spacing: 2px;
    line-height: 2;
    color: white;
}

.slide-text p {
    width: 900px;
    line-height: 2;
    color: white;
}

/* Mobil stili */

@media (max-width: 1080px) {
    .welcome-section {
        height: 400px;
        margin-top: -125px;
    }

    #welcome-video {
        clip-path: inset(15% 0);
    }

    .slide-text h1 {
        font-size: 26px;
        letter-spacing: 2px;
        line-height: 1.6;
    }

    .slide-text p {
        width: 380px;
        font-size: 12px;
        padding: 5px 20px;
        line-height: 1.6;
    }
}

/* --------------------------------------------------------- */ 

/* Anasayfa icerik stilleri */

.mainpage-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px;
}

/* MES icerik stili */

.mes-content {
    display: flex;
    justify-content: center;
}

.info-content {
    text-align: center;
    position: relative;
    opacity: 0;
    max-width: 85%;
    padding: 40px;
    background-color: white;
    border: 3px solid #00645f;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4); 
    transform: translateY(-100%);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.info-content h1 {
    font-size: 40px;
    letter-spacing: 2px;
    line-height: 2;
    font-weight: bolder;
    color: #00645f;
}

.info-content p {
    line-height: 1.6;
}

.mes-content .info-content {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.mes-content.scrolled .info-content {
    opacity: 1;
    transform: translateX(0);
}

/* Mobil stili */

@media (max-width: 1080px) {
    .mainpage-container {
        padding: 20px;
        gap: 20px;
    }

    .mes-content {
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin-top: -50px;
    }

    .info-content {
        max-width: 100%;
        padding: 20px;
        margin-bottom: 30px;
        font-size: 14px;
        transform: translateY(0);
    }

    .info-content h1 {
        font-size: 28px;
        letter-spacing: 1px;
        line-height: 1.3;
    }

    .info-content p {
        font-size: 14px;
        line-height: 1.4;
        margin-top: 20px;
    }

    .mes-content .info-content {
        transform: translateX(0);
        transition: opacity 0.6s ease;
    }
}

/* --------------------------------------------------------- */

/* Populer saplamalarimiz bolumu stilleri */

.popular-studs {
    text-align: center;
}

.popular-studs h1 {
    font-size: 30px;
    margin-top: 50px;
    font-weight: bolder;
    color: #00645f;
    text-decoration: underline;
}

.studs-wrapper {
  display: flex;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.studs-container {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 450px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #fff;
}

.studs-image {
  position: relative;
  flex-shrink: 0;
  width: 350px;
  height: 350px;
  margin: 25px 0px 0px 75px;
}

.studs-image img {
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  width: 100%;
  height: 100%;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.studs-image img.active {
  opacity: 1;
}

.studs-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin-left: 50px;
  padding: 20px;
  transition: opacity 1s ease-in-out;
}

.studs-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #00645f;
  font-weight: bold;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.studs-description {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.studs-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #00645f;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.6s ease, transform 0.4s ease;
  width: fit-content;
  opacity: 0;
  transition: opacity 1s ease-in-out, background-color 0.6s ease, transform 0.4s ease;
}

.studs-button:hover {
  background-color: #06504a;
  transform: scale(1.05);
}

.studs-button .icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.studs-badge img {
  width: 70px;
  height: auto;
  margin-top: 40px;
  transition: transform 0.3s ease;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.8));
  }
}

/* Mobil stili */

@media (max-width: 1080px) {
  .popular-studs h1 {
    font-size: 24px;
    margin-top: 30px;
  }

  .studs-container {
    flex-direction: column;
    height: auto;
    padding: 0px 20px;
  }

  .studs-image {
    width: 90%;
    height: auto;
    margin: 0 auto 20px auto;
    position: relative;
    margin: 15px 0px;
  }

  .studs-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    pointer-events: none;
  }

  .studs-image img.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
  }

  .studs-content {
    width: 100%;
    margin-left: 0;
    padding: 0px;
    align-items: center;
    text-align: center;
  }

  .studs-title {
    font-size: 22px;
  }

  .studs-description {
    font-size: 14px;
  }

  .studs-button {
    font-size: 14px;
    padding: 10px 20px;
    margin-bottom: 10px;
  }

  .studs-button .icon {
    width: 20px;
    height: 20px;
  }

  .studs-badge {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  .studs-badge img {
    width: 50px;
    margin-top: 20px;
  }
}

/* --------------------------------------------------------- */

/* Sunum slayti stilleri */

.preparation {
    display: flex;
    justify-content: center;
}

.preparation-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    background-color: #333333;
    border: 5px solid #00645f;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
}

.slide {
    display: flex;
    opacity: 0;
    margin: 10px;
    transform: translateY(50px);
    transition: opacity 1s, transform 1s;
}

.slide.show {
    opacity: 1;
    transform: translateY(0);
}

.slide-img {
    width: 300px;
    height: auto;
    margin: 50px;
    animation: rotateY 10s linear infinite;
    transform-style: preserve-3d;
}

.slide p {
    width: 700px;
    height: auto;
    margin: 80px;
    line-height: 2;
    color: white;
}

#slide-logo-ust {
    width: 75px;
    height: auto;
    margin-top: 20px; 
}

#slide-logo-alt {
    width: 75px;
    height: auto;
    margin-bottom: 20px;
}

@keyframes rotateY {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(30deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}

/* Mobil stili */

@media (max-width: 1080px) {
    .preparation {
        flex-direction: column;
        align-items: center;
    }

    .preparation-slide {
        width: 90%;
        padding: 20px;
        border: 3px solid #00645f;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .slide {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 10px 0;
    }

    .slide-img {
        width: 50%;
        max-width: 300px;
        height: auto;
        margin: 20px 0;
        animation: rotateY 10s linear infinite;
        transform-style: preserve-3d;
    }

    .slide p {
        width: 100%;
        font-size: 14px;
        margin: 10px 0;
        padding: 0 10px;
        line-height: 1.6;
        text-align: left;
        color: white;
    }

    #slide-logo-ust, #slide-logo-alt {
        width: 50px;
        height: auto;
        margin: 10px 0;
    }
}

/* --------------------------------------------------------- */

/* Ihracaat bolumu stilleri */

.export-info {
    text-align: center;
    width: 100%;
    height: auto;
    padding-top: 50px;
    background-color: #333333;
    color: white;
    border: 5px solid #00645f;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
}

.video-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 600px;
}

.export-info video {
    position: absolute;
    width: 100%;
    height: auto;
    left: 0px;
}

.export-info h1 {
    display: inline-block;
    font-size: 30px;
    font-weight: bolder;
    color: white;
    animation: pulse 2s infinite;
}

.export-info p {
    padding: 25px;
    font-size: 16px;
    line-height: 1.6;   
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Mobil stili */

@media (max-width: 1080px) {
    .export-info {
        width: 100%;
        height: auto;
        border: 3px solid #00645f;
        border-radius: 8px;
    }

    .video-container {
        width: 100%;
        height: 325px;
        margin-top: -30px;
    }

    .export-info video {
        width: 100%;
        height: auto;
    }

    .export-info h1 {
        font-size: 24px;
        animation: pulse 2s infinite;
    }

    .export-info p {
        padding: 15px;
        font-size: 14px;
        line-height: 1.5;
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
        100% {
            transform: scale(1);
        }
    }
}

/* --------------------------------------------------------- */

/* Haber bolumu stilleri */

.news-section {
    max-width: 100%;
    padding: 20px;
    background-color: #333333;
    border: 5px solid #00645f;
    border-radius: 10px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 35px;
    font-size: 30px;
    font-weight: bolder;
    color: white;  
}

.section-icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.news-item {
    display: flex;
    margin-bottom: 20px;
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 8px;  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 180px;
    height: auto;
}

.news-content {
    padding: 30px;
}

.news-date {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #777;
}

.news-title {
    margin-bottom: 10px;
    font-size: 20px;
    color: #00645f;
}

.news-summary {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.read-more {
    text-decoration: none;
    font-weight: bold;
    color: #00645f;
}

.read-more:hover {
    color: #00473f;
}

/* Mobil stili */

@media (max-width: 1080px) {
    .news-section {
        padding: 15px;
        border: 3px solid #00645f;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .section-icon {
        width: 40px;
        height: 40px;
        margin-right: 8px;
    }

    .news-item {
        flex-direction: column;
        margin-bottom: 15px;
        background-color: #ffffff;
        border: 2px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .news-item:hover {
        transform: translateY(-3px);
    }

    .news-image {
        width: 60%;
        height: auto;
        margin: 0 auto 5px;
    }

    .news-content {
        padding: 20px;
    }

    .news-date {
        font-size: 12px;
        color: #777;
    }

    .news-title {
        font-size: 18px;
        margin-bottom: 10px;
        color: #00645f;
    }

    .news-summary {
        font-size: 14px;
        line-height: 1.5;
        color: #555;
    }

    .read-more {
        font-size: 14px;
        text-decoration: none;
        font-weight: bold;
        color: #00645f;
    }

    .read-more:hover {
        color: #00473f;
    }
}

/* --------------------------------------------------------- */



