/* Basic Reset & Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*padding: 0 20vw;*/
    background-color: white;
    font-family: sans-serif;
    line-height: 1.6;
}




/*================*/
/* === Navbar === */
/*================*/

.navbar {
    width: 100%;
    /*padding: 3em 0;*/
    padding: 3em 20vw;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu a {
    text-decoration: none;
}

.menu a > span {
    font-size: 2em; /* Change this freely */
    font-family: "Instrument Serif", serif;
    color: #333;
    position: relative;
    padding: 5px 0;
}

.menu a > span:hover::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0,6 C20,2 40,10 60,4 S80,8 100,6' stroke='%23333' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 1;
}

.menu a.thispage > span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.4);; /* Perfectly centers the circle */
    width: 100%; /* Makes circle larger than text */
    height: 100%;
    background-image: url("../svg/thispage.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: -1; /* Puts the circle behind the text */
}

/* Logo link is unaffected by text styles */
.menu a.home {
    display: flex;
    align-items: center;
}

.menu a.home img {
    width: 6em;
    height: auto;
}


/*========================*/
/*===== MAIN CONTENT =====*/
/*========================*/

.content {
    /*padding: 40px 0;*/
    padding: 40px 15vw;
    min-height: 70vh;
}







/* ============= */
/* HOMEPAGE GRID */
/* ============= */


#honeycomb-grid {
    display: flex;
    flex-direction: column;
    /*gap: 5vw;*/
    gap: max(0px, 250px - 19vw);
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
}

.honeycomb-row {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

.honeycomb-row.row-1 { 
    justify-content: center; 
}

/* ===== HOMEPAGE PRODUCT ITEM ===== */
.product-item {
    width: max(calc(6vw + 3em), 100px);   /* Square size - adjust as needed */
    height: calc(6vw + 3em);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block; /* Makes it a block-level link */
    text-decoration: none; /* Remove link underline */
}

/* ===== HOMEPAGE IMAGE STYLING ===== */
.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes images fill the square */
    transition: opacity 0.4s;
}

/* First image: visible by default */
.product-image.normal {
    opacity: 1;
}

/* Second image: hidden by default */
.product-image.hover {
    opacity: 0;
}

/* ===== HOVER EFFECT ===== */
/* On hover, hide first image, show second */
.product-item:hover .product-image.normal {
    opacity: 0;
}

.product-item:hover .product-image.hover {
    opacity: 1;
}


















/*=======================*/
/*=====PRODUCTS.HTML=====*/
/*=======================*/




.sun-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.circle {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rays {
  width: 250px;
  height: 250px;
  background-color: black;
  filter: blur(30px);
}

.sun {
  width: 150px;
  height: 150px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 20px;
    color: #666;
    border-top: 1px solid #eee;
}