/*
 * Monte Homepage Styles - CONTACT SHEET RECOVERY
 */

:root {
  --bg-color: #FDFBF7;
  --text-color: #1A1A1A;
  --accent-green: #004D40;
  --accent-brown: #5D4037;
  --font-serif: 'Lora', serif;
  --font-sans: 'Inter', sans-serif;
}

body { /* Apply cream background globally */
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 15px;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  border: 1px solid var(--accent-brown);
}

.main-content {

  flex: 1;

}



/* Pinstripe background for About page */

.main-content--about {

  background-image: repeating-linear-gradient(

    -45deg,

    rgba(26, 26, 26, 0.3), /* TEMPORARILY HIGHER OPACITY FOR DEBUGGING */

    rgba(26, 26, 26, 0.3) 1px,

    transparent 1px,

    transparent 20px

  );

  background-size: 20px 20px;

}

/* --- Header --- */
.home-header {
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--accent-brown);
}
.logo-mark {
  display: flex; /* Use flexbox to center image if needed */
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  padding: 8px 18px; /* Adjusted padding for button appearance */
  text-decoration: none; /* Keep text-decoration for the link itself */
}
.logo-mark img {
  height: 40px; /* Adjust height for "big" logo, maintain aspect ratio */
  width: auto;
}
.main-nav a {
  font-family: var(--font-sans);
  text-decoration: none;
  color: rgba(0,0,0,0.6);
  margin-left: 30px;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.time-greeting {
  font-family: var(--font-sans);
  font-size: 10px; /* Smaller */
  color: rgba(0,0,0,0.4); /* Light grey */
  margin-left: auto; /* Push it to the right, next to main-nav */
  margin-right: 30px; /* Spacing from main-nav */
  text-transform: uppercase; /* All caps */
  letter-spacing: 0.15em; /* Spaced out */
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 50px;
  min-height: 80vh;
  overflow: hidden;
  border-bottom: 1px solid var(--accent-brown);
  border-top: 1px solid var(--accent-brown);
}
.hero-background-wordmark {
  position: absolute;
  top: 60%;
  right: -5%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 20vw;
  font-weight: 600;
  line-height: 1;
  color: var(--text-color);
  opacity: 0.03;
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
}
.hero-image-wrapper {
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.hero-image {
  width: 100%;
  height: 75vh;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  transition: transform 0.4s ease;
}
.hero-image-wrapper:hover .hero-image {
  transform: scale(1.02);
}
.hero-copy {
  max-width: 450px;
  position: relative;
  z-index: 2;
}
.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: 72px; /* Slightly larger */
  font-weight: 400;
  line-height: 1.0; /* Tighter line height */
  letter-spacing: 0.03em; /* Tiny bit of letter-spacing */
  margin-bottom: 25px;
}
.hero-copy p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 320px;
}
.cta-wrapper {
    margin-top: 40px;
}
.cta-button {
  display: inline-block;
  font-family: var(--font-sans);
  text-decoration: none;
  color: var(--text-color);
  background-color: transparent;
  border: 1px solid var(--accent-green);
  padding: 8px 28px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em; /* More spacing */
  transition: all 0.3s ease;
  animation: pulse-border-color 5s ease-in-out infinite alternate;
}

.cta-button:hover {
  border-color: var(--accent-gold);
  animation-play-state: paused;
  transform: scale(1.05);
  border-width: 2px;
}

/* --- Contact Sheet Section --- */
.contact-sheet-section {
  padding: 10vh 0;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--accent-brown);
  border-bottom: 1px solid var(--accent-brown);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(26, 26, 26, 0.03), /* Very faint text color */
    rgba(26, 26, 26, 0.03) 1px,
    transparent 1px,
    transparent 20px
  );
  background-size: 20px 20px;
}
.contact-sheet-title {
  font-family: var(--font-serif);
  font-size: 32px; /* Slightly bigger */
  font-weight: 400;
  color: var(--text-color);
  margin-bottom: 15px;
}
.contact-sheet-specs {
  font-size: 10px; /* Smaller */
  text-transform: uppercase;
  letter-spacing: 0.2em; /* Spaced out */
  color: rgba(0,0,0,0.7);
  margin-bottom: 25px;
}
.title-rule {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.15);
  width: 200px;
  margin: 0 auto 40px auto;
}
.contact-sheet-frames {
  display: flex;
  gap: 15px;
  overflow-x: hidden;
  padding: 15px;
  border: none; /* Remove inner borders */
}
.contact-sheet-frame {
  width: 400px; /* Make them bigger */
  flex-shrink: 0;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: filter 0.3s ease;
  filter: brightness(0.9);
}
.contact-sheet-frame.active {
  filter: brightness(1.0);
}

/* --- Footer --- */
.home-footer {
  padding: 20px;
  width: 100%;
}
.footer-seal {
  font-family: var(--font-sans);
  font-size: 9px; /* Smaller */
  letter-spacing: 0.15em; /* Spaced out */
  color: var(--text-color);
  opacity: 0.7;
  text-transform: uppercase;
  text-align: right; /* In one corner */
  padding-right: 50px;
}


/* --- Full Screen Image Section --- */
.full-screen-image-section {
  padding: 80px 50px; /* Consistent with hero-section padding */
  border-bottom: 1px solid var(--accent-brown); /* Consistent with other sections */
  border-top: 1px solid var(--accent-brown);
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(0, 77, 64, 0.08) 1px, /* Less faint bottle green dot */
    transparent 1px
  );
  background-size: 10px 10px;
}

.full-screen-image {
  display: block; /* Remove extra space below image */
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  object-fit: cover; /* Cover the area, cropping if necessary */
  outline: 1px solid rgba(93, 64, 55, 0.3); /* Thin inner border (faint accent brown) */
  outline-offset: -5px; /* Pull outline inwards */
}

.image-caption {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
  text-align: right;
  margin-top: 10px;
  padding-right: 5px; /* Little padding from the edge */
}

/* --- About Section --- */
.about-section {
  padding: 80px 50px;
  border: 1px solid var(--accent-brown); /* All sides bordered */
  background-color: var(--bg-color); /* Creamish background */
}

.main-content { /* Apply pinstripe to the main content area */
  flex: 1;
}

.about-text-container {
  max-width: 500px; /* Make the box less wide */
  margin: 0 auto; /* Center the text container */
}

.back-to-home-button {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  margin-bottom: 30px;
  transition: color 0.3s ease;
}

.back-to-home-button:hover {
  color: var(--text-color);
}

.about-text-container p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-color); /* Ensure text color is consistent */
}

.about-text-container p:last-of-type {
  margin-bottom: 0; /* No margin after the last paragraph */
}

.about-text-container .signature {
  text-align: right;
  font-style: italic;
  margin-top: 30px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.7);
}

@keyframes pulse-border-color {
  from { border-color: var(--accent-green); }
  to { border-color: #004d40c7; }
}

@keyframes rotate-subtle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Footer --- */
@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    text-align: center;
  }
  .hero-image-wrapper { order: 1; }
  .hero-copy { order: 2; margin: 0 auto; }
  .hero-copy h1 { font-size: 42px; }
  .footer-seal { text-align: center; padding-right: 0; }
}

/* --- Responsive --- */

/* --- Monte Specifics Section --- */
.specifics-section {
  padding: 60px 50px;
  border-top: 1px solid var(--accent-brown);
  border-bottom: 1px solid var(--accent-brown);
  text-align: center;
  background:
    linear-gradient(27deg, rgba(0,0,0,0.01) 5px, transparent 5px) 0 5px,
    linear-gradient(207deg, rgba(0,0,0,0.01) 5px, transparent 5px) 10px 0px,
    linear-gradient(27deg, rgba(0,0,0,0.005) 5px, transparent 5px) 0px 10px,
    linear-gradient(207deg, rgba(0,0,0,0.005) 5px, transparent 5px) 10px 5px,
    linear-gradient(90deg, rgba(0,0,0,0.005) 10px, transparent 10px),
    linear-gradient(rgba(0,0,0,0.005) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.005) 75%);
  background-size: 20px 20px;
  background-color: var(--bg-color);
}

.specifics-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 40px;
}

.specifics-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.specifics-column h3 {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 10px;
}

.specifics-column p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
}

/* --- Guarantee Section --- */
.guarantee-section {
  padding: 40px 50px;
  background-color: #F9F7F3; /* Slightly darker off-white */
  border-top: 1px solid var(--accent-brown);
  border-bottom: 1px solid var(--accent-brown);
  text-align: center;
  background-image:
    linear-gradient(45deg, rgba(0,0,0,0.01) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.01) 75%),
    linear-gradient(45deg, rgba(0,0,0,0.01) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.01) 75%);
  background-size: 10px 10px;
  background-position: 0 0, 5px 5px;
}

.guarantee-content {
  max-width: 600px;
  margin: 0 auto;
}

.guarantee-content h3 {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 15px;
}

.guarantee-content p {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(0,0,0,0.7);
}

/* Custom cursor for images */
img:hover,
.contact-sheet-frame:hover {
  cursor: url("/assets/monte-logo-cursor-6085d0bf.svg") 10 10, auto;
}
