/* ShadeShark Website Responsive Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

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

body {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(14px, 2.5vw, 16px);
  line-height: 1.6;
  color: #FFFFFF;
  background-color: #1a1a1a;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(24px, 5vw, 36px);
}

h2 {
  font-size: clamp(20px, 4vw, 28px);
}

h3 {
  font-size: clamp(18px, 3.5vw, 22px);
}

p {
  margin-bottom: 1rem;
}

a {
  color: #FF3A36;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #222222;
}

/* Global Dropdown Menu Visibility Fix */
select,
select option,
.ecwid select,
.ecwid select option,
.ionos select,
.ionos select option,
input[type="select"],
input[type="select"] option {
  color: #000000 !important;
  background-color: #ffffff !important;
  border: 1px solid #cccccc !important;
  font-size: 14px !important;
  padding: 8px !important;
}

select:focus,
.ecwid select:focus,
.ionos select:focus,
input[type="select"]:focus {
  color: #000000 !important;
  background-color: #ffffff !important;
  border: 2px solid #ff4444 !important;
  outline: none !important;
  box-shadow: 0 0 5px rgba(255, 68, 68, 0.3) !important;
}

select option,
.ecwid select option,
.ionos select option,
input[type="select"] option {
  color: #000000 !important;
  background-color: #ffffff !important;
  padding: 8px !important;
}

select option:hover,
.ecwid select option:hover,
.ionos select option:hover,
input[type="select"] option:hover {
  background-color: #f0f0f0 !important;
  color: #000000 !important;
}

select option:checked,
select option:selected,
.ecwid select option:checked,
.ecwid select option:selected,
.ionos select option:checked,
.ionos select option:selected,
input[type="select"] option:checked,
input[type="select"] option:selected {
  background-color: #ff4444 !important;
  color: #ffffff !important;
}

/* Additional IONOS/Ecwid specific selectors */
.ecwid-productBrowser select,
.ecwid-productBrowser select option,
.ecwid-cart select,
.ecwid-cart select option,
.ecwid-checkout select,
.ecwid-checkout select option,
#ecwid_html select,
#ecwid_html select option,
[id*="ecwid"] select,
[id*="ecwid"] select option,
[class*="ecwid"] select,
[class*="ecwid"] select option {
  color: #000000 !important;
  background-color: #ffffff !important;
  border: 1px solid #cccccc !important;
}

/* Account Page and More Actions Dropdown Fix */
.ecwid-account select,
.ecwid-account select option,
.ecwid-orders select,
.ecwid-orders select option,
[class*="more-actions"] select,
[class*="more-actions"] select option,
[class*="order-actions"] select,
[class*="order-actions"] select option,
.dropdown-menu,
.dropdown-menu option,
.dropdown-content,
.dropdown-content option,
[role="menu"],
[role="menu"] option,
[role="listbox"],
[role="listbox"] option {
  color: #000000 !important;
  background-color: #ffffff !important;
  border: 1px solid #cccccc !important;
  font-size: 14px !important;
  padding: 8px !important;
  z-index: 9999 !important;
}

/* Account page dropdown hover and focus states */
.ecwid-account select:focus,
.ecwid-orders select:focus,
[class*="more-actions"] select:focus,
[class*="order-actions"] select:focus,
.dropdown-menu:focus,
[role="menu"]:focus,
[role="listbox"]:focus {
  color: #000000 !important;
  background-color: #ffffff !important;
  border: 2px solid #ff4444 !important;
  outline: none !important;
  box-shadow: 0 0 5px rgba(255, 68, 68, 0.3) !important;
}

/* Account page dropdown options hover */
.ecwid-account select option:hover,
.ecwid-orders select option:hover,
[class*="more-actions"] select option:hover,
[class*="order-actions"] select option:hover,
.dropdown-menu option:hover,
[role="menu"] option:hover,
[role="listbox"] option:hover {
  background-color: #f0f0f0 !important;
  color: #000000 !important;
}

/* Print receipt and action buttons */
button[class*="print"],
button[class*="receipt"],
button[class*="download"],
a[class*="print"],
a[class*="receipt"],
a[class*="download"] {
  color: #000000 !important;
  background-color: #ffffff !important;
  border: 1px solid #cccccc !important;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(15px, 3vw, 20px);
}

/* Header Styles - RESPONSIVE RED NAVIGATION BAR */
header {
  background-color: #e30613 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(10px, 2vw, 20px);
  position: relative;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-image {
  max-height: clamp(35px, 6vw, 50px);
  width: auto;
  filter: invert(1);
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #000000;
  cursor: pointer;
  padding: 5px;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: clamp(15px, 3vw, 30px);
}

nav ul li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 2.5vw, 16px);
  color: #000000 !important;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: block;
}

nav ul li a:hover {
  color: #ffffff !important;
  background-color: rgba(0, 0, 0, 0.1);
}

/* Hero Section */
/* Hero Image Section */
.hero-image {
  position: relative;
  height: 70vh;
  min-height: 500px;
  background-image: url('../images/RedLandscapeClose.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 5%;
  right: 45%;
  bottom: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(20px, 3vw, 40px);
}

.hero-image h1 {
  font-size: clamp(28px, 6vw, 48px);
  color: #ffffff;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  font-weight: 700;
  line-height: 1.2;
  max-width: 500px;
  margin: 0;
}

/* Hero Content Section */
.hero-content {
  padding: clamp(60px, 10vw, 80px) 0 clamp(40px, 8vw, 60px);
  background-color: #1a1a1a;
  text-align: center;
}

.hero-content h2 {
  margin-bottom: 30px;
  font-size: clamp(32px, 6vw, 48px);
  color: #ffffff;
  font-weight: 700;
  font-family: 'Arial Black', Arial, sans-serif;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  letter-spacing: 1px;
}

.hero-content p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: clamp(16px, 3vw, 22px);
  line-height: 1.6;
  color: #ffffff;
}

.highlight-red {
  color: #e30613;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-benefits {
  margin: 30px auto;
  max-width: 800px;
}

.hero-benefits p {
  margin: 20px auto !important;
  font-size: clamp(18px, 3.5vw, 24px) !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  color: #ffffff;
}

/* Legacy Hero Section (keeping for compatibility) */
.hero {
  padding: clamp(100px, 15vw, 120px) 0 clamp(40px, 8vw, 60px);
  background-color: #1a1a1a;
  text-align: center;
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(24px, 5vw, 36px);
  color: #ffffff;
}

.hero h2 {
  margin-bottom: 20px;
  font-size: clamp(24px, 5vw, 36px);
  color: #ffffff;
}

.hero p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: clamp(16px, 3vw, 22px);
  line-height: 1.6;
  color: #ffffff;
}

.hero-benefits {
  margin: 30px auto;
  max-width: 800px;
}

.hero-benefits p {
  margin: 20px auto !important;
  font-size: clamp(18px, 3.5vw, 24px) !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  color: #ffffff;
}

/* Features Section */
.features {
  padding: clamp(40px, 8vw, 60px) 0;
  background-color: #2a2a2a;
}

.features h2 {
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 40px);
  font-size: clamp(36px, 7vw, 52px);
  color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 4vw, 30px);
  margin-bottom: clamp(30px, 5vw, 40px);
}

.feature-card {
  padding: clamp(30px, 5vw, 45px);
  background-color: #e30613;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(227, 6, 19, 0.3);
  text-align: center;
  color: #FFFFFF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(227, 6, 19, 0.4);
}

.feature-card h3 {
  margin-bottom: 15px;
  color: #FFFFFF;
  font-size: clamp(24px, 4vw, 28px);
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-card p {
  color: #FFFFFF;
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Products Section */
.products {
  padding: clamp(40px, 8vw, 60px) 0;
  background-color: #2a2a2a;
}

.products h2 {
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 40px);
  font-size: clamp(36px, 7vw, 52px);
  color: #ffffff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 4vw, 40px);
  justify-items: center;
}

.product-card {
  width: 100%;
  max-width: 500px;
  background-color: #2a2a2a;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.product-image {
  width: 100%;
  height: clamp(200px, 30vw, 300px);
  object-fit: cover;
  background-color: transparent;
}

.product-card h3 {
  font-size: clamp(18px, 3vw, 22px);
  margin: 15px 0 10px 0;
  color: #ffffff;
}

.product-card p {
  font-size: clamp(14px, 2.5vw, 16px);
  color: #ffffff;
  margin: 10px 15px;
  line-height: 1.5;
}

.price {
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 600;
  color: #ffffff;
  margin: 15px 0;
}

.product-button {
  display: inline-block;
  padding: clamp(12px, 2.5vw, 15px) clamp(25px, 5vw, 35px);
  background-color: #e30613;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 2.5vw, 16px);
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 15px;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 30px);
}

.product-button:hover {
  background-color: #c73232;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Navigation Panel Styles */
.navigation-panel {
  margin-top: clamp(40px, 6vw, 60px);
  padding: clamp(30px, 5vw, 40px);
  background-color: #1a1a1a;
  border-radius: 12px;
  text-align: center;
}

.nav-buttons {
  display: flex;
  flex-direction: column;
  gap: clamp(15px, 3vw, 20px);
  align-items: center;
}

.nav-button {
  display: inline-block;
  padding: clamp(15px, 3vw, 18px) clamp(30px, 6vw, 40px);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 3vw, 18px);
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
}

.nav-button.primary {
  background-color: #e30613;
  color: #FFFFFF;
}

.nav-button.primary:hover {
  background-color: #c73232;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.nav-button.secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.nav-button.secondary:hover {
  background-color: #FFFFFF;
  color: #1a1a1a;
  transform: translateY(-2px);
}

/* Responsive Navigation Panel */
@media (min-width: 768px) {
  .nav-buttons {
    flex-direction: row;
    justify-content: center;
    gap: clamp(20px, 4vw, 30px);
  }
}

.btn {
  display: inline-block;
  padding: clamp(10px, 2vw, 12px) clamp(20px, 4vw, 24px);
  background-color: #FF3A36;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 2.5vw, 16px);
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-height: 44px; /* Touch-friendly minimum */
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  background-color: #222222;
  color: #FFFFFF;
}

.btn-black {
  background-color: #222222;
}

.btn-black:hover {
  background-color: #444444;
}

/* Order Form */
.order-section {
  padding: clamp(50px, 10vw, 80px) 0;
  background-color: #2a2a2a;
}

.order-title {
  font-size: clamp(32px, 6vw, 48px);
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 40px);
  color: #FFFFFF;
  font-weight: 700;
}

.order-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #333333;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
  padding: clamp(20px, 4vw, 40px);
}

.order-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #FFFFFF;
  font-size: clamp(14px, 2.5vw, 16px);
}

input, select, textarea {
  width: 100%;
  padding: clamp(8px, 2vw, 10px);
  border: 1px solid #555555;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(14px, 2.5vw, 16px);
  background-color: #444444;
  color: #FFFFFF;
  min-height: 44px; /* Touch-friendly minimum */
}

.product-selection {
  margin-bottom: 30px;
}

.product-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.product-option {
  background-color: #333333;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border: 3px solid transparent;
  position: relative;
  min-height: clamp(350px, 50vw, 450px);
}

.product-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
  border-color: #FF3A36;
}

.product-option.selected {
  border-color: #FF3A36;
  box-shadow: 0 6px 20px rgba(255, 58, 54, 0.3);
}

.product-option img {
  width: 100%;
  height: clamp(200px, 25vw, 300px);
  object-fit: cover;
  background-color: transparent;
}

.product-option .product-details {
  padding: clamp(15px, 3vw, 20px);
  text-align: center;
  color: #FFFFFF;
  background-color: #333333;
}

.product-option h4 {
  font-size: clamp(18px, 3vw, 22px);
  margin-bottom: 10px;
  color: #FFFFFF;
  font-weight: 700;
}

.product-option p {
  font-size: clamp(14px, 2.5vw, 16px);
  margin-bottom: 15px;
  color: #CCCCCC;
  line-height: 1.4;
}

.product-option .price {
  font-size: clamp(20px, 3.5vw, 24px);
  font-weight: 700;
  color: #FF3A36;
  margin-bottom: 0;
}

.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
}

.quantity-btn {
  width: clamp(35px, 6vw, 40px);
  height: clamp(35px, 6vw, 40px);
  background-color: #444444;
  border: 1px solid #555555;
  border-radius: 4px;
  font-size: clamp(16px, 3vw, 20px);
  cursor: pointer;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px; /* Touch-friendly minimum */
}

.quantity-input {
  width: clamp(50px, 8vw, 60px);
  height: clamp(35px, 6vw, 40px);
  text-align: center;
  min-height: 44px; /* Touch-friendly minimum */
}

/* Footer */
footer {
  background-color: #444444;
  color: #FFFFFF;
  padding: clamp(30px, 5vw, 40px) 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(20px, 4vw, 30px);
}

.footer-section {
  margin-bottom: clamp(20px, 3vw, 30px);
}

.footer-section h3 {
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: clamp(16px, 3vw, 18px);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #DDDDDD;
  font-size: clamp(14px, 2.5vw, 16px);
}

.footer-section ul li a:hover {
  color: #FFFFFF;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #555555;
  margin-top: 30px;
  color: #DDDDDD;
  font-size: clamp(12px, 2vw, 14px);
}

/* Features Link Section */
.features-link-section {
  padding: clamp(30px, 5vw, 40px) 0;
  background-color: #1a1a1a;
  text-align: center;
}

.features-link {
  display: inline-block;
  padding: clamp(12px, 2.5vw, 15px) clamp(25px, 4vw, 30px);
  background-color: #e30613;
  color: #FFFFFF;
  text-decoration: none;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  min-height: 44px; /* Touch-friendly minimum */
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  margin: 0 auto;
}

.features-link:hover {
  background-color: #c20510;
  color: #FFFFFF;
  text-decoration: none;
}

/* Mobile-Specific Styles */
@media (max-width: 768px) {
  /* Mobile Navigation */
  .nav-toggle {
    display: block !important;
    z-index: 1002;
    position: relative;
  }
  
  nav {
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    width: 100% !important;
    background-color: #e30613 !important;
    display: none !important;
    padding: 0 !important;
    z-index: 1001 !important;
    max-height: calc(100vh - 80px) !important;
    overflow-y: auto !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
  }
  
  nav.nav-open,
  nav.active {
    display: block !important;
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1001 !important;
  }
  
  /* Enhanced IONOS mobile navigation fix - Mobile only */
  @media (max-width: 768px) {
    /* Force navigation container visibility */
    body.ecwid-customer-loggedOut nav.nav-open,
    body.ecwid-customer-loggedIn nav.nav-open,
    .ecwid nav.nav-open,
    .ionos-store-section nav.nav-open,
    body nav#main-nav.nav-open {
      display: block !important;
      position: fixed !important;
      top: 70px !important;
      left: 0 !important;
      width: 100% !important;
      height: auto !important;
      min-height: 300px !important;
      max-height: none !important;
      z-index: 9999 !important;
      background-color: #e30613 !important;
      visibility: visible !important;
      opacity: 1 !important;
      overflow: visible !important;
      clip: auto !important;
      clip-path: none !important;
    }
    
    /* Force navigation list visibility */
    body.ecwid-customer-loggedOut nav.nav-open ul,
    body.ecwid-customer-loggedIn nav.nav-open ul,
    .ecwid nav.nav-open ul,
    .ionos-store-section nav.nav-open ul,
    body nav#main-nav.nav-open ul {
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      height: auto !important;
      min-height: 300px !important;
      max-height: none !important;
      overflow: visible !important;
      list-style: none !important;
      margin: 0 !important;
      padding: 0 !important;
    }
    
    /* Force all navigation items to be visible */
    body.ecwid-customer-loggedOut nav.nav-open ul li,
    body.ecwid-customer-loggedIn nav.nav-open ul li,
    .ecwid nav.nav-open ul li,
    .ionos-store-section nav.nav-open ul li,
    body nav#main-nav.nav-open ul li {
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      height: auto !important;
      min-height: 40px !important;
      width: 100% !important;
      margin: 0 !important;
      padding: 10px 20px !important;
      border-bottom: 1px solid rgba(255,255,255,0.1) !important;
      overflow: visible !important;
      clip: auto !important;
      clip-path: none !important;
    }
    
    /* Force navigation links to be visible */
    body.ecwid-customer-loggedOut nav.nav-open ul li a,
    body.ecwid-customer-loggedIn nav.nav-open ul li a,
    .ecwid nav.nav-open ul li a,
    .ionos-store-section nav.nav-open ul li a,
    body nav#main-nav.nav-open ul li a {
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      color: white !important;
      text-decoration: none !important;
      font-size: 16px !important;
      font-weight: normal !important;
      line-height: 1.5 !important;
      width: 100% !important;
      height: auto !important;
      min-height: 20px !important;
    }
  }
  
  body.ecwid-customer-loggedOut nav.nav-open,
  body.ecwid-customer-loggedIn nav.nav-open,
  .ecwid nav.nav-open,
  .ionos-store-section nav.nav-open {
    display: block !important;
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1001 !important;
  }
  
  nav ul {
    flex-direction: column;
    padding: 20px 0;
  }
  
  nav ul li {
    margin: 0;
    text-align: center;
  }
  
  nav ul li a {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0;
  }
  
  /* Ensure mobile nav appears above all content */
  header {
    z-index: 1000 !important;
    position: fixed !important;
  }
  
  /* Prevent overflow issues from interfering with mobile nav */
  body.nav-open {
    overflow-x: visible !important;
  }
  
  .container {
    overflow-x: visible !important;
  }
  
  /* Fix for pages with overflow hidden that might clip the nav */
  .feature-detail,
  .feature-detail .container,
  .hero-content,
  .hero-content .container {
    overflow: visible !important;
  }
  
  /* Adjust hero padding for mobile nav */
  .hero {
    padding-top: clamp(120px, 20vw, 140px);
  }
  
  /* Mobile Hero Image Section */
  .hero-image {
    height: 60vh;
    min-height: 400px;
  }
  
  .hero-image h1 {
    font-size: clamp(24px, 8vw, 36px);
    padding: 0 20px;
  }
  
  .hero-content {
    padding: clamp(40px, 8vw, 60px) 0 clamp(30px, 6vw, 40px);
  }
  
  /* Mobile product cards */
  .products-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .product-card {
    max-width: 100%;
  }
  
  /* Mobile order form */
  .order-form {
    grid-template-columns: 1fr;
  }
  
  .product-options {
    grid-template-columns: 1fr;
  }
  
  /* Mobile footer */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  /* FEATURES PAGE MOBILE LAYOUT - HIGH SPECIFICITY */
  .feature-detail .container .feature-row,
  .feature-detail .container .feature-row.reverse {
    display: flex !important;
    flex-direction: column !important;
    grid: none !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: stretch !important;
  }
  
  /* Force image-first, text-second order on mobile */
  .feature-detail .container .feature-row .feature-image,
  .feature-detail .container .feature-row.reverse .feature-image {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 15px auto !important;
    flex: none !important;
  }
  
  .feature-detail .container .feature-row .feature-text,
  .feature-detail .container .feature-row.reverse .feature-text {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding: 0 15px 20px 15px !important;
    flex: none !important;
  }
  
  /* Mobile image constraints */
  .feature-detail .feature-image {
    margin-bottom: 15px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
  }
  
  .feature-detail .feature-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 250px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }
  
  /* Mobile text styling */
  .feature-detail .feature-text p {
    font-size: 22px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    color: #FFFFFF !important;
  }
  
  /* Container constraints for mobile */
  .feature-detail {
    padding: 20px 0 !important;
    overflow-x: hidden !important;
  }
  
  .feature-detail .container {
    padding: 0 15px !important;
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large Screen Styles */
@media (min-width: 1200px) {
  .features-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .products-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

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

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #FF3A36;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .feature {
    border: 2px solid #FFFFFF;
  }
  
  .product-card {
    border: 2px solid #FFFFFF;
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}


/* Features Page Specific Styles - Mobile-First Design */
.features-hero {
  padding: clamp(80px, 15vw, 120px) 0 clamp(40px, 8vw, 60px);
  background-color: #1a1a1a;
  text-align: center;
}

.features-hero h1 {
  font-size: clamp(28px, 6vw, 48px);
  color: #FFFFFF;
  margin-bottom: 20px;
}

.features-hero p {
  font-size: clamp(20px, 4vw, 28px);
  color: #CCCCCC;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
  line-height: 1.5;
}

.feature-section-header {
  padding: clamp(40px, 8vw, 60px) 0 clamp(20px, 4vw, 30px);
  background-color: #2a2a2a;
  text-align: center;
}

.feature-section-header h2 {
  font-size: clamp(40px, 7vw, 56px);
  color: #FF3A36;
  margin: 0;
}

.feature-section-header p {
  font-size: clamp(22px, 4.5vw, 32px);
  color: #FFFFFF;
  max-width: 700px;
  margin: 20px auto 0;
  font-weight: 500;
  line-height: 1.4;
}

.feature-detail {
  padding: clamp(30px, 6vw, 50px) 0;
  background-color: #1a1a1a;
}

/* Mobile-First Layout - Works for ALL screen sizes */
.feature-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.feature-row.reverse {
  /* No special styling needed - all rows look the same */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-image {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  aspect-ratio: 7 / 5;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.feature-image img:hover {
  transform: scale(1.02);
}

.feature-text {
  width: 100%;
  max-width: 600px;
  padding: 20px 15px 0 15px;
  text-align: center;
  margin: 0 auto;
}

/* Original feature-text p style - now overridden by hierarchy styles above */

/* Features Page CTA Section */
.features-cta {
  padding: clamp(40px, 8vw, 60px) 0;
  background-color: #2a2a2a;
  text-align: center;
}

.features-cta h2 {
  font-size: clamp(24px, 5vw, 36px);
  color: #FFFFFF;
  margin-bottom: 20px;
}

.features-cta p {
  font-size: clamp(16px, 3vw, 18px);
  color: #CCCCCC;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Desktop Enhancements */
@media (min-width: 769px) {
  .feature-detail {
    padding: clamp(50px, 8vw, 80px) 0;
  }
  
  .feature-row {
    padding: 0 40px;
  }
  
  .feature-image {
    max-width: 600px;
    margin-bottom: clamp(15px, 3vw, 25px);
    aspect-ratio: 7 / 5;
  }
  
  .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .feature-text {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
  }
  
  /* Tablet feature-text p styles now handled by hierarchy styles above */
}

/* Large Screen Optimizations */
@media (min-width: 1200px) {
  .feature-row {
    max-width: 900px;
    padding: 0 60px;
  }
  
  .feature-image {
    max-width: 650px;
  }
  
  .feature-text {
    max-width: 750px;
    text-align: center;
    margin: 0 auto;
  }
}







/* Instructions Page Styles */
.instructions-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: #FFFFFF;
  padding: clamp(80px, 12vw, 120px) 0 clamp(60px, 10vw, 80px);
  text-align: center;
}

.instructions-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.instructions-hero p {
  font-size: clamp(18px, 3vw, 24px);
  color: #CCCCCC;
  max-width: 600px;
  margin: 0 auto;
}

.instruction-section {
  padding: clamp(60px, 10vw, 80px) 0;
  background-color: #1a1a1a;
}

.instruction-section:nth-child(even) {
  background-color: #2a2a2a;
}

.instruction-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #ff4444;
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 40px);
  font-weight: 700;
}

.instruction-section p {
  font-size: clamp(18px, 3vw, 22px);
  color: #FFFFFF;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(30px, 5vw, 40px);
}

.instruction-image-container {
  max-width: 300px;
  margin: 0 auto clamp(20px, 3vw, 25px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.instruction-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.instruction-image-container img:hover {
  transform: scale(1.02);
}

.length-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(15px, 3vw, 25px);
  margin-top: clamp(40px, 6vw, 60px);
}

.length-option {
  background-color: #333333;
  padding: clamp(20px, 3vw, 25px);
  border-radius: 12px;
  text-align: center;
  border: 2px solid #444444;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.length-option:hover {
  border-color: #ff4444;
  transform: translateY(-5px);
}

.length-option h3 {
  font-size: clamp(16px, 2.5vw, 20px);
  color: #ff4444;
  margin-bottom: 15px;
  font-weight: 600;
}

.length-option p {
  font-size: clamp(14px, 2vw, 16px);
  color: #CCCCCC;
  margin: 15px 0 0;
  line-height: 1.4;
}

.length-option img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  aspect-ratio: 1 / 3;
}

.folding-steps {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 60px);
  margin-top: clamp(40px, 6vw, 60px);
}

.folding-step {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 4vw, 30px);
  background-color: #333333;
  padding: clamp(30px, 5vw, 40px);
  border-radius: 12px;
  border: 2px solid #444444;
}

.folding-step img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.step-number {
  background-color: #ff4444;
  color: #FFFFFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: clamp(20px, 3vw, 24px);
  color: #ff4444;
  margin-bottom: 15px;
  font-weight: 600;
}

.step-content p {
  font-size: clamp(16px, 2.5vw, 18px);
  color: #CCCCCC;
  text-align: left;
  margin: 15px 0 0;
}

.rental-section {
  background-color: #2a2a2a;
}

.rental-steps {
  margin-top: clamp(40px, 6vw, 60px);
}

.rental-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 40px);
  align-items: center;
  background-color: #333333;
  padding: clamp(30px, 5vw, 40px);
  border-radius: 12px;
  border: 2px solid #ff4444;
}

.rental-step-content h3 {
  font-size: clamp(24px, 4vw, 28px);
  color: #ff4444;
  margin-bottom: 20px;
  font-weight: 600;
}

.rental-step-content p {
  font-size: clamp(18px, 3vw, 20px);
  color: #FFFFFF;
  text-align: left;
  margin: 0;
}

/* Quick Steps Section */
.quick-start {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.quick-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.step-image {
  margin-top: 15px;
}

.step-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tip {
  background-color: #333333;
  padding: clamp(30px, 5vw, 40px);
  border-radius: 12px;
  text-align: center;
  border: 2px solid #444444;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.tip:hover {
  border-color: #ff4444;
  transform: translateY(-5px);
}

.tip i {
  font-size: 48px;
  color: #ff4444;
  margin-bottom: 20px;
}

.tip h3 {
  font-size: clamp(20px, 3vw, 24px);
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 600;
}

.tip p {
  font-size: clamp(16px, 2.5vw, 18px);
  color: #CCCCCC;
  margin: 0;
}

.instructions-cta {
  background: linear-gradient(135deg, #ff4444 0%, #cc3333 100%);
  color: #FFFFFF;
  padding: clamp(60px, 10vw, 80px) 0;
  text-align: center;
}

.instructions-cta h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
  font-weight: 700;
}

.instructions-cta p {
  font-size: clamp(18px, 3vw, 24px);
  margin-bottom: clamp(30px, 5vw, 40px);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile Responsive Adjustments for Instructions */
@media (max-width: 768px) {
  .folding-step {
    flex-direction: column;
    text-align: center;
  }
  
  .folding-step img {
    max-width: 150px;
    margin: 0 auto 15px;
  }
  
  .step-content p {
    text-align: center;
  }
  
  .rental-step {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .rental-step-content p {
    text-align: center;
  }
  
  .length-options {
    grid-template-columns: 1fr;
  }
  
  .length-option img {
    max-width: 250px;
    aspect-ratio: 1 / 4;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
}


/* Rental Folding Steps Styles */
.rental-folding-steps {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 60px);
  margin-top: clamp(40px, 6vw, 60px);
}

.rental-folding-step {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 4vw, 30px);
  background-color: #333333;
  padding: clamp(30px, 5vw, 40px);
  border-radius: 12px;
  border: 2px solid #ff4444;
}

.rental-folding-step .step-number {
  background-color: #ff4444;
  color: #FFFFFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.rental-folding-step .step-content {
  flex: 1;
}

.rental-folding-step .step-content h3 {
  font-size: clamp(20px, 3vw, 24px);
  color: #ff4444;
  margin-bottom: 15px;
  font-weight: 600;
}

.length-option p {
  font-size: clamp(16px, 2.5vw, 18px);
  color: #FFFFFF;
  margin: 15px 0 0;
  line-height: 1.4;
  text-align: center;
}

.rental-folding-step .step-content p {
  font-size: clamp(27px, 4.5vw, 30px);
  color: #FFFFFF;
  text-align: center;
  margin: 20px auto 0;
  font-weight: 500;
  max-width: 400px;
  line-height: 1.3;
}

/* Mobile Responsive for Rental Folding Steps */
@media (max-width: 768px) {
  .rental-folding-step {
    flex-direction: column;
    text-align: center;
  }
  
  .rental-folding-step .step-content p {
    text-align: center;
  }
}


/* Social Media Icons - Enhanced for Mobile Usability */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #555555;
    border-radius: 50%;
    color: #ffffff;
    font-size: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: #ff4444;
    color: #ffffff;
    transform: translateY(-2px);
}

.social-links a i {
    font-size: 24px;
}

/* Enhanced Mobile Social Media Icons */
@media (max-width: 768px) {
    .social-links {
        gap: 25px;
        margin-top: 25px;
        justify-content: center;
    }
    
    .social-links a {
        width: 60px;
        height: 60px;
        font-size: 28px;
        /* Larger touch target for mobile */
        min-width: 60px;
        min-height: 60px;
    }
    
    .social-links a i {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 30px;
        margin-top: 30px;
    }
    
    .social-links a {
        width: 65px;
        height: 65px;
        font-size: 30px;
        /* Even larger for small screens */
        min-width: 65px;
        min-height: 65px;
    }
    
    .social-links a i {
        font-size: 30px;
    }
}

/* Individual Social Media Platform Colors */
.social-links a[href*="facebook"]:hover {
    background-color: #1877f2;
}

.social-links a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-links a[href*="twitter"]:hover {
    background-color: #1da1f2;
}

.social-links a[href*="linkedin"]:hover {
    background-color: #0077b5;
}


/* Why Choose ShadeShark - Red Boxes Layout */
.features {
    padding: clamp(40px, 8vw, 60px) 0;
    background-color: #1a1a1a;
}

.features h2 {
    text-align: center;
    font-size: clamp(28px, 5vw, 36px);
    color: #ffffff;
    margin-bottom: clamp(30px, 6vw, 50px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 4vw, 30px);
    margin-bottom: clamp(30px, 6vw, 50px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background-color: #e30613;
    padding: clamp(30px, 6vw, 45px);
    border-radius: 8px;
    text-align: center;
    color: #ffffff;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.3);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.4);
}

.feature-card h3 {
    font-size: clamp(24px, 5vw, 28px);
    margin-bottom: clamp(18px, 4vw, 25px);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-card p {
    font-size: clamp(18px, 4vw, 22px);
    line-height: 1.6;
    margin: 0;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-section {
    text-align: center;
    margin-top: clamp(30px, 6vw, 50px);
}

.cta-button {
    display: inline-block;
    background-color: #e53e3e;
    color: #ffffff;
    padding: clamp(18px, 4vw, 25px) clamp(35px, 7vw, 50px);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(16px, 4vw, 18px);
    transition: all 0.3s ease;
    border: 2px solid #e53e3e;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: transparent;
    color: #e53e3e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
}

/* Mobile Responsive for Features Grid */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .feature-card h3 {
        font-size: 22px;
    }
    
    .feature-card p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        gap: 15px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-card h3 {
        font-size: 20px;
    }
    
    .feature-card p {
        font-size: 17px;
    }
}


/* Choose Your Style - Products Section */
.products {
    padding: clamp(40px, 8vw, 60px) 0;
    background-color: #1a1a1a;
}

.products h2 {
    text-align: center;
    font-size: clamp(28px, 5vw, 36px);
    color: #ffffff;
    margin-bottom: clamp(40px, 8vw, 60px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: clamp(30px, 6vw, 50px);
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: clamp(25px, 5vw, 35px);
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: clamp(20px, 4vw, 25px);
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.product-card h3 {
    font-size: clamp(20px, 4vw, 24px);
    color: #ffffff;
    margin-bottom: clamp(15px, 3vw, 20px);
    font-weight: 700;
}

.product-card p {
    font-size: clamp(14px, 3vw, 16px);
    color: #cccccc;
    line-height: 1.5;
    margin-bottom: clamp(20px, 4vw, 25px);
}

.price {
    font-size: clamp(20px, 4vw, 24px);
    color: #ffffff;
    font-weight: 700;
    margin-bottom: clamp(25px, 5vw, 30px);
}

.product-button {
    display: inline-block;
    background-color: #e53e3e;
    color: #ffffff;
    padding: clamp(15px, 3vw, 20px) clamp(30px, 6vw, 40px);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(16px, 3vw, 18px);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.product-button:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
    color: #ffffff;
}

/* Mobile Responsive for Products */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-card {
        padding: 25px 20px;
    }
    
    .product-button {
        padding: 15px 25px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        gap: 25px;
    }
    
    .product-card {
        padding: 20px 15px;
    }
    
    .product-button {
        padding: 12px 20px;
        font-size: 15px;
    }
}


/* Feature Section Bullet Points */
.feature-text ul {
  text-align: left;
  max-width: 500px;
  margin: 20px auto 0 auto;
  padding-left: 0;
  list-style: none;
}

.feature-text li {
  text-align: left;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  font-size: clamp(16px, 3.5vw, 18px);
  line-height: 1.5;
  color: #FFFFFF;
}

.feature-text li::before {
  content: "•";
  color: #e30613;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2em;
}

/* Responsive adjustments for feature bullets */
@media (min-width: 768px) {
  .feature-text ul {
    max-width: 550px;
  }
  
  .feature-text li {
    font-size: 18px;
    padding-left: 25px;
  }
}

@media (min-width: 1200px) {
  .feature-text ul {
    max-width: 600px;
  }
  
  .feature-text li {
    font-size: 19px;
    margin-bottom: 15px;
  }
}


/* Feature Text Hierarchy - Intuitive Cascading Font Sizes */
.feature-text h3 {
  font-size: clamp(32px, 7vw, 44px);
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.feature-text p {
  font-size: clamp(18px, 4vw, 22px);
  color: #FFFFFF;
  line-height: 1.6;
  margin: 0 0 20px 0;
  font-weight: 500;
}

.feature-text li {
  font-size: clamp(15px, 3vw, 17px);
  line-height: 1.5;
  color: #FFFFFF;
  font-weight: 400;
}

/* Responsive adjustments for feature text hierarchy */
@media (min-width: 768px) {
  .feature-text h3 {
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 800;
  }
  
  .feature-text p {
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 500;
  }
  
  .feature-text li {
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 400;
  }
}

@media (min-width: 1200px) {
  .feature-text h3 {
    font-size: 52px;
    font-weight: 800;
  }
  
  .feature-text p {
    font-size: 26px;
    font-weight: 500;
  }
  
  .feature-text li {
    font-size: 19px;
    font-weight: 400;
  }
}



/* Folding Instructions Section */
.folding-instructions {
  padding: clamp(80px, 12vw, 100px) 0 clamp(60px, 10vw, 80px);
  background-color: #2a2a2a;
  text-align: center;
}

.folding-instructions h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #ff4444;
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 40px);
  font-weight: 700;
}

.folding-instructions p {
  font-size: clamp(18px, 3vw, 22px);
  color: #FFFFFF;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(30px, 5vw, 40px);
}

/* General section header centering */
section h2 {
  text-align: center;
}

section p {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Installation Tips Section */
.installation-tips {
  text-align: center;
}

.installation-tips h2 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #ff4444;
  margin-bottom: clamp(30px, 5vw, 40px);
  font-weight: 700;
}

.installation-tips p {
  text-align: center;
  font-size: clamp(18px, 3vw, 22px);
  color: #FFFFFF;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto clamp(30px, 5vw, 40px);
}


/* Enhanced Length Guide Section Styling */
.length-guide h2 {
  font-size: clamp(3rem, 7vw, 5rem) !important;
  color: #ff4444 !important;
  text-align: center !important;
  margin-bottom: clamp(30px, 5vw, 40px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.length-guide > .container > p {
  font-size: clamp(24px, 5vw, 32px) !important;
  color: #FFFFFF !important;
  line-height: 1.6 !important;
  text-align: center !important;
  max-width: 900px !important;
  margin: 0 auto clamp(40px, 6vw, 50px) auto !important;
  font-weight: 500 !important;
}

/* Mobile optimization for length guide text */
@media (max-width: 768px) {
  .length-guide h2 {
    font-size: clamp(2.5rem, 9vw, 3rem) !important;
    margin-bottom: clamp(25px, 5vw, 30px) !important;
  }
  
  .length-guide > .container > p {
    font-size: clamp(20px, 6vw, 26px) !important;
    margin: 0 auto clamp(35px, 6vw, 40px) auto !important;
    padding: 0 15px !important;
  }
}


/* Homepage Comparison Video Styling */
.video-container {
  margin: 50px 0;
  text-align: center;
  padding: 0 20px;
}

.comparison-video {
  width: 100%;
  max-width: 650px;
  height: auto;
  border-radius: 16px;
  border: 4px solid transparent;
  background: linear-gradient(45deg, #ff4444, #ff6666, #ff4444) border-box;
  background-clip: padding-box;
  box-shadow: 
    0 0 0 4px #ff4444,
    0 12px 40px rgba(255, 68, 68, 0.3),
    0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
  position: relative;
}

.comparison-video::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  background: linear-gradient(45deg, #ff4444, #ff6666, #ff8888, #ff6666, #ff4444);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.8;
}

.comparison-video:hover {
  transform: scale(1.03);
  box-shadow: 
    0 0 0 4px #ff6666,
    0 16px 50px rgba(255, 68, 68, 0.4),
    0 12px 48px rgba(0, 0, 0, 0.5);
}

.video-caption {
  margin-top: 20px;
  font-size: clamp(16px, 3.5vw, 20px);
  color: #cccccc;
  font-style: italic;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile optimization for comparison video */
@media (max-width: 768px) {
  .video-container {
    margin: 40px 0;
    padding: 0 15px;
  }
  
  .comparison-video {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 
      0 0 0 3px #ff4444,
      0 8px 30px rgba(255, 68, 68, 0.3),
      0 6px 24px rgba(0, 0, 0, 0.4);
  }
  
  .comparison-video::before {
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 16px;
  }
  
  .comparison-video:hover {
    transform: scale(1.02);
  }
  
  .video-caption {
    margin-top: 15px;
    font-size: 16px;
  }
}

/* Audio Prompt Overlay */
.video-container {
  position: relative;
}

/* Custom Play Button Overlay */
.custom-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 68, 68, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

.custom-play-button:hover {
  background: rgba(255, 68, 68, 1);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.play-icon {
  color: white;
  font-size: 28px;
  margin-left: 4px; /* Slight offset to center the triangle visually */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.custom-play-button.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
}

/* Hide custom play button on mobile devices to avoid overlap with native controls */
@media (max-width: 768px) {
  .custom-play-button {
    display: none !important;
  }
}

/* Desktop-only custom play button optimization */
@media (min-width: 769px) {
  .custom-play-button {
    width: 80px;
    height: 80px;
  }
  
  .play-icon {
    font-size: 28px;
    margin-left: 4px;
  }
}

