/*
 * MC İletişim - Premium Theme Stylesheet
 * Created: June 2026
 */

:root {
    --primary: #121212;      /* Anthracite Black */
    --primary-light: #1e1e1e;/* Anthracite Gray/Card Bg */
    --secondary: #f97316;    /* Neon Orange */
    --accent: #e11d48;       /* Crimson Rose */
    --text-dark: #0f172a;
    --text-light: #f8fafc;
    --text-gray: #64748b;
}

.bricolage-grotesque-premium {
    font-family: "Bricolage Grotesque", sans-serif;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: -0.03em;
}

.bricolage-grotesque-medium {
    font-family: "Bricolage Grotesque", sans-serif;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: -0.01em;
}

.bricolage-grotesque-regular {
    font-family: "Bricolage Grotesque", sans-serif;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: #f8fafc;
}

@media (min-width: 992px) {
    .container, .container-fluid {
        max-width: 100% !important;
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
}


h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Category Header Items */
.category-header-item {
    transition: all 0.25s ease;
}
.category-header-item:hover {
    background: rgba(234, 88, 12, 0.08) !important;
    border-color: rgba(234, 88, 12, 0.25) !important;
}
.category-header-item:hover .category-header-img-wrapper {
    transform: scale(1.06);
    border-color: #ea580c !important; /* Premium orange border */
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.15) !important;
}
.category-header-item:hover span {
    color: #ea580c !important;
}

/* Topbar Styling */
.topbar-custom {
    background-color: #09090b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.6rem 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}
.topbar-text-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.topbar-text-item i {
    color: var(--secondary);
    font-size: 0.88rem;
}
.topbar-social-link {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}
.topbar-social-link:hover {
    color: var(--secondary);
    transform: translateY(-1px);
}

/* Navbar Styling */
.navbar-custom {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--primary) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 0.85rem 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1030;
}

/* Scrolled Navbar Style */
.navbar-custom.scrolled {
    position: fixed;
    background: rgba(18, 18, 18, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 94, 20, 0.05);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 94, 20, 0.1);
}

.navbar-brand img {
    max-height: 42px;
    width: auto;
    transition: all 0.3s ease;
}
.navbar-custom.scrolled .navbar-brand img {
    max-height: 38px;
}

.navbar-brand span {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}
.navbar-brand span strong {
    color: var(--secondary);
}

/* Categories Dropdown Toggler */
.btn-categories-toggler {
    background: transparent !important;
    border: 1px solid rgba(255, 94, 20, 0.3) !important;
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.55rem 1.2rem !important;
    border-radius: 10px !important;
    transition: all 0.25s ease;
    box-shadow: none !important;
}
.btn-categories-toggler::after {
    display: none !important;
}
.btn-categories-toggler:hover, .btn-categories-toggler:focus {
    background: rgba(249, 115, 22, 0.1) !important;
    border-color: var(--secondary) !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.25) !important;
}

/* Category Links */
.nav-link-cat {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.nav-link-cat:hover {
    color: var(--secondary) !important;
    background: rgba(255, 255, 255, 0.02);
}

/* Mega Dropdown Core Styles */
.nav-item-static {
    position: static !important;
}
.mega-dropdown-menu {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    border: 1px solid rgba(255, 94, 20, 0.15) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 94, 20, 0.08) !important;
    background: rgba(24, 24, 27, 0.98) !important;
    backdrop-filter: blur(25px) !important;
    border-radius: 0 0 20px 20px !important;
    padding: 2.2rem 0 !important;
    margin-top: 0.82rem !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: block !important;
}
.dropdown:hover .mega-dropdown-menu,
.nav-item-static:hover .mega-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Standard Dropdown Animations */
.dropdown-menu-dark {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: block !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.dropdown:hover .dropdown-menu-dark {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Column lists in Mega Menu */
.mega-column-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 94, 20, 0.15);
    padding-bottom: 0.6rem;
}
.mega-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.mega-link-item a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}
.mega-link-item a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

/* Mega Menu features */
.mega-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.6rem;
    border-radius: 12px;
    transition: all 0.2s;
}
.mega-feature-item:hover {
    background: rgba(255, 94, 20, 0.06);
}
.mega-feature-icon {
    background: rgba(255, 94, 20, 0.08);
    border: 1px solid rgba(255, 94, 20, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1rem;
    flex-shrink: 0;
}
.mega-feature-content h6 {
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0 0 2px 0;
    color: #ffffff;
}
.mega-feature-content p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Search Input */
.search-input-custom {
    background: #1c1c1e !important;
    border: 1px solid rgba(255, 94, 20, 0.25) !important;
    color: #ffffff !important;
    font-size: 0.85rem;
    border-radius: 50px !important;
    padding: 0.55rem 1rem 0.55rem 1.3rem !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.search-input-custom::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.search-input-custom:focus {
    background: #2c2c2e !important;
    border-color: var(--secondary) !important;
    box-shadow: 0 0 18px rgba(255, 94, 20, 0.35) !important;
}

/* Mega Menu Promo Card Styling */
.mega-promo-card {
    min-height: 240px;
    border: 1px solid rgba(255, 94, 20, 0.15) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}
.mega-promo-card:hover {
    border-color: var(--secondary) !important;
    box-shadow: 0 12px 30px rgba(255, 94, 20, 0.2);
    transform: translateY(-2px);
}

/* Action Buttons & Cart */
.header-action-text-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    padding: 0.45rem 0.75rem;
    text-decoration: none;
}
.header-action-text-link:hover {
    color: var(--secondary) !important;
}

.header-action-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    transition: all 0.2s ease;
    text-decoration: none;
    padding: 0.35rem;
}
.header-action-icon-link:hover {
    color: var(--secondary) !important;
    transform: translateY(-2px);
}

.header-cart-btn {
    border: 1px solid rgba(255, 94, 20, 0.25);
    background: rgba(255, 94, 20, 0.03);
    border-radius: 12px;
    padding: 7px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 94, 20, 0.05);
}
.header-cart-btn:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(255, 94, 20, 0.3);
    background: rgba(255, 94, 20, 0.1);
    transform: translateY(-1px);
}

/* Breadcrumbs Premium Glassmorphic Styles */
.breadcrumb-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 14px;
    border-radius: 30px;
    box-shadow: none;
    transition: all 0.3s ease;
}
.breadcrumb-container:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}
.breadcrumb-glassmorphic {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}
 .breadcrumb-pill {
    font-size: 0.72rem;
    font-weight: 600;
}
.breadcrumb-pill a {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid transparent;
}
.breadcrumb-pill a:hover {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}
.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.6rem;
    display: flex;
    align-items: center;
}
.breadcrumb-pill.active-pill {
    color: #000000;
}
.breadcrumb-pill.active-pill span {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #ff8c3a;
    font-weight: 700;
}

/* Mobile Collapsible Nav Styling */
@media (max-width: 991.98px) {
    #navbarNav {
        position: absolute;
        top: 100%;
        left: 10px;
        right: 10px;
        z-index: 1050;
    }
    .nav-link-mobile {
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.2s ease;
    }
    .nav-link-mobile:hover, .nav-link-mobile.active-mobile {
        background: rgba(249, 115, 22, 0.12) !important;
        color: var(--secondary) !important;
    }
    .nav-link-mobile-sub {
        font-size: 0.88rem;
        transition: all 0.2s ease;
    }
    .nav-link-mobile-sub:hover {
        background: rgba(255, 255, 255, 0.05) !important;
        color: #ffffff !important;
    }
    .mobile-menu-toggle-btn i {
        transition: transform 0.2s ease;
    }
    .mobile-menu-toggle-btn[aria-expanded="true"] i {
        transform: rotate(180deg);
    }
}

/* Common Page Header - Extremely Minimalist & Sleek */
.page-header {
    background: #121212;
    color: white;
    padding: 26px 0;
    text-align: left;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    letter-spacing: -0.5px;
    font-weight: 700;
    font-size: 1.65rem !important;
}

/* Global Premium Actions Buttons */
.btn-whatsapp-siparis {
    background: linear-gradient(95deg, #25D366 0%, #20ba5a 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 0.82rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15) !important;
    border-radius: 5px !important;
    transition: all 0.25s ease;
}
.btn-whatsapp-siparis:hover {
    background: linear-gradient(95deg, #20ba5a 0%, #1ca34e 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3) !important;
}
.btn-cart-icon {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.05) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    border-radius: 5px !important;
}
.btn-cart-icon:hover {
    border-color: #f97316 !important;
    color: #ffffff !important;
    background: #f97316 !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3) !important;
}

/* Premium Minimalist Drawer Styles */
#cartDrawer {
    background: #ffffff;
    border-left: 1px solid #e2e8f0;
    box-shadow: -10px 0 40px rgba(15, 23, 42, 0.04);
    z-index: 99999 !important;
}
.offcanvas-backdrop {
    z-index: 99998 !important;
}
.drawer-item {
    transition: all 0.2s ease;
}
.drawer-item:hover {
    background: #fafafa;
}
#drawerWaBtn:hover {
    background: #1eb954 !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
}

/* Swiper Popup Modal Styles */
.custom-popup-modal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
    max-width: 500px;
    margin: 0 auto;
}
.custom-popup-modal .swiper {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.custom-popup-modal .swiper-slide {
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.custom-popup-modal .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: cover;
}
.custom-popup-modal .popup-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: #fff;
    text-align: center;
    pointer-events: none;
}
.custom-popup-modal .popup-overlay-content h4 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.custom-popup-modal .popup-overlay-content p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.custom-popup-modal .popup-overlay-content .btn {
    pointer-events: auto;
}
.custom-popup-modal .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    color: #000;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.2s;
}
.custom-popup-modal .close-btn:hover {
    background: #fff;
    transform: scale(1.1);
}
.custom-popup-modal .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}
.custom-popup-modal .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary);
}
.custom-popup-modal .swiper-button-next, .custom-popup-modal .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}
.custom-popup-modal .swiper-button-next:after, .custom-popup-modal .swiper-button-prev:after {
    font-size: 1.2rem;
}
.custom-popup-modal .popupThumbsSwiper {
    margin-top: 10px;
    box-sizing: border-box;
    padding: 5px 0;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.custom-popup-modal .popupThumbsSwiper .swiper-slide {
    width: 25%;
    height: 60px;
    opacity: 0.4;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.2s;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}
.custom-popup-modal .popupThumbsSwiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--primary);
}
.custom-popup-modal .popupThumbsSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 65px !important;
    }
}

/* Home Page Styles */
.campaign-img-wrapper {
    height: 165px;
    min-height: 165px;
    max-height: 165px;
    transition: all 0.3s ease;
}
.campaign-img {
    height: 140px !important;
    transition: transform 0.3s, height 0.3s !important;
}

@media (min-width: 992px) {
    .campaign-column-custom {
        margin-top: 0px !important;
    }
    #campaignCarousel, 
    #campaignCarousel .carousel-inner, 
    #campaignCarousel .carousel-item, 
    #campaignCarousel .card {
        height: 100% !important;
        min-height: 100% !important;
        max-height: none !important;
    }
}

@media (min-width: 1200px) {
    .campaign-img-wrapper {
        height: 195px !important;
        min-height: 195px !important;
        max-height: 195px !important;
    }
    .campaign-img {
        height: 170px !important;
    }
}
@media (min-width: 1400px) {
    .campaign-img-wrapper {
        height: 225px !important;
        min-height: 225px !important;
        max-height: 225px !important;
    }
    .campaign-img {
        height: 195px !important;
    }
}

/* Project-wide Placeholder Opacity Adjustment */
::placeholder,
::-webkit-input-placeholder,
::-moz-placeholder,
:-ms-input-placeholder,
:-moz-placeholder {
    opacity: 0.35 !important;
}
