* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #fff;
    --text-color: #221314;
    --second-color: #5a7184;
    --main-color: #6e54fa;    
    --carttab-color: #c4b9fe;
    --buy-btn-color: #000000;
    --big-font: 6rem;
    --h2-font: 3rem;
    --h3-font: 2.5rem;
    --h4-font: 2rem;
    --p-font:
    --header-height: 85px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: transform .5s;
}

body.showCart .cartTab {
    inset: 0 0 0 auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    padding: .5% 10%;                 /* önceki padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-color);     /* artık opak */
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    z-index: 1000;
}

.logo {
    font-size: 35px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--bg-color);
}

.navbar {
    display: flex;
}

.navbar a {
    color: var(--text-color);
    font-size: var(--p-font);
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 4px;
    transition: ease .40s;
}

.navbar a:hover {
    background: var(--bg-color);
    color: var(--text-color);
    box-shadow: 5px 10px 30px rgb(85 85 85 / 20%);
    border-radius: 4px;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s;
    z-index: 9998; 
}

body.showCart .overlay{
    opacity:1;
    visibility:visible;
}

body.showCart{
    overflow:hidden;
}

header .icon-cart {
    position: relative;
    align-items: center;
    margin-left: 20px;
}

header .icon-cart span {
    position: absolute;
    display: flex;
    width: 30px;
    height: 30px;
    background-color: var(--main-color);
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 50%;
    right: -20px;
}

.cartTab {
    position: fixed;
    width: 400px;
    background-color: var(--carttab-color);
    color: #eee;
    inset: 0 -400px 0 auto;
    display: grid;
    grid-template-rows: 70px 1fr 70px;
    transition: .5s;
    z-index: 10000;
}

.cartTab h1 {
    padding: 20px;
    margin: 0;
    font-weight: 300;
}

.cartTab .cart-btn {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.cartTab .cart-btn button {
    background-color: var(--main-color);
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
}

.cartTab .cart-btn .close {
    background-color: #eee;
}

.cartTab .cart-btn .checkOut {
    background-color: #eee;
    border-style: solid;
    border: #f06 !important;
}
.cartTab .listCart .item img {
    width: 100%;
}

.cartTab .listCart .item {
    display: grid;
    grid-template-columns: 70px 150px 50px 1fr;
    gap: 10px;
    text-align: center;
    align-items: center;
}

.listCart .quantity span {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: #eee;
    color: #555;
    border-radius: 50%;
    cursor: pointer;
}

.listCart .quantity span:nth-child(2) {
    background-color: transparent;
    color: #fff;
}

.listCart .item:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.1);
}

.listCart {
    overflow: auto;
}

.listCart::webkit-scrollbar {
    width: 0px;
}

#menu-icon {
    color: var(--bg-color);
    font-size: 35px;
    z-index: 10001;
    cursor: pointer;
    display: none;
}

section {
    padding: 80px 10%;
}

.home {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url(assets/banner_5.jpg) center/cover no-repeat;
    background-size: cover;
    background-position: center;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
}

.home-text h1 {
    font-size: 400%;
    line-height: 1.2;
    color: var(--bg-color);
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.home-text p {
    color: #ffffffe5;
    font-size: 30px;
    font-weight: 600;
    line-height: 38px;
    margin-bottom: 50px;
}

.home-btn {
    display: inline-block;
    font-size: 16px;
    padding: 15px 30px;
    background: #ffffffbf;
    color: var(--main-color);
    border-radius: 4px;
    transition: ease .40s;
}

.home-btn:hover {
    background: var(--bg-color);
    transform: scale(1.1);
}

.buy-btn {
    display: inline-block;
    border: none;
    font-size: 16px;
    padding: 5px 30px;
    background: var(--main-color);
    color: var(--bg-color);
    border-radius: 8px;
    transition: ease .40s;
}

header.sticky {
    background: var(--bg-color);
    padding: 10px 18%;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px
}

.logo {
    color: var(--text-color);
}

.sticky .navbar a {
    color: var(--text-color);
}

.text h2 {
    font-size: var(--h2-font);
    line-height: 1.1;
}

.collection-controls{
  display:flex;
  justify-content: flex-end;
  gap:12px;
  margin: 14px 0 8px;
}

#typeFilter, #showMoreBtn{
  padding:8px 14px;
  border-radius:6px;
  border:1px solid #ccc;
  font-size:14px;
}

.row-items {
    overflow: hidden;
    transition: max-height .4s;
    display: grid;
    grid-template-columns:repeat(4, minmax(220px,1fr));
    grid-gap: 2rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 3rem;
    gap: 2rem;
    padding: 0 1rem;
}

.row-items-second {
    overflow: hidden;
    transition: max-height .4s;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    grid-gap: 2rem;
    align-items: center;
    text-align: center;
    margin-top: 5rem;
}

.row-items.expanded{               
  max-height: 70vh;              
  overflow-y:auto;                 
}

.container-box {
    background: var(--bg-color);
    border: 1px solid #f0eded;
    padding: 50px 10px;
    border-radius: 4px;
    transition: all 1s ease 0s;
    cursor: pointer;
}

.container-img img {
    height: 200px;
    width: 200px;
    background: var(--bg-color);
    box-shadow: 5px 10px 30px rgb(85 85 85 / 20%);
    border-radius: 4px;
    margin-bottom: 15px;
    cursor: pointer;
}

.container-box h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.container-box p {
    font-size: 15px;
    color: var(--second-color);
}

.container-box:hover {
    box-shadow: 5px 30px 56.1276px rgb(55 55 55 / 12%);
    border: 1px solid transparent;
    transform: translateY(-3px);
}

.title {
    text-align: center;
}

.title h2 {
    font-size: var(--h2-font);
    line-height: 1.2;
}

.package-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    grid-gap: 2rem;
    align-items: center;
    margin-top: 5rem;
}

.thum {
    position: relative;
    transition: all .3s cubic-bezier(.445, .05, .55, .95);
    will-change: filter;
    cursor: pointer;
}

.thum img {
    width: 100%;
    height: auto;
}

.thum h3 {
    position: absolute;
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    color: var(--bg-color);
    top: 36px;
    right:40px;
}

.dest-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
}

.stars i {
    color: var(--main-color);
    font-size: 20px;
}

.location h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.location p {
    font-size: 15px;
    color: var(--second-color);
}

.thum:hover {
    filter: brightness(100%) hue-rotate(45deg);
    transform: scale(1.04);
}

.destination-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); /* increased width */
    gap: 3rem; /* more spacing between cards */
    align-items: start;
    justify-items: center;
    margin-top: 5rem;
    padding: 0 4rem; /* wider padding */
}

.col-content {
    width: 100%;
    /* max-width removed to allow full column width */
    aspect-ratio: 4 / 2.8; /* taller cards */
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.col-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.col-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.col-content:hover img {
    filter: brightness(100%);
    transform: scale(1.03);
    cursor: pointer;
}


.col-content h1 {
    position: absolute;
    font-size: 60px;
    font-weight: 800;
    color: var(--bg-color);
    left: 15px;
    bottom: 130px;
}

.col-content p {
    position: absolute;
    font-size: 15px;
    color: var(--bg-color);
    left: 15px;
    bottom: 30px;
    letter-spacing: 2px;
}

.col-content img:hover {
    filter: brightness(100%);
    transform: scale(1.04);
    cursor: pointer;
}

.newsletter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    grid-gap: 3rem;
}

.news-text h2 {
    font-size: var(--h2-font);
    margin-bottom: 5px;
}

.news-text p {
    font-size: var(--p-font);
    color: var(--second-color);
    line-height: 30px;
}

.newsletter form {
    max-width: 100%;
    width: 450px;
    position: relative;
}

.newsletter form input:first-child {
    display: inline-block;
    padding: 20px 150px 20px 30px;
    width: 100%;
    box-shadow: 5px 10px 30px rgb(85 85 85 / 20%);
    outline: none;
    border: none;
    border-radius: 15px;
}

.newsletter form input:last-child {
    display: inline-block;
    position: absolute;
    outline: none;
    border: none;
    padding: 14px 30px;
    border-radius: 15px;
    background: var(--main-color);
    color: var(--bg-color);
    top: 6px;
    right: 6px;
    cursor: pointer;
}

#contact {
    background: var(--main-color);
}

.main {
    display: flex;
    flex-wrap: wrap;
}

.footer {
    padding: 20px 0;
}

.list {
    width: 25%;
}

.list h4 {
    font-size: 21px;
    margin-bottom: 30px;
    color: var(--bg-color);
    position: relative;
}

.list h4::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 60px;
    left: 0;
    bottom: -10px;
    background: var(--bg-color);
}

.list ul li:not(last-child) {
    margin-bottom: 16px;
}

.list ul li a {
    color: #ffffffbf;
    font-size: var(--p-font);
    display: block;
    transition: .3s;
}

.list ul li a:hover {
    color: var(--bg-color);
    transform: translateX(14px);
}

.list .social a {
    height: 40px;
    width: 40px;
    background: var(--bg-color);
    color: var(--main-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    border-radius: 15px;
    transition: .3s;
    margin-right: 10px;
}

.list .social a:hover {
    transform: scale(1.1);
}

.end-text {
    text-align: center;
    padding-top: 90px;
}

.end-text p {
    color: var(--bg-color);
    font-size: 14px;
    letter-spacing: 2px;
}

@media(max-width: 1400px) {
    header {
        padding: 17px 3%;
        transition: .2s;
    }
    header.sticky {
        padding: 10px 3%;
        transition: .2s;
    }
    section {
        padding: 80px 3%;
        transition: .2s;
    }
    :root {
        --big-font: 4.5rem;
        --h2-font: 2.3rem;
        --p-font: 1rem;
        transition: .2s;
    }
}

/* Mobile Responsiveness */
@media(max-width: 1040px) {
    #menu-icon {
        color: var(--text-color);
        display: block;
    }
    .sticky #menu-icon {
        color: var(--text-color);
    }
    .home {
        height: 88vh;
    }
    .navbar {
        position: absolute;
        top: 0;
        right: -100%;
        width: 270px;
        height: 120vh;
        background: grey;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 15px 30px;
        transition: .5s all;
    }
    .navbar a {
        display: block;
        margin: 1.2rem 0;
    }
    .sticky .navbar a {
        color: var(--bg-color);
    }
    .navbar a:hover {
        color: var(--text-color);
    }
    .open {
        right: 0;
    }
    .list {
        width: 50%;
        margin-bottom: 12px;
    }
}

@media(max-width:991px){
  .row-items{
      grid-template-columns:repeat(3,minmax(200px,1fr));
  }
}

@media(max-width:768px){
  .row-items{
      grid-template-columns:repeat(2,minmax(180px,1fr));
  }
}


@media(max-width: 575px) {
    .list {
        width: 100%;
    }
    .newsletter form {
        width: 350px;

    }
    :root {
        --big-font: 3.8rem;
        --h2-font: 1.8rem;
        transition: .2s;
    }
    .text {
        text-align: center;
    }
    .home {
        height: 85vh;
        transition: .2s;
    }
}

/* ----------------------------------------------------------
   ≤ 400 px  :  Hero • Collections • Footer tam responsive
-----------------------------------------------------------*/
@media (max-width: 400px){

  /* 1) HERO / BANNER ----------------------------------- */
  .home{
      height: 65vh;                 /* daha kısa banner            */
      background-position: center 35%;
      padding-inline: 6%;
  }
  .home-text h1{                    /* başlık küçült               */
      font-size: 8.5vw;             /* ≈ 34 px @ 400px             */
      line-height: 1.2;
  }
  .home-text p{
      font-size: 4.5vw;             /* ≈ 18 px                     */
      line-height: 1.4;
      margin-bottom: 32px;
  }
  .home-btn{
      padding: 12px 24px;
      font-size: 14px;
  }

  /* 2) COLLECTIONS / DESTINATION GRID ------------------- */
  .destination-content{
      grid-template-columns: 1fr;   /* tek sütun                   */
      gap: 1.2rem;
      padding: 0;
  }
  .col-content{
      aspect-ratio: 4 / 3;          /* daha dikdörtgen kart        */
      border-radius: 14px;
  }
  .col-content h1{ font-size: 11vw; }
  .col-content p{ font-size: 4vw; }

  /* 3) FOOTER BLOĞU ------------------------------------- */
  .footer .main{
      flex-direction: column;       /* blokları alt alta           */
      align-items: stretch;
      gap: 28px;
  }
  .footer .list{
      width: 100% !important;       /* tam genişlik                */
  }
  .footer .list h4{
      font-size: 18px;
      text-align: center;
  }
  .footer .list h4::before{
      left: 50%;
      transform: translateX(-50%);
  }
  .footer .list ul li a{
      font-size: 14px;
      text-align: center;
  }

  /* sosyal & newsletter hizalama */
  .list .social{
      display: flex;
      justify-content: center;
      gap: 12px;
  }
  .list.newsletter{
        margin-inline: auto;   /* soldan-sağa otomatik boşluk = ortala */
        text-align: center;    /* iç başlık + paragraf + form ortalı   */
    }
  .list.newsletter p{
    font-size: 16px;
    margin-top: 0;
  }
  .list.newsletter h4 {
    margin-left: 34%;
  }
  .row-items{
      grid-template-columns:1fr;   /* tek sütun          */
      gap:1.2rem;
  }
}


@media (min-width:401px) and (max-width:480px){
  .row-items{
      grid-template-columns: repeat(2, 1fr);
      justify-items: center;
  }
}

#langSwitch{
    height: 34px;
    padding: 0 38px 0 14px;         
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    color: var(--text-color);
    background: var(--bg-color);

    border: 1px solid #d0d0d0;
    border-radius: 8px;
    outline: none;

    -webkit-appearance: none;        
    -moz-appearance: none;          
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--text-color) 50%),
        linear-gradient(135deg, var(--text-color) 50%, transparent 50%);
    background-position:
        calc(100% - 24px) calc(50% - 3px),
        calc(100% - 18px) calc(50% - 3px);
    background-size: 6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: border-color .3s, box-shadow .3s;
}

#langSwitch:hover{
    border-color: var(--main-color);
}

#langSwitch:focus{
    box-shadow: 0 0 0 3px rgba(110,84,250,.2); 
}

#langSwitch option{
    font-weight:600;
}

@media(max-width: 575px){
    #langSwitch{
        height:32px; font-size:13px; padding:0 34px 0 12px;
    }
}

/* Use a dedicated wrapper selector to avoid overriding other pages */
#productsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

#productsGrid .product-card {
  background: var(--bg-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

#productsGrid .product-card:hover {
  transform: translateY(-6px);
}

#productsGrid .product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

#productsGrid .product-info {
  padding: 16px;
  font-family: 'Poppins', sans-serif;
  flex-grow: 1;
}

#productsGrid .product-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 6px;
}

#productsGrid .product-info p {
  font-size: 13px;
  color: var(--second-color);
  line-height: 1.5;
}

#productsGrid .add-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--main-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#productsGrid .ribbon {
  position: absolute;
  top: 12px;
  left: -10px;
  background: #f06;
  color: #fff;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  transform: rotate(-15deg);
  border-radius: 4px;
  z-index: 1;
}

.list.newsletter {
    max-width: 300px;
}

.list.newsletter p {
    font-size: 20px;
    margin: 10px 0;
    color: #fffefe;
}

.list.newsletter form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list.newsletter input[type="email"] {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
}

.list.newsletter button {
    padding: 10px;
    border: none;
    background-color: #ff69b4; /* pink-ish for floral vibe */
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.list.newsletter button:hover {
    background-color: #e85a9c;
}

/*───────────────────────────────────────────────────────────────
  SEPET MİKTAR KONTROLLERİ – Temiz yuvarlak görünümlü
───────────────────────────────────────────────────────────────*/
.cartTab .quantity{
    display:inline-flex;
    align-items:center;
    column-gap:10px;              /* ok–sayı aralığı            */
    font-size:18px;
}

/*   <  ve  >  okları  */
.cartTab .quantity .minus,
.cartTab .quantity .plus{
    width:34px;
    height:34px;
    border-radius:50%;
    background:#ffffff;
    color:var(--main-color);
    border:1px solid rgba(0,0,0,.08);
    box-shadow:0 1px 4px rgba(0,0,0,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    cursor:pointer;
    transition:background .2s, box-shadow .2s;
}

.cartTab .quantity .minus:hover,
.cartTab .quantity .plus:hover{
    background:#f5f5f5;
    box-shadow:0 2px 6px rgba(0,0,0,.16);
}

/* Orta sayı */
.cartTab .quantity span.qty-label{
    min-width:28px;
    text-align:center;
    color:#ffffff;
    pointer-events:none;
    font-weight:600;
}

/* İşaretleri otomatik olarak kalınlaştırmak için */
.cartTab .quantity .minus::selection,
.cartTab .quantity .plus::selection{
    background:transparent;
}
