:root{
  --bg:#0b0b0e;
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.74);
  --line:rgba(255,255,255,.14);
  --panel:rgba(255,255,255,.07);
  --shadow:0 18px 40px rgba(0,0,0,.45);
  --radius:18px;
  --accent: rgb(159, 52, 52);
  --accent-soft: rgba(159, 52, 52, 0.22);
  --max:1100px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(159,52,52,.35), transparent 55%),
    radial-gradient(1000px 700px at 85% 20%, rgba(255,255,255,.10), transparent 55%),
    var(--bg);
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  line-height:1.55;
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.92; }

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

h1,h2,h3{ margin:0 0 10px 0; letter-spacing:.2px; }
p{ margin:0 0 12px 0; color:rgba(255,255,255,.82); }

.card{
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:var(--panel);
  box-shadow:var(--shadow);
  padding:18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
  font-weight:600;
  cursor:pointer;
  transition:transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn:hover{ transform:translateY(-1px); }

.btn-primary{
  background:linear-gradient(180deg, rgba(133, 162, 154, 0.95), rgba(119, 145, 137, 0.82));
  border-color:rgba(82, 116, 106, 0.7);
}

.btn-ghost{ background:rgba(0,0,0,.14); }

.nav{
  width: min(var(--max), calc(100% - 40px));
  margin: 35px auto 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 22px 28px;
  border: 1px solid var(--line);
  background: rgba(88, 81, 81, 0.22);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  position: relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  flex: 0 0 280px;
  min-width: 220px;
}

.brand-name{
  font-weight:700;
  letter-spacing:.3px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.nav-center-logo{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 100%;
  pointer-events: auto;
}

.brand-logo{
  height: 170px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  flex: 0 0 220px;
  min-width: 170px;
}

.instagram-link{
  font-size: 1.25rem;
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease, transform 0.25s ease;
}

.instagram-link:hover{
  color: rgba(255,255,255,1);
  transform: scale(1.08);
}

.menu-btn{
  display:inline-flex;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  border-radius:999px;
  padding:12px 14px;
  cursor:pointer;
  transition: transform 160ms ease, background 160ms ease;
  color: rgba(255,255,255,.90);
  font-size: 1.25rem;
  line-height: 1;
}

.menu-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
}

/* ---------------- Sidebar ---------------- */
.overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 3000;
}

.sidebar{
  position: fixed;
  top: 90px;
  right: 16px;
  width: min(360px, 88vw);
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  background: rgba(53,51,51,0.92);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  transform: translateX(120%);
  transition: transform 220ms ease;
  z-index: 3100;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar.open{
  transform: translateX(0);
}

.sidebar-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.sidebar-title{
  font-weight: 800;
  letter-spacing: .3px;
}

.sidebar-close{
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor:pointer;
  transition: background 160ms ease, transform 160ms ease;
  font-size: 28px;
  line-height: 1;
}
.sidebar-close:hover{
  background: rgba(255,255,255,0.10);
  transform: translateY(-1px);
}

.sidebar-links{
  display:flex;
  flex-direction:column;
  gap: 10px;
  padding-top: 6px;
}

.sidebar-links a{
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  font-weight: 600;
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.sidebar-links a:hover{
  background: rgba(255,255,255,0.10);
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.18);
}

.sidebar-links a[aria-current="page"]{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  font-weight: 800;
}

/* ---------------- Floral Borders ---------------- */
body{
  position: relative;
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.50;

  background-image:
    url("Images/Florals/top_left_corner.png"),
    url("Images/Florals/top_right_corner.png"),
    url("Images/Florals/bottom_left_corner.png"),
    url("Images/Florals/bottom_right_corner.png");

  background-repeat: no-repeat;
  background-size: 320px 320px;
  background-position:
    -30px -30px,
    calc(100% + 30px) -30px,
    -30px calc(100% + 30px),
    calc(100% + 30px) calc(100% + 30px);
}

.nav,
.page,
.container,
.flyer-block,
.card{
  position: relative;
  z-index: 1;
}

/* ---------------- For Mobile Devices ---------------- */
@media (max-width: 768px){
  .nav{
    width: calc(100% - 16px);
    padding: 16px 18px;
  }
  .brand{ flex: 0 0 160px; min-width: 120px; }
  .nav-right{ flex: 0 0 120px; min-width: 90px; }

  .brand-logo{
    height: 110px;
    max-width: 100%;
  }
}
