:root {
    --mhp-red: #a71414;
    --white: #ffffff;
    --light-gray: #f4f4f4;
    --dark-gray: #333;
    --primary-color: #d32423;
            --secondary-color: #333;
            --text-color: #fff;
            --background-color: #f5f5f5;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: #ecf0f1; /* Yeni arka plan rengi */
}

.container {
    width: 95%; /* Container genişliğini artırıyoruz */
    max-width: 1400px; /* Maksimum genişliği artırıyoruz */
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--white);
    color: var(--dark-gray);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--light-gray);
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-bar-item {
    margin-left: 1rem;
}

.top-bar-item a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-item a:hover {
    color: var(--mhp-red);
}

.language-selector {
    position: relative;
    display: inline-block;
}

.language-selector select {
    appearance: none;
    background: transparent;
    border: none;
    color: var(--dark-gray);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    padding-right: 20px;
}

.language-selector::after {
    content: '🌐';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Main Header Styles */
.main-header {
    background-color: var(--mhp-red);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    top: -5px;
}

.logo-circle {
    width: 120px;
    background-color: var(--white);
    border-radius: 40px 40px 0 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 5px;
}

.logo img {
    width: 80px;
    height: auto;
    margin-top: -6px;
}

.logo-mobile {
    display: none;
    width: 60px;
    height: auto;
}

nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.left-menu, .right-menu {
    display: flex;
    align-items: center;
}

.left-menu {
    justify-content: flex-end;
    margin-right: 80px;
}

.right-menu {
    justify-content: flex-start;
    margin-left: 80px;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav > ul > li {
    position: relative;
    margin: 0 10px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    padding: 0.5rem 1rem;
    display: block;
}

nav ul li a:hover {
    opacity: 0.8;
}

/* Dropdown and Mega Menu Styles */
.dropdown-content, .mega-menu {
    display: none;
    position: absolute;
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-content {
    min-width: 200px;
}

.mega-menu {
    top: 100%;
    left: 50%;
    
    width: 600px;
    max-width: 1200px;
    padding: 20px;
}

.dropdown-content a, .mega-menu-item-content h3 {
    color: var(--dark-gray);
    padding: 12px 16px;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
}

nav > ul > li:hover .dropdown-content,
nav > ul > li:hover .mega-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mega-menu-item {
    display: flex;
    align-items: center;
}

.mega-menu-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 3px;
}

.mega-menu-item-content h3 {
    color: var(--mhp-red);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.mega-menu-item-content p {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--mhp-red);
    padding: 2rem;
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 1000;
}

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

.mobile-menu ul {
    list-style-type: none;
}

.mobile-menu ul li {
    margin-bottom: 1rem;
}

.mobile-menu ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
}

.mobile-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-toggle {
    color: var(--white);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-dropdown-content {
    display: none;
    padding-left: 1rem;
}

.mobile-dropdown-content.active {
    display: block;
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 100%;
    position: relative;
}
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust the last value (0.3) to control darkness */
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-text-container {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    z-index: 2;
}

.slide-text {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 20px;
    text-align: center;
    display: none;
}

.slide-text.active {
    display: block;
}

.slide-text h2 {
    font-size: 24px;
    margin: 0;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 3;
}

.slider-nav-item {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-nav-item.active {
    background-color: white;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slider-arrow-left {
    left: 10px;
}

.slider-arrow-right {
    right: 10px;
}

/* Side Button Styles */
.side-buttons {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
}

.side-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: rgb(167 20 21);
    color: white;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 60px;
}

.side-button:last-child {
    border-bottom: none;
}

.side-button img {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    flex-shrink: 0;
}

.side-button span {
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: left;
}

.side-buttons:hover .side-button {
    width: 300px;
    background-color: rgb(167 20 21);
}

.side-buttons:hover .side-button span {
    opacity: 1;
}

.side-button:hover {
    background-color: rgba(255, 140, 0, 1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .left-menu, .right-menu {
        margin: 0;
    }

    .logo {
        position: static;
        transform: none;
        order: -1;
        margin-bottom: 1rem;
    }

    nav {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav > ul > li {
        margin: 5px 0;
    }
}

@media (max-width: 768px) {
    .main-header nav {
        display: none;
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex;
        order: -1;
    }

    .logo {
        position: static;
        transform: none;
        margin: 0;
        order: 1;
    }

    .logo img {
        width: 100px;
        height: auto;
    }

    .logo-circle {
        display: none;
    }

    .logo-mobile {
        display: block;
        width: 60px;
        height: auto;
    }

    .mega-menu {
        display: none !important;
    }

    .slider-container {
        padding-bottom: 0;
        height: auto;
    }

    .slider {
        position: relative;
        
    }
     .slide {
        height: auto;
    }

    .slide-text-container {
        position: relative;
        bottom: auto;
        background: #00000063;
    }

    .slide-text {
        display: none;
        padding: 15px;
        background: #00000063;
    }

    .slide-text.active {
        display: block;
    }

    .slide-text h2 {
        font-size: 18px;
    }

    .side-buttons {
        display: none;
    }

    .slider-nav {
        bottom: 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .slide-text-container {
        bottom: 40px;
    }

    .slide-text h2 {
        font-size: 20px;
    }
    
}

@media (min-width: 1200px) {
    .slider-container {
        height: 600px;
        padding-bottom: 0;
    }
    
}

.news-section {
  padding: 40px 0;
  background-color: #fff;
}

.section-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
  color: #333;
}

.news-categories {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.news-categories::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.1);
}

.category-list {
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.category-list li {
    margin: 0 10px 10px;
}

.category-list a {
    text-decoration: none;
    color: #333;
    padding: 5px 0;
    position: relative;
    font-weight: bold;
}

.category-list a.active,
.category-list a:hover {
    color: #d32423;
}

.category-list a::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.category-list a.active::after,
.category-list a:hover::after {
    background-color: #d32423;
}

.category-dropdown {
    display: none;
    position: relative;
    width: 100%;
}

.category-button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    text-align: left;
    cursor: pointer;
}

.category-button::after {
    content: '\25BC';
    float: right;
}

.category-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.category-dropdown-content li a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.category-dropdown-content li a:hover {
    background-color: #f1f1f1;
}

@media (max-width: 768px) {
    .category-list {
        display: none;
    }
    .news-categories ul {
        display: none;
    }

    .category-dropdown {
        display: block;
    }
}

.news-categories ul {


    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.news-categories li {
  margin: 0 10px 10px;
}

.news-categories a {
  text-decoration: none;
  color: #333;
  padding: 5px 0;
  position: relative;
  font-weight: bold;
}

.news-categories a.active,
.news-categories a:hover {
  color: #d32423;
}
.news-categories a::after {
    content: '';
    position: absolute;
    bottom: -20px; /* Şeridin üzerine gelecek şekilde ayarlandı */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}
.news-categories a.active::after,
.news-categories a:hover::after {
    background-color: #d32423; /* Kırmızı renk */
}

.news-grid {
    display: flex;
    gap: 30px; /* Öğeler arasındaki boşluğu artırıyoruz */
}

.main-news {
  flex: 2;
  display: flex;
  background-color: rgba(0, 0, 0, 0.05);
}

.main-news-image {
  flex: 1;
}

.main-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-news-content {
  flex: 1;
  padding: 20px;
}

.main-news h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.main-news p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.news-date {
  font-size: 12px;
  color: #999;
}

.news-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 15px;
}


.news-item img {
    width: 225px; /* Görsel genişliğini 225px yapıyoruz */
    height: 125px; /* Görsel yüksekliğini 125px yapıyoruz */
    object-fit: cover;
}

.news-item h4 {
  font-size: 14px;
  margin: 0;
}


@media (max-width: 768px) {
.news-grid {
    flex-direction: column;
  }

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

  .news-item {
    flex-direction: column;
    align-items: flex-start;
  }

 .news-item img {
    width: 100%;
    height: auto;
  }
}
.news-content {
  display: none;
}

.news-content.active {
  display: block;
}

.view-all-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #d32423;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.view-all-btn:hover {
  background-color: #b01e1d;
}

 .gallery-section {
            background: #f5f5f5;
            padding: 50px 0;
        }

        .containers {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .gallery-wrapper {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -15px;
        }

        .gallery-column {
            flex: 0 0 50%;
            max-width: 50%;
            padding: 0 15px;
        }

        .gallery-title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 30px;
        }

        /* Foto Galeri Styles */
        .photo-gallery {
            background-color: #d32423;
            color: #fff;
            padding: 30px;
            border-radius: 2px;
        }

        .photo-content {
            display: flex;
            gap: 30px;
        }

        .photo-main {
            flex: 2;
            position: relative;
        }

        .photo-side {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 28px;
        }

        .photo-small {
            position: relative;
        }

        .photo-image {
            width: 100%;
            height: auto;
            border-radius: 2px;
            object-fit: cover;
        }

        .photo-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 25px;
            background: linear-gradient(0deg, rgba(211, 36, 35, 0.9) 0%, rgba(211, 36, 35, 0.9) 25%, transparent 100%);
            border-radius: 2px;
        }

        .photo-title {
            font-size: 19px;
            font-weight: 600;
            line-height: 25px;
            color: #fff;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .photo-small .photo-title {
            font-size: 14px;
            line-height: 20px;
            -webkit-line-clamp: 3;
        }

        /* Video Galeri Styles */
        .video-gallery {
            background-color: #fff;
            color: #333;
            padding: 30px;
            border-radius: 2px;
            height: 75%; /* Match the height of photo gallery */
        }

        .video-thumbnail {
            position: relative;
            height: calc(100% - 50px); /* Subtract title height */
        }

        .video-image {
            width: 100%;
            height: 100%;
            border-radius: 2px;
            object-fit: cover;
        }

        .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 35px;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: #d32423;
    border-radius: 2px;
    z-index: 2;
}

        .play-button svg {
            width: 24px;
            height: 24px;
            fill: #fff;
        }


        .video-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 25px;
            background: linear-gradient(0deg, rgba(211, 36, 35, 0.9) 0%, rgba(211, 36, 35, 0.9) 25%, transparent 100%);
            border-radius: 2px;
        }

        .video-title {
            font-size: 19px;
            font-weight: 600;
            line-height: 25px;
            color: #fff;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        @media (max-width: 992px) {
            .gallery-column {
                flex: 0 0 100%;
                max-width: 100%;
            }
            .video-gallery {
                margin-top: 30px;
            }
        }

        @media (max-width: 768px) {
    .photo-content {
        flex-direction: column;
    }
    .photo-side {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 15px;
    }
    .photo-small {
        height: 200px;
        width: 100%;
    }
    .photo-small img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    .video-thumbnail {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .photo-side {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .photo-small {
        height: 200px;
    }
}
    .footer-wrapper {
            position: relative;
            padding-top: 50px;
        }

        .footer {
            background-color: #333;
            position: relative;
            padding: 60px 0 40px;
        }

        .footer-curve {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 60px;
            overflow: hidden;
        }

        .footer-curve::before {
            content: '';
            position: absolute;
            width: 120px;
            height: 120px;
            background: #f5f5f5;
            border-radius: 50%;
            top: -60px;
            left: 0;
        }

        .footer-logo {
            position: absolute;
            top: -40px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 80px;
            background: #d32423;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            border: 5px solid #fff;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            color: #fff;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
        }

        .footer-section h3 {
            color: #fff;
            font-size: 18px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 30px;
            height: 2px;
            background-color: #d32423;
        }

        .footer-section p {
            margin: 5px 0;
            color: #ccc;
            font-size: 14px;
            line-height: 1.6;
        }

        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }

        .social-icon {
            width: 35px;
            height: 35px;
            background: #d32423;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
        }

        .social-icon:hover {
            transform: translateY(-3px);
        }

        .social-icon svg {
            width: 18px;
            height: 18px;
            fill: #fff;
        }

        .app-buttons {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 15px;
        }

        .app-button {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #fff;
            padding: 8px 15px;
            border-radius: 5px;
            text-decoration: none;
            color: #333;
            transition: transform 0.3s ease;
        }

        .app-button:hover {
            transform: translateY(-2px);
        }

        .app-button svg {
            width: 20px;
            height: 20px;
        }

        @media (max-width: 992px) {
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
                gap: 40px 20px;
            }
        }

        @media (max-width: 576px) {
            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }    
       