/* === CSS Reset === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  box-sizing: border-box;
}

@font-face {
  font-family: "Main";
  src: url(assets/fonts/Dimica-Light.otf) format("opentype");
}
/* Alifinart Studio” (behance.net/alifinart) */
@font-face {
  font-family: "Secondary";
  src: url(assets/fonts/SalmaproMediumnarrow.otf) format("opentype");
}

@font-face {
  font-family: "Accessory";
  src: url(assets/fonts/Praise-Regular.ttf) format("truetype");
}

html,
body {
  height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  outline: none;
  border: none;
  background: none;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

body {
  margin: 0;
  font-family: "Main";
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  background: linear-gradient(120deg, #e6e4db 0%, #ceafcb 45%, #f3cfdc 100%);
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.4),
    transparent 70%
  );
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

/* === Navbar === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: rgba(18, 18, 38, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  margin: 1rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(white 0.8px, transparent 0.8px),
    radial-gradient(white 0.6px, transparent 0.6px);
  background-size: 40px 40px, 100px 100px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.logo {
  font-family: "Main";
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  z-index: 1;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  z-index: 11;
}

/* Nav Links - Desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  z-index: 1;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #cd90b3;
}

.contact-button {
  padding: 0.6rem 1.2rem;
  background-color: #8fa7e3;
  color: #fff;
  border-radius: 24px;
  font-weight: bold;
  border: none;
  transition: background 0.3s ease;
}

.contact-button:hover {
  background-color: #ffffff;
  color: #8fa7e3;
}

/* === Responsive Navbar Additions === */
@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    margin: 1rem;
    gap: 0.75rem;
  }

  .navbar-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 1.4rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    font-weight: bold;
  }

  .menu-toggle {
    display: block !important;
    font-size: 2rem;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    z-index: 11;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 0.5rem 0;
    color: #ffffff;
  }

  .contact-button {
    display: block;
    margin: 1rem auto;                /* centers it */
    padding: clamp(0.55rem, 2.5vw, 0.8rem) 
             clamp(1rem, 5vw, 1.4rem); /* fluid padding */
    font-size: clamp(0.8rem, 3.5vw, 0.95rem); /* scales with screen */
    border-radius: 24px;
    max-width: clamp(160px, 70%, 220px); /* keeps neat width */
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  }

}

@media screen and (max-width: 480px) {
  .contact-button {
    display: block;
    margin: 0.6rem auto;       /* centers nicely */
    padding: .85rem .85rem !important;     /* reduced padding */
    font-size: 0.8rem;         /* smaller text */
    border-radius: 18px;       /* smaller pill */
    max-width: 180px;          /* keeps it from being oversized */
    text-align: center;
    line-height: 1.1;
  }
}



.blog-wrapper {
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: auto;
}

.blog-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #462c8e;
}

.blog-grid {
  display: grid;
  grid-template-areas:
    "large highlight small"
    "tags tags tags";
  grid-gap: 2rem;
  grid-template-columns: 1fr 1.2fr 0.8fr;
}

.blog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  padding: 1.2rem;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.blog-card h2 {
  font-size: 1.3rem;
  color: #4a3d8f;
  margin: 0.5rem 0;
}

.blog-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.blog-card .category {
  font-size: 0.8rem;
  font-weight: 600;
  color: #cd90b3;
  margin-bottom: 0.5rem;
}

.blog-card.large { grid-area: large; }
.blog-card.highlight {
  grid-area: highlight;
  background: linear-gradient(135deg, #8fa7e3, #e6e4db);
  color: #462c8e;
}
.blog-card.small { grid-area: small; }
.blog-card.tags { 
  grid-area: tags; 
  background: #f8f5fa;
  border: 2px dashed #cd90b3;
}

.read-more, .view-all {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  color: #8e8dcf;
}

.read-more:hover, .view-all:hover {
  color: #462c8e;
}

.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.tags-grid span {
  background: #cd90b3;
  color: #fff;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-areas:
      "large"
      "highlight"
      "small"
      "tags";
    grid-template-columns: 1fr;
  }
}

.site-footer {
  background: linear-gradient(to top, #f5f4f2, #e6e4db);
  color: #462c8e;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  font-family: "Georgia", serif;
  border-top: 3px solid #cd90b3;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-left h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #462c8e;
}

.footer-left p {
  margin: 0.3rem 0;
  line-height: 1.5;
  max-width: 500px;
}

.legal-disclaimer {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.8rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-nav a {
  color: #462c8e;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #ceafcb;
  width: fit-content;
  padding-bottom: 1px;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #8e8dcf;
}
/* === Mobile Optimization === */
@media screen and (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
  }

  .footer-left,
  .footer-right {
    width: 100%;
  }

  .footer-left h4 {
    font-size: 1rem;
  }

  .footer-left p,
  .legal-disclaimer {
    font-size: 0.8rem;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-nav a {
    font-size: 0.85rem;
  }

  .footer-bottom {
    font-size: 0.7rem;
    margin-top: 1.5rem;
  }
}
