body {
    background-color: #f8f9fa; /* Lighter gray background */
    margin: 0;
    padding: 0;
    color: #343a40; /* Default text color */
    line-height: 1.6; /* Default line height */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
nav.navbar {
    width: 100%;
    background-color: #0046a0;
    color: white;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

.logo{
    cursor: pointer;
        text-decoration: none;
    color: white;
    display: flex;
    gap: 20px;
}
    
    .logo-text{
        color: white;
        font-weight: 600;
    }
  .logo img {
    height: 50px;
  }

  .main-menu {
    display: flex;
    gap: 20px;
    list-style: none;
  }

  .main-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    display: block;
    border-radius: 4px;
    transition: background 0.3s;
  }

  .main-menu .active-li a {
    background-color: #ff7300;
  }

  .main-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }

  .mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
  }

  .mobile-navbar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }
  .search-box,
  .whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 10px;
    border-radius: 7px;
    width: 100%;
    max-width: 300px;
    height: 45px;
  }

  .search-box {
    background: white;
  }

  .search-input {
    border: none;
    outline: none;
    padding: 6px;
    flex: 1;
    font-family: 'Montserrat', sans-serif;
  }

  .search-btn {
    background: none;
    border: none;
    color: #555;
    font-size: 16px;
    cursor: pointer;
  }

  .whatsapp-btn {
    background-color: #25d366;
    color: white;
    font-weight: 600;
    text-decoration: none;
    gap: 8px;
  }

  .whatsapp-btn:hover {
    background-color: #1ebe5d;
  }

  @media (max-width: 1000px) {
      .category-nav {
    overflow-x: auto;
    overflow-y: hidden;
}
.mobile-navbar-content{
    flex-direction: column;
}
    .main-menu {
      flex-direction: column;
      width: 100%;
      background-color: #0046a0;
      padding: 10px 0;
      display: none;
      gap: 0;
    }

    .main-menu.mobile-menu-open {
      display: flex;
    }

    .main-menu li {
      width: 100%;
    }

    .main-menu li a {
      padding: 10px 5px;
    }
  }
  
  
  @media screen and (min-width:1000px){
    .mobile-menu-btn{
        display: none;
    }
    .mobile-navbar-content{
        width: 600px;
    }
    .main-menu{
        width: 600px;
        align-items: center;
        justify-content: space-between;
    }
    .nav-container{
        justify-content: space-around;
        gap: 50px;
        flex-direction:row;
    }
    .nav-container{
        max-width: 1500px;
    }
}

/* NAVBAR SONU*/


/* General Page Container */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative; /* Keep for potential absolute elements */
}

/* Category Navigation */
.category-nav-wrapper {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04); /* Very subtle shadow */
    border-radius: 8px;
    margin-top: 25px; /* Space from navbar */
    margin-bottom: 30px; /* Space below */
}

.category-nav {
    padding: 15px 20px; /* Vertical padding */
    display: flex;
    justify-content: space-around; /* Distribute space */
    align-items: center;
    gap: 15px; /* Adjusted gap */
    height: auto; /* Auto height */
}

/* Category Item */
.category-item {
    position: relative; /* Keep relative for popup positioning */
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease;
    flex: 0 1 auto; /* Don't grow, allow shrinking */
    padding: 5px; /* Add some padding */
    z-index: 10; /* Default z-index */
    /* min-width: 80px; /* Removed min-width */
}
.category-item:hover {
    transform: translateY(-3px); /* Lift effect */
    z-index: 1020; /* Increase z-index on hover to bring popup forward */
}

.category-icon {
    width: 50px; /* Larger icon */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px; /* Rounded square */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; /* Added transform */
    padding: 10px; /* Icon padding */
    background-color: #e9ecef; /* Lighter gray background */
    margin-bottom: 8px; /* Space below icon */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.category-icon img {
    width: 100%; /* Fill padding */
    height: 100%;
    object-fit: contain;
    filter: grayscale(50%) opacity(0.8); /* Less intense filter */
    transition: filter 0.3s ease;
}

/* Category Item Hover Effects */
.category-item:hover .category-icon {
    background-color: #FF6B00; /* Accent color */
    box-shadow: 0 5px 12px rgba(255, 107, 0, 0.3); /* Accent shadow */
    transform: scale(1.1); /* Scale effect */
}

.category-item:hover .category-icon img {
    filter: brightness(0) invert(1); /* White icon */
}

/* Category Item Text (Optional) */
.category-item span {
    font-size: 12px;
    color: #495057;
    font-weight: 500;
    margin-top: 5px; /* Space if text is added */
    display: none; /* Hide text by default */
}
.category-item:hover span {
    color: #0056b3;
}


/* Subcategory Popup */
.subcategory-popup {
    position: absolute;
    top: calc(100% + 10px); /* Reduced gap */
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.95); /* Start lower and smaller */
    min-width: 250px; /* Minimum width */
    max-width: 350px; /* Maximum width */
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* Enhanced shadow */
    z-index: 1010; /* Above navbar */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease; /* Smoother transition */
    border-radius: 8px; /* More rounded */
    margin-top: 0;
    transform-origin: top center;
    border: 1px solid #e0e0e0; /* Slightly darker border */
    padding-bottom: 5px; /* Padding at the bottom */
}

/* Popup Header */
.popup-header {
    padding: 12px 20px; /* Increased padding */
    border-bottom: 1px solid #e9ecef;
    font-weight: 700; /* Bolder */
    color: #003E90; /* Primary color */
    text-transform: uppercase;
    font-size: 13px; /* Slightly larger */
    letter-spacing: 0.5px;
    text-align: center; /* Center align */
    background-color: #f1f3f5; /* Slightly darker background */
    border-top-left-radius: 8px; /* Match popup radius */
    border-top-right-radius: 8px;
}

/* Subcategory Grid */
.subcategory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 0; /* Vertical padding */
    max-height: 300px; /* Limit height */
    overflow-y: auto; /* Add scroll if needed */
}

/* Subcategory Item */
.subcategory-item {
    padding: 10px 20px; /* More horizontal padding */
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    color: #495057; /* Standard text color */
    display: block;
    font-size: 14px;
    border-bottom: none; /* Remove bottom border */
    text-align: left; /* Align text left */
}
.subcategory-item:last-child {
    border-bottom: none;
}

.subcategory-item:hover {
    background: #e9ecef; /* Light gray hover */
    color: #0056b3; /* Blue text on hover */
}


/* Popup Visibility on Hover */
.category-item:hover .subcategory-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1); /* Move up and scale to full size */
}

/* #region Banner Slider Styles */
.banner-slider {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto; /* Consistent margin */
    position: relative;
    z-index: 1;
    /* margin-top: 150px; /* Removed fixed margin-top */
}
.bannerSwiper {
    width: 100%;
    height: 650px; /* Further increased height */
    border-radius: 15px; /* More rounded */
    overflow: hidden;
    margin-bottom: 40px; /* Increased margin */
}
.swiper-slide {
    width: 100%;
    height: 100%;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the slide */
}
/* Pagination stilleri */
.swiper-pagination {
    position: relative !important; /* Allow positioning below slider */
    bottom: auto !important; /* Reset bottom */
    margin-top: 15px !important; /* Space between slider and pagination */
}
.swiper-pagination-bullet {
    width: 10px; /* Slightly smaller */
    height: 10px;
    background: #003E90;
    opacity: 0.4; /* More visible inactive state */
    margin: 0 5px !important;
    transition: all 0.3s ease;
    border-radius: 50%; /* Make bullets circular */
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: #FF6B00; /* Use accent color for active */
    width: 25px; /* Active bullet width */
    border-radius: 5px; /* Rounded rectangle for active */
}
/* Navigasyon butonları */
.swiper-button-next,
.swiper-button-prev {
    width: 45px; /* Slightly smaller */
    height: 45px;
    background: rgba(0, 62, 144, 0.7); /* Use primary color with transparency */
    border-radius: 50%;
    color: #ffffff; /* White arrows */
    transition: all 0.3s ease;
    z-index: 10; /* Ensure buttons are above slides */
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px; /* Smaller arrow icons */
    font-weight: bold;
}
.swiper-button-next {
    right: 15px; /* Closer to edge */
}
.swiper-button-prev {
    left: 15px; /* Closer to edge */
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #003E90; /* Solid color on hover */
    transform: scale(1.1);
}
/* #endregion */
/* #region Popüler Ürünler Alanı */
.populer-urunler-container {
    max-width: 1200px;
    margin: 60px auto; /* Consistent section margin */
    padding: 0 20px;
}

.populer-baslik, .section-title h2 { /* Combine common title styles */
    font-size: 28px; /* Adjusted size */
    color: #222; /* Darker color */
    margin-bottom: 40px; /* Space below title */
    font-weight: 600; /* Slightly lighter weight */
    position: relative;
    text-align: center;
    padding-bottom: 15px; /* Space for underline */
}

.populer-baslik::after, .section-title h2:after { /* Combine common underline styles */
    content: '';
    width: 70px; /* Slightly shorter */
    height: 3px; /* Thinner */
    background-color: #FF6B00; /* Accent color */
    position: absolute; /* Position relative to text */
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Popüler Ürünler - Redesigned */
.urunler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); /* Wider min size */
    gap: 30px; /* Increased gap */
}

.urun-kart {
    background: #ffffff;
    border-radius: 12px; /* More rounded */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Enhanced shadow */
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none; /* Remove border */
    position: relative; /* For potential absolute elements */
    height: 380px; /* Increased height */
    justify-content: space-between; /* Push content apart */
}

.urun-kart:hover {
    transform: translateY(-6px); /* Lift more */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12); /* Stronger shadow */
}

.urun-resim-container {
    height: 280px; /* Further increased image height */
    padding: 20px; /* More padding */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f8f9fa; /* Light background for image area */
    border-bottom: 1px solid #eee; /* Separator */
}

.urun-resim {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease; /* Slower transform */
}

.urun-kart:hover .urun-resim {
    transform: scale(1.1); /* Larger scale effect */
}

.urun-etiket {
    background-color: #ffffff; /* White background */
    color: #343a40; /* Dark text */
    font-size: 15px; /* Slightly smaller font */
    font-weight: 500; /* Less bold */
    padding: 15px; /* Reduced padding */
    text-align: center;
    flex-shrink: 0; /* Prevent shrinking */
    min-height: 60px; /* Ensure minimum height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
    border-top: none; /* Remove top border */
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.3; /* Adjust line height */
}

.urun-kart:hover .urun-etiket {
    background-color: #FF6B00; /* Accent color on hover */
    color: #ffffff; /* White text on hover */
}
/* #endregion */

/* #region Markalar Bölümü */
.brands-section {
    max-width: 1200px;
    margin: 60px auto; /* Consistent section margin */
    padding: 40px 20px;
    /* margin-top: 300px; /* Removed fixed margin */
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* More columns, smaller min size */
    gap: 20px; /* Reduced gap */
}

.brand-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5; /* Add border */
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    /* height: 340px; /* Removed fixed height */
    /* width: 570px; /* Removed fixed width */
    /* margin: 0 auto; /* Removed auto margin */
}

.brand-card a {
    text-decoration: none;
}

.brand-image {
    width: 100%;
    height: 120px; /* Fixed height for image container */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px; /* Space below image */
}

.brand-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Use contain for logos */
    filter: grayscale(100%) opacity(0.7); /* Grayscale and slightly transparent */
    transition: all 0.3s ease;
    border-radius: 4px; /* Slight rounding if needed */
}

.brand-card:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Add shadow on hover */
    border-color: #ccc; /* Darker border on hover */
}

.brand-card:hover .brand-image img {
    filter: grayscale(0%) opacity(1); /* Full color and opacity on hover */
    transform: scale(1.03); /* Slight scale */
}

.brand-title { /* Optional: Add brand title below image */
    font-size: 14px;
    color: #555;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
    display: none; /* Hide by default, show if needed */
}

.show-more {
    text-align: center;
    margin-top: 40px;
}

.show-more-btn {
    display: inline-block;
    padding: 12px 35px; /* Adjusted padding */
    background: #003E90;
    color: white;
    text-decoration: none;
    border-radius: 8px; /* Less rounded */
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,62,144,0.2); /* Softer shadow */
}

.show-more-btn:hover {
    background: #002d6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,62,144,0.3); /* Enhanced shadow */
}
/* #endregion */
/* #region Featured Catalogs Section */
.featured-catalogs-section {
    max-width: 1200px;
    margin: 70px auto; /* Consistent section margin */
    padding: 50px 20px; /* Section padding */
    background-color: #e9ecef; /* Light background for contrast */
    border-radius: 8px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 30px; /* Gap between cards */
    margin-bottom: 40px; /* Space before show more button */
}

.catalog-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Use flex for structure */
    flex-direction: column;
}

.catalog-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%; /* Make link fill the card */
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.catalog-image {
    height: 200px; /* Fixed height for image */
    overflow: hidden;
    background-color: #f8f9fa; /* Placeholder bg */
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area */
    transition: transform 0.4s ease;
}

.catalog-card:hover .catalog-image img {
    transform: scale(1.05); /* Zoom effect on hover */
}

.catalog-info {
    padding: 20px;
    flex-grow: 1; /* Allow info to fill space */
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e9ecef; /* Separator */
}

.catalog-title {
    font-size: 18px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 10px;
    line-height: 1.3;
}

.catalog-description {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
    flex-grow: 1; /* Push date to bottom */
    line-height: 1.5;
}

.catalog-date {
    font-size: 12px;
    color: #adb5bd;
    margin-top: auto; /* Push to bottom */
    text-align: right;
}
/* #endregion */
/* #region Tab Sistemi Stilleri */
.tab-section {
    max-width: 1200px;
    margin: 60px auto; /* Consistent section margin */
    padding: 0 20px;
    /* margin-top: 300px; /* Removed fixed margin */
    /* margin-bottom: 300px; /* Removed fixed margin */
}

.tab-container {
    background: white;
    border-radius: 12px; /* More rounded */
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Slightly stronger shadow */
    border: 1px solid #e9ecef; /* Light border */
}

.tab-buttons {
    overflow-x: auto;
    overflow-y: hidden ;
    display: flex;
    justify-content: stretch; /* Stretch buttons to fill space */
    gap: 0; /* Remove gap, use borders */
    margin-bottom: 30px;
    border: 1px solid #dee2e6; /* Border around buttons */
    border-radius: 8px;
}

.tab-btn {
    flex: 1;
    display: flex;
    /* flex-direction: column; /* Side-by-side icon and text */
    align-items: center;
    justify-content: center; /* Center content */
    gap: 8px;
    padding: 15px 10px; /* Adjusted padding */
    background: white;
    border: none; /* Remove individual borders */
    border-right: 1px solid #dee2e6; /* Right border as separator */
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center; /* Center text if flex-direction is column */
}
.tab-btn:last-child {
    border-right: none; /* No border for last button */
}

.tab-btn i {
    font-size: 18px; /* Smaller icon */
    color: #003E90; /* Primary color */
    transition: color 0.3s ease;
}

.tab-btn span {
    font-size: 14px; /* Standard size */
    font-weight: 500; /* Normal weight */
    color: #333;
    transition: color 0.3s ease;
}

.tab-btn:hover {
    background: #f8f9fa; /* Light hover background */
}

.tab-btn.active {
    background: #003E90; /* Primary color background */
    border-color: #003E90;
}

.tab-btn.active i,
.tab-btn.active span {
    color: white; /* White text/icon on active */
}

.tab-content {
    background: #fff;
    padding: 0; /* Remove padding, add to panes */
    border-radius: 0; /* Remove rounding */
    border: none; /* Remove border */
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease; /* Add fade-in animation */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-pane.active {
    display: block;
}

/* Her tab için özel içerik stilleri */
.info-list {
    display: grid;
    gap: 15px; /* Reduced gap */
}

.info-item {
    padding: 18px; /* Increased padding */
    background: #f8f9fa; /* Light background */
    border-radius: 8px;
    border-left: 4px solid #FF6B00; /* Accent color border */
    transition: background-color 0.3s ease;
}
.info-item:hover {
    background-color: #f1f3f5; /* Slightly darker on hover */
}

.info-title {
    font-weight: 600;
    color: #003E90; /* Primary color for title */
    margin-bottom: 8px;
    font-size: 15px; /* Standard title size */
}

.info-text {
    color: #555; /* Slightly lighter text */
    font-size: 14px;
    line-height: 1.6; /* Improved line spacing */
}

/* Search form için stil (in navbar) */
.search-form {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
/* #endregion */

@media screen and (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        text-align: center; /* Center text */
    }
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%); /* Center underline */
    }
    .social-icons {
        margin-top: 15px;
    }
    .social-icons a {
        margin: 0 10px; /* Adjust spacing */
    }
}

/* #region Footer Styles */
.footer {
    background-color: #002d6b; /* Darker blue */
    color: #e0e0e0; /* Lighter text */
    padding: 50px 0 30px;
    margin-top: 60px; /* Space above footer */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #FF6B00; /* Accent color */
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.social-icons a {
    color: #e0e0e0;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #FF6B00; /* Accent color on hover */
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #bdbdbd; /* Dimmer text */
}
/* #endregion */
