.mdi {
    vertical-align: middle;
    display: inline-block;

    &::before {
        font-size: var(--_size)
    }

    &.mdi-24px {
        --_size: 24px
    }

    &.mdi-36px {
        --_size: 36px
    }

    &.mdi-48px {
        --_size: 48px
    }

    svg {
        fill: currentColor;
        width: var(--_size);
        height: var(--_size)
    }
}

:root {
    --bs-primary: #672f22;
    --bs-secondary: #F39200;
    --bs-body-color: #333333;
    --bs-secondary-color: #666666;
    --bs-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bs-body-font-family: 'Unbounded', sans-serif;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--bs-body-font-family);
    color: var(--bs-body-color);
    margin: 0;
    padding: 0;
}

/* Header & Navbar */



.main-header-nav {
    padding: 1rem 0;
    background: var(--bs-white);
    /* Shadow removed as requested */
}

.nav-desktop-menu {
    flex-grow: 1;
}

.brand-logo-wrapper img {
    height: 50px;
    width: auto;
}

.brand-logo-wrapper img.cafejoy-logo {
    height: 35px;
}

.tostos-logo {
    margin-top: -10px;
    /* Daha fazla yukarı aldım, şimdi tam eşitlenmiş olmalı */
}

.nav-list {
    gap: 25px;
}

.nav-anchor {
    display: inline-flex;
    align-items: center;
    color: var(--bs-body-color) !important;
    font-weight: 500;
    font-size: 14px;
    margin: 0;
    transition: color 0.3s ease;
    text-decoration: none;
    height: 100%;
}

.nav-anchor:hover {
    color: var(--bs-secondary) !important;
}

.btn-contact {
    background-color: var(--bs-primary);
    color: var(--bs-white) !important;
    border-radius: 50px;
    padding: 8px 35px;
    font-weight: 400;
    font-size: 13px;
    border: none;
    transition: all 0.3s ease;
}

.btn-contact:hover,
.btn-contact:active,
.btn-contact:focus {
    background-color: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
    outline: none;
    box-shadow: none;
}

/* Submenu Dropdown Styles */
.submenu-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 1000;
    min-width: 200px;
    background-color: var(--bs-white);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 10px;
}

.submenu-anchor {
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 13px;
    color: var(--bs-body-color);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.submenu-anchor:hover {
    background-color: rgba(243, 146, 0, 0.1);
    color: var(--bs-secondary);
    padding-left: 25px;
}

.has-dropdown {
    position: relative;
}

.has-dropdown>.nav-anchor::after {
    border: none;
    content: "\F0140";
    font-family: "Material Design Icons";
    font-size: 18px;
    margin-left: 2px;
    line-height: 1;
}

/* Hover Dropdown Logic */
@media (min-width: 992px) {
    .has-dropdown:hover .submenu-dropdown {
        display: block;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .submenu-dropdown {
        margin-top: 0;
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }
}

/* Hamburger & Side Menu */
.custom-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.custom-hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--bs-primary);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.custom-hamburger span:nth-child(2) {
    width: 60%;
    margin-left: auto;
}

.custom-hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.custom-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.custom-hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Side Menu Styles */
.side-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 350px;
    height: 100vh;
    background: var(--bs-white);
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 40px;
}

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

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(103, 47, 34, 0.3);
    /* Primary color low opacity */
    backdrop-filter: blur(8px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.side-logo img {
    height: 45px;
}

.close-menu {
    background: rgba(103, 47, 34, 0.1);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--bs-primary);
    transition: all 0.3s ease;
}

.close-menu:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.side-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-nav li {
    margin-bottom: 20px;
}



.side-nav li a {
    font-family: var(--bs-body-font-family);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--bs-body-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.side-nav li a:hover {
    color: var(--bs-secondary);
    padding-left: 10px;
}

.has-submenu .submenu {
    list-style: none;
    padding-left: 20px;
    margin-top: 15px;
    display: none;
}

.side-menu-footer {
    margin-top: auto;
}

/* Responsive Logic */
@media (max-width: 1199.98px) {
    .nav-desktop-menu {
        display: none !important;
    }

    .custom-hamburger {
        display: flex;
    }

    .main-header-nav .container {
        justify-content: space-between;
    }
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .nav-desktop-menu {
        background: var(--bs-white);
        padding: 1rem;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }

    .nav-anchor {
        margin: 10px 0;
    }
}

/* Hero Slider */
.hero-section .hero-slider .item {
    position: relative;
    width: 100%;
}

.hero-section .hero-slider .item .hero-bg-img {
    width: 100%;
    display: block;
    height: 85vh;
    object-fit: cover;
    transition: height 0.3s ease;
}

@media (max-width: 1399.98px) {
    .hero-section .hero-slider .item .hero-bg-img {
        height: 75vh;
    }
}

@media (max-width: 1199.98px) {
    .hero-section .hero-slider .item .hero-bg-img {
        height: 65vh;
    }
}

@media (max-width: 991.98px) {
    .hero-section .hero-slider .item .hero-bg-img {
        height: 55vh;
    }
}

.hero-section .hero-slider .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 2;
}

.hero-section .hero-slider .item .container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    padding-bottom: 50px;
}



.hero-section .hero-title-1,
.hero-section .hero-title-2 {
    opacity: 1;
}

.hero-section .hero-title-1 {
    margin-bottom: 20px;
}

.hero-section .hero-title-1 span {
    position: relative;
    display: table;
    color: var(--bs-white);
    padding: 5px 25px;
    font-size: 30px;
    font-weight: 400;
    z-index: 1;
    margin-bottom: 5px;
}

.hero-section .hero-title-1 span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bs-primary);
    /* #672f22 */
    border-radius: 40px;
    z-index: -1;
}

.hero-section .hero-title-2 {
    margin: 0;
}

.hero-section .hero-title-2 span {
    position: relative;
    display: inline-block;
    color: var(--bs-white);
    padding: 0;
    font-size: 50px;
    font-weight: 500;
    line-height: 63px;
    z-index: 1;
    margin-bottom: 12px;
    letter-spacing: 1px;
}


.hero-section .hero-title-2-span-first {
    position: relative;
}

.hero-section .hero-title-2-span-first::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 18px;
    width: 95%;
    height: 38px;
    background-color: #e74725;
    border-radius: 35px;
    z-index: -3;
    transform: rotate(-3deg);
}

.hero-section .hero-title-2-span-first::after {
    content: '';
    position: absolute;
    top: 55px;
    left: -5px;
    width: 100%;
    height: 42px;
    background-color: #e74725;
    border-radius: 35px;
    z-index: -5;
    transform: rotate(-3deg);
}

.hero-section .hero-title-2-span-second {
    position: relative;
}

.hero-section .hero-title-2-span-second::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 35px;
    width: 100%;
    height: 38px;
    background-color: #e74725;
    border-radius: 35px;
    z-index: -5;
    transform: rotate(-3deg);
}


.hero-section .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-section .owl-nav button {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 50% !important;
    margin: 0 20px !important;
    transition: all 0.3s ease !important;
    pointer-events: auto;
}

.hero-section .owl-nav button span {
    font-size: 26px;
}

.hero-section .owl-nav button:hover {
    background: var(--bs-secondary) !important;
}

/* Owl Dots Styles */
.hero-section .owl-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.hero-section .owl-dot {
    display: inline-block;
}

.hero-section .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4) !important;
    display: block;
    margin: 5px 7px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-section .owl-dot.active span {
    background: var(--bs-secondary) !important;
    transform: scale(1.3);
}

.hero-section .owl-dot:hover span {
    background: rgba(255, 255, 255, 0.8) !important;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background-color: var(--bs-white);
    position: relative;
    overflow: hidden;
    /* Prevent AOS or icons from pushing width */
}

.products-section .section-subtitle {
    display: inline-block;
    color: var(--bs-primary);
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 10px;
    position: relative;
    letter-spacing: 1px;
}

.products-section .section-title {
    color: #323232;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}

.products-section .urun-item {
    display: block;
    text-decoration: none;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.products-section .urun-item:hover {
    transform: translateY(-5px);
}

.products-section .urun-img-wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 40px;
}

.products-section .urun-item .urun-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.products-section .urun-item:hover .urun-img-wrapper img {
    transform: scale(1.1);
}

.products-section .urun-title {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-block;
    width: 100%;
}

.products-section .urun-title span {
    position: relative;
    display: inline-block;
    color: var(--bs-white);
    padding: 8px 30px;
    font-size: 1.2rem;
    font-weight: 500;
    z-index: 1;
}

.products-section .urun-title span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 25px;
    background-color: var(--bs-secondary);
    border-radius: 35px;
    z-index: -1;
    transform: rotate(-4deg);
    transition: all 0.4s ease;
}

.products-section .urun-item:hover .urun-title span::before {
    background-color: var(--bs-secondary) !important;
    transform: rotate(0deg) scale(1.1);
}

.products-section .container {
    position: relative;
}

.product-bg-icon {
    position: absolute;
    top: -40px;
    right: 0;
    width: 95px;
    height: auto;
    opacity: 1;
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 991.98px) {
    .product-bg-icon {
        width: 55px;
        top: -34px;
        right: 15px;
        animation: none;
    }
}

/* Ürün kategori renk varyasyonları */
.products-section .urun-item.color-1 .urun-title span::before {
    background-color: #e74725;
}

.products-section .urun-item.color-2 .urun-title span::before {
    background-color: #d43a46;
}

.products-section .urun-item.color-2 img,
.products-section .urun-item.color-2 .urun-img-wrapper {
    border-top-right-radius: 100px;
    border-top-left-radius: 100px;
}

.products-section .urun-item.color-4 img,
.products-section .urun-item.color-4 .urun-img-wrapper {
    border-bottom-right-radius: 100px;
    border-bottom-left-radius: 100px;
}

.products-section .urun-item.color-3 .urun-title span::before {
    background-color: #4289c9;
}

.products-section .urun-item.color-4 .urun-title span::before {
    background-color: #672f22;
}

/* Quality & Manufacturing Section */
.quality-manufacturing-section {
    background-color: var(--bs-primary);
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(243, 146, 0, 0.1) 0%, transparent 40%);
    position: relative;
    overflow: visible;
    width: 100%;
    z-index: 20;
}

.quality-bg-icon {
    position: absolute;
    top: -45px;
    left: 0;
    width: 97px;
    height: 89px;
    opacity: 1;
    pointer-events: none;
    z-index: 10;
}

.quality-manufacturing-section .container-fluid {
    position: relative;
    z-index: 2;
}

.quality-manufacturing-section .quality-main-title {
    font-size: 35px;
    font-weight: 400;
    line-height: 44px;
    letter-spacing: 1px;
    color: var(--bs-white);
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.quality-manufacturing-section .quality-desc {
    font-size: 18px;
    line-height: 1.5;
    opacity: 1;
    font-weight: 300;
    color: var(--bs-white);
}

/* Features Grid Border System - Desktop Only */
@media (min-width: 992px) {
    .features-grid-wrapper {
        position: relative;
        padding: 30px 0;
    }

    .features-grid-wrapper::before,
    .features-grid-wrapper::after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #37160f;
        z-index: 1;
    }

    .features-grid-wrapper::before {
        top: 30px;
    }

    .features-grid-wrapper::after {
        bottom: 30px;
    }

    .features-grid-wrapper .row::before {
        content: '';
        position: absolute;
        top: 10px;
        bottom: 10px;
        left: 50%;
        width: 1px;
        background-color: #37160f;
        transform: translateX(-50%);
        z-index: 2;
    }

    .features-grid-wrapper .row::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #37160f;
        transform: translateY(-50%);
        z-index: 1;
    }

    .feature-item {
        padding: 10px 20px;
    }
}

/* Mobile & Tablet Styles */
@media (max-width: 991.98px) {
    .features-grid-wrapper {
        border-top: 1px solid #37160f;
        border-bottom: 1px solid #37160f;
        margin: 30px 0;
    }

    .feature-item {
        padding: 30px 15px;
        border-bottom: 1px solid #37160f;
    }

    .feature-item:last-child {
        border-bottom: none;
    }

    .quality-manufacturing-section .quality-main-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .quality-bg-icon {
        width: 60px;
        height: auto;
        top: -30px;
        animation: none;
        /* Mobilde hareket olmasın */
    }
}

.feature-item {
    position: relative;
}

.quality-manufacturing-section .feature-card {
    padding: 10px;
    height: 100%;
}

.quality-manufacturing-section .feature-icon {
    width: 95px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 5;
    overflow: visible;
}

.quality-manufacturing-section .feature-icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    position: relative;
    z-index: 6;
}

.quality-manufacturing-section .feature-title {
    color: var(--bs-white);
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 12px;
    position: relative;
    z-index: 5;
}

.quality-manufacturing-section .feature-desc {
    color: var(--bs-white);
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 0;
    font-weight: 200;
}

.quality-manufacturing-section .manufacturing-img-wrapper img {
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    transition: all 0.6s ease;
}

@media (max-width: 991.98px) {
    .quality-manufacturing-section .quality-main-title {
        font-size: 30px;
        margin-top: 40px;
    }

    .quality-bg-icon {
        width: 75px;
        top: -27px;
        left: 20px;
    }

    /* Intermediate sizes for tablets */
    .hero-section .hero-title-1 span {
        font-size: 22px;
    }

    .hero-section .hero-title-2 span {
        font-size: 38px;
        line-height: 44px;
    }

    .hero-section .hero-title-2-span-first::before {
        top: 18px;
        height: 32px;
    }

    .hero-section .hero-title-2-span-first::after {
        top: 48px;
        height: 32px;
    }

    .hero-section .hero-title-2-span-second::after {
        top: 18px;
        height: 32px;
    }
}

@media (max-width: 767.98px) {

    .products-section .section-subtitle,
    .family-corner-section .section-subtitle {
        font-size: 20px;
    }

    .products-section .section-title,
    .family-corner-section .section-title {
        font-size: 15px;
    }

    .hero-section .owl-nav button {
        display: none;
    }

    /* Intermediate sizes for large mobile/small tablet */
    .hero-section .hero-title-1 span {
        font-size: 18px;
    }

    .hero-section .hero-title-2 span {
        font-size: 28px;
        line-height: 32px;
        letter-spacing: 0;
    }

    .hero-section .hero-title-2-span-first::before {
        top: 15px;
        left: 10px;
        height: 25px;
    }

    .hero-section .hero-title-2-span-first::after {
        top: 38px;
        left: -2px;
        height: 25px;
    }

    .hero-section .hero-title-2-span-second::after {
        top: 10px;
        left: 15px;
        height: 25px;
    }

    .hero-section .hero-slider .item .hero-bg-img {
        height: 400px !important;
        object-fit: cover;
    }

    .quality-manufacturing-section .quality-desc {
        font-size: 17px;
    }
}

/* Mobile specific sizes */
@media (max-width: 575.98px) {
    .hero-section .hero-title-1 span {
        font-size: 14px;
        padding: 5px 15px;
    }

    .hero-section .hero-title-2 span {
        font-size: 22px;
        line-height: 10px;
        letter-spacing: 0;
    }

    .hero-section .hero-title-2-span-first::before {
        top: 10px;
        height: 18px;
        left: 0;
    }

    .hero-section .hero-title-2-span-first::after {
        top: 25px;
        height: 18px;
    }

    .hero-section .hero-title-2-span-second::after {
        top: 1px;
        height: 18px;
    }

    .hero-section .hero-title-2 {
        padding-left: 15px;
    }
}



/* Franchise Section */
.franchise-section {
    background-color: #e46d29;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.franchise-section .container {
    position: relative;
    z-index: 2;
}

.franchise-section .franchise-title {
    color: var(--bs-white);
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 25px;
    display: inline-block;
}

.franchise-section .franchise-title span {
    position: relative;
    z-index: 1;
}

.franchise-section .franchise-title span::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -15px;
    right: -20px;
    height: 25px;
    background-color: var(--bs-primary);
    border-radius: 50px;
    z-index: -1;
    transform: rotate(-5deg);
    opacity: 0.95;
}

.franchise-section .franchise-subtitle {
    color: var(--bs-white);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
}

.franchise-section .franchise-desc {
    color: var(--bs-white);
    font-size: 16px;
    line-height: 1.7;
    max-width: 850px;
    margin-bottom: 40px;
    font-weight: 300;
}

.btn-primary-custom {
    background-color: var(--bs-primary);
    color: var(--bs-white) !important;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary-custom:hover,
.btn-primary-custom:active,
.btn-primary-custom:focus {
    background-color: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
    outline: none;
}

@media (max-width: 767.98px) {
    .franchise-section {
        padding: 30px 0;
    }

    .franchise-section .franchise-title {
        font-size: 35px;
    }

    .franchise-section .franchise-title span::before {
        top: 13px;
        height: 25px;
    }

    .franchise-section .franchise-subtitle {
        font-size: 1.2rem;
    }

    .franchise-section .franchise-desc {
        font-size: 0.9rem;
    }
}


/* Parents' Corner Section */
.enjoy-relax-section {
    background-color: #fbf7f4;
    padding: 70px 0 30px 0;
    overflow: hidden;
}

.enjoy-relax-section .section-title {
    color: var(--bs-primary);
    font-size: 29px;
    font-weight: 400;
    line-height: 1.3;
}

.enjoy-relax-section .section-desc {
    color: #000;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
}

.enjoy-relax-section .p-img-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2px;
    background-color: var(--bs-white);
    display: block;
}

.enjoy-badge-icon {
    position: absolute;
    top: 15px;
    right: 5px;
    /* col-6 içine göre hizalıyoruz */
    width: 78px !important;
    z-index: 10;
    pointer-events: none;
}

.happy-badge-icon {
    position: absolute;
    bottom: 10px;
    left: -150px;
    width: 128px !important;
    z-index: 10;
    pointer-events: none;
}

.p-img-first,
.p-img-first img:not(.enjoy-badge-icon):not(.happy-badge-icon) {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 170px;
    border-bottom-right-radius: 170px;
}

.p-img-second,
.p-img-second img:not(.enjoy-badge-icon):not(.happy-badge-icon) {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 170px;
    border-top-right-radius: 170px;
}

.p-img-second {
    margin-top: -40px;
}

@media (max-width: 991.98px) {
    .p-img-second {
        margin-top: 0;
    }
}

.enjoy-relax-section .p-img-wrapper img:not(.enjoy-badge-icon):not(.happy-badge-icon) {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.enjoy-relax-section .p-img-wrapper:hover img:not(.enjoy-badge-icon):not(.happy-badge-icon) {
    transform: scale(1.08);
}

@media (max-width: 991.98px) {
    .enjoy-relax-section {
        padding: 60px 0;
    }

    .enjoy-relax-section .section-title {
        font-size: 25px;
    }

    .enjoy-relax-section .section-desc {
        font-size: 16px;
    }

    .enjoy-relax-section .mt-lg-5 {
        margin-top: 0 !important;
    }

    .enjoy-badge-icon {
        width: 60px !important;
        top: 5px;
        right: 0px;
    }

    .happy-badge-icon {
        left: -30px;
        width: 80px !important;
        bottom: 0;
    }
}



/* Family Corner Section */
.family-corner-section {
    background-color: #ffffff;
    overflow: hidden;
    /* Added to contain badges and AOS */
}

.family-corner-section .section-subtitle {
    display: inline-block;
    color: var(--bs-primary);
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 10px;
    position: relative;
    letter-spacing: 1px;
}

.family-corner-section .section-title {
    color: #323232;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}

.devil-badge-icon {
    position: absolute;
    top: -17px;
    left: 6px;
    width: 109px !important;
    z-index: 10;
    pointer-events: none
}

.family-card {
    border-radius: 70px;
    overflow: hidden;
    position: relative;
    height: 480px;
    transition: box-shadow 0.3s ease;
}

.family-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.family-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.2, 0, 0.2, 1);
}

.family-card:hover .family-img-wrapper img {
    transform: scale(1.1);
}

.family-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.family-content-box {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    z-index: 5;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 0 40px;
    gap: 20px;
}

.family-badge {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    color: var(--bs-white);
    font-weight: 500;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
    padding: 10px;
    flex-shrink: 0;
}

.badge-red {
    background-color: #e74725;
}

.badge-orange {
    background-color: #f4a117;
}

.family-info {
    color: var(--bs-white);
    z-index: 2;
    text-align: left;
    flex: 1;
}

.family-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767.98px) {
    .gallery-slider .item {
        height: 200px;
    }
}

@media (max-width: 991.98px) {
    .family-card {
        height: 400px;
    }

    .family-badge {
        width: 80px;
        height: 80px;
        font-size: 12px;
        padding: 8px;
    }

    .family-info {
        max-width: 100%;
    }

    .family-info p {
        font-size: 0.9rem;
    }

    .family-corner-section .section-subtitle {
        font-size: 20px;
    }

    .family-corner-section .section-title {
        font-size: 15px;
    }


}


@media (max-width: 575.98px) {
    .family-card {
        height: 350px;
        border-radius: 40px;
        /* Mobilde aşırı yuvarlaklık yerine daha standart bir radius */
    }

    .family-content-box {
        padding: 0 15px;
        gap: 12px;
        bottom: 15px;
    }

    .family-badge {
        width: 65px;
        height: 65px;
        font-size: 10px;
    }

    .family-info {
        max-width: 100%;
    }

    .family-info p {
        font-size: 12px;
    }

    .devil-badge-icon {
        width: 70px !important;
        top: -10px;
        left: 5px;
    }

    .enjoy-badge-icon {
        width: 45px !important;
        top: 10px;
        right: 0;
    }

    .happy-badge-icon {
        left: 0;
        width: 70px !important;
        bottom: 0;
    }
}


/* Locations Section */
.locations-section {
    background: linear-gradient(to right, #e26429, #f79f31);
    color: var(--bs-white) !important;
    padding: 100px 0;
    position: relative;
    z-index: 2;
    /* Ensure it stays above content that might clip it */
}

.locations-section .section-title {
    font-size: 27px !important;
    font-weight: 400 !important;
    margin-bottom: 20px;
    text-align: center;
    color: #fff !important;
}

.map-bg-icon {
    position: absolute;
    top: -96px;
    right: 0;
    width: 119px;
    pointer-events: none;
    z-index: 4;
}

@media (max-width: 767.98px) {
    .map-bg-icon {
        width: 80px;
        top: -60px;
    }
}

.locations-section .section-title span {
    position: relative;
    z-index: 1;
    padding: 2px 18px;
}

.locations-section .section-title span::before {
    content: '';
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-2deg);
    width: 110%;
    height: 20px;
    background-color: var(--bs-primary);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.9;
}

.locations-section .section-desc {
    font-size: 17px !important;
    font-weight: 300 !important;
    line-height: 1.7;
    margin: 0 auto;
    text-align: center;
    color: #fff !important;
}

.map-container {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
}

#turkey-map-wrapper {
    width: 100%;
}

@media (max-width: 991.98px) {
    .locations-section {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    .products-section .section-title {
        font-size: 24px;
    }

    .locations-section .section-title {
        font-size: 20px !important;
    }

    .locations-section .section-desc {
        font-size: 14px !important;
    }
}


#svg-turkey path {
    fill: #f7f7ed !important;
    transition: all 0.3s ease;
    stroke: #e4e2d3;
    stroke-width: 0.5;
}

/* Active Cities (has branch) */
#svg-turkey g g.is-active path {
    fill: var(--bs-primary) !important;
}

#svg-turkey g g:hover {
    cursor: pointer;
}

#svg-turkey g g:hover path {
    fill: var(--bs-secondary) !important;
}

/* Map Tooltip Styling */
.tooltip-inner {
    background-color: #ffffff !important;
    color: #444 !important;
    padding: 12px 18px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    text-align: left !important;
    font-family: var(--font-family-base, inherit);
    border: 1px solid rgba(103, 47, 34, 0.1);
    /* Using a subtle version of primary color */
}

.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
    border-top-color: #ffffff !important;
}

.map-tooltip-content h6 {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    margin-bottom: 8px;
    color: #672f22;
    font-weight: 600;
    line-height: 1.4;
}

.map-tooltip-content p {
    margin-bottom: 4px;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
}

.map-tooltip-content p:last-child {
    margin-bottom: 0;
}

.map-tooltip-content p i {
    margin-right: 8px;
    font-size: 16px;
    color: #f79f31;
}

#google-map {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Styles */
.main-footer {
    background-color: #e2c897;
    padding: 50px 0 0;
    color: #070100;
}

.footer-info-col {
    padding-right: 80px;
    border-right: 1px solid #635332;
}

.footer-links-col {
    padding: 20px 0 20px 80px;
}

@media (max-width: 991.98px) {
    .footer-info-col {
        padding-right: calc(var(--bs-gutter-x) * .5);
        border-right: none;
        margin-bottom: 10px !important;
    }

    .footer-links-col {
        padding-left: calc(var(--bs-gutter-x) * .5);
        padding-right: calc(var(--bs-gutter-x) * .5);

    }
}

.footer-contact-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #261800;
}

.footer-contact-item i {
    font-size: 24px;
    margin-right: 15px;
    color: #070100;
}

.footer-contact-item span {
    font-size: 13px;
    font-weight: 400;
}

.footer-social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 1px solid #261800;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #070100;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.social-icon:hover {
    background-color: #261800;
    color: #e2c897;
}

.footer-widget-title {
    color: #030000;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links li a {
    color: #070100;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    padding-left: 5px;
    font-weight: 400;
}

.footer-logos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.footer-logos img {
    max-width: 150px;
    height: auto;
}

.footer-bottom {
    margin-top: 25px;
    padding: 10px 0;
    border-top: 1px solid #a68f65;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.footer-bottom-links li a {
    color: #070100;
    font-size: 12px;
    font-weight: 300;
    text-decoration: none;
}

.footer-copyright p {
    color: #4b3e2a;
    font-size: 11px;
    font-weight: 300;
    margin: 0;
}

@media (max-width: 991.98px) {
    .main-footer {
        padding-top: 50px;
    }

    .footer-widget-title {
        margin-top: 30px;
        margin-bottom: 15px;
    }
}


/* Gallery Section Styles */
.gallery-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    line-height: 0;
}

.gallery-slider .owl-item {
    padding: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.instagram-btn {
    pointer-events: auto;
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.instagram-btn:hover {
    transform: scale(1.1);
    color: #E1306C;
    background: #ffffff;
}

@media (max-width: 767.98px) {
    .instagram-btn {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .gallery-item img {
        height: 250px;
    }

    .footer-bottom {
        margin-top: 0;
    }
}

/* --- Responsive Adjustments --- */

@media screen and (min-width:1200px) and (max-width:1399.98px) {
    /* Laptop Ekran Revizeleri (1366x768 vb.) */

    .nav-list {
        gap: 30px;
    }

    .nav-anchor {
        font-size: 13px;
    }

    .submenu-anchor {
        font-size: 12px;
    }

    .nav-list-item:first-child {
        display: none;
    }

    .hero-section .hero-title-1 span {
        font-size: 25px;
    }

    .hero-section .hero-title-2 span {
        font-size: 45px;
        line-height: 60px;
    }

    .quality-manufacturing-section .quality-desc {
        font-size: 15px;
    }

    .quality-manufacturing-section .feature-desc {
        font-size: 11px;
    }

}