body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden; /* Yatay taşmayı engelle */
}

header nav {
    position: fixed;   /* Pozisyonu sabitle */
    top: 0;            /* Üstten 0px uzaklıkta olacak şekilde ayarla */
    left: 0;           /* Soldan 0px uzaklıkta olacak şekilde ayarla */
    width: 100%;       /* Genişliği tüm sayfa genişliği kadar yap */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #FFFFFF;
    z-index: 1000;     /* Diğer içeriklerin üzerinde görünmesini sağla */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Altında hafif bir gölge efekti */
    font-size: 18px;
    font-weight: bold;
    
}

.logo a img {
    height: 50px; /* Logonuzun boyutunu ayarlayın */
    width: auto; /* Genişlik otomatik ayarlanacak */
}

ul {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 15px;
}

ul li a, ul li button {
    text-decoration: none;
    color: #333;
    background: none;
    border: none;
    font-size: 16px;
    padding: 10px 15px;
    cursor: pointer;
}

ul li input[type="search"] {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
}


main {
    position: relative;
    background-image: url('../images/rc_cover.png');
    background-size:  cover;
    background-repeat: no-repeat;
    height: 98vh;
    width: 100%;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    margin: 20px;
    font-size: 45px;
    color: white; /* Yazı rengi beyaz */
    text-shadow: 2px 2px 4px black; 
    width: 50%;
    text-align: center;
}


.hero button {
    margin: 10px;
    padding: 10px 20px;
    background-color:  gold;
    color: black;
    border: 1px solid goldenrod;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    text-shadow: 1px 1px 1px yellow;
    height: 51px;
}

.dialogue-box {
    position: fixed;
    bottom: 20px; /* Sağ alt köşede gözükmesi için */
    right: 20px;
    width: 300px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none; /* Başlangıçta görünmez olmalı */
}

.dialogue-box h3 {
    margin-top: 0;
}

.dialogue-box button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.dialogue-box.payment {
    top: 100px;
}

.dialogue-box.advice {
    top: 250px;
}

.dialogue-box p {
    margin: 10px 0;
}

 

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 150px;
    padding-bottom: 150px;
}

.carousel-slide {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.carousel-card {
    flex: 0 0 25%;
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    color: white;
    margin: 10px;
    border: 1px solid gray;
    margin-left: 4%;
}

.read-more {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 123, 255, 0.7);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
}

.card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
}

.prev {
    left: 10px;
    border-radius: 50%;
    color: black;
    width: 60px;
    height: 60px;
    background-color: gold;
    border:2px solid goldenrod;
}

.next {
    right: 10px;
    border-radius: 50%;
    color: black;
    width: 60px;
    height: 60px;
    background-color: gold;
    border:2px solid goldenrod; 
}
/* Tabletler için ayarlar */
/* Tabletler için ayarlar */
@media (max-width: 768px) {
    .carousel-slide {
        overflow-x: auto; /* Yatay kaydırmayı etkinleştir */
        flex-wrap: nowrap; /* Kartları yatayda sırala */
    }

    .carousel-card {
        flex: 0 0 auto; /* Kartların genişliğini içeriğe göre ayarla */
        margin: 10px; /* Kartlar arasında boşluk bırak */
    }

    .carousel-control {
        display: block; /* Kaydırma butonlarını göster */
    }

    .card-content {
        position: static; /* Kart içeriğini kartın içine yerleştir */
        margin: 10px; /* İçerik ile kart kenarları arasında boşluk bırak */
        text-align: center; /* İçeriği ortala */
    }
}

footer {
    background-color: #F5F5F5;
    color: #333;
    padding: 20px 0;
    font-family: Arial, sans-serif;
    padding-bottom: 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 0 10%;
}

.footer-left {
    flex: 1;
}

.footer-logo {
    max-width: 100px;
    margin-bottom: 20px;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icon {
    text-decoration: none;
    margin-right: 10px;
    color: #333;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    flex: 3;
}

.footer-column {
    margin-right: 20px;
}

.footer-column h4 {
    margin-bottom: 10px;
}

.footer-column a {
    display: block;
    color: #333;
    text-decoration: none;
    margin-bottom: 5px;
}

.footer-column a:hover {
    text-decoration: underline;
}
/* Tabletler için genel ayarlar (örneğin iPad'ler) */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        margin-top: 20px; /* Linkler arasındaki boşluğu ayarla */
    }

    .footer-column {
        margin-right: 0; /* Sağ kenar boşluğunu kaldır */
        text-align: center; /* İçeriği ortala */
    }

    .footer-left, .footer-column {
        flex: 1; /* Footer içinde eşit genişlik sağla */
    }

    .social-icons {
        margin-bottom: 20px; /* Sosyal ikonlar arasındaki boşluğu ayarla */
    }
}


/* Akıllı telefonlar ve daha küçük cihazlar için ayarlar */
@media (max-width: 480px) {
    .carousel-control {
        display: none; /* Küçük ekranlarda kaydırma butonlarını gizle */
    }

    .footer-links, .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        margin-right: 0;
    }

    .hero button, .read-more {
        width: 90%; /* Butonları genişlet */
    }
}

/* Büyük ekranlar için ayarlar, örneğin büyük monitörler */
@media (min-width: 1200px) {
    .footer-container, .carousel-slide {
        padding: 0 15%;
    }

    .carousel-card {
        margin-left: 5%;
    }
}
/* Küçük ekranlar için (tablet ve mobil) */
@media (max-width: 768px) {
    .logo a img {
        height: 40px; /* Logonun boyutunu küçült */
    }

    ul {
        flex-direction: column;
        justify-content: center;
        background-color: #FFFFFF;
        position: absolute;
        top: 60px; /* Logo yüksekliği */
        width: 100%;
        display: none; /* Başlangıçta gizle */
    }

    ul li {
        text-align: center;
        width: 100%;
        padding: 10px;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 24px;
        padding: 10px 20px;
    }

    .menu-toggle.active + ul {
        display: flex;
    }
}

/* Büyük ekranlar için stil düzenlemeleri */
@media (min-width: 769px) {
    .menu-toggle {
        display: none; /* Büyük ekranlarda hamburger menüsünü gizle */
    }
}

.newsletter-section {
    display: flex;
    width: 100%;
    align-items: stretch;
    margin-top: 20px;
    margin-bottom: 20px;
}

.image-container {
    flex: 1;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.content-container {
    gap:10px;
    flex: 1;
    background-color: #f7f2ed;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    object-fit: contain;
    flex-direction: row;
    height: 450px;
}

.newletterimagecover{
    position: relative;
    background-color: gray;
    background-size: cover;
    background-image: url('/images/richspeple.png');
    background-repeat: no-repeat;
    background-position: center left;
    height: 489px;
    width: 100%;
    
}

.newsletter, .join-group {
    padding: 20px;
    border-bottom: 1px solid #ccc;
    
}

.newsletter:last-child {
    border-bottom: none;
}

h2 {
    font-size: 24px;
    color: #333;
}

p {
    font-size: 16px;
    color: #666;
}

button {
    background-color: #ffa726;
    border: 2px solid goldenrod;
    padding: 10px 20px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    color: black;
}
/* Base styles (as provided above) are for desktops */

/* Tablet Devices */
@media (max-width: 1024px) {
    .newsletter-section {
        flex-direction: column; /* Elements stacked vertically */
    }

    .image-container, .content-container {
        flex: 1 0 100%; /* Take full width */
    }

    .image-container img {
        height: 300px; /* Adjust height as per design requirement */
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .content-container {
        padding: 10px;
    }

    .newsletter, .join-group {
        padding: 10px;
        text-align: center; /* Center the text for better readability on small screens */
    }

    h2 {
        font-size: 20px; /* Smaller heading for small screens */
    }

    p {
        font-size: 14px; /* Smaller text for small screens */
    }

    button {
        width: 100%; /* Full width button for easier touch */
    }
}

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

.dropbtn {
    background-color: #fff;
    color: black;
    padding: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center; /* İkon ve metin düzgün hizalansın */
}

.dropbtn i {
    margin-right: 5px; /* İkon ile metin arasında boşluk */
}


.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

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

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

.language-dropdown:hover .dropdown-content {
    display: block;
}

.language-dropdown:hover .dropbtn {
    background-color: #f8f8f8;
}
.dialog-box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dialog-content {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
}
.form-container{
    gap:10px;
    flex: 2;
    flex-direction: row; 
    flex-direction: column;
    
}

.form-container h2 {

    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.form-section {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #666;
    text-align: left;
    font-weight: bold;
}

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    height: 100px;
}

.button-group {
    display: flex;
    justify-content: space-between;
}

.submit-button, .cancel-button {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.submit-button {
    background-color: #4CAF50;
    color: white;
}

.cancel-button {
    background-color: #f44336;
    color: white;
}

select {
    -webkit-appearance: none; /* Safari'de varsayılan görünümü kaldır */
    appearance: none;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Gölge efekti */
    cursor: pointer;
}

select:focus {
    border-color: #0056b3;
    outline: none;
}
@keyframes flashRedBorder {
    0%, 100% { border-color: transparent; }
    50% { border-color: red; }
}

.flash-red {
    animation: flashRedBorder 1s ease-in-out 5;
}
@keyframes flashRedBorder {
    0%, 100% { border-color: transparent; }
    50% { border-color: red; }
}

.flash-red {
    animation: flashRedBorder 1s ease-in-out 5;
}
.product-intro, .product-intro2 {
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-intro2 {
    background-color: #a3b0c9;
}

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

.device-section {
    margin-bottom: 20px;
}

.device-section h2 {
    color: #333;
    font-size: 20px;
}

.device-section p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

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

.devices-img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.dialog-box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.dialog-content {
    background-color: #ffffff;
    padding: 20px;
    max-width: 90%;
    width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
}

.dialog-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

#rc_extendedDialogNextButton {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.dialog-footer {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
}

@media only screen and (min-width: 768px) {
    .product-intro, .product-intro2 {
        display: flex;
        justify-content: space-between;
        margin-left: 15%;
        margin-right: 15%;
        margin-bottom: 5px;
    }
}

/* Genel Stil */
.rc_invest_container {
    display: flex;
    flex-direction: column;
    width: 100%;
    
   
    margin-top: 25px;
    background: linear-gradient(to bottom, #f5f2e8 0%, #d8c8b8 100%);

}

.rc_invest_content, .rc_invest_image {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    
    
}
.rc_invest_image{
    background-image: url('../images/rc_invest.png');
    background-size: 100% 100%;
    height: 400px;
}
.rc_invest_text {
    color: blue;
    text-align: left; /* Metni merkezlemek için */
}

.rc_invest_button {
    display: block;
    margin: 20px auto; /* Düğmeyi ortalamak için */
    background-color: gold;
    color: black;
    border: 1px solid yellowgreen;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    height: auto;
}

.rc_invest_button:hover {
    background-color: goldenrod;
}

/* Mobil Uyumlu Stil */
@media only screen and (min-width: 600px) {
    .rc_invest_container {
        flex-direction: row;       
        padding: 25px;
        background: linear-gradient(to bottom, #f5f2e8 0%, #d8c8b8 100%);
        background-color: #ccc;
        height: auto;
        margin-left: 5%;
        width: 75%;
        border-radius: 8px;
        margin-bottom: 7%;
    }

    .rc_invest_content {
        width: 60%;
    }

    .rc_invest_image {
        width: 40%;
        height: 450px;
        background-size: cover;
        background-position: center;
            background-size: 100% 100%;
    
    }
}
