/* Local Variable Font Definition */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-black: #000000;
  --bg-grey: #d8d8d8;
  --text-white: #ffffff;
  --text-black: #000000;
  --accent-gold: #dbc090;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  background-color: var(--bg-grey) !important;
  color: var(--text-black);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  /* Optimized Scroll Snapping */
  scroll-snap-type: y mandatory;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.public-layout {
  padding-top: 140px; /* Offset for fixed header on public site */
}

@media (max-width: 768px) {
  .public-layout {
    padding-top: 100px;
  }
}


footer {
  margin-top: auto !important;
}


/* ... */

/* Header styling */
.hawi-header {
  background: var(--primary-black);
  min-height: 140px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  scroll-snap-align: none; /* Don't snap to header */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hawi-header.scrolled {
  min-height: 80px;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hawi-header img {
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hawi-header.scrolled img {
  height: 50px !important;
}


/* Collection Logo Styling */
.collection-logo-overlay {
    margin-top: 10px;
    max-width: 50%;
}
.detail-header-logo {
    position: absolute;
    bottom: 40px;
    left: 40px;
    height: 60px;
    width: auto;
    object-fit: contain;
    z-index: 20;
}
.nav-link-hawi.rounded-circle{
  background: transparent !important;
}
.nav-link-hawi {
  color: var(--text-white) !important;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-right: 2rem;
  transition: opacity 0.3s;
  text-decoration: none;
}
.nav-link-hawi:hover { opacity: 0.7; }

/* Button Styling */
.hawi-button {
  background: var(--primary-black);
  color: var(--text-white) !important;
  padding: 18px 45px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  border: none;
  transition: all 0.3s;
  text-decoration: none;
  text-align: center;
}
.hawi-button:hover {
  background: #333;
  transform: translateY(-2px);
}

/* Layout Elements */
.text-content-heading {
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}
.contact-section {
  background-color: #222;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 0;
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}
#contact h2{
  font-weight: 100;
}
.contact-person-name {
  font-size: calc(1.325rem + .9vw);
  font-weight: 300;
  margin-bottom: 1rem;
}
.text-accent { color: var(--accent-gold) !important; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }

.container-content {
  max-width: 800px;
  margin: 100px auto;
  background: white;
  padding: 80px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.container-content h1 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -2px;
  font-size: 3rem;
  margin-bottom: 40px;
  line-height: 1;
}

@media (max-width: 768px) {
  .container-content {
    margin: 40px 20px;
    padding: 40px 25px;
  }
  .container-content h1 {
    font-size: 2rem;
  }
}

/* Modal & Selection */
.fixed { position: fixed; }
.inset-0 { top: 0; left: 0; right: 0; bottom: 0; }
.z-modal { z-index: 1000; }
.cursor-pointer { cursor: pointer; }
.group:hover .group-hover\:opacity-100 { opacity: 1 !important; }

/* Dashboard Specific */
.admin-sidebar {
  background: #000;
  color: white;
  width: 280px;
  height: 100vh;
  position: sticky;
  top: 0;
  padding: 40px 20px;
}
.admin-nav-item {
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 10px;
  border: none;
  background: transparent;
  color: #666;
  text-align: left;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 700;
  transition: all 0.3s;
  display: flex;
  align-items: center; gap: 12px;
}
.admin-nav-item.active { color: #fff; background: rgba(255,255,255,0.05); }
.admin-nav-item:hover:not(.active) { color: #aaa; }
.admin-content-area { flex: 1; background: var(--bg-grey); min-height: 100vh; padding: 60px; }
.admin-card { background: white; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: 40px; }
.admin-preview-img { max-width: 200px; max-height: 150px; object-fit: cover; background: #eee; }

/* Splide Custom Styling */
.splide__arrow {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  transition: all 0.3s !important;
  opacity: 1 !important;
}
.splide__arrow:hover { background: white !important; color: black !important; }
.splide__arrow svg { fill: white !important; width: 24px !important; height: 24px !important; }
.splide__arrow:hover svg { fill: black !important; }

/* Collections Specific Dark Arrows */
#collections .splide__arrow,
#collection-slider .splide__arrow {
    border-color: rgba(0,0,0,0.1) !important;
    top: 48% !important;
}
#collections .splide__arrow--prev,
#collection-slider .splide__arrow--prev { left: -6rem !important; }
#collections .splide__arrow--next,
#collection-slider .splide__arrow--next { right: -6rem !important; }
#collections .splide__arrow svg,
#collection-slider .splide__arrow svg { fill: black !important; }
#collections .splide__arrow:hover { background: black !important; }
#collections .splide__arrow:hover svg { fill: white !important; }

#collection-slider-wrapper { position: relative; padding: 0 80px; }

@media (max-width: 1300px) {
    #collections .splide__arrow--prev,
    #collection-slider .splide__arrow--prev { left: -1rem !important; }
    #collections .splide__arrow--next,
    #collection-slider .splide__arrow--next { right: -1rem !important; }
}

@media (max-width: 768px) {
    #collection-slider-wrapper { padding: 0; }
}

.splide__arrow--prev { left: 2rem !important; }
.splide__arrow--next { right: 2rem !important; }

.splide__pagination {
  bottom: 2rem !important;
  padding: 0 5rem !important;
  justify-content: flex-start !important;
}
.splide__pagination__page {
  background: rgba(255,255,255,0.3) !important;
  border-radius: 0 !important;
  height: 2px !important;
  width: 30px !important;
  margin: 0 5px !important;
  transition: all 0.3s !important;
  border: none !important;
}
.splide__pagination__page.is-active { background: white !important; width: 60px !important; transform: none !important; }

@media (max-width: 768px) {

    body {

        scroll-snap-type: none; /* Disable snapping on mobile for smoother free-scroll if desired, or keep proximity */

    }

    

    .container, .container-fluid {

        padding-left: 20px !important;

        padding-right: 20px !important;

    }



        .hawi-header {



            min-height: 100px;



        }



    



        .nav-link-hawi {



            margin-right: 0 !important;



            margin-left: 1rem !important;



            font-size: 0.7rem !important;



            letter-spacing: 1px !important;



        }



    



    .display-1 { font-size: 3rem !important; }

    .display-4 { font-size: 2.2rem !important; }

    

    .text-content-heading {

        font-size: 24px !important;

        margin-bottom: 1.5rem !important;

    }



    .contact-section {

        padding: 60px 0 !important;

    }



    .contact-person-name {

        font-size: 24px !important;

    }



    .hawi-button {

        padding: 14px 30px !important;

        font-size: 13px !important;

    }



    /* Collection Detail Specifics */

    h1 { font-size: 2.5rem !important; }

    .container[style*="margin: -100px"] {

        margin-top: -50px !important;

        padding: 40px 20px !important;

    }

}



@media (max-width: 768px) {

    .splide__arrow {

 width: 45px !important; height: 45px !important; }
    .splide__pagination { justify-content: center !important; padding: 0 !important; }
}