/* ===== CSS Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  /* font-family: 'Varela', Arial, sans-serif; */
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin: 0 0 1rem;
}

a {
  color: #005d33;
  text-decoration: none;
}

a:hover {
  color: #BA0E15;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Layout ===== */
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Top Bar ===== */
.topbar {
  background: #f5f5f5;
  /* padding: 10px 0; */
  font-size: 14px;
}

.topbar .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== Header ===== */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 10px;
  /* max-width: 1200px; */
  /* margin: 0 auto; */
}

.logo {
  flex: 0 0 auto;
}

.taylor-titles-wrapper {
  display: flex;
  gap: 40px;  /* Space between titles - adjust as needed */
  /* align-items: center; */
}

#taylorTitle {
  font-family: 'Varela', sans-serif;
  line-height: 0.65;
  /* margin: 0; */
}

#taylorTitle a {
  color: #BA0E15;
  text-shadow: 0.025px 0.5px black;
  display: inline-block;
}

#taylorTitle a:hover {
  color: #BA0E15;
}

#taylorTitle span {
  font-size: 3.1rem;
  letter-spacing: 2px;
}

#afterText {
  font-size: 1.75rem;
}

#taylorAddress {
  text-align: left;
  color: #BA0E15;
  font-family: Arial, sans-serif;
  font-size: x-large;
  line-height: 1;
  font-weight: bold;
}

/* ===== Navigation ===== */
.primarymenu {
  text-align: right;
  margin-top: 40px;
  margin-left: -40em;
}

.sf-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.sf-menu li {
  position: relative;
}

.sf-menu a {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  display: block;
  transition: color 0.3s;
}

.sf-menu a:hover,
.sf-menu .current-menu-item a {
  color: #BA0E15;
}

/* Mobile Menu Toggle */
#iva-mobile-nav-icon {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

#iva-mobile-nav-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s;
}

#iva-mobile-nav-icon span:nth-child(1) { top: 0; }
#iva-mobile-nav-icon span:nth-child(2),
#iva-mobile-nav-icon span:nth-child(3) { top: 8px; }
#iva-mobile-nav-icon span:nth-child(4) { top: 16px; }

.iva-mobile-menu {
  display: none;
  background: #f9f9f9;
  padding: 20px;
  position: relative;
  z-index: 100;
}

.iva-mobile-menu.active {
  display: block;
}

.iva_mmenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.iva_mmenu li {
  border-bottom: 1px solid #ddd;
}

.iva_mmenu a {
  display: block;
  padding: 15px 0;
  color: #333;
}

.iva_mmenu .current-menu-item a {
  color: #BA0E15;
}

/* Mobile Address */
.mobile-address {
  display: none;
  text-align: center;
  padding: 20px;
  background: #f9f9f9;
}

.mobile-address h1 {
  font-size: 2rem;
  color: #BA0E15;
  text-shadow: 0.025px 0.5px black;
  margin-bottom: 0.5rem;
}

.mobile-address h3 {
  color: #339933;
  font-size: 1.2rem;
  margin: 0;
}

/* ===== Main Content ===== */
#main {
  min-height: 500px;
  padding: 0 20px;
}

/* Hero Banner */
.hero-banner {
  width: 100%;
}

.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Discount Banner */
.discount-banner {
  background-color: #BA0E15;
  color: #ffd800;
  text-align: center;
  padding: 25px 20px;
  font-size: 2em;
  line-height: 1.3;
  font-weight: bold;
}

.discount-banner .subtitle {
  color: #ffffff;
  font-size: 1em;
  display: block;
  margin-top: 10px;
}

.discount-banner .subtitle span {
  font-size: 0.7em;
}

/* Special Row (3 columns) */
.special-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;  /* Negative margin to counteract col padding */
  padding: 0;
}

.special-row .col {
  flex: 1 1 30%;
  padding: 0 15px;  /* Add padding to cols instead of row */
  box-sizing: border-box;
}

.special-row .col-featured {
  position: relative;
  display: flex;
  flex-direction: column;
}

.special-row .col-featured figure {
  margin: 0;
  width: 100%;
  flex: 1;
  display: flex;
}

.special-row .col-featured img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.unit-price {
  position: relative;
  margin-bottom: 40px;
  background: rgba(255,255,255,0.95);
  padding: 15px;
}

.unit-price h2 {
  margin: 0;
  color: #000;
  font-size: 1.5rem;
}

.unit-price .cents {
  font-size: 0.6em;
  vertical-align: super;
}

/* Shout Box */
#shoutBox {
  text-align: center;
  margin-top: 10px;
}

#shoutBox h2 {
  color: #4cbb17;
  line-height: 1;
  font-size: 165%;
  margin-bottom: 1rem;
}

/* Feature List */
#moneyBox {
  font-size: 1em;
  font-weight: bold;
  color: #005d33;
  list-style: none;
  line-height: 1;
  padding: 0;
  margin: 0;
}

#moneyBox li {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

#moneyBox li:before {
  content: "✓ ";
  color: #4cbb17;
  font-weight: bold;
  margin-right: 8px;
}

/* Storage Size Info Section */
.storage-size-section {
  background: #f7f7f7;
  padding: 40px 20px;
}

.storage-size-section .inner {
  max-width: 1000px;
  margin: 0 auto;
}

.fancy-heading {
  margin-bottom: 20px;
}

.fancy-heading h2 {
  color: #333;
  margin-bottom: 5px;
}

.fancy-heading .subtitle {
  color: #666;
  font-style: italic;
}

/* Size Tabs */
.size-tabs {
  margin-top: 30px;
}

.size-tabs-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 2px solid #ddd;
  gap: 5px;
}

.size-tab {
  padding: 15px 25px;
  background: #f0f0f0;
  cursor: pointer;
  border: none;
  font-size: 16px;
  transition: background 0.3s;
}

.size-tab:hover,
.size-tab.active {
  background: #BA0E15;
  color: white;
}

.size-tab-content {
  display: none;
  padding: 30px;
  background: white;
}

.size-tab-content.active {
  display: block;
}

.size-tab-inner {
  display: flex;
  gap: 30px;
  align-items: center;
}

.size-tab-text {
  flex: 1;
}

.size-tab-image {
  flex: 0 0 300px;
}

/* ===== Footer ===== */
#footer {
  background: #333;
  color: #fff;
}

.footer-area-top {
  background: #444;
  padding: 30px 20px;
  text-align: center;
}

.one-story-notice {
  font-size: 1.5rem;
  margin: 10px 0;
}

.footer-area-middle {
  background: #333;
  padding: 40px 20px;
}

.footer-area-middle .inner {
  display: flex;
  justify-content: space-between;
}

.widget-title {
  color: #ffd800;
  margin-bottom: 20px;
}

.contactinfo-wrap {
  line-height: 1.8;
}

.contactinfo-wrap .icon {
  display: inline-block;
  width: 30px;
  color: #ffd800;
}

.footer-area-bottom {
  background: #222;
  padding: 20px;
}

.footer-area-bottom .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

.footer-navigation a {
  color: #ccc;
}

.footer-navigation a:hover {
  color: #ffd800;
}

.footer-navigation .current-menu-item a {
  color: #ffd800;
}

.payment-icons {
  color: #666;
}

.payment-icons i {
  margin-left: 10px;
  opacity: 0.5;
}

/* Back to Top */
#back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

#back-top a {
  display: block;
  width: 50px;
  height: 50px;
  background: #BA0E15;
  color: white;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background 0.3s;
}

#back-top a:hover {
  background: #8a0a10;
}

/* ===== Page Header ===== */
.page-header {
  background: #f5f5f5;
  padding: 40px 20px;
  text-align: center;
}

.page-title {
  margin: 0;
  color: #333;
}

/* ===== Rates Table ===== */
.rates-section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.rates-intro {
  text-align: center;
  margin-bottom: 40px;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.rates-table th,
.rates-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.rates-table th {
  background: #BA0E15;
  color: white;
  font-weight: 600;
}

.rates-table tr:hover {
  background: #f9f9f9;
}

.rates-table .price {
  font-weight: bold;
  color: #005d33;
  font-size: 1.1em;
}

.rates-table .special {
  color: #BA0E15;
  font-style: italic;
}

.rates-table .description {
  font-size: 0.9em;
  color: #666;
}

.rates-table img {
  max-width: 120px;
  height: auto;
  border-radius: 4px;
}

/* ===== Responsive ===== */
@media screen and (max-width: 960px) {
  .header-area {
    flex-direction: column;
    text-align: center;
    position: relative;
    padding-right: 60px; /* Make room for menu button */
  }
  
  .primarymenu {
    display: none; /* Hide the desktop menu container on mobile */
  }
  
  #taylorAddress {
    display: none;
  }
  
  .mobile-address {
    display: block;
  }
  
  .sf-menu {
    display: none;
  }
  
  #iva-mobile-nav-icon {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
  }
  
  .iva-mobile-menu.active {
    display: block;
  }
  
  .special-row {
    flex-direction: column;
  }
  
  .size-tabs-list {
    flex-wrap: wrap;
  }
  
  .size-tab {
    flex: 1 1 auto;
    padding: 10px 15px;
  }
  
  .size-tab-inner {
    flex-direction: column;
  }
  
  .size-tab-image {
    flex: 0 0 auto;
  }
  
  .rates-table {
    font-size: 14px;
  }
  
  .rates-table th,
  .rates-table td {
    padding: 10px;
  }
  
  .discount-banner {
    font-size: 1.3em;
  }
}

@media screen and (max-width: 600px) {
  #taylorTitle span {
    font-size: 1.8rem;
  }
  
  #afterText {
    font-size: 1rem;
  }
  
  .mobile-address h1 {
    font-size: 1.5rem;
  }
  
  .mobile-address h3 {
    font-size: 1rem;
  }
  
  .discount-banner {
    font-size: 1.1em;
    padding: 20px 15px;
  }
  
  .rates-table {
    display: block;
    overflow-x: auto;
  }
  
  .footer-area-bottom .inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}
