@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Inder&family=Instrument+Serif:ital@0;1&display=swap");
@import url("https://fonts.cdnfonts.com/css/homizio");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  /* fonts */
  --primary-font: "Homizio", sans-serif;
  --secondary-font: "Inder", sans-serif;
  
  --primary-color: #0f0f0f;
  --secondary-color: #ffffff;
  --red-color: #ce2017;
  --gray-color: #b2b2b2;
}

body {
  background-color: var(--primary-color);
  overflow-x: hidden;
  
}

h1 {
  font-family: var(--primary-font);
  font-size: 5rem;
  color: var(--secondary-color);
  font-weight: 700;
}
h2 {
  font-size: 3.2rem;
}
h3{
    font-size: 3.4rem ;
    font-family: var(--primary-font);
}

p {
  font-family: var(--secondary-font);
}
a{
    text-decoration: none;
}


.blog-container{
    width:90%;
    margin:auto;
    padding:40px 0;

}

.blog-page-title{
    font-size:40px;
    margin-bottom:25px;
    font-family: var(--primary-font);
    border-bottom:3px solid red;
    display:inline-block;
    color: #fff;
}

/* GRID */
.blog-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px,1fr));
    gap: 50px;
}
.blog-grid a {
    text-decoration: none;
}

/* CARD */
.blog-card{
    background:#fff;
    color:#000;
    border-radius:8px;
    overflow:hidden;
}

.blog-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.blog-content{
    padding:18px 22px;
}

.blog-content h3{
    color:#d32f2f; /* red title */
    margin-bottom:12px;
    font-size:28px;
}

.blog-content p{
    line-height:1.4;
    margin-bottom:18px;
    color:#555;
}

.read-more{
    color:#d32f2f;
    font-weight:600;
    text-decoration:none;
    transition:0.2s;
    font-family: var(--secondary-font);
}

.read-more:hover{
    color:#fff;
    background:#d32f2f;
    padding:5px 8px;
    border-radius:5px;
}

/* RESPONSIVE */
@media(max-width:480px){
    .blog-page-title{
        font-size:32px;
    }
    .blog-card img{
        height:180px;
    }
}



.breadcrumb-n {
    width: 100%;
    padding: 18px 0;
    background: transparent; /* dark bg la minimal-a irukkum */
}

.breadcrumb-n .container {
    width: 90%;
    margin: auto;
}

.breadcrumb-n ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.breadcrumb-n ul li {
    font-size: 15px;
    color: #d1d1d1;
}

.breadcrumb-n ul li a {
    text-decoration: none;
    color: #ff3b3b;
    font-weight: 600;
    transition: .2s ease;
}

.breadcrumb-n ul li a:hover {
    color: #fff;
}
/* FLOATING LAYOUT */
.floating-container {
  width: 100%;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  z-index: 999;
}

/* EVENT BOX */
.event-box {
  position: relative;
  background: #000000;
  padding: 15px;
  width: 450px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin-left: 40px;
  border: 2px solid var(--red-color);
  color: var(--secondary-color);
}
.float-event-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 16px;
  cursor: pointer;
}
.event-box h2 {
  font-weight: bold;
  font-size: 22px;
}

.event-box h3 {
  font-family: var(--secondary-font);
  font-weight: 600;
  font-size: 16px;
}

.event-details {
  font-size: 14px;
  margin-top: 5px;
  display: flex;
  gap: 8px;
}
.floating-btn-con {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.event-box button,
.event-box a {
  margin-top: 10px;
  width: 100%;
  background: var(--red-color);
  color: #fff;
  padding: 8px;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
}
.event-toggle-btn {
  position: fixed;
  bottom: 30px;
  left: 20px;
  background: var(--red-color);
  color: #fff;
  padding: 10px 14px;
  border-radius: 30px;
  cursor: pointer;
  display: none;
  z-index: 100;
  font-size: 14px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
/* WHATSAPP BUTTON */
.floating-container .whatsapp-btn {
  position: relative;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
}

/* WAVE EFFECT */
.floating-container .wave {
  width: fit-content;
  position: fixed;
  bottom: 20px;
  left: 20px;
  cursor: pointer;
  background: rgba(37, 211, 102, 0.5);
  border-radius: 50%;
  animation: wave 2s infinite;
}

.floating-container .wave.delay {
  animation-delay: 0.5s;
}

@keyframes wave {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}
.event-toggle-btn:hover {
  animation: blurPulse 1.5s infinite;
}
/* VIBRATE */
.whatsapp-btn:hover {
  animation: vibrate 0.3s linear infinite;
}
@keyframes blurPulse {
  0% {
    filter: scale(0.8);
  }
  50% {
    filter: scale(1);
  }
  100% {
    filter: scale(0.8);
  }
}
@keyframes vibrate {
  0% {
    transform: translate(0);
  }
  25% {
    transform: translate(1px, -1px);
  }
  50% {
    transform: translate(-1px, 1px);
  }
  75% {
    transform: translate(1px, 1px);
  }
  100% {
    transform: translate(0);
  }
}

.whatsapp-btn img {
  width: 28px;
  z-index: 2;
}

/* POPUP */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.622);
  display: none;
  justify-content: center;
  align-items: center;
  font-family: var(--secondary-font);
  z-index: 1000;
}

.popup-content {
  background: #000000;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  color: var(--secondary-color);
  border: 2px solid var(--red-color);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}
.popup-content.popup-image {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  height: 80vh;
  overflow-y: scroll;
}
.popup-content input,
.popup-content select {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  outline: none;
}
.popup-content select option {
  background: #000000;
  color: var(--secondary-color);
}
.popup-content button {
  width: 100%;
  background: var(--red-color);
  color: white;
  padding: 10px;
  border-radius: 6px;
}

.popup .close-btn {
  width: fit-content;
  position: absolute;
  top: 10px;
  right: 12px;
  cursor: pointer;
}
