/* =========================
   PRELOADER
========================= */

#preloader {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

/* OD Logo Container */
.od-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* OD Logo Image */
.od-loader img {
    width: 200px;

    filter: drop-shadow(0 0 20px rgba(195, 161, 113, 0.35));

    animation:
        intro 0.8s ease-out,
        float 2.5s ease-in-out infinite 0.8s;
}

/* Initial Appearance */
@keyframes intro {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating Effect */
@keyframes float {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-6px) scale(1.03);
    }
}

/* =========================
   HERO
========================= */

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* FULL SCREEN BACKGROUND LOGO */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* DIM OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75); /* darker than before */
  z-index: 2;
}

/* TEXT ON TOP */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 3.2rem;
  letter-spacing: 2px;
  color: white;
}

/* DOWN ARROW */
.arrow {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: white;
  font-size: 28px;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}
.topnav {
  position: fixed;
  top: -80px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 60px; /* wider spacing between items */
  padding: 18px 0;
  z-index: 999;
  transition: top 0.4s ease;
  background: transparent; /* IMPORTANT */
}

/* show on scroll */
.topnav.show {
  top: 0;
}

/* nav links */
.topnav a {
  position: relative;
  color: white;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

/* hover effect */
.topnav a:hover {
  opacity: 1;
}

/* underline animation */
.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: white;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.topnav a:hover::after {
  transform: scaleX(1);
}
.topnav {
  opacity: 0;
  transform: translateY(-10px);
  transition: top 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.topnav.show {
  top: 0;
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   ABOUT SECTION
========================= */

.about-section {
    background: #111;
    padding: 120px 40px;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    max-width: 900px;
    text-align: center;
}

.about-container h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 400;
    color: white;

    margin-bottom: 40px;
    letter-spacing: 2px;
}

.about-container h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 1px;

    margin: 20px auto 0;

    background: #C3A171;
}

.about-container p {
    color: rgba(255,255,255,0.8);

    font-size: 1.1rem;
    line-height: 1.9;

    margin-bottom: 30px;

    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
}
/* =========================
   FOOTER
========================= */

footer {
  font-family: 'Cormorant Garamond', serif;
}
footer {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;

  padding: 20px 0;

  text-align: center;

  color: rgba(255,255,255,.8);

  transition: bottom .4s ease;

  z-index: 999;

  background: transparent;
}

footer.show {
  bottom: 0;
}

footer p {
  margin: 4px 0;
  font-size: 12px;
  letter-spacing: 1px;
}

footer a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: opacity .3s ease;
}

footer a:hover {
  opacity: 1;
}

footer span {
  margin: 0 10px;
}