/* DEFINE LOCAL VARIABLES HERE */
:root {
  --page-margin-small: 20px;
  --page-margin-large: 75px;
  --page-maximum-width: 1200px;
  --page-margin-top: 45px;
  --gap-between-title-and-menu-area: 0px;
  --text-color-light: #888;
  --indentation-mobile-mode: 10px;
  --menu-text-color:hsl(0, 0%, 60%)
}


body {
  font-family: 'Proxima Nova', 'proxima-nova', Helvetica, Arial, sans-serif; /* Use Proxima Nova as the primary font then fallback options by order of preference*/
  font-weight: 300;
  font-size: 15px;
  
  text-transform: none;
  text-decoration: none;
  color: #eee;
  background: #fff;
  margin: var(--page-margin-small); /* Optional: page margins that is for small screens - see again media tags for margins for large screens */    
}

.page-container {
  margin-top: var(--page-margin-top); /* JUST TITLE MARGIN */
  max-width: var(--page-maximum-width);
  margin: 0 auto;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--page-margin-top);
  margin-left: 0px;
  margin-right: 0px;
  flex-wrap: nowrap;
  gap: var(--gap-between-title-and-menu-area);
  min-height:160px; /* This is to include space under the title component that makes room for the menu to comfortably expand */
}

.footer {
  text-align: center;
  font-size: 12px;
  color: #888;
  padding: 20px 0;
}

.main-area {
  background-color: #ffffff;
  padding: 0px;
  text-align: center;
}

.spacer {
  height: 70px; /* MARGIN TO SEPARATE SPACE UNDER FOR  THE GALLERY */
}

.title {
  font-family: 'futura-pt',helvetica;
  text-align: left;
  letter-spacing: 1px;
  padding: 0px;
  font-size: 42px;
  font-style: italic;
  font-weight: 300;
  color: #000; /* Make title black */
  margin:0px;
}

.subtitle {
  font-size: 12px;
  color: var(--text-color-light);
  letter-spacing: 8px;
  margin-top: 0px;
  margin-bottom: 0px; 
  margin-left:2px;
  line-height: 1.0; /* Adjust line-height for subtitle meaning the space above and under the letters! */
}

.copyright-text {
  text-align: left;
}


.gallery {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* default for small screens */
  gap: 50px;
  padding: 10px;    
}

/* settings for med size screens */
@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  body {
    margin-left: var(--page-margin-small);
    margin-right: var(--page-margin-small);
  }   
  
}
/* settings for med size screens + */
@media (min-width: 750px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  body {
    margin-left: var(--page-margin-large);
    margin-right: var(--page-margin-large);
  }   
  
}
/* settings for large size screens */
@media (min-width: 1050px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  body {
    margin-left: var(--page-margin-large);
    margin-right: var(--page-margin-large);
  }  
}


.gallery {
  margin: 0;
  padding: 0;
}

.thumb {
  aspect-ratio: 1.5; /* TESTING FOR RATIO TEST EVERYTHING */
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
  position:relative;
}

.thumb:hover {
  transform: scale(1);
}

.thumb img {
  width: 100%;
  height:100%;
  object-fit: cover;
  display: block;
  margin: auto;
}

.thumb .overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(1px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.thumb:hover .overlay {
  opacity: 1;
}

.thumb-title {
  color: rgb(59, 59, 59);
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing:2px;
  transform: translateX(-30px);
  opacity: 0;
  transition: all 0.3s ease;
}

.thumb:hover .thumb-title {
  transform: translateY(0);
  opacity: 1;
}

/*STYLE THE MENU BAR - nav is the menu for navigation*/


/* STYLE THE MENU ITEMS dropdown-items are the elements in mobile but not sure yet why they are different. TODO NEEDS CHECKING */
.nav-item,
.dropdown-item {    
  
  font-family: 'futura-pt', sans-serif;
  font-size: 13px;
  font-weight:400;
  color: var(--menu-text-color);
  display: inline-block;
  letter-spacing: 1px;
  text-transform: uppercase;  
  cursor: pointer;
  margin-top:5px;
  margin-bottom:5px;
}

/* this is important this is the top of every drop-down group and needs to be there so that the distances are all the same. */
.dropdown-content {
    margin-top:5px;
}

.nav-item:hover,
.dropdown-item:hover {
  color: #000
}


/* here you can style the horizontal menu */
.horizontal-nav {
  display: flex;
  justify-content: flex-end; /* Align items to the right */
  background-color: rgba(173, 216, 230, 0); /* Set background */
  gap: 30px; /*the horizotontal menu gap between menu items */
  padding: 10px; /* Optional: adds spacing inside */
}


