
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
/* link to fonts */
/* my styles */
/* Custom properties */
:root {
    --font-text: "Jost", sans-serif;
    --brand-font: "Cormorant Garamond", serif;

    --color-bg: #c8ccc9;
    --color-text: black;
    --color-accent: red;

      --bg: #f5f1eb;
      --text: #1a1714;
      --muted: #7a6f65;
      --accent: #b8874a;
      --card-bg: #fdfaf6;
      --border: #ddd5c8;
      --shadow: rgba(60, 40, 20, 0.10);
}
/* CSS Resets */
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img {
    width: 100%;
}
/* global styles */
body {
    color: black;
    color: var(--color-text);
    background-color: #f5f1eb;
    background-color: var(--bg);
}
.brand {
    font-family: "Cormorant Garamond", serif;
    font-family: var(--brand-font);
}
header img {
    border-radius: 10px;
}
/* typography styles */
html {
    font-size: 1.1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    font-family: "Jost", sans-serif;
    font-family: var(--font-text);
}
h1,
h2,
h3,
p {
    font-weight: 300;
}
h1 {
    font-size: 3.375rem;
}
h2 {
    font-size: 2.25rem;
}
h3 {
    font-size: 1.5rem;
}
p {
    font-size: 1.1rem;
    max-width: 60ch;
}
/* layout styles */
.container {
    margin: 0 auto;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    margin-top: 20px;
    flex-grow: 1;
}
p + p {
    margin-top: 20px;
}
footer {
    margin-bottom: 20px;
}
@media (max-width: 959.98px) {
    body {
        margin: 10px;
    }
}
/* Navigation Styles */
nav {
    margin: 10px auto;
}
nav ul {
        list-style: none;
    }
nav li {
        display: inline-block;
        margin-right: 40px;
    }
nav a {
        color: black;
        color: var(--color-text);
        -webkit-text-decoration: none;
        text-decoration: none;
        text-transform: uppercase;
        transition: color 250ms ease;
    }
nav a:hover {
        color: red;
        color: var(--color-accent);
    }
main li {
    margin: 20px auto;
}
main li a {
        color: black;
        color: var(--color-text);
        font-size: 1.2rem;
        -webkit-text-decoration: none;
        text-decoration: none;
        transition: color 250ms ease;
    }
main li a:hover {
        color: red;
        color: var(--color-accent);
    }
/* Gallery page styles */
body {
      background-color: #f5f1eb;
      background-color: var(--bg);
      color: #1a1714;
      color: var(--text);
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      min-height: 100vh;
      padding: 60px 40px;
    }
header {
      text-align: center;
      margin-bottom: 60px;
    }
header h1 {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 300;
      font-size: max(2.4rem, min(5vw, 4rem));
      letter-spacing: 0.12em;
      color: #1a1714;
      color: var(--text);
    }
header p {
      margin-top: 10px;
      font-size: 0.78rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: #7a6f65;
      color: var(--muted);
    }
.divider {
      width: 60px;
      height: 1px;
      background: #b8874a;
      background: var(--accent);
      margin: 18px auto 0;
    }
.gallery {
      display: flex;
      flex-wrap: wrap;
      gap: 32px;
      justify-content: center;
      align-items: flex-start;
      max-width: 1300px;
      margin: 0 auto;
    }
.card {
      background: #fdfaf6;
      background: var(--card-bg);
      border: 1px solid #ddd5c8;
      border: 1px solid var(--border);
      width: 220px;
      flex-shrink: 0;
      box-shadow: 0 4px 18px rgba(60, 40, 20, 0.10);
      box-shadow: 0 4px 18px var(--shadow);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: default;
    }
.card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 32px rgba(60, 40, 20, 0.10);
      box-shadow: 0 12px 32px var(--shadow);
    }
.card-img-wrap {
      width: 100%;
      overflow: hidden;
      background: #e8e0d5;
      position: relative;
    }
.card-img-wrap img {
      width: 100%;
      height: auto;
      -o-object-fit: cover;
         object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }
.card:hover .card-img-wrap img {
      transform: scale(1.04);
    }
/* Placeholder style for when no real image src is provided */
.card-img-wrap .placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem;
      color: #7a6f65;
      color: var(--muted);
      letter-spacing: 0.08em;
      font-style: italic;
      background: linear-gradient(135deg, #e5ddd3 0%, #d8cfc5 100%);
    }
.card-info {
      padding: 14px 16px 16px;
      border-top: 1px solid #ddd5c8;
      border-top: 1px solid var(--border);
    }
.card-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.05rem;
      font-weight: 400;
      color: #1a1714;
      color: var(--text);
      letter-spacing: 0.02em;
    }
.card-type {
      margin-top: 4px;
      font-size: 0.7rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: #b8874a;
      color: var(--accent);
    }
.centered {
    text-align: center;
}
.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}
.error-container {
    text-align: center;
    max-width: 480px;
    animation: fadeIn 0.6s ease-out;
}
.code {
    font-size: max(4rem, min(10vw, 8rem));
    font-weight: 700;
    letter-spacing: -2px;
    color: red;
    color: var(--color-accent);
}
.message {
    margin-top: 1rem;
    font-size: 1.2rem;
    line-height: 1.6;
}
.home-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: red;
    background-color: var(--color-accent);
    color: white;
    -webkit-text-decoration: none;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 200ms ease;
}
.home-link:hover {
    background-color: #005fcc;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate {
    visibility: visible;
    animation-fill-mode: both;
    animation-delay: 1s;
    animation: fadeIn 1.2s;
    animation-timing-function: ease-in-out;
}
@keyframes fadeIn  {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}