/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000;
    color: #e2c351;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.menu {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 999;
    position: relative;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.4s ease;
}

/* Hamburger open/close animation */
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

h1, h2, h3, p, a, button {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 40px;
}

.hero-inner {
    width: calc(100% - 30px);
    height: calc(100% - 80px);
    margin: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Scroll Box */
.scroll-box {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid #555;
    cursor: pointer;
    font-size: 14px;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.scroll-box:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Next Section */
.next-section {
    padding: 60px 20px;
    background: #111;
}

.next-section .container {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.next-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    padding: 20px;
    background: #000;
    text-align: center;
    font-size: 14px;
    color: #777;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 998;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu li {
    font-size: 24px;
    color: #fff;
    margin: 15px 0;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
}

.mobile-menu li:hover {
    color: #ccc;
}

.mobile-menu li .dot {
    color: #ffcc00;
    font-size: 18px;
    margin-left: 8px;
}

/* Aktif sayfa işareti */
.mobile-menu li.active {
    font-weight: bold;
}

/* Container */
.container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 1rem;
}

/* Left Section */
.left {
    flex: 1 1 50%;
    padding: 1rem;
}

.left h1 {
    font-size: 50px;
    margin-bottom: 1rem;
}

.left p {
    font-size: 30px;
    color: #e2c351b5;
    max-width: 500px;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Right Section */
.right {
    flex: 1 1 50%;
    padding: 1rem;
    position: relative;
}

.right h1 {
    font-size: 50px;
    margin-bottom: 1rem;
    font-weight: bold;
}

.right img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Link Button */
.link-button {
    display: inline-flex;
    align-items: center;
    font-size: 30px;
    text-decoration: none;
    color: #e2c351;
    margin-top: 2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border-color: #e2c351;
    background-color: black;
    color: #e2c351;
    font-size: 1rem;
    margin-right: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid #e2c351;
    box-shadow: 0 0 0 4px #e2c351;
    /* dış daire efekti */
    transition: all 0.3s ease;
}

/* Hover efekti */
.link-button:hover {
    color: #e2c351b5;
}

.link-button:hover .icon-circle {
    background-color: #e2c351b5;
    color: white;
    border: 1px solid #e2c351b5;
    box-shadow: 0 0 0 4px #e2c351b5;
    /* dış daire efekti */
}

/* Services Section */
.services-section {
    background-color: #000;
    padding: 4rem;
    /* soldan 0 padding */
}

.services-title {
    font-size: 50px;
    color: #e2c351;
    margin-bottom: 30px;
    margin-left: 0;
}

.services-description {
    font-size: 30px;
    color: #e2c351b5;
    max-width: 900px;
    margin: 0;
    text-align: left;
    line-height: 1.5;
}

.services-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 3rem;
}

.service-box {
    width: 250px;
    height: 350px;
    overflow: hidden;
    border-radius: 10px;
    background-color: #222;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 1;
}

.service-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Başlangıçta gizli ve yukarı-aşağı kaydırılmış */
.hidden {
    opacity: 0;
    transform: translateY(80px);
}

.shift-up.hidden {
    transform: translateY(-80px);
}

.shift-down.hidden {
    transform: translateY(80px);
}

/* Göründüğünde animasyonla ortaya çıkar */
.visible {
    opacity: 1;
    transform: translateY(0);
}

.revolution-section {
    background-color: #111;
    padding: 4rem 2rem;
    text-align: center;
    color: #e2c351;
}

.revolution-title h1 {
    font-size: 50px;
    line-height: 1.2;
    margin: 10px 0;
}

.image-overlay-container {
    position: relative;
    display: inline-block;
    margin: 2rem auto;
}

.overlay-image {
    width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 32px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 8px;
}

.revolution-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.rev-image {
    flex: 1 1 40%;
    padding: 1rem;
}

.rev-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.rev-text {
    flex: 1 1 60%;
    padding: 1rem;
    text-align: left;
}

.rev-text p {
    font-size: 30px;
    line-height: 1.6;
    color: #e2c351b5;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
}

.mobile-menu a:hover,
.mobile-menu a:focus,
.mobile-menu a:active,
.mobile-menu a:visited {
  color: white;
  text-decoration: none;
}

.language-dropdown {
  position: relative;
  display: inline-block;
  font-size: 14px;
  margin-right: 10px;
}

.language-btn {
  background: none;
  border: none;
  color: #e2c351;
  font-weight: bold;
  cursor: pointer;
}

.language-btn .arrow {
  font-size: 12px;
  margin-left: 4px;
}

.language-list {
  display: none;
  position: absolute;
  background-color: #111;
  border: 1px solid #444;
  min-width: 80px;
  z-index: 10;
  right: 0;
}

.language-list li {
  list-style: none;
}

.language-list li a {
  display: block;
  color: #e2c351;
  padding: 6px 12px;
  text-decoration: none;
}

.language-list li a:hover {
  background-color: #222;
}

.sustainability-section {
    background-color: #000;
    padding: 3rem 1rem;
    color: #e2c351;
}

.sustainability-banner img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
    margin:0 auto;
}

.sustainability-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 2rem;
    color: #e2c351;
}

.sustainability-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.sustainability-text {
    flex: 1 1 50%;
    padding: 1rem;
    font-size: 30px;
    line-height: 1.6;
    color: #e2c351b5;
}

.sustainability-image {
    flex: 1 1 5%;
    padding: 1rem;
}

.sustainability-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Uygulanabilir sınıf */
.fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 18px;
    }

    .scroll-box {
        font-size: 13px;
        padding: 8px 16px;
    }

    .next-section h2 {
        font-size: 24px;
    }

    .navbar {
        padding: 12px 20px;
    }

    .hamburger span {
        width: 22px;
        height: 2px;
    }

    .container {
        flex-direction: column;
        padding-left: 20px;
        /* mobilde soldan boşluk */
        padding-right: 20px;
    }

    .left,
    .right {
        flex: 1 1 100%;
        padding: 1rem 0;
    }

    .right {
        position: static;
    }

    .left p {
        transform: none !important;
    }

    .services-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .services-description {
        max-width: 100%;
    }

    .services-gallery {
        flex-direction: column;
        gap: 20px;
    }

    .service-box {
        width: 100%;
        height: auto;
    }

    .revolution-title h1 {
        font-size: 36px;
    }

    .image-overlay-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .overlay-image {
        width: 90%;
    }

    .overlay-text {
        font-size: 24px;
        padding: 6px 12px;
    }

    .revolution-content {
        flex-direction: column;
        text-align: center;
    }

    .rev-image,
    .rev-text {
        flex: 1 1 100%;
        padding: 1rem 0;
        width: 100%;
        height: auto;
    }

    .rev-text p {
        font-size: 18px;
    }

    .sustainability-title {
        font-size: 32px;
    }

    .sustainability-body {
        flex-direction: column;
        text-align: center;
    }

    .sustainability-text,
    .sustainability-image {
        width: 100%;
        height: auto;
        flex: 1 1 100%;
        padding: 1rem 0;
    }

    .sustainability-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    img {
        width: 100%;
        height: auto;
    }

    .hero-inner {
        margin: 10px;
    }

    .hero-inner img {
        margin: 10px;
    }

    .navbar {
        padding: 10px 15px;
    }

    .hamburger span {
        width: 20px;
        height: 2px;
    }

    .services-title {
        font-size: 36px;
    }

    .services-description {
        font-size: 22px;
    }

    .revolution-title h1 {
        font-size: 30px;
    }

    .overlay-text {
        font-size: 20px;
    }

    .rev-text p,
    .sustainability-text {
        font-size: 16px;
    }

    .sustainability-title {
        font-size: 28px;
    }
}