@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cardo:ital,wght@0,400;0,700;1,400&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cardo', Georgia, serif;
  background-color: #f6e5c4;
  color: #353b6e;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: #8c0505;
  color: #f6e5c4;
}

::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: #f6e5c4;
}
::-webkit-scrollbar-thumb {
  background: #65462c;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─── Layout ─── */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-md {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Nav ─── */
nav {
  padding: 24px 0;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.5rem;
  color: #8c0505;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: 'Cardo', Georgia, serif;
  font-size: 0.875rem;
  color: rgba(53, 59, 110, 0.6);
  text-transform: lowercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #353b6e;
}

/* ─── Hero (Home) ─── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(3.5rem, 10vw, 8rem);
  letter-spacing: 0.12em;
  color: #8c0505;
  font-weight: 400;
  text-align: center;
}

.hero .subtitle {
  font-family: 'Cardo', Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.125rem);
  letter-spacing: 0.2em;
  color: rgba(53, 59, 110, 0.5);
  margin-top: 16px;
  text-transform: lowercase;
  text-align: center;
}

/* ─── Bottom text ─── */
.bottom-text {
  padding-bottom: 40px;
  text-align: center;
}

.bottom-text p {
  font-family: 'Cardo', Georgia, serif;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  letter-spacing: 0.15em;
  color: rgba(53, 59, 110, 0.4);
  text-transform: lowercase;
}

/* ─── About page ─── */
.about-content {
  padding: 80px 0 112px;
}

.about-text {
  max-width: 672px;
}

.about-text p {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: rgba(53, 59, 110, 0.8);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* ─── Image grid ─── */
.image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 64px;
}

@media (min-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.image-box {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ─── Contact page ─── */
.contact-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

.contact-content h1 {
  font-family: 'Cardo', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #353b6e;
  text-transform: lowercase;
  margin-bottom: 32px;
  font-weight: 400;
}

.contact-content .inquiries {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: rgba(53, 59, 110, 0.7);
  line-height: 1.75;
  text-transform: lowercase;
  margin-bottom: 32px;
}

.contact-content .email-link {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: #8c0505;
  transition: color 0.3s;
}

.contact-content .email-link:hover {
  color: #353b6e;
}

/* ─── Footer ─── */
footer {
  background-color: #65462c;
  padding: 48px 0;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
  }
}

.footer-logo {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.25rem;
  color: #f6e5c4;
  font-weight: 400;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: rgba(246, 229, 196, 0.5);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #f6e5c4;
}

footer .email {
  font-size: 0.875rem;
  color: rgba(246, 229, 196, 0.5);
  transition: color 0.3s;
}

footer .email:hover {
  color: #f6e5c4;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(246, 229, 196, 0.15);
  margin: 32px 0;
}

.footer-copy {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  color: rgba(246, 229, 196, 0.25);
  text-align: center;
}

/* ─── Animations ─── */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 1.4s ease-out forwards;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
