/* ================================
   Reset & Base
   ================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    background-image:url('bg2.png');
    /* Control how the image repeats (prevents tiling) */
    background-repeat: no-repeat; 
    
    /* Ensure the image covers the entire element without stretching */
    background-size: cover; 
    
    /* Center the image within the container */
    background-position: center; 
    
    /* (Optional) Fix the image so it doesn't scroll with the content */
    background-attachment: fixed; 

    margin: 0;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    font-family: 'Cormorant Garamond', Georgia, serif;

    background-color: #0b0b0b;
    color: #e6e8eb;

    animation-name: fadeIn;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

/* ================================
   Top Bar
   ================================ */

.topbar {
    height: 56px;
    padding: 0 32px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid #1f1f1f;
}

h1 {
  position: relative;
  padding: 0;
  margin: 0;
  font-family:'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 50px;
  color: #ffffff;
  -webkit-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

h1 span {
  display: block;
  font-size: 0.5em;
  line-height: 1.8;
}
h1 em {
  font-style: normal;
  font-weight: 600;
}

.title h1 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5em;
  padding-bottom: 15px;
  position: relative;
}
.title h1:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: #ffffff;
}
.title h1:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 255px;
  background-color: #ffffff;
}

/* ================================
   Hero Section
   ================================ */

.hero {
    flex: 1;

    max-width: 1080px;
    margin: 0 auto;

    padding: 80px 32px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    animation-name: fadeIn;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.hero h1 {
    font-size: 50px;
    font-weight: 500;
    line-height: 1.2;

    margin-bottom: 16px;
}

.description {
    font-size: 20px;
    color: #a1a1aa;
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 40px;
}

/* ================================
   Primary Action
   ================================ */

.primary-action {
    align-self: flex-start;

    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;

    color: #0b0b0b;
    background-color: #ffffff;

    border-radius: 6px;
    text-decoration: none;

    transition: background-color 0.15s ease,
                transform 0.1s ease;
}

.primary-action:hover {
    background-color: #e5e5e5;
    transform: translateY(-1px);
}

.primary-action:active {
    transform: translateY(0);
}

/* ================================
   Upload Modal (Universal)
   ================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.hidden {
    display: none;
}

.modal {
    background: #0b0d12;
    color: #e6e8eb;
    width: 420px;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #000000;
    font-weight: 600;
}

.modal-header button {
    font-family: 'Cormorant Garamond', Georgia, serif;
    background: none;
    border: none;
    color: #e6e8eb;
    font-size: 18px;
    cursor: pointer;
}

/* Upload body */
.upload-modal {
    width: 440px;
}

.upload-body {
    padding: 24px;
}

/* Upload zone */
.upload-zone {
    border: 2px dashed #000000;
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    background: #000000;
    transition: border-color 0.2s, background 0.2s;
}

.upload-zone:hover {
    border-color: #6e6e6e;
}

.upload-zone.dragover {
    border-color: #000000;
    background: #0b0d12;
}

.upload-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.upload-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.upload-text span {
    font-size: 13px;
    color: #9aa4bf;
}

.upload-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 18px;
    background: #ffffff;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid #e6e8eb;
    border-radius: 8px;
    cursor: pointer;
}

.upload-btn:hover {
    background-color: #e5e5e5;
    transform: translateY(-1px);
}



/* ================================
   Footer
   ================================ */

.footer {
    height: 48px;
    /* background-color: #000000; */
    opacity: 0.6;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;
    color: #ffffff;

    /* border-top: 1px solid #1f1f1f; */
}
