/*
* Copyright 2026 Adam Lawson
* https://www.lawsonguitars.com
* assets/css/main.css
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #f5f5f5;
    line-height: 1.6;
}

@media screen and (min-width: 768px) {
   a[href*="tel:"] {
       pointer-events: none;
       cursor:default;
       text-decoration: none;
   }
}

.spacer-10 {height: 10px;}
.spacer-30 {height: 30px;}
.spacer-44 {height: 44px;}
.spacer-100 {height: 100px;}
.bold {font-weight: 900 !important;}
.italic {font-style: italic;}
.underline {text-decoration: underline;}
.red {color: red;}
red {color: red;}
.uppercase {text-transform: uppercase!important;}

.gap-both {
  padding-left: 3.5vw!important;
  padding-right: 3.5vw!important;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.email-link {
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease-in-out;
}

.email-link:hover {
    color: #ff9900;
}

/* ==========================================================
   STICKY HEADER STYLES (Consolidated & Fixed)
   ========================================================== */
.site-header {
  background-color: #1a1a1a;
  color: #fff;
  padding: 15px 20px;
  border-bottom: 2px solid #b87333;

  /* Enables Sticky Position */
  position: -webkit-sticky;
  position: sticky;
  top: 0;

  /* Guarantees the navbar stays stacked over body content */
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container, .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #ff9900;
  text-decoration: none;
}

.logo img {
  height: 60px;
  width: 250px;
}

/* Desktop Navigation Layout */
.main-nav ul, .nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.main-nav a, .nav-list a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
}

.main-nav a:hover, .nav-list a:hover {
  color: #ff9900;
}

/* ==========================================================
   MOBILE MENU TOGGLE
   ========================================================== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* ==========================================================
   PRODUCT GRID
   ========================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product-card {
    background-color: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-info {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.price {
    color: #ff9900;
    font-weight: bold;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background-color: #ff9900;
    color: #121212;
    padding: 0.6rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    margin-top: auto;
}

.btn:hover {
    text-decoration: underline;
}

/* ==========================================================
   FOOTER STYLES
   ========================================================== */
.site-footer {
    background-color: #1e1e1e;
    border-top: 2px solid #b87333;
    padding: 3rem 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-col h3 {
    color: #ff9900;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.footer-col p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col i {
    color: #ff9900;
    margin-right: 0.5rem;
    width: 20px;
}

.footer-col a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.footer-col a:hover {
  color: #ff9900;
}

.footer-col .header-img img {
  height: 60px;
  width: 250px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease-in-out;
}

.footer-links a:hover {
    color: #ff9900;
}

.footer-bottom {
    background-color: #121212;
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #2d2d2d;
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
}

/* ==========================================================
   MOBILE RESPONSIVE BREAKPOINTS (Screens under 768px wide)
   ========================================================== */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-navigation, .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .main-navigation.is-active, .main-nav.is-active {
    display: block;
  }

  .main-nav ul, .nav-list {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .main-nav li, .nav-list li {
    width: 100%;
    text-align: center;
  }

  .main-nav a, .nav-list a {
    display: block;
    padding: 10px 0;
    font-size: 18px;
    border-bottom: 1px solid #333;
  }
}
