/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Custom Fonts */
@font-face {
  font-family: 'CstBerlinWestOriginalOT';
  src: url("/assets/CstBerlinWestOriginalOT-8e37255a.otf") format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'CstBerlinWestOriginalOT', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Hero section with background image */
.hero {
  min-height: 100vh;
  background-image: url("/assets/lofts-delfines-hero-95b2fa47.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-variant: small-caps;
}

.hero p {
  font-size: 1.5rem;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Content sections */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

section p {
  font-size: 1.2rem;
  color: #7f8c8d;
  margin-bottom: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  section {
    padding: 2rem 1rem;
  }
}

/* Weather cam (unlisted page) */
.weathercam {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  text-align: center;
}

.weathercam h1 {
  font-size: 2rem;
}

.weathercam-sub,
.weathercam-note {
  color: #666;
  margin-bottom: 1.25rem;
}

.weathercam-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.weathercam-frame {
  width: 100%;
  aspect-ratio: 1536 / 432;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}

.weathercam-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
