/*
Theme Name: American Suds and Studs Child
Theme URI: 
Template: astra
Author: 
Author URI: 
Description: American Suds and Studs Child Theme
Tags: 
Version: 1.0.0
Updated: 2026-09-08 18:35:00

*/


:root {
  --navy:       #0a1628;
  --navy-mid:   #122040;
  --blue:       #1a56db;
  --blue-light: #3b82f6;
  --sky:        #e8f1ff;
  --white:      #ffffff;
  --off-white:  #f8faff;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-500:   #64748b;
  --gray-700:   #334155;
  --gray-900:   #0f172a;
  --gold:       #f59e0b;
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow:     0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.18);
  --transition: .25s ease;
}

body { font-family: 'Inter', sans-serif; color: var(--gray-900); background: var(--white); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, .oswald { font-family: 'Oswald', sans-serif; }

/* ── BUTTONS ── */
.custom-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 6px; font-size: .95rem;
  font-weight: 700; transition: all .25s ease; white-space: nowrap;
}
.custom-btn-primary { background: #1a56db; color: #ffffff; box-shadow: 0 4px 14px rgba(26,86,219,.35); border: none; }
.custom-btn-primary:hover { background: #1648c0; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26,86,219,.4); color: #ffffff; }
.custom-btn-sm { padding: 10px 20px; font-size: .85rem; }

/* ── HEADER ── */
.custom-header-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
#custom-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,22,40,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06); transition: box-shadow .25s ease;
}
#custom-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.3); }
#custom-header .header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
#custom-header .header-logo img { height: 52px; width: auto; object-fit: contain; }

#custom-header .nav-links { display: flex; align-items: center; gap: 6px; }
#custom-header .nav-links a { color: rgba(255,255,255,.82); font-size: .875rem; font-weight: 500; padding: 7px 12px; border-radius: 6px; transition: all .25s ease; text-decoration: none; }
#custom-header .nav-links a:hover { color: #ffffff; background: rgba(255,255,255,.08); }

#custom-header .hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: transparent; border-radius: 6px; border: none; }
#custom-header .hamburger span { display: block; width: 24px; height: 2px; background: #ffffff; border-radius: 2px; transition: all .25s ease; }
#custom-header .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#custom-header .hamburger.open span:nth-child(2) { opacity: 0; }
#custom-header .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#custom-header .mobile-nav { display: none; flex-direction: column; background: #0a1628; border-top: 1px solid rgba(255,255,255,.08); padding: 16px 24px 24px; gap: 4px; }
#custom-header .mobile-nav.open { display: flex; }
#custom-header .mobile-nav a { color: rgba(255,255,255,.85); font-size: .95rem; font-weight: 500; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); text-decoration: none; }
#custom-header .mobile-nav .custom-btn { margin-top: 12px; justify-content: center; }

/* Hide Astra's default header elements if they sneak in */
.ast-main-header-wrap { display: none !important; }

/* Adjust hero or body padding so content isn't hidden under fixed header */
body { padding-top: 0; }
#hero { padding-top: 72px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  #custom-header .nav-links, #custom-header .header-cta-desktop { display: none; }
  #custom-header .hamburger { display: flex; }
}

/* Fix for WordPress Admin Bar Overlap */
body.admin-bar #custom-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar #custom-header {
    top: 46px;
  }
}


/* ==========================================================================
   Custom Footer Styles
   ========================================================================== */
#custom-footer {
    padding: 72px 0 0; 
    font-family: 'Inter', sans-serif;
}
.custom-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.custom-footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr; /* Changed to 3 columns */
    gap: 40px; 
    margin-bottom: 48px; 
}
.custom-footer-brand img { 
    height: 56px; 
    margin-bottom: 16px; 
}
.footer-brand-name { 
    font-size: 1.5rem; 
    font-weight: 800; 
    margin-bottom: 12px; 
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}
.custom-footer-brand p { 
    font-size: 0.95rem; 
    line-height: 1.6; 
    margin-bottom: 24px; 
}
.footer-social { 
    display: flex; 
    gap: 12px; 
}
.social-btn { 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    background: rgba(255,255,255,0.1); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.25s ease; 
}
.social-btn:hover { 
    background: #1a56db; 
    transform: translateY(-2px); 
}
.custom-footer-col h4 { 
    font-size: 1.2rem; 
    margin-bottom: 24px; 
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}
.footer-nav { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}
.footer-nav a { 
    text-decoration: none; 
    font-size: 0.95rem; 
    transition: color 0.2s ease; 
}
.footer-contact-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 12px; 
    margin-bottom: 16px; 
    font-size: 0.95rem; 
    line-height: 1.5; 
}
.footer-contact-item svg { 
    flex-shrink: 0; 
    margin-top: 2px; 
}
.custom-footer-btn {
    display: inline-block;
    background: #1a56db;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}
.custom-footer-btn:hover {
    background: #1648c0;
    transform: translateY(-2px);
}
.custom-footer-bottom { 
    padding: 24px 0; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    text-align: center; 
    font-size: 0.85rem; 
}
.custom-footer-bottom p {
    margin: 0;
}

@media (max-width: 992px) {
    .custom-footer-grid { grid-template-columns: 1fr 1fr; }
    .custom-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 576px) {
    .custom-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}