*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Montserrat',sans-serif;
  background:#faf7fc;
  color:#1a1a1a;
  overflow-x:hidden;
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}


/* ===============================
   HEADER
=============================== */

.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  background:rgba(250,247,252,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(205,180,218,.25);
  z-index:1000;
  transition:.3s;
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 0;
}

.logo{
  font-family:'Cormorant Garamond',serif;
  font-size:32px;
  color:#a77bb8;
  letter-spacing:2px;
}

.right-nav{
  display:flex;
  align-items:center;
  gap:10px;
}


/* ===============================
   LANGUAGE
=============================== */

.lang-switch{
  display:flex;
  border:1px solid #d9c3e2;
  border-radius:30px;
  overflow:hidden;
  background:#fff;
}

.lang{
  background:none;
  border:none;
  padding:8px 12px;
  cursor:pointer;
  color:#80678b;
  font-family:'Montserrat',sans-serif;
  font-size:12px;
  transition:.3s;
}

.lang:hover{
  background:#f3eaf6;
}

.lang.active{
  background:#dfc8e8;
  color:#fff;
}


/* ===============================
   LOGIN BUTTON
=============================== */

.login-btn{
  border:1px solid #d5b9df;
  background:#fff;
  color:#9b6eac;
  padding:9px 16px;
  border-radius:25px;
  cursor:pointer;
  font-family:'Montserrat',sans-serif;
  font-size:13px;
  transition:.3s;
}

.login-btn:hover{
  background:#dfc8e8;
  color:#fff;
}


/* ===============================
   MENU BUTTON
=============================== */

.menu-btn{
  background:none;
  border:1px solid #d9c3e2;
  width:45px;
  height:45px;
  cursor:pointer;
  color:#a77bb8;
  font-size:20px;
  border-radius:50%;
  transition:.3s;
}

.menu-btn:hover{
  background:#f0e4f4;
}


/* ===============================
   MOBILE MENU
=============================== */

.mobile-menu{
  position:fixed;
  top:80px;
  right:-100%;
  width:270px;
  background:#fff;
  border-left:1px solid #eee4f2;
  padding:30px;
  transition:.4s ease;
  display:flex;
  flex-direction:column;
  gap:20px;
  z-index:999;
  box-shadow:0 10px 30px rgba(120,80,140,.08);
}

.mobile-menu.open{
  right:0;
}

.mobile-menu a{
  color:#4d4053;
  text-decoration:none;
  transition:.3s;
  font-size:15px;
}

.mobile-menu a:hover{
  color:#a77bb8;
}


/* ===============================
   HERO
=============================== */

.hero{
  padding:135px 0 100px;
  background:#faf7fc;
}

.hero-card{
  position:relative;
  background:transparent;
  border:none;
  padding:80px 60px;
  overflow:hidden;
  box-shadow:none;
}

.hero-card h1{
  position:relative;
  font-family:'Cormorant Garamond',serif;
  font-size:72px;
  color:#a77bb8;
  margin-bottom:20px;
  letter-spacing:1px;
}

.hero-card p{
  position:relative;
  max-width:700px;
  color:#66586b;
  line-height:1.8;
  font-size:16px;
}


/* ===============================
   CATEGORIES
=============================== */

.categories{
  padding:100px 0;
  background:#faf7fc;
}

.categories h2{
  font-family:'Cormorant Garamond',serif;
  font-size:52px;
  color:#a77bb8;
  text-align:center;
  margin-bottom:55px;
}

.category-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:40px 30px;
  align-items:start;
}

.circle-card{
  text-align:center;
  text-decoration:none;
  color:#333;
  cursor:pointer;
  transition:.3s ease;
}

.circle-card:hover{
  transform:translateY(-6px);
}


/* ===============================
   CATEGORY CIRCLES
=============================== */

.circle-card img{
  width:150px;
  height:150px;
  border-radius:50%;
  object-fit:cover;
  border:4px solid #dfc8e8;
  transition:.4s ease;
  box-shadow:0 5px 20px rgba(130,90,150,.08);
}

.circle-card img:hover{
  transform:scale(1.08);
  border-color:#cba5d9;
  box-shadow:0 10px 28px rgba(130,90,150,.14);
}

.circle-card span{
  display:block;
  margin-top:15px;
  color:#9b6eac;
  font-weight:600;
  line-height:1.4;
}


/* ===============================
   CATEGORY DETAILS
=============================== */

.category-details{
  display:none;
  padding:130px 0 100px;
  background:#faf7fc;
  min-height:100vh;
}

.category-details.active{
  display:block;
}


/* ===============================
   BACK BUTTON
=============================== */

.back-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#fff;
  border:1px solid #d9c3e2;
  color:#9b6eac;
  padding:11px 22px;
  border-radius:30px;
  cursor:pointer;
  font-family:'Montserrat',sans-serif;
  font-size:14px;
  transition:.3s ease;
  margin-bottom:30px;
}

.back-btn:hover{
  background:#e9d7ef;
  color:#80568f;
  transform:translateX(-4px);
}


/* ===============================
   CATEGORY TITLE
=============================== */

.category-details h2{
  font-family:'Cormorant Garamond',serif;
  font-size:52px;
  color:#a77bb8;
  text-align:center;
  margin-bottom:45px;
}


/* ===============================
   CATEGORY IMAGES
=============================== */

.category-images{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}


/* Wrapper за секоја слика */

.admin-image-wrapper{
  position:relative;
  width:100%;
  overflow:hidden;
  border-radius:18px;
}


/* Слика */

.admin-image-wrapper img{
  display:block;
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid #e2d1e9;
  transition:.4s ease;
  box-shadow:0 8px 25px rgba(130,90,150,.07);

  animation:imageShow .6s ease forwards;
}


/* Hover */

.admin-image-wrapper:hover img{
  transform:scale(1.03);
  box-shadow:0 12px 30px rgba(130,90,150,.13);
}


/* За случај ако има директна img */

.category-images > img{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid #e2d1e9;
  transition:.4s ease;
  box-shadow:0 8px 25px rgba(130,90,150,.07);
}


/* Image animation */

@keyframes imageShow{

  from{
    opacity:0;
    transform:translateY(20px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }

}


/* ===============================
   DELETE IMAGE BUTTON
=============================== */

.delete-image-btn{
  position:absolute;
  top:10px;
  right:10px;

  width:38px;
  height:38px;

  border:none;
  border-radius:50%;

  background:rgba(255,255,255,.95);

  color:#b24b60;

  font-size:25px;
  font-weight:600;
  line-height:1;

  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:0 5px 18px rgba(0,0,0,.16);

  z-index:10;

  transition:.3s ease;
}

.delete-image-btn:hover{
  background:#b24b60;
  color:#fff;
  transform:scale(1.08);
}


/* ===============================
   ADMIN ADD SECTION
=============================== */

.admin-add{
  margin-top:35px;
  text-align:center;
}

.add-images-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  border:none;

  background:#dfc8e8;
  color:#fff;

  padding:14px 25px;

  border-radius:35px;

  cursor:pointer;

  font-family:'Montserrat',sans-serif;

  font-size:14px;
  font-weight:500;

  transition:.3s ease;

  box-shadow:0 7px 20px rgba(130,90,150,.12);
}

.add-images-btn:hover{
  background:#cba5d9;
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(130,90,150,.18);
}

.add-images-btn:disabled{
  opacity:.6;
  cursor:not-allowed;
  transform:none;
}


/* ===============================
   LOGIN MODAL
=============================== */

.login-modal{
  position:fixed;
  inset:0;

  background:rgba(70,45,80,.25);

  backdrop-filter:blur(7px);

  display:none;

  align-items:center;
  justify-content:center;

  padding:20px;

  z-index:2000;
}

.login-modal.open{
  display:flex;
}

.login-box{
  position:relative;

  width:100%;
  max-width:430px;

  background:#fff;

  border:1px solid #e3d2e9;

  border-radius:25px;

  padding:45px 35px;

  box-shadow:0 20px 60px rgba(80,50,90,.18);

  animation:loginShow .35s ease;
}

@keyframes loginShow{

  from{
    opacity:0;
    transform:translateY(20px) scale(.97);
  }

  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }

}


/* LOGIN CLOSE */

.login-close{
  position:absolute;

  top:15px;
  right:18px;

  width:35px;
  height:35px;

  border:none;

  background:#f6eff8;

  color:#9b6eac;

  border-radius:50%;

  font-size:24px;
  line-height:1;

  cursor:pointer;

  transition:.3s;
}

.login-close:hover{
  background:#dfc8e8;
  color:#fff;
}


/* LOGIN TITLE */

.login-box h2{
  font-family:'Cormorant Garamond',serif;

  color:#a77bb8;

  font-size:45px;

  text-align:center;

  margin-bottom:10px;
}

.login-box p{
  text-align:center;

  color:#777;

  font-size:14px;

  margin-bottom:25px;

  line-height:1.6;
}


/* ===============================
   LOGIN FORM
=============================== */

#loginForm{
  display:flex;
  flex-direction:column;
  gap:15px;
}

#loginForm input{
  width:100%;

  padding:14px 16px;

  border:1px solid #ded0e3;

  border-radius:12px;

  outline:none;

  background:#fcfafd;

  color:#333;

  font-family:'Montserrat',sans-serif;

  transition:.3s;
}

#loginForm input:focus{
  border-color:#b991c4;

  box-shadow:0 0 0 3px rgba(183,145,196,.12);
}

#loginForm input::placeholder{
  color:#aaa;
}


/* LOGIN SUBMIT */

.submit-login{
  width:100%;

  border:none;

  background:#dfc8e8;

  color:#fff;

  padding:14px;

  border-radius:12px;

  cursor:pointer;

  font-family:'Montserrat',sans-serif;

  font-weight:500;

  transition:.3s;
}

.submit-login:hover{
  background:#cba5d9;
  transform:translateY(-1px);
}


/* LOGIN MESSAGE */

.login-message{
  min-height:20px;

  margin-top:15px;

  text-align:center;

  font-size:13px;

  color:#b85f6d;
}


/* ===============================
   ADMIN PANEL
=============================== */

.admin-panel{
  position:fixed;

  top:82px;
  right:20px;

  z-index:1500;
}

.admin-panel-inner{
  display:flex;

  align-items:center;

  gap:12px;

  background:#fff;

  border:1px solid #dfcce5;

  border-radius:30px;

  padding:8px 10px 8px 16px;

  box-shadow:0 8px 25px rgba(100,70,110,.12);

  color:#90629f;

  font-size:13px;
}

.admin-panel-inner button{
  border:none;

  background:#f0e2f4;

  color:#90629f;

  padding:8px 13px;

  border-radius:20px;

  cursor:pointer;

  font-family:'Montserrat',sans-serif;

  font-size:12px;

  transition:.3s;
}

.admin-panel-inner button:hover{
  background:#dfc8e8;
  color:#fff;
}


/* ===============================
   CONTACT
=============================== */

.contact{
  padding:100px 0;

  background:#faf7fc;
}

.contact-box{
  background:#fff;

  border:1px solid #e4d4eb;

  border-radius:24px;

  padding:60px;

  text-align:center;

  box-shadow:0 10px 35px rgba(130,90,150,.05);
}

.contact-box h2{
  font-family:'Cormorant Garamond',serif;

  font-size:56px;

  color:#a77bb8;
}

.contact-box p{
  color:#555;

  margin:20px 0 35px;

  line-height:1.7;
}

.instagram{
  display:inline-block;

  padding:15px 32px;

  border:1px solid #d3b2df;

  border-radius:40px;

  color:#9b6eac;

  text-decoration:none;

  transition:.3s;
}

.instagram:hover{
  background:#dfc8e8;
  color:#fff;
}


/* ===============================
   FOOTER
=============================== */

.footer{
  padding:35px 0;

  text-align:center;

  color:#888;

  border-top:1px solid #eee5f1;

  background:#fff;
}


/* ===============================
   FADE ANIMATION
=============================== */

.hero-card,
.circle-card,
.contact-box{
  opacity:0;

  transform:translateY(20px);

  transition:.7s;
}

.hero-card.show,
.circle-card.show,
.contact-box.show{
  opacity:1;

  transform:translateY(0);
}


/* ===============================
   TABLET
=============================== */

@media(max-width:950px){

  .category-images{
    grid-template-columns:repeat(2,1fr);
  }

}


/* ===============================
   MOBILE
=============================== */

@media(max-width:768px){

  .hero{
    padding:120px 0 70px;
  }

  .hero-card{
    padding:50px 20px;
  }

  .hero-card h1{
    font-size:52px;
  }

  .hero-card p{
    font-size:15px;
  }


  /* CATEGORIES */

  .categories{
    padding:75px 0;
  }

  .categories h2{
    font-size:42px;
    margin-bottom:45px;
  }

  .category-grid{
    grid-template-columns:repeat(2,1fr);

    gap:35px 15px;
  }

  .circle-card img{
    width:130px;
    height:130px;
  }

  .circle-card span{
    font-size:14px;
  }


  /* CATEGORY */

  .category-details{
    padding:120px 0 70px;
  }

  .category-details h2{
    font-size:42px;

    margin-bottom:35px;
  }

  .category-images{
    grid-template-columns:1fr;

    gap:18px;
  }

  .admin-image-wrapper img,
  .category-images > img{
    height:300px;
  }


  /* DELETE */

  .delete-image-btn{
    width:36px;
    height:36px;

    font-size:23px;
  }


  /* CONTACT */

  .contact{
    padding:75px 0;
  }

  .contact-box{
    padding:45px 25px;
  }


  /* ADMIN PANEL */

  .admin-panel{
    top:78px;
    right:10px;
  }

}


/* ===============================
   SMALL PHONE
=============================== */

@media(max-width:520px){

  .container{
    width:92%;
  }

  .logo{
    font-size:27px;
  }

  .right-nav{
    gap:5px;
  }

  .lang-switch{
    border-radius:25px;
  }

  .lang{
    padding:7px 8px;

    font-size:10px;
  }

  .login-btn{
    padding:8px 10px;

    font-size:11px;
  }

  .menu-btn{
    width:42px;
    height:42px;

    font-size:18px;
  }


  /* HERO */

  .hero-card{
    padding:45px 10px;
  }

  .hero-card h1{
    font-size:45px;
  }


  /* CATEGORY */

  .category-grid{
    gap:30px 8px;
  }

  .circle-card img{
    width:115px;
    height:115px;
  }

  .circle-card span{
    font-size:12px;
  }

  .category-details h2{
    font-size:38px;
  }


  /* LOGIN */

  .login-box{
    padding:40px 22px;
  }


  /* ADMIN PANEL */

  .admin-panel{
    right:5px;
  }

  .admin-panel-inner{
    gap:6px;

    padding:7px 8px 7px 12px;

    font-size:11px;
  }

  .admin-panel-inner button{
    font-size:10px;

    padding:7px 10px;
  }

}


/* ===============================
   VERY SMALL PHONE
=============================== */

@media(max-width:380px){

  .login-btn{
    display:none;
  }

  .lang{
    padding:7px 7px;
  }

  .logo{
    font-size:25px;
  }

}