/* RTL ve Farsça destekli ana stil dosyası */
:root {
    --primary-color: #67C4B1;
    --secondary-color: #FDBA2D;
    --tertiary-color: #DA7C3C;
    --light-yellow: #FFE28C;
    --dark-gray: #4D4D4D;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica', 'Tahoma', sans-serif;
    direction: rtl;
    text-align: right;
    background-color: var(--white);
    color: var(--dark-gray);
    overflow-x: hidden;
    padding-top: 101px;
}
@media (max-width: 992px) {
    body {
        padding-top: 81px; /* Mobil header yüksekliği (50px logo + 15px üst padding + 15px alt padding + 1px border) */
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 71px; /* Küçük mobil header yüksekliği (40px logo + 15px üst padding + 15px alt padding + 1px border) */
    }
}
.container-fluid {
    width: 100%;
    padding: 0 40px;
    margin: 0 auto;
}

/* Responsive utility classes */
.desktop-only {
    display: block !important;
}

.mobile-only {
    display: none !important;
}

/* Header Styles */
.main-header {
    padding: 15px 0;
    position: fixed; /* relative yerine fixed yapıldı */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid rgba(103, 196, 177, 0.2);
    z-index: 999; /* Diğer içeriklerin üzerinde görünmesi için */
    transition: transform 0.3s ease;
}


/* Desktop Header Styles */
.desktop-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styles */
.logo-container {
    flex: 0 0 auto;
    margin-left: 20px;
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* Main Navigation - Desktop */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.dropdown-arrow {
    display: inline-flex;
    margin-right: 5px;
    transition: var(--transition);
}

.nav-link:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0; /* RTL için sağdan hizalama */
    min-width: 220px;
    background: rgba(103, 196, 177, 0.95);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 100;
    margin-top: 10px;
    padding: 5px 0;
    border: none;
    /* Geçiş sorunu çözmek için ek padding */
    padding-top: 15px; /* Menü ile link arasında geçiş boşluğu */
    margin-top: 0; /* Üst padding eklediğimiz için margin kaldırılabilir */
}

/* Dropdown ok işareti pozisyonunu düzelt */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 7px; /* Padding eklediğimiz için değeri değiştirdik */
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(103, 196, 177, 0.95);
}


/* Hem hover hem click için güvenli kod */
.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* Hover durumunda menüyü göster */
.nav-item.dropdown:hover .dropdown-menu {
    display: block; /* Hover olduğunda göster */
}

/* Bootstrap'ın davranışlarını ezecek stil */
.dropdown-toggle::after {
    display: none !important; /* Bootstrap'ın ok işaretini gizle */
}

/* Ok işareti için sadece bizim stilimizi kullan */
.dropdown-arrow {
    display: inline-flex;
    margin-right: 5px;
}

/* Hover durumunda ok işaretinin dönmesi */
.nav-item.dropdown:hover .dropdown-arrow i {
    transform: rotate(180deg);
}

.dropdown-inner {
    padding: 10px 15px;
}

.dropdown-item {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.2s ease;
    background: transparent;
    text-align: right; /* RTL için sağdan hizalama */
}

.dropdown-item:hover {
    color: var(--light-yellow);
    background: transparent;
    transform: translateX(3px); /* RTL için sağa doğru hareket */
}
.dropdown-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 5px 0;
}
.nav-item:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.auth-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
}

.login-btn:hover {
    color: var(--primary-color);
}

.register-btn {
    padding: 8px 20px;
    font-size: 16px;
}

.cart-container {
    margin: 0 10px;
}

.cart-icon {
    color: var(--dark-gray);
    font-size: 24px;
    transition: var(--transition);
}

.cart-icon:hover {
    color: var(--primary-color);
}

.separator-line {
    height: 30px;
    width: 1px;
    background-color: rgba(103, 196, 177, 0.3);
}

.contact-btn {
    padding: 8px 25px;
    font-size: 16px;
}

/* Mobile Header Styles */
.mobile-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo-image {
    height: 50px;
    width: auto;
}

.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-cart-icon, .mobile-user-icon {
    color: var(--dark-gray);
    font-size: 22px;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-gray);
    border-radius: 3px;
}

/* Mobile Menu Styles */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 1000;
    overflow-y: auto;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-container.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(103, 196, 177, 0.2);
}

.mobile-menu-header .mobile-logo img {
    height: 50px;
    width: auto;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--dark-gray);
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(103, 196, 177, 0.2);
}

.mobile-nav-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
    color: var(--dark-gray);
}

.mobile-nav-toggle i {
    transition: var(--transition);
}

.mobile-nav-toggle.active i {
    transform: rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    list-style: none;
    padding-right: 15px;
}

.mobile-submenu.active {
    max-height: 500px;
}

.mobile-submenu a {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 8px 0;
    transition: var(--transition);
}

.mobile-submenu a:hover {
    color: var(--primary-color);
}

.mobile-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-contact {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 18px;
    border-radius: 25px;
}

.mobile-auth-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.mobile-register {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    border-radius: 25px;
}

.mobile-login {
    flex: 1;
    text-align: center;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Button Styles */
.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 25px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);

}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Media Queries */
@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .mobile-header-content {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-logo-image {
        height: 60px;
    }

    .mobile-header-actions {
        display: flex !important;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding: 0 15px;
    }

    .mobile-logo-image {
        height: 50px;
    }

    .mobile-header-actions {
        gap: 15px;
    }

    .mobile-menu-header {
        padding: 15px;
    }

    .mobile-nav-toggle {
        font-size: 18px;
    }

    .mobile-submenu a {
        font-size: 16px;
    }
}
 /* Kullanıcı dropdown stili */
 .user-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #333;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 30px;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

.user-dropdown-toggle:hover {
    background-color: #e9e9e9;
}

.user-name {
    margin-left: 8px;
    font-size: 14px;
}

.user-dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    min-width: 200px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-inner {
    padding: 10px 0;
}


.user-dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.user-dropdown-item:hover {
    background-color: #f5f5f5;
    color: #67C4B1;
}

.logout-btn {
    width: 100%;
    text-align: right;
    border: none;
    background: none;
    cursor: pointer;
    color: #ff5252;
}

.logout-btn:hover {
    background-color: #fff2f2;
}

/* Mobil kullanıcı bilgileri stili */
.mobile-user-info {
    display: flex;
    align-items: center;
    padding: 20px 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
}

.mobile-user-avatar {
    font-size: 40px;
    color: #67C4B1;
    margin-left: 15px;
}

.mobile-user-details {
    flex: 1;
}

.mobile-user-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px;
}

.mobile-user-email {
    font-size: 12px;
    color: #666;
}

.mobile-user-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mobile-user-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.mobile-user-action-btn i {
    font-size: 22px;
    margin-bottom: 5px;
    color: #67C4B1;
}

.mobile-user-action-btn:hover {
    background-color: #f5f5f5;
}

.mobile-logout-btn {
    background: none;
    border: none;
    padding: 10px;
}
.mobile-logout-btn i {
    color: #ff5252;
}

.mobile-divider {
    height: 1px;
    background-color: #eee;
    margin: 15px 0;
}

.mobile-auth-buttons {
    display: flex;
    justify-content: space-between;
    padding: 15px;
}

.mobile-login-btn, .mobile-register-btn {
    width: 48%;
    text-align: center;
}
/* Hero Section Styles */
.hero-section {
    position: relative;
    padding: 0;
    overflow: hidden;
    height: calc(100vh - 80px);
    background-color: #FFFFFF;
}

.hero-rectangle {
    position: absolute;
    width: 60%;
    height: 100%;
    right: 0;
    top: 0;
    background: rgba(103, 196, 177, 0.3);
    border-radius: 121px 0 0 121px;
    z-index: 1;
}

.hero-leaf-bg {
    position: absolute;
    width: 783.58px;
    height: 1054.07px;
    right: -110px;
    bottom: -250px;
    opacity: 0.8;
    transform: matrix(-0.83, 0.56, 0.56, 0.83, 0, 0);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    top: 350px;
    height: 100%;
    z-index: 3;
}

.hero-image-container {
    position: absolute;
    width: 50%;
    height: 60%;
    left: -4% !important;
    display: flex;
    align-items: center;
    z-index: 4;
    background-color: #FFFFFF; /* Arka plan rengi eklendi */
}

.hero-image {
    width: 100%;
    height: 500px;
    border-radius: 0 141px 141px 0;
    object-fit: cover; /* Tekrar cover'a çevrildi */
    object-position: center left; /* Sol orta hizalama */
}
.hero-text-container {
    position: absolute;
    width: 50%;
    height: 100%;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.hero-text {
    padding: 40px;
    text-align: right;
    max-width: 80%;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #4D4D4D;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 48px;
    color: #4D4D4D;
    margin-bottom: 40px;
    line-height: 1.1;
}

.hero-line {
    color: #4D4D4D;
    line-height: 1.3;
    margin-bottom: 2px;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    font-weight: 400 !important;
    word-spacing: 2px;
    letter-spacing: 0.5px;
}

.hero-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    width: 100%;
}

.hero-button {
    display: inline-block;
    background-color: #67C4B1;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.hero-button:hover {
    background-color: #55a594;
    color: #FFFFFF;
}


@media (max-width: 992px) {
    .hero-section {
        height: auto;
        padding: 40px 0;
        position: relative;
    }

    .hero-content {
        flex-direction: column;
        top: 0;
    }

    .hero-rectangle {
        width: 100%;
        height: 65%;
        border-radius: 0;
        top: auto;
        bottom: 0;
        z-index: 1;
    }

    .hero-image-container {
        position: relative;
        width: 90%;
        left: 0 !important;
        margin: 0 auto 30px;
        order: 1;
        z-index: 5;
    }

    .hero-image {
        height: 300px;
        border-radius: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        object-fit: cover;
    }

    .hero-text-container {
        position: relative;
        width: 100%;
        margin-top: 0;
        padding: 30px 0 50px;
        order: 2;
        z-index: 3;
    }

    .hero-text {
        text-align: center;
        padding: 20px;
        max-width: 100%;
        background-color: transparent;
    }

    .hero-leaf-bg {
        bottom: -130px !important;
        right: -50px !important;
        width: 450px !important;
        height: 550px !important;
        z-index: 2;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 30px 0;
    }

    .hero-image {
        height: 250px;
    }

    .hero-rectangle {
        height: 70%;
    }

    .hero-leaf-bg {
        width: 250px;
        height: 350px;
        opacity: 0.5;
        right: -20px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .hero-line {
        font-size: 32px !important;
        line-height: 1.3;
        margin-bottom: 4px;
        font-weight: 400 !important;
        font-family: 'Rubik', sans-serif;
        word-spacing: 1px;
        letter-spacing: 0.3px;
    }

    .hero-button-container {
        margin-top: 25px;
    }

    .hero-button {
        font-size: 16px;
        padding: 12px 30px;
        display: inline-block;
        margin: 0 auto;
    }
}


@media (max-width: 576px) {
    .hero-section {
        padding: 20px 0;
    }

    .hero-image-container {
        width: 95%;
    }

    .hero-image {
        height: 200px;
        border-radius: 15px;
    }

    .hero-text {
        padding: 15px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-line {
        font-size: 28px !important;
        line-height: 1.3;
        margin-bottom: 3px;
        font-weight: 400 !important;
        font-family: 'Rubik', sans-serif;
        word-spacing: 1px;
        letter-spacing: 0.2px;
    }

    .hero-button-container {
        margin-top: 20px;
    }

    .hero-button {
        font-size: 14px;
        padding: 10px 25px;
    }

    .hero-leaf-bg {
        width: 180px;
        height: 250px;
        bottom: -20px;
    }
}
/* Footer Styles */
.main-footer {
    position: relative;
    background-color: rgba(103, 196, 177, 0.2);
    padding: 70px 0 40px;
    margin-top: 80px;
    overflow: hidden;
    min-height: 300px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

/* Sol taraf: Branding, açıklama ve sosyal medya */
.footer-branding {
    flex: 0 0 40%;
    padding-right: 40px;
}

.footer-logo {
    display: block;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    font-size: 16px;
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Sağ taraf: Hızlı bağlantılar */
.footer-links {
    flex: 0 0 30%;
}

.footer-links-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 12px;
}

.quick-links a {
    color: var(--dark-gray);
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding-right: 15px;
}

.quick-links a:before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--primary-color);
}

.quick-links a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

/* Telif hakkı */
.copyright {
    border-top: 1px solid rgba(103, 196, 177, 0.3);
    padding-top: 20px;
    text-align: center;
}

.copyright-text {
    font-size: 14px;
    color: var(--dark-gray);
}

.footer-leaf-bg {
    position: absolute;
    width: 600px;
    height: auto;
    right: -100px;
    bottom: -160px;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
    transform: matrix(-0.95, 0.31, 0.31, 0.95, 0, 0);
}

/* Responsive tasarım */
@media (max-width: 992px) {
    .main-footer {
        padding: 60px 0 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-branding {
        flex: 0 0 100%;
        padding-right: 0;
    }

    .footer-links {
        flex: 0 0 100%;
    }

    .footer-leaf-bg {
        bottom: -130px !important;
        right: -50px !important;
        width: 450px !important;
        height: 550px !important;
        z-index: 2;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 50px 0 30px;
        margin-top: 60px;
    }

    .footer-description {
        font-size: 15px;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .footer-links-title {
        font-size: 20px;
    }

    .quick-links a {
        font-size: 15px;
    }

    .footer-leaf-bg {
        width: 300px;
        right: -40px;
        bottom: -80px;
    }
}

@media (max-width: 576px) {
    .main-footer {
        padding: 40px 0 20px;
        margin-top: 50px;
    }

    .footer-logo-img {
        height: 50px;
    }

    .footer-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .social-link {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .footer-links-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .quick-links li {
        margin-bottom: 8px;
    }

    .quick-links a {
        font-size: 14px;
    }

    .copyright-text {
        font-size: 12px;
    }

    .footer-leaf-bg {
        width: 200px;
        right: -30px;
        bottom: -50px;
    }
}
