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

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

:root {
  --bg: #f7f2e9; /* Soft Sand - background */
  --surface: #ffffff; /* White - surface */
  --text: #0a3d62; /* Deep Sea Blue - deep contrast */
  --muted: #6f6153;
  --primary: #2bbecf; /* Turquoise - main accent */
  --primary-dark: #0a3d62; /* Deep Sea Blue - deep contrast */
  --accent: #ff6f61; /* Coral - warm highlight */
  --gold: #d4a857; /* Gold - elegant detail */
  --border: #e8dfd5;
  --shadow: 0 8px 24px rgba(10, 61, 98, 0.1); /* Updated shadow with Deep Sea Blue */
}

body {
  font-family: 'Poppins', 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark grey - body text */
  background: linear-gradient(180deg, #f7f2e9 0%, #e8f4f8 40%, #f0f9ff 100%);
  min-height: 100vh;
}

header {
  text-align: center;
  padding: 18px 16px;
  background: transparent;
  border-bottom: none;
  position: static;
  top: auto;
  z-index: auto;
  backdrop-filter: none;
}

header h1 {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.4rem, 4vw, 1.7rem);
  letter-spacing: 0.4px;
  margin: 0;
  color: #0a3d62; /* Deep Sea Blue - headings */
}

header p {
  color: #333333; /* Dark grey - body text */
  font-size: 0.82rem;
  margin-top: 3px;
  margin-bottom: 0;
}

.brand {
  display: none;
}

.log2 {
  width: 160px;
  height: 160px;
  opacity: 0.94;
  filter: saturate(1.02);
  border-radius: 0;
  border: none;
  background: transparent;
  margin: 0 auto;
  display: block;
}

.log2-only {
  justify-content: center;
  padding: 16px 0 10px;
  background: transparent;
}

.log2-only nav { margin-top: 10px; }

nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.9); /* White with slight transparency */
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(212, 168, 87, 0.2); /* Gold - subtle accent */
}

.log2-only .brand { display:none; }

.log2-only { justify-content: space-between; }

.log2-only .log2 { margin: 0 auto; }

nav a {
  display: inline-block;
  color: #0a3d62; /* Deep Sea Blue - headings */
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 14px;
  transition: all 0.2s ease;
}

nav a:hover,
nav a.active {
  background: #ff6f61; /* Coral - highlight text/small accents */
  color: #fff;
  border-color: #ff6f61; /* Coral - highlight text/small accents */
}

main {
  width: min(1100px, 94vw);
  margin: 22px auto;
  padding-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 14px;
  align-items: start;
}

.hero {
  background: linear-gradient(180deg, #f7f2e9 0%, #e8f4f8 60%, #f0f9ff 100%);
  border: 1px solid #d4a857; /* Gold - elegant detail */
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero h2 {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #0a3d62; /* Deep Sea Blue - headings */
  margin-bottom: 10px;
}

.hero p {
  color: #333333; /* Dark grey - body text */
  font-size: 1rem;
  margin-bottom: 14px;
}

.hero-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.hero-image {
  width: 100%;
  max-height: 260px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  background: #f5f5f5;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f8f8f8;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  overflow: hidden;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.section {
  background: #fff;
  border: 1px solid #e2e7ee;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.section h3 {
  font-family: 'Caveat', cursive;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #0a3d62; /* Deep Sea Blue - headings */
  border-bottom: 1px solid #d4a857; /* Gold - thin borders, dividers */
  padding-bottom: 6px;
  /* keep original capitalization as written in the HTML */
  text-transform: none;
  letter-spacing: 0;
}

.section p {
  margin-top: 0;
  margin-bottom: 14px;
  color: #333333; /* Dark grey - body text */
}

.section.highlight {
  background: linear-gradient(180deg, #fcfdff 0%, #eaf2ff 100%);
  border-color: #c8d8ec;
}

.section + .section {
  margin-top: 12px;
}

.section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-top: 18px;
  padding: 18px;
}

.section-card h2,
.section-card h3 {  font-family: 'Caveat', cursive;  color: #0a3d62; /* Deep Sea Blue - deep contrast */
  margin-bottom: 8px;
}

.section-card form {
  margin-top: 14px;
}

.section-card .form-group {
  margin-bottom: 12px;
}

.section-card label {
  display: inline-block;
  margin-bottom: 4px;
  color: #0a3d62; /* Deep Sea Blue - headings */
  font-weight: 600;
}

.section-card input,
.section-card select,
.section-card textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e3;
  color: #2e3b45;
  font-size: 0.95rem;
}

.section-card textarea {
  min-height: 120px;
  resize: vertical;
}

.accent-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: #ff6f61; /* Coral - highlight text/small accents */
}

.section-card h3,
.section-card p,
.section-card li {
  color: #333333; /* Dark grey - body text */
  margin-bottom: 10px;
  font-size: 0.97rem;
}

.section-card ul {
  margin-left: 1rem;
  margin-top: 6px;
  list-style: disc;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.artwork {
  background: #fff;
  border: 1px solid #f0e8dd;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artwork:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.artwork img {
  width: 100%;
  display: block;
  height: 170px;
  object-fit: contain;
  background: #f8f8f8;
}

.artwork-content {
  padding: 12px 14px 14px;
  text-align: left;
}

.artwork h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #1e3d53;
}

.artwork p {
  margin: 2px 0;
  color: #54473e;
  font-size: 0.93rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f8f8f8;
}

.card-body {
  padding: 12px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.card p {
  margin: 2px 0;
  color: #54473e;
  font-size: 0.93rem;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  background: #ff6f61; /* Coral - primary buttons background */
  color: #ffffff; /* White - primary buttons text */
  text-decoration: none;
  border-radius: 8px;
  padding: 8px 13px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn:hover { background: #0a3d62; } /* Deep Sea Blue - for hover contrast */

footer {
  text-align: center;
  margin: 32px auto 14px;
  width: min(1100px, 94vw);
  padding: 12px 10px;
  background: #0a3d62; /* Deep Sea Blue - background */
  color: #ffffff; /* White - text */
  font-size: 0.9rem;
  border-top: 1px solid #d4a857; /* Gold - small accents */
}

/* Carousel styles */
.carousel-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dot.active {
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 720px) {
  nav {
    gap: 8px;
  }
  .artwork img {
    height: 150px;
  }
}
