@font-face {
    font-family: 'MyCustomFont';
    src: url('source/Helvetica-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Ensure the body takes up the full height */
html, body {
    height: 100%; /* Ensure the body spans the full viewport height */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'MyCustomFont', sans-serif;
    color: white;
    background-color: #000;
    display: flex; /* Enable flex layout */
    flex-direction: column; /* Arrange content vertically */
    min-height: 100vh; /* Ensure the body spans the full viewport height */
}

/* Main content container */
.container {
    flex: 1; /* Push the footer to the bottom */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* REPLACED: was center */
    text-align: center;
    padding-top: 48px; /* ADD: top space like on phone */
    padding-bottom: 80px; /* ADD: gap above footer */
}

/* Heading placement */
h2 {
    font-size: clamp(22px, 3vw, 36px);
    margin: 0 0 12px 0;          /* Space below heading */
    margin-left: 0;              /* Reset */
    text-align: left;            /* Align text left */
    align-self: flex-start;      /* Stick to the left inside flex container */
}

.buy-now {
  font-size: clamp(22px, 3vw, 36px);
  margin: 0 0 12px 0;          /* Space below heading */
  margin-left: 0;              /* Reset */
  text-align: left;            /* Align text left */
  align-self: flex-start;    
}


/* Poster wrapper with heading */
.image-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;     /* Heading aligns left */
    margin-bottom: 48px;         /* Gap below block */
}

/* Poster frame */
.image-frame {
    width: clamp(320px, 38vw, 520px);
    background: #fff;
    margin: 0 auto 24px;
    overflow: hidden; /* Ensures nothing spills over */
    box-sizing: border-box; /* Includes border in the width calculation */
    border: 3px solid #ffffff; /* Add the border to the frame itself */
}

.image-frame img {
    display: block;
    width: 100%;
    height: auto;
    border: none; /* Remove the border from the image */
}

/* Buy now button styling */
.buy-now {
  margin-left: 1px;               /* Align buy-now section with the image */
  margin-top: -18px;                /* Space above the buy-now section */
  font-size: 18px;                 /* Font size for the text */
  font-family: 'MyCustomFont', sans-serif; /* Use custom font */
  color: white;                    /* Text color */
  text-align: left;                /* Align text to the left */
}

.buy-now a {
  color: #ff69b4;                  /* Pink hyperlink */
  text-decoration: none;           /* Remove underline */
  font-weight: bold;               /* Make the link bold */
}

.buy-now a:hover {
  text-decoration: underline;      /* Add underline on hover */
}

/* Navigation bar styling */
.navigation {
  position: absolute;
  top: 16px;
  left: 16px;
}

.navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px; /* Space between links */
}

.navigation li {
  font-family: 'MyCustomFont', sans-serif;
}

.navigation a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.navigation a:hover {
  text-decoration: underline;
}

/* Waitlist button styling */
.waitlist-btn {
  background: none;
  color: #ff99a7;
  border: none;
  border-radius: 0;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  padding: 0;
  margin: 0;
  text-align: center;
  box-shadow: none;
  outline: none;
}

.waitlist-btn:hover {
  text-decoration: underline;
}

/* Responsive design for phones */
@media (max-width: 768px) {
    .container {
        transform: scale(1); /* Keep normal scale for phones */
        padding-top: 24px; /* a bit smaller top gap on phones */
        padding-bottom: 60px;
    }

    h2 {
        font-size: 1.2em;
        margin: 0 0 0px 0;
    }

    .image-frame {
        width: min(90vw, 350px);
        max-width: none;     /* REPLACED: was 250px */
        /* REMOVED: max-height: 250px; */
        margin-bottom: 24px;
    }
}

/* Responsive design for desktops */
@media (min-width: 769px) {
    .container {
        transform: none; /* Remove scaling for desktops */
    }

    h2 {
        font-size: 1.5em;
    }

    .image-frame {
        width: clamp(320px, 38vw, 520px);
        max-width: 520px;    /* optional cap; no height cap */
        /* REMOVED: max-height: 500px; */
        margin-bottom: 32px;
    }
}

/* Footer styling */
.site-footer {
    width: 100%;
    background-color: #000; /* Match the page background */
    padding: 20px 0; /* Add spacing around the footer */
    display: flex;
    justify-content: center; /* Center the contact form horizontally */
    border-top: 0px solid rgba(255, 255, 255, 0.1); /* Add a subtle border */
    position: static; /* Ensure the footer is in normal flow */
    margin-top: 200px; /* Push the footer to the bottom */
}

/* Contact form styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 300px; /* Keep the form size consistent */
    padding: 20px; /* Retain padding for spacing */
    border-radius: 10px; /* Keep rounded corners */
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px; /* Reduce padding for smaller boxes */
    border: 1px solid #aaa; /* Slightly darker border for contrast */
    border-radius: 5px;
    font-size: 14px; /* Smaller font size */
    font-family: 'MyCustomFont', sans-serif; /* Use Helvetica Bold font */
    background-color: #000; /* Black background inside the boxes */
    color: white; /* White text inside the boxes */
    resize: none; /* Prevent resizing by dragging corners */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: white; /* White placeholder text */
    font-family: 'MyCustomFont', sans-serif; /* Use Helvetica Bold font */
}

.contact-form button {
    padding: 10px;
    background-color: #ff99a7; /* Pink button */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px; /* Smaller font size */
    font-family: 'MyCustomFont', sans-serif; /* Use Helvetica Bold font */
}

.contact-form button:hover {
    background-color: #fa909f; /* Darker pink on hover */
}

/* Newsletter form styling */
form#newsletter-form label {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
  display: block;
}

form#newsletter-form input {
  font-size: 1em;
  padding: 10px;
  width: 100%;
  text-align: center;
  margin-bottom: 16px;
  background-color: #111;
  color: #fff;
  border: 2px solid #444;
  outline: none;
  box-sizing: border-box;
}

form#newsletter-form button {
  font-size: 1em;
  padding: 10px;
  width: 100%;
  text-align: center;
  margin-bottom: 16px;
  background-color: #111;
  color: #fff;
  border: 2px solid #444;
  outline: none;
  box-sizing: border-box;
  font-weight: bold;
  cursor: pointer;
}

form#newsletter-form button {
  padding: 12px 16px;
  border: none;
  background: #ff99a7;
  color: #000;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  width: 100%;
  display: block;
}

/* Responsive design for phones */
@media (max-width: 768px) {
    .contact-form {
        max-width: 250px; /* Smaller width for phones */
        padding: 15px; /* Reduce padding for smaller screens */
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 12px; /* Smaller font size for phones */
        padding: 6px; /* Reduce padding inside the boxes */
    }

    .contact-form button {
        font-size: 12px; /* Smaller button font size */
        padding: 8px; /* Reduce button padding */
    }
}

/* Responsive design for desktops */
@media (min-width: 769px) {
    .contact-form {
        max-width: 300px; /* Default size for larger screens */
        padding: 20px; /* Retain padding for spacing */
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px; /* Default font size for desktops */
        padding: 8px; /* Default padding inside the boxes */
    }

    .contact-form button {
        font-size: 14px; /* Default button font size */
        padding: 10px; /* Default button padding */
    }
}
