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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: #4a4e5c;
  background: transparent;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  color: #4a4e5c;
  padding: 1rem 0;
  margin-bottom: 0;
  background: rgba(238, 241, 218, 0.6);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(173, 178, 212, 0.25);
  position: relative;
  z-index: 1000;
}

header h1 {
  margin-bottom: 0.5rem;
}

.site-title-link {
  color: inherit;
  text-decoration: none;
  transition: text-shadow 0.3s ease;
}

.site-title-link:hover {
  text-shadow:
    0 0 20px rgba(173, 178, 212, 0.8),
    0 0 30px rgba(173, 178, 212, 0.6),
    0 0 40px rgba(199, 217, 221, 0.4),
    0 0 50px rgba(199, 217, 221, 0.3);
}

nav > ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

nav > ul > li {
  position: relative;
}

nav > ul > li.has-submenu > a::after {
  content: ' ▾';
  font-size: 0.7rem;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  list-style: none;
  background: rgba(238, 241, 218, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(173, 178, 212, 0.25);
  border: 1px solid rgba(173, 178, 212, 0.3);
  padding: 0.5rem 0;
  z-index: 1000;
}

.submenu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

nav > ul > li:hover > .submenu {
  display: block;
}

.submenu li {
  padding: 0;
}

.submenu a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 0;
  border: none;
  background: transparent;
}

.submenu a:hover {
  background: rgba(213, 229, 213, 0.6);
  transform: none;
}

nav a {
  text-decoration: none;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.2s;
  color: #5a5f80;
  font-weight: 500;
  font-size: 0.9rem;
  background: rgba(238, 241, 218, 0.5);
  border: 1px solid rgba(173, 178, 212, 0.3);
  display: inline-block;
}

nav a:hover {
  background: rgba(213, 229, 213, 0.6);
  color: #4a4e5c;
  transform: translateY(-2px);
}

nav a.active {
  background: rgba(173, 178, 212, 0.4);
  color: #4a4e5c;
  border: 1px solid rgba(173, 178, 212, 0.5);
  box-shadow: 0 2px 6px rgba(173, 178, 212, 0.25);
}

main {
  flex: 1;
  background: transparent;
  padding: 2rem 0;
}

footer {
  text-align: center;
  padding: 0.3rem 0;
  margin-top: 0;
  background: rgba(199, 217, 221, 0.5);
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 15px rgba(173, 178, 212, 0.15);
  color: #5a5f80;
  border-top: 1px solid rgba(173, 178, 212, 0.3);
  font-size: 0.85rem;
}

.seashell-counter {
  color: #5a5f80;
  font-weight: 500;
  transition: all 0.3s ease;
}

.seashell-counter-glow {
  animation: seashellGlow 1.2s ease-out;
}

@keyframes seashellGlow {
  0% {
    text-shadow:
      0 0 8px rgba(173, 178, 212, 0.9),
      0 0 15px rgba(173, 178, 212, 0.7);
    transform: scale(1.1);
  }
  40% {
    text-shadow:
      0 0 20px rgba(173, 178, 212, 1),
      0 0 35px rgba(199, 217, 221, 0.9),
      0 0 50px rgba(213, 229, 213, 0.7),
      0 0 65px rgba(238, 241, 218, 0.5);
    transform: scale(1.2);
  }
  100% {
    text-shadow: none;
    transform: scale(1);
  }
}

.seashell-icon {
  display: inline-block;
  margin: 0 0.2rem;
  transition: transform 0.2s;
}

.seashell-icon:hover {
  transform: scale(1.2);
}

/* Albums Page Styles */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.album-card {
  background: rgba(238, 241, 218, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(173, 178, 212, 0.15);
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;
  border: 1px solid rgba(199, 217, 221, 0.4);
}

.album-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(173, 178, 212, 0.25);
  background: rgba(238, 241, 218, 0.85);
}

.album-cover {
  width: 100%;
  height: 250px;
  background: rgba(213, 229, 213, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a7f94;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.album-card:hover .album-cover img {
  opacity: 1;
}

.album-info {
  padding: 1.5rem;
}

.album-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #5a5f80;
}

.album-description {
  color: #6b7199;
  margin-bottom: 0.5rem;
}

.album-meta {
  color: #7a7f94;
  font-size: 0.9rem;
}

.no-albums {
  text-align: center;
  padding: 3rem;
  color: #7a7f94;
}

/* Album Detail Styles */
.album-detail-wrapper {
  padding: 2rem;
  background: rgba(238, 241, 218, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(199, 217, 221, 0.4);
  box-shadow: 0 4px 15px rgba(173, 178, 212, 0.15);
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;
  margin-bottom: 2rem;
}

.album-detail-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(173, 178, 212, 0.2);
  background: rgba(238, 241, 218, 0.85);
}

.album-header {
  margin-bottom: 0;
}

/* Blog Page Styles */
.blog-posts {
  margin-top: 2rem;
}

.post {
  background: rgba(238, 241, 218, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(173, 178, 212, 0.15);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(199, 217, 221, 0.4);
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}

.post:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(173, 178, 212, 0.2);
  background: rgba(238, 241, 218, 0.85);
}

.blog-post-detail {
  margin-top: 2rem;
}

.post-title {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #5a5f80;
}

.post-title a {
  color: #5a5f80;
  text-decoration: none;
  transition: color 0.3s;
}

.post-title a:hover {
  color: #4a4e5c;
  text-decoration: underline;
}

.post-meta {
  color: #7a7f94;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.post-excerp {
  color: #5a5f80;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.post-content {
  color: #4a4e5c;
  line-height: 1.8;
}

.post-content h1,
.post-content h2,
.post-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.post-content p {
  margin-bottom: 1rem;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1rem;
  margin-left: 2rem;
}

.read-more {
  color: #6b7199;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.read-more:hover {
  color: #5a5f80;
  text-decoration: underline;
}

.no-posts {
  text-align: center;
  padding: 3rem;
  color: #7a7f94;
}

/* Logo Styles */
.logo-img {
  height: 60px;
  vertical-align: middle;
  margin-right: 10px;
  border: 1px solid rgba(199, 217, 221, 0.6);
  border-radius: 12px;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.site-title-link:hover .logo-img {
  box-shadow:
    0 0 10px rgba(173, 178, 212, 0.6),
    0 0 15px rgba(199, 217, 221, 0.4);
  transform: scale(1.05);
}

/* Home Page Styles */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  padding: 2rem;
  background: rgba(238, 241, 218, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(199, 217, 221, 0.4);
  box-shadow: 0 4px 15px rgba(173, 178, 212, 0.15);
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(173, 178, 212, 0.25);
  background: rgba(238, 241, 218, 0.85);
}

.feature a {
  color: #6b7199;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.feature a:hover {
  color: #5a5f80;
  text-decoration: underline;
}

/* Tag Styles */
.post-tags {
  margin-top: 0.5rem;
}

.post-tags a {
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.2s;
  color: #6b7199;
  font-weight: 500;
  font-size: 0.75rem;
  background: rgba(213, 229, 213, 0.4);
  border: 1px solid rgba(199, 217, 221, 0.4);
  display: inline-block;
  margin: 0 0.25rem 0.25rem 0;
}

.post-tags a:hover {
  background: rgba(173, 178, 212, 0.35);
  color: #5a5f80;
  transform: translateY(-2px);
}

/* Button Styles */
a.button {
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.2s;
  color: #6b7199;
  font-weight: 500;
  font-size: 0.75rem;
  background: rgba(213, 229, 213, 0.4);
  border: 1px solid rgba(199, 217, 221, 0.4);
  display: inline-block;
  margin: 0 0.25rem 0.25rem 0;
}

a.button:hover {
  background: rgba(173, 178, 212, 0.35);
  color: #5a5f80;
  transform: translateY(-2px);
}

/* Featured Image Styles */
.post.post-list-item {
  overflow: auto;
}

.post-featured-image {
  float: right;
  margin: 0 0 1rem 1rem;
  max-width: 150px;
}

.post-featured-image a {
  display: block;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 12px rgba(173, 178, 212, 0.2);
  border: 2px solid rgba(199, 217, 221, 0.5);
}

.post-clear {
  clear: both;
}

/* Blog Post Detail Featured Image */
.blog-post-content-wrapper {
  overflow: auto;
}

.blog-post .post-featured-image {
  max-width: 350px;
  margin: 0 0 1.5rem 1.5rem;
}

/* Blog Post Detail Tags */
.blog-post .post-tags {
  margin-top: 1rem;
  padding-top: 1rem;
}

/* Pagination Styles */
.pagination {
  margin-top: 2rem;
  text-align: center;
}

.pagination-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  background: rgba(238, 241, 218, 0.85);
  backdrop-filter: blur(10px);
  color: #6b7199;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(199, 217, 221, 0.45);
  transition:
    background 0.3s,
    transform 0.2s;
  box-shadow: 0 2px 8px rgba(173, 178, 212, 0.15);
}

.pagination-link:hover {
  background: rgba(173, 178, 212, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(173, 178, 212, 0.2);
}

.pagination-current {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  color: #7a7f94;
}

/* Category Page Styles */
.category-page h2 {
  margin-bottom: 1.5rem;
}

/* Page List Styles */
.page-content-wrapper {
  padding: 2rem;
  background: rgba(238, 241, 218, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(199, 217, 221, 0.4);
  box-shadow: 0 4px 15px rgba(173, 178, 212, 0.15);
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.page-content-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(173, 178, 212, 0.2);
  background: rgba(238, 241, 218, 0.85);
}

.page-item {
  overflow: auto;
}

.page-item h2 a {
  color: #6b7199;
  text-decoration: none;
  transition: color 0.3s;
}

.page-item h2 a:hover {
  color: #5a5f80;
  text-decoration: underline;
}

.page-featured-image {
  float: left;
  margin: 0 1rem 1rem 0;
  max-width: 100px;
}

.page-featured-image a {
  display: block;
}

.page-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 12px rgba(173, 178, 212, 0.2);
  border: 2px solid rgba(199, 217, 221, 0.5);
}

.page-clear {
  clear: both;
}

article.page {
  margin-top: 0;
}

article.page h1 {
  margin-bottom: 1rem;
}

article.page h2 {
  margin-bottom: 1rem;
}

article.page p {
  margin-bottom: 1rem;
}

article.page ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.page-category-link {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(199, 217, 221, 0.4);
}

.page-category-link a {
  color: #6b7199;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.page-category-link a:hover {
  color: #5a5f80;
  text-decoration: underline;
}

/* Page Detail Featured Image */
.page-detail-featured-image {
  float: right;
  margin: 0 0 1.5rem 1.5rem;
  max-width: 300px;
}

.page-detail-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 12px rgba(173, 178, 212, 0.2);
  border: 2px solid rgba(199, 217, 221, 0.5);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
