/*Rentals Section*/
.contact-block {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.contact-left,
.contact-right {
  flex: 1;
  position: relative;
}

.contact-block.active .contact-left {
  transform: translateY(0);
}

.contact-block.active .contact-right {
  transform: translateY(0);
}

.contact-left {
   background-color: var(--fonts); 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.contact-form {
  max-width: 600px;
  width: 100%;
}

.contact-title {
  display: flex;
  align-items: baseline; 
    justify-content: center; 
  gap: 20px; 
  margin-bottom: 28px;

}

.contact-title h3 {
  font-size: 60px;
  font-weight: 300;
  color: var(--background);
    font-family: 'GT Super';
  margin: 0;
  line-height: 1.5;
}

.contact-title h2 {
  font-family: 'GT Super';
  font-style: italic;
  color: var(--accent);
  font-size: 60px;
  font-weight: 100;
  margin: 0;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
	font-family: "Libre Franklin", sans-serif;
font-weight: 300;
  background: transparent;
  border: 1px solid rgb(238, 224, 215, 0.7);
  color: var(--background);
  padding: 12px;
  margin-bottom: 20px;
  font-size: 16px;
}

.contact-form textarea {
  height: 120px;
  resize: none;
  font-weight: 300;
  	font-family: "Libre Franklin", sans-serif;
}

.contact-form label {
  display: flex;
  align-items: center; 
  gap: 10px;
  font-size: 14px;
  line-height: 1; 
  cursor: pointer;
}

.contact-form label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--light-blue);
  flex-shrink: 0;
}

.contact-form label span {
  position: relative;
  	font-family: "Libre Franklin", sans-serif;
font-weight: 100;
}

.contact-form label a {
  color: var(--background);
  text-decoration: underline;
  margin-left: 4px;
}

label {
  color: var(--background);
}

.contact-right {
  height: 100vh;
  background-color: var(--background);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
padding: 40px;
  color: var(--fonts);
}

.contact-info {
  display: flex;
  flex-direction: column;
}
.exhibitions {
  max-width: 650px;
  display: flex;        
  flex-direction: column; 
  gap: 30px;    
}
.contact-info .exhibitions h3 {
	font-size: 60px;
	font-weight: 300;
  font-family: 'GT Super';
	color: var(--fonts);
	text-transform: uppercase;
  text-align: center;
	line-height: 1.5;
}

.contact-info .exhibitions p {
	font-family: "Libre Franklin", sans-serif;
	font-weight: 300;
	font-size: 18px;
	line-height: 1.5;
	color: var(--fonts);
}

.contact-info .exhibitions p em {
  font-style: italic;
  font-weight: 500;
}

.contact-info .exhibitions p strong {
  font-weight: 600;
}

.read-more-rentals {
  display: inline-flex;
  align-items: center;
  font-family: "Libre Franklin", sans-serif;
  gap: 5px; 
  font-weight: 400;
  font-size:16px;
	line-height: 1.5;
  color: var(--accent-bright);
  text-decoration: none; 
  position: relative;
}

.read-more-rentals .text {
  position: relative; 
}

.read-more-rentals .text::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.read-more-rentals .arrow {
  transition: transform 0.3s ease;
}

.read-more-rentals:hover .text::after {
  transform: scaleX(1);
}

.read-more-rentals:hover .arrow {
  transform: translateX(5px);
} 

/*form*/
.form-group {
  margin-bottom: 16px; 
  display: flex;
  flex-direction: column;
}
.form-flex{
  display: flex;
}
.form-group input,
.form-group textarea {
  margin-bottom: 4px; 
}

.error-message {
  display: none;
  font-size: 13px;
  color: var(--red);
  line-height: 1.2;
}

input.error,
textarea.error {
  border-color: var(--red) !important;
}

.modal {
  display: none; 
  position: fixed;
  top: 5%;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgb(4, 56, 75, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  font-family: "Libre Franklin", sans-serif;
color: var(--fonts);
line-height: 30px;
}

.modal-content {
  background: var(--background);
  padding: 3rem;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
    z-index: 9999;
}

.close-modal.item-3 {
  width: 35px;
  height: 35px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  z-index: 10001;
}

.close-modal.item-3::before,
.close-modal.item-3::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 35px;
  background-color: var(--fonts);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  transition: transform 0.3s ease-out;
}

.close-modal.item-3::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-modal.item-3:hover::before,
.close-modal.item-3:focus::before {
  transform: translate(-50%, -50%) rotate(135deg);
}

.close-modal.item-3:hover::after,
.close-modal.item-3:focus::after {
  transform: translate(-50%, -50%) rotate(225deg);
}

.privacy-link{
margin-left: 6px;
  	font-family: "Libre Franklin", sans-serif;
font-weight: 100;
color: var(--background);
font-size: 16px;
}

.custom-list {
  list-style: none;
  padding-left: 0;  
}

.custom-list li::before {
  content: "–";      
  display: inline-block;
  width: 1em;        
  margin-right: 0.5em; 
  color: var(--fonts);       
}


@media (max-width: 1024px) {
  .contact-block {
    flex-direction: column;
    height: auto;
  }

  .contact-left,
  .contact-right {
    flex: none;
    width: 100%;
    height: auto;
    padding: 40px 20px;
  }

  .contact-title h3,
  .contact-title h2 {
    font-size: 40px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 15px;
    padding: 12px;
  }

  .contact-info .exhibitions h3 {
    font-size: 36px;
  }

  .contact-info .exhibitions p {
    font-size: 18px;
    line-height: 1.5;
  }
}

@media (max-width: 768px) {
  .contact-title {
    gap: 10px;
  }

  .contact-title h3,
  .contact-title h2 {
    font-size: 32px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 10px;
  }

  .contact-info .exhibitions h3 {
    font-size: 28px;
  }

  .contact-info .exhibitions p {
    font-size: 16px;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .contact-left,
  .contact-right {
    padding: 30px 15px;
  }

  .contact-title h3,
  .contact-title h2 {
    font-size: 24px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 8px;
  }

  .contact-info .exhibitions h3 {
    font-size: 24px;
  }

  .contact-info .exhibitions p {
    font-size: 14px;
    line-height: 1.3;
  }
}

.contact-block,
.contact-left,
.contact-right,
.contact-form input,
.contact-form textarea,
.contact-form label input[type="checkbox"] {
  transition: all 0.4s ease;
}

.contact-form label input[type="checkbox"]:hover {
  transform: scale(1.1);
}



#press {
  margin-top: 50px;
  padding: 30px 12vw 50px 12vw;
  background: var(--background);
  color: var(--fonts);
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}
#press-churchill{
    margin-top: 50px;
}
/* Grid */
.press-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.grid-churchill{
    grid-template-columns: repeat(2, 1fr); 
    gap: 50px;
}
.grid-ashes{
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px;
}
.press-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.press-item-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 2.5;
  width: 100%;
  max-width: 280px;
  max-height: 350px;
  display: block;
  text-decoration: none;
  color: inherit;
}

.press-item-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); 
  z-index: 1;
}

.press-item .press-item-text {
  font-family: 'GT Super', serif;
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: var(--accent-bright);
  text-transform: uppercase;
  margin: 5px 0 0 0 ;
}


.press-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Overlay */
.press-item-img::after {
  content: "Read More";
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--background);
  font-family: "Libre Franklin", sans-serif;
  font-size: 18px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 5;
  transform: scale(1.05);
  transition: opacity 0.3s ease, transform 0.5s ease;
  pointer-events: none;
}

/* Hover effects */
.press-item-img:hover img {
  transform: scale(1.1);
}
.press-item-img:hover::after {
  opacity: 1;
  transform: scale(1);
}


.press-item .description-press {
  font-family: "Libre Franklin", sans-serif;
  font-size: 18px;
  font-weight: 200;
  margin-top: 10px;
  align-self: center;
}



#pdf-modal {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(4, 56, 75, 0.9);
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-sizing: border-box;
  z-index: 9999;
}

#pdf-modal.active {
  display: flex;
}

#pdf-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(4, 56, 75, 0.9);
  z-index: -1;
}

.pdf-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  max-height: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pdf-viewer {
  /* width: 100%;
  height: 100%;
  border: none; */
  width: 100%;
  height: 80vh;
  border: none;
  object-fit: contain;
  background: white;
  overflow: hidden;
}

.modal-close.item-3 {
  width: 35px;
  height: 35px;
  position: absolute;
  top: 40px;
  right: 40px;
  cursor: pointer;
  z-index: 10001;
  background: none;
  border: none;
  padding: 0;
}

.modal-close.item-3::before,
.modal-close.item-3::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 35px;
  background-color: var(--white);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  transition: transform 0.3s ease-out;
}

.modal-close.item-3::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close.item-3:hover::before,
.modal-close.item-3:focus::before {
  transform: translate(-50%, -50%) rotate(135deg);
}

.modal-close.item-3:hover::after,
.modal-close.item-3:focus::after {
  transform: translate(-50%, -50%) rotate(225deg);
}

.pdf-popup-msg {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  color: #042C3E;
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 10002;
  max-width: 80%;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.pdf-popup-msg.show {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .pdf-modal-content {
    max-width: 100%;
    max-height: 75%;
    padding: 0 0;
  }

  .pdf-viewer {
    width: 120%;
    height: 80vh;
    align-items: center;
  }

  .modal-close.item-3 {
    top: 20px;
    right: 10px;
    width: 25px;
    height: 25px;
  }

  .modal-close.item-3::before,
  .modal-close.item-3::after {
    width: 25px;
  }
  #press{
    padding: 20px 0;
  }
  .press-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0;
  }
.grid-ashes{
    grid-template-columns: repeat(2, 1fr);
}
  .press-item .description-press {
    font-size: 16px;
    text-align: center;
  }
    .pdf-popup-msg {
    font-size: 14px;
    padding: 10px 16px;
    bottom: 40px;
    max-width: 90%;
  }
}

/* Ultra small screens (e.g. older phones) */
@media (max-width: 480px) {
  .pdf-viewer {
    height: 85vh;
  }

  .modal-close.item-3 {
    top: 15px;
    right: 15px;
  }

  .press-item .press-item-text {
    font-size: 14px;
  }
    .pdf-popup-msg {
    font-size: 13px;
    padding: 8px 12px;
    bottom: 20px;
  }
}
