/* Modern Design System for Denizli Cicek Siparişi */

:root {
    --primary-color: #e20177;
    --secondary-color: #2ecc71;
    --text-color: #333333;
    --light-text: #666666;
    --border-color: #eeeeee;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --header-height: 80px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Header Styles */
.header-area {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1000;
}

.navigation-top {
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    font-size: 13px;
    background: #ffffff;
}

.navigation-top-search-area {
    padding: 20px 0;
}

.logo {
    width: auto !important;
    max-width: 100%;
}

.logo img {
    max-height: 70px;
    /* Increased slightly */
    width: auto !important;
}

/* Search Bar */
.search-bar {
    position: relative;
}

.search-bar input {
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 10px 20px;
    padding-right: 50px;
    transition: border-color 0.3s ease;
}

.search-bar input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-bar button:hover {
    background: #c20063;
}

/* Header Icons */
.header-cart-icon a,
.customer-support-text .icon {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
}

.header-cart-icon img,
.customer-support-text img {
    width: 30px;
    margin-right: 10px;
}

.customer-support-text {
    display: flex;
    align-items: center;
}

.customer-support-text .text span {
    display: block;
    font-size: 12px;
    color: var(--light-text);
}

.customer-support-text .text p {
    margin: 0;
    font-weight: 700;
    font-size: 16px;
}

/* Navigation Menu */
.header-sticky {
    background: var(--white);
    border-top: 1px solid var(--border-color);
}

.header-sticky.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
    z-index: 9999;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.navigation-menu-area ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}

.navigation-menu-area ul li {
    position: relative;
    padding: 15px 20px;
}

.navigation-menu-area ul li a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.navigation-menu-area ul li a img {
    height: 20px;
}

.navigation-menu-area ul li:hover>a {
    color: var(--primary-color);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    padding: 30px;
    border-top: 3px solid var(--primary-color);
}

.menu-item-has-children:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Menu */
@media (max-width: 991px) {
    .navigation-menu-area {
        display: none;
    }

    .mobile-menu-wrapper {
        display: block;
    }
}

/* Banner Styles */
.single-split-banner {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.single-split-banner img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.single-split-banner:hover img {
    transform: scale(1.1);
}

.single-split-banner__image__content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
}

/* Product Card Styles */
.single-slider-product {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border: 1px solid transparent;
}

.single-slider-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--border-color);
}

.single-slider-product__image {
    position: relative;
    overflow: hidden;
}

.single-slider-product__image img {
    width: 100%;
    transition: transform 0.5s ease;
}

.single-slider-product:hover .single-slider-product__image img {
    transform: scale(1.05);
}

.single-slider-product__content {
    padding: 15px;
    text-align: center;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    margin: 10px 0;
    min-height: 44px;
    line-height: 1.4;
}

.product-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--primary-color);
}

.price {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.old-price {
    font-size: 14px;
    color: var(--light-text);
    text-decoration: line-through;
    font-weight: 400;
}

.p-ayni-gun-kargo {
    background: rgba(46, 204, 113, 0.1);
    color: var(--secondary-color);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

/* Footer Styles */
.footer-area {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 70px 0 20px;
    margin-top: 50px;
}

.footer-widget-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    display: block;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer-social-icons a:hover {
    color: var(--primary-color);
}

/* Footer Modernization */
.footer.layout1 {
    background-color: #1a1a1a;
    color: #aeaeae;
    padding-top: 60px;
    padding-bottom: 30px;
    font-size: 14px;
}

.footer.layout1 .widgettitle {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer.layout1 .widgettitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer.layout1 .widget-custom-menu ul li {
    margin-bottom: 10px;
}

.footer.layout1 .widget-custom-menu ul li a {
    color: #aeaeae;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer.layout1 .widget-custom-menu ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer.layout1 .list-socials {
    display: flex;
    gap: 15px;
    padding: 0;
    list-style: none;
}

.footer.layout1 .list-socials li a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.footer.layout1 .list-socials li a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer.layout1 .newsletter-form {
    margin-bottom: 30px;
}

.footer.layout1 .newsletter-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    width: 100%;
}

.footer.layout1 .newsletter-form .submit {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.footer.layout1 .newsletter-form .submit:hover {
    background: #c00062;
}

.Footer-Word .FW-Title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.Footer-Word .FW-List li {
    display: inline-block;
    margin-right: 10px;
}

.Footer-Word .FW-List li a {
    color: #777;
    font-size: 12px;
}

.footer-note {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    margin-top: 40px;
}

.copyright-text {
    text-align: center;
}

/* Utility Classes */
.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.pt-20 {
    padding-top: 20px;
}

@media (max-width: 767px) {
    .text-xs-center {
        text-align: center !important;
    }

    .footer.layout1 .widgettitle {
        text-align: center;
    }

    .footer.layout1 .widgettitle:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer.layout1 .list-socials {
        justify-content: center;
    }
}

/* Modern Popup Styles */
.modern-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.modern-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modern-popup-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.8) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.modern-popup-overlay.active .modern-popup-content {
    transform: scale(1) translateY(0);
}

.popup-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    display: block;
}

.popup-body {
    padding: 25px;
    text-align: center;
}

.popup-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.popup-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-close-popup {
    background: #e20177;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-close-popup:hover {
    background: #c00060;
}

.btn-dont-show {
    background: transparent;
    border: none;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.btn-dont-show:hover {
    color: #666;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 30px;
    cursor: pointer;
    z-index: 10;
    color: #333;
    transition: all 0.2s;
}

.close-popup:hover {
    background: #fff;
    transform: rotate(90deg);
}