/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Color Palette */
:root {
  --accent: #896C6C;         /* deep taupe (headings, primary accent) */
  --accent-dark: #6f5555;    /* hover/darker accent */
  --soft-rose: #E5BEB5;      /* rose beige */
  --parchment: #EEE6CA;      /* pale sand (cards) */
  --ivory: #F5FAE1;          /* soft cream (bg) */
  --charcoal: #333333;       /* body text */
  --muted: #6b6b6b;
  --paper: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-soft: 0 6px 18px rgba(0,0,0,0.06);
}

body {
  background: var(--ivory) !important;
}

h1,h2,h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--accent);
}

p {
  color: var(--charcoal);
}

/* Top nav */
.top-nav {
  background-color: var(--paper);
  z-index: 2;   
  border-bottom: 2px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.nameplate {
  width: 90vw;
  margin: auto;
  height: 12vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 20%;
  background:linear-gradient(135deg,var(--accent),var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-weight: bold;
  box-shadow:var(--shadow-soft);
}

.brand a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: bold;
  transition: all 0.3s ease;
}

.brand a:hover {
  transform: translateY(-4px) scale(1.05);
}

.nav-links{
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a{
  color: var(--accent);
  font-weight: bold;
  text-decoration: none;
  padding: 2rem;
  transition: all 0.3s ease;
}

.nav-links a:hover{
  color: var(--accent-dark);
  text-decoration: underline;
  transform: translateY(-4px) scale(1.05);
}

.about {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 5rem;
  padding: 1.5rem;
  animation: fadeInUp 0.8s ease-out forwards;
  align-items: center;
}

.about-title {
  font-family: "Playfair Display", serif;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 10vh;
  align-items: center;
  margin-top: 3%;
  animation: fadeInUp 0.6s ease-out forwards;
}

.text-section {
  font-family: "Playfair Display", serif;
  display: flex;
  flex-direction: column;
  height: auto;
  width: 50%;
  align-items: center;
  gap: 1rem;  
}

.text-section p {
  font-size: larger;
  line-height: 2.5rem;
}

/* Image */
.img-frame {
  position: relative;
  width: 50vw;
  height: 80vh;
  border-radius: 1rem;
  background: #202020;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

#photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Footer */
.footer{
  height: 20vh;
  padding: 2rem;
  color: var(--paper); 
  background: var(--accent);
  text-align: center;
}

/* MOBILE */

/* Tablets and smaller screens */
@media (max-width: 992px) {
  .about {
    flex-direction: column;
    height: auto;
    padding: 3rem 2rem;
    gap: 2rem;
  }

  .about-title {
    margin-top: 2rem;
    height: auto;
  }

  .text-section {
    width: 90%;
    text-align: center;
  }

  .text-section p {
    font-size: 1.1rem;
    line-height: 1.8rem;
  }

  .img-frame {
    width: 80%;
    height: 50vh;
  }

  .nav-links a {
    padding: 1rem;
  }
}

/* Phones and small devices */
@media (max-width: 600px) {
  .nameplate {
    flex-direction: column;
    height: auto;
    gap: 0.5rem;
  }

  .brand {
    gap: 0.8rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
  }

  .about {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    height: auto;
    gap: 1.5rem;
  }

  .about-title h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .text-section {
    width: 100%;
    text-align: left;
    padding: 0 1rem;
  }

  .text-section p {
    font-size: 1rem;
    line-height: 1.6rem;
  }

  .img-frame {
    width: 100%;
    height: 45vh;
    border-radius: 10px;
  }

  #photo {
    object-position: top center;
  }

  .footer {
    font-size: 0.9rem;
    padding: 1.5rem;
  }
}