/* Lenox Gifts - Main Stylesheet */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.6;
  color: #333;
  background: #faf8f5;
}

/* Navigation */
nav {
  background: linear-gradient(135deg, #2c1810 0%, #4a2c2a 100%);
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

nav a {
  color: #e8dcc8;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #fff;
}

/* Main content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Page header */
.page-header {
  text-align: center;
  margin-bottom: 2rem;
  color: #2c1810;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Description */
.description {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

/* Slideshow */
.slideshow-container {
  width: 400px;
  height: 400px;
  margin: 0 auto 3rem;
  position: relative;
  overflow: hidden;
  border: 4px solid #4a2c2a;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.slideshow-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}

.slideshow-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slideshow-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(44, 24, 16, 0.9);
  color: #e8dcc8;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* Image album grid - Home page (8 per row) */
.album-grid.album-8 {
  display: grid;
  grid-template-columns: repeat(8, 100px);
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

/* Image album grid - Nativity (4 per row) */
.album-grid.album-4 {
  display: grid;
  grid-template-columns: repeat(4, 200px);
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

/* Image album grid - Ornaments (6 per row) */
.album-grid.album-6 {
  display: grid;
  grid-template-columns: repeat(6, 140px);
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.album-item {
  text-align: center;
}

.album-item a {
  text-decoration: none;
  color: inherit;
}

.album-frame {
  overflow: hidden;
  border: 2px solid #4a2c2a;
  margin-bottom: 0.5rem;
  background: #fff;
  cursor: pointer;
}

.album-8 .album-frame {
  width: 100px;
  height: 100px;
}

.album-4 .album-frame {
  width: 200px;
  height: 200px;
}

.album-6 .album-frame {
  width: 140px;
  height: 140px;
}

.album-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-item .image-title {
  font-size: 0.8rem;
  color: #444;
  line-height: 1.3;
  word-break: break-word;
}

.album-4 .album-item .image-title {
  font-size: 0.9rem;
}

/* About page */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  color: #2c1810;
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
}

.about-content p {
  margin-bottom: 1rem;
  text-align: justify;
}

.contact-info {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #e8dcc8;
  border-radius: 8px;
  border-left: 4px solid #4a2c2a;
}

.contact-info h3 {
  color: #2c1810;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #2c1810;
  color: #e8dcc8;
  margin-top: 3rem;
}

footer a {
  color: #e8dcc8;
  text-decoration: underline;
}

footer a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .album-grid.album-8 {
    grid-template-columns: repeat(4, 100px);
  }
  
  .album-grid.album-6 {
    grid-template-columns: repeat(3, 140px);
  }
}

@media (max-width: 600px) {
  .slideshow-container {
    width: 100%;
    max-width: 400px;
    height: 400px;
  }
  
  .album-grid.album-8 {
    grid-template-columns: repeat(2, 100px);
  }
  
  .album-grid.album-4 {
    grid-template-columns: repeat(2, 200px);
  }
  
  .album-grid.album-6 {
    grid-template-columns: repeat(2, 140px);
  }
}
