/* ============================================================
   SEVILLE STUDIO - MASTER STYLESHEET
   ============================================================ */

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  /* ===== PARCHMENT PAPER BACKGROUND ===== */
  background-color: #f5e6c8;
  background-image: 
    /* Subtle grid lines for paper feel */
    linear-gradient(rgba(180, 150, 110, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 150, 110, 0.12) 1px, transparent 1px),
    /* Noise texture overlay */
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 40px 40px, 40px 40px, auto;
  background-attachment: fixed;
  color: #333333;
  font-family: Verdana, Arial, sans-serif;
  line-height: 1.6;
  padding: 0 20px;
  min-height: 100vh;
}

/* ===== CONTENT CONTAINERS ===== */
.page-container,
.about-container,
.shop-container,
.faq-container,
.gallery-container,
.contact-container {
  background-color: rgba(255, 248, 235, 0.85);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   NAVIGATION - Centered Tabs
   ============================================================ */

.tab-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  background: #f8f9fa;
  border-radius: 10px;
  margin: 10px auto;
  max-width: 1000px;
  width: 100%;
  flex-wrap: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(200, 180, 160, 0.2);
}

.tab-link {
  padding: 8px 20px;
  text-decoration: none;
  color: #2c3e50;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 0.95em;
  font-weight: 500;
  white-space: nowrap;
}

.tab-link:hover {
  background: #e9ecef;
  transform: translateY(-1px);
}

.tab-link.active {
  background: #2c3e50;
  color: #ffffff;
}

/* ===== CART ICON IN NAVIGATION ===== */

.cart-icon {
  position: relative;
  cursor: pointer;
  padding: 8px 15px;
  text-decoration: none;
  color: #2c3e50;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 0.95em;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.cart-icon:hover {
  background: #e9ecef;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #e74c3c;
  color: #ffffff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 0.65em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border: 2px solid #f5e6c8;
}

/* ===== FILTERS / CATEGORIES ===== */

.filter-section {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 30px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid rgba(200, 180, 160, 0.2);
}

.filter-btn {
  padding: 8px 20px;
  border: 2px solid #dddddd;
  background: #ffffff;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9em;
  font-family: Verdana, sans-serif;
  transition: all 0.3s ease;
  color: #333333;
}

.filter-btn:hover {
  border-color: #2c3e50;
  background: #f0f0f0;
}

.filter-btn.active {
  background: #2c3e50;
  color: #ffffff;
  border-color: #2c3e50;
}

/* ============================================================
   BANNER / SLIDESHOW - Home Page
   ============================================================ */

.top-banner-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  left: 0;
  top: 0;
}

.slideshow-container {
  width: 100%;
  max-width: 100%;
  position: relative;
  margin: 0 auto;
  background-color: #000000;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.mySlides {
  display: none;
}

.image-wrapper {
  width: 100%;
  position: relative;
  padding-top: 30%;
  overflow: hidden;
}

.image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  color: #ffffff;
  font-family: Verdana, sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  padding: 10px 20px;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  text-align: center;
  z-index: 10;
  pointer-events: none;
  white-space: nowrap;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* ============================================================
   PAGE NAVIGATION - Previous / Next Links
   ============================================================ */

.page-nav {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 40px auto 20px auto;
  padding: 20px 0;
  border-top: 2px solid #eeeeee;
}

.page-nav a {
  padding: 10px 25px;
  background: #2c3e50;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 0.95em;
}

.page-nav a:hover {
  background: #1a252f;
  transform: translateY(-2px);
}

/* ============================================================
   HEADINGS
   ============================================================ */

h1, h2, h3, h4 {
  color: #2c3e50;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5em;
}

h2 {
  font-size: 1.8em;
}

/* ============================================================
   LINKS
   ============================================================ */

a {
  color: #2c3e50;
  text-decoration: none;
}

a:hover {
  color: #3498db;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 900px) {
  .tab-container {
    gap: 5px;
    padding: 12px 20px;
    max-width: 100%;
    border-radius: 8px;
    flex-wrap: wrap;
  }

  .tab-link {
    padding: 6px 14px;
    font-size: 0.85em;
  }

  .cart-icon {
    padding: 6px 12px;
    font-size: 0.85em;
  }

  .slide-caption {
    font-size: 14px;
    padding: 6px 12px;
    bottom: 10px;
  }

  .page-nav {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .page-nav a {
    width: 100%;
    text-align: center;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.5em;
  }
  
  .page-container,
  .about-container,
  .shop-container,
  .faq-container,
  .gallery-container,
  .contact-container {
    padding: 20px;
  }
}

@media (max-width: 700px) {
  body {
    padding: 0 10px;
  }

  .tab-container {
    gap: 4px;
    padding: 10px 15px;
    border-radius: 8px;
    flex-wrap: wrap;
  }

  .tab-link {
    padding: 5px 10px;
    font-size: 0.75em;
  }

  .cart-icon {
    padding: 5px 10px;
    font-size: 0.75em;
  }

  .cart-count {
    width: 18px;
    height: 18px;
    font-size: 0.55em;
    top: -4px;
    right: -4px;
  }

  .slide-caption {
    font-size: 12px;
    padding: 4px 10px;
    bottom: 8px;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 0.8em;
  }

  .filter-section {
    gap: 8px;
    padding: 10px;
  }

  h1 {
    font-size: 1.6em;
  }

  h2 {
    font-size: 1.3em;
  }
  
  .page-container,
  .about-container,
  .shop-container,
  .faq-container,
  .gallery-container,
  .contact-container {
    padding: 15px;
  }
}

@media (min-width: 1200px) {
  .tab-container {
    max-width: 1100px;
    padding: 18px 40px;
  }

  .tab-link {
    padding: 10px 28px;
    font-size: 1em;
  }
}

body {
  background-color: #f5e6c8;
  background-image: url("https://sevillestudio.neocities.org/45-degree-fabric-light.png");
  background-repeat: repeat;
  background-attachment: fixed;
}