@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #E84A25;
    /* One Portföy Orange */
    --secondary-color: #2D2B33;
    /* Dark Navy/Charcoal */
    --text-color: #2D2B33;
    --light-text: #6B7280;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header & Navigation --- */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    height: 48px;
    width: auto;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center; /* Butonların dikeyde ortalanması için eklendi */
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(232, 74, 37, 0.05);
}

.arrow-icon {
    font-size: 10px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Submenu */
.nav-item {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    margin-top: 10px;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    list-style: none;
}

.submenu li a {
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 16px;
    display: block;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
}

.submenu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Contact Button */

/* --- Hero Slider --- */
.main-slider {
    height: 600px;
    width: 100%;
    background-color: #fff;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    /* Flex for overlay text slides */
    display: flex;
    align-items: center;
}

/* For slides that are just an image link */
.swiper-slide>a {
    display: block;
    width: 100%;
    height: 100%;
}

.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Prevent cropping */
    object-position: center;
}

/* Text Overlay Styling */
.container.h-100 {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Correct: Left Aligned */
    max-width: 1320px;
    /* Bootstrap Container XL */
    margin: 0 auto;
    padding: 0 24px;
}

.slide-text {
    max-width: 700px;
    color: #fff;
    text-align: left;
    /* Correct: Left Aligned */
    padding-left: 0;
    margin: 0;
}


.slide-text h2 {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-text p {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-slider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: rgb(39, 39, 87);
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    width: auto;
}

.btn-slider:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Investment Funds Section --- */
.section-funds {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.fund-accordion {
    max-width: 100%;
    margin: 0;
}

.accordion-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header {
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: var(--secondary-color);
}

.accordion-header:hover {
    background: #fdfdfd;
}

.accordion-icon {
    font-size: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.accordion-content {
    padding: 0 32px 24px;
    display: none;
    color: var(--light-text);
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* --- Footer --- */
.site-footer {
    display: flex;
    flex-direction: column;
    font-family: 'Outfit', sans-serif;
    border-top: 1px solid #eee;
}

.footer-contact-bar {
    background-color: #1c1b1f;
    color: #fff;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 500;
}

.contact-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.contact-items-left,
.contact-items-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

.contact-item {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.contact-item:hover {
    opacity: 1;
}

.footer-main {
    background-color: #ffffff;
    padding: 80px 0 50px;
    color: #2d2b33;
}

.footer-grid {
    display: grid;
    grid-template-columns: 280px repeat(5, 1fr);
    gap: 40px;
}

.footer-col h5.company-title {
    font-size: 15px;
    font-weight: 700;
    margin: 20px 0 12px;
    color: #1c1b1f;
}

.footer-col p.company-address {
    font-size: 13px;
    color: #2d2b33;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 250px;
}

.footer-logo {
    height: auto;
    width: 230px;
    max-width: 100%;
    opacity: 1;
}

.social-area .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #0077b5;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-area .social-icon:hover {
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 17px;
    font-weight: 600;
    color: #2d2b33;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 13px;
    color: #2d2b33;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 0;
}

/* --- Responsive --- */
/* --- Mobile Menu Toggle --- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1100px) {
    .nav-list {
        gap: 0;
    }

    .nav-link {
        padding: 10px 12px;
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .slide-text h2 {
        font-size: 40px;
    }
}

@media (max-width: 991px) {
    .header-container {
        padding: 0 16px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        height: 100vh;
        background: var(--white);
        z-index: 1080;
        padding: 80px 24px 40px;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        transform: translateX(-320px);
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: stretch; /* Mobilde elemanların tam genişlik alması için */
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    /* Eğer butonlu item'da border istemezseniz aşağıdaki yorumu kaldırın */
    /* .nav-item:has(.btn-contact) { border-bottom: none; } */

    .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0;
        font-size: 16px;
        border-radius: 0;
    }

    .nav-link:hover {
        background: transparent;
        color: var(--primary-color);
    }

    /* ---- EKLENEN KISIM: Mobil Buton Stilleri ---- */
    /* Mobilde (991px altı) butonların görünümü */
    .btn-contact {
        display: block;        /* Blok element yap (Alt alta dursun) */
        width: 100%;           /* %100 genişlik */
        text-align: center;    /* Yazıyı ortala */
        margin-top: 15px;      /* Üstten boşluk */
        margin-bottom: 5px;    /* Alttan boşluk */
    }
    /* ------------------------------------------- */

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 10px 20px;
        display: none;
        margin-top: 0;
    }

    .has-submenu.open .submenu {
        display: block;
    }

    .has-submenu.open .arrow-icon {
        transform: rotate(180deg);
    }

    .action-area {
        display: none;
    }

    .contact-bar-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .contact-items-left,
    .contact-items-right {
        flex-direction: column;
        gap: 8px;
    }

    .main-slider {
        height: 450px;
    }

    .slide-text h2 {
        font-size: 28px;
    }

    .slide-text p {
        font-size: 16px;
    }

    .fund-list {
        grid-template-columns: 1fr;
    }

    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .section-funds {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .accordion-header {
        padding: 20px;
        font-size: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        padding: 50px 0;
    }
}

/* --- Inner Page Header --- */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a191e 100%);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
}

.breadcrumb {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Inner Page Layout --- */
.inner-page-layout {
    padding: 80px 0;
}

.layout-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar h3 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--secondary-color);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.sidebar-menu li a {
    text-decoration: none;
    color: var(--light-text);
    padding: 12px 20px;
    display: block;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: rgba(232, 74, 37, 0.05);
    color: var(--primary-color);
}

/* Content Area */
.content-area h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--secondary-color);
}

.content-area p {
    margin-bottom: 20px;
    color: var(--light-text);
}

/* --- Contact Page --- */
.contact-wrapper {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}

.info-card {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(232, 74, 37, 0.1);
}

/* --- Announcement Grid --- */
.announcement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.announcement-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.announcement-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(232, 74, 37, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.announcement-date {
    display: block;
    font-size: 13px;
    color: var(--light-text);
    margin-bottom: 12px;
}

.announcement-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* Responsive Inner */
@media (max-width: 992px) {

    .layout-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        margin-bottom: 40px;
    }
}