/*
Theme Name: Warden Self Storage Theme
Theme URI: https://marcs110.sg-host.com/
Author: Warden Self Storage
Author URI: https://marcs110.sg-host.com/
Description: A premium, highly responsive, and beautiful custom theme for Warden Self Storage. Based on corporate blue/red branding, containing full page templates, custom contact form integrations, and custom interactive components.
Version: 1.7.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: warden-theme
*/

/* ==========================================================================
   1. DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Colors - Based on Logo */
  --primary: #003b80;       /* Deep Brand Blue */
  --primary-light: #0050ac; /* Lighter Blue for Hovers */
  --primary-dark: #002654;  /* Darker Blue for Headers */
  --accent: #e30613;        /* Vibrant Brand Red */
  --accent-light: #ff2a37;  /* Hover Red */
  --accent-dark: #b1000a;   /* Active Red */
  
  /* Neutrals */
  --bg-main: #f8fafc;       /* Light Neutral Slate */
  --bg-card: #ffffff;       /* Pure White for cards */
  --text-main: #1e293b;     /* Slate Dark for main body text */
  --text-muted: #64748b;    /* Muted gray for subtext */
  --border-light: #e2e8f0;  /* Standard borders */
  
  /* Layout & Spacing */
  --container-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  /* Fonts */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transition speed */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. GLOBAL STYLES & RESET
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

ul, ol {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 59, 128, 0.2);
  color: #ffffff;
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-accent:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 6, 19, 0.2);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* Section Common Styles */
.section {
  padding: 80px 0;
}

.section-bg-white {
  background-color: var(--bg-card);
}

.section-title-area {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.section-title-area h2 {
  font-size: 2.25rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title-area h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent);
}

.section-title-area p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   3. NAVIGATION HEADER
   ========================================================================== */
.topbar {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.85rem;
  font-family: var(--font-display);
}

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

.topbar-info {
  display: flex;
  gap: 20px;
}

.topbar-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-contact a {
  color: #ffffff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-contact a:hover {
  color: var(--accent-light);
}

.site-header {
  background-color: var(--bg-card);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-wrap a,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.logo-wrap img,
.custom-logo,
.custom-logo-link img {
  height: 75px !important;
  max-height: 85px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
  transition: transform var(--transition);
}

.logo-wrap a:hover img,
.custom-logo-link:hover img {
  transform: scale(1.02);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  padding: 8px 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--primary);
}

.main-nav a:hover::after,
.main-nav .current-menu-item a::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  margin-bottom: 5px;
  transition: var(--transition);
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   4. HOMEPAGE HERO SECTION
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, rgba(0, 59, 128, 0.95) 0%, rgba(0, 38, 84, 0.95) 100%), 
              url('images/warden-self-storage-facility-scarborough.jpg') no-repeat center center/cover;
  padding: 100px 0;
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.hero-content h1 {
  color: #ffffff !important;
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 35px;
  opacity: 0.9;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 15px;
}

.hero-image-wrap {
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.hero-card-img {
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border: 3px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow-md);
}

.hero-badge {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* ==========================================================================
   5. SPECIAL PROMOTIONS GRID
   ========================================================================== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.promo-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
  border-color: var(--primary-light);
}

.promo-header {
  background-color: var(--primary);
  color: #ffffff;
  padding: 20px;
  text-align: center;
}

.promo-header h3 {
  color: #ffffff !important;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.promo-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-display);
}

.promo-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.promo-body {
  padding: 30px;
  text-align: center;
  flex-grow: 1;
}

.promo-features {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promo-features li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
}

.promo-features svg {
  color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   6. FEATURES ("WHY CHOOSE US")
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-card);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon-wrap {
  width: 70px;
  height: 70px;
  background-color: rgba(0, 59, 128, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background-color: var(--primary);
  color: #ffffff;
  transform: rotate(360deg);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   7. INTERACTIVE SIZE SELECTOR & CALCULATOR
   ========================================================================== */
.selector-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.visualizer-card {
  background-color: var(--bg-card);
  padding: 35px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.unit-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
}

.unit-filter-btn {
  background: none;
  border: none;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: var(--transition);
}

.unit-filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
}

.sizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.size-select-card {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.size-select-card:hover {
  border-color: var(--primary-light);
  background-color: rgba(0, 59, 128, 0.02);
}

.size-select-card.active {
  border-color: var(--primary);
  background-color: rgba(0, 59, 128, 0.05);
}

.size-select-card h4 {
  font-size: 1.15rem;
}

.size-select-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* The actual pseudo 3D box visualizer */
.visualizer-canvas {
  background: radial-gradient(circle at center, #f1f5f9 0%, #cbd5e1 100%);
  height: 250px;
  border-radius: var(--radius-sm);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-light);
  perspective: 600px;
}

.storage-box-3d {
  width: 200px;
  height: 150px;
  background-color: #94a3b8;
  border: 3px solid #475569;
  border-radius: 4px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.15), var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  position: relative;
  transition: var(--transition);
  transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(-5deg);
}

.storage-door {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 40px;
  background: repeating-linear-gradient(
    180deg,
    #cbd5e1,
    #cbd5e1 8px,
    #94a3b8 8px,
    #94a3b8 16px
  );
  border: 2px solid #64748b;
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: top;
}

.storage-box-3d.active .storage-door {
  transform: scaleY(0.1);
}

.items-inside {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  opacity: 0;
  transition: var(--transition);
}

.storage-box-3d.active .items-inside {
  opacity: 1;
}

.item-svg {
  width: 32px;
  height: 32px;
  color: var(--primary-dark);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.visualizer-desc {
  margin-top: 25px;
  text-align: center;
}

.visualizer-desc h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.visualizer-desc p {
  color: var(--text-muted);
}

/* Dynamic space calculator panel */
.calculator-card {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 35px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.calculator-card h3 {
  color: #ffffff !important;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
}

.calc-items-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.calc-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-item-row label {
  font-weight: 500;
  font-size: 0.95rem;
}

.calc-qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255,255,255,0.1);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: var(--transition);
}

.calc-btn:hover {
  background-color: var(--accent);
}

.calc-qty {
  width: 20px;
  text-align: center;
  font-weight: 600;
}

.calc-result-box {
  background-color: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.calc-result-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.calc-recommended-size {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}

.calc-result-desc {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ==========================================================================
   8. TESTIMONIALS SLIDER SECTION
   ========================================================================== */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 20px;
  text-align: center;
}

.stars {
  color: #ffc107;
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 25px;
  color: var(--text-main);
}

.testimonial-author h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-light);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--primary);
  width: 24px;
  border-radius: 5px;
}

/* ==========================================================================
   9. CONTACT PANEL & MAP LAYOUT
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 50px;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 59, 128, 0.05);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-details h3 {
  font-size: 1.15rem;
  margin-bottom: 5px;
}

.contact-info-details p,
.contact-info-details span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Form styling */
.contact-form-panel {
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
  background-color: var(--bg-main);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 59, 128, 0.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  padding: 15px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-status.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  display: block;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ==========================================================================
   10. SUBPAGE TEMPLATE LAYOUTS
   ========================================================================== */
/* Generic page banner */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 0;
  color: #ffffff;
  text-align: center;
}

.page-banner h1 {
  color: #ffffff !important;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.breadcrumbs {
  font-size: 0.9rem;
  opacity: 0.8;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.breadcrumbs a {
  color: #ffffff;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-content-layout {
  padding: 70px 0;
}

/* Services Do's & Don'ts Layout */
.guideline-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.guideline-column {
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.guideline-column.dos {
  border-top: 4px solid #10b981;
}

.guideline-column.donts {
  border-top: 4px solid var(--accent);
}

.guideline-column h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guideline-column.dos h3 {
  color: #10b981;
}

.guideline-column.donts h3 {
  color: var(--accent);
}

.guideline-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guideline-item {
  display: flex;
  gap: 15px;
  align-items: start;
}

.guideline-bullet {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dos .guideline-bullet {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.donts .guideline-bullet {
  background-color: rgba(227, 6, 19, 0.1);
  color: var(--accent);
}

.guideline-item-text strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.guideline-item-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Portfolio / Size Guide Grid Layout */
.size-guide-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.size-guide-row:last-child {
  margin-bottom: 0;
}

.size-category-card {
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.size-category-card h3 {
  font-size: 1.75rem;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
}

.size-table th,
.size-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.size-table th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.size-table td {
  font-size: 0.95rem;
}

.size-table tr:hover {
  background-color: rgba(0, 59, 128, 0.01);
}

.size-table td strong {
  color: var(--primary);
}

/* ==========================================================================
   11. FOOTER AREA
   ========================================================================== */
.site-footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 70px 0 0 0;
  font-size: 0.95rem;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col h4 {
  color: #ffffff !important;
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.footer-brand .footer-logo,
.footer-brand img {
  height: 68px;
  max-height: 75px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 20px;
}

.footer-brand p {
  margin-top: 15px;
  line-height: 1.7;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: #cbd5e1;
}

.footer-links-list a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-info li {
  display: flex;
  gap: 12px;
}

.footer-contact-info svg {
  color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-info a {
  color: #cbd5e1;
}

.footer-contact-info a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-bottom p {
  padding: 0;
}

/* ==========================================================================
   12. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 980px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .promo-grid {
    grid-template-columns: 1fr;
    margin-top: 30px;
    gap: 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .selector-layout {
    grid-template-columns: 1fr;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .guideline-container {
    grid-template-columns: 1fr;
  }
  
  .size-guide-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .site-header {
    padding: 10px 0;
  }
  
  .logo-wrap img,
  .custom-logo,
  .custom-logo-link img {
    height: 54px;
    max-height: 60px;
  }

  .footer-brand .footer-logo,
  .footer-brand img {
    height: 54px;
    max-height: 60px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    flex-direction: column;
    padding: 25px;
    box-shadow: var(--shadow-lg);
    gap: 15px;
    border-top: 1px solid var(--border-light);
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .main-nav a {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }
  
  .main-nav a::after {
    display: none;
  }
  
  .header-cta {
    display: none;
  }
  
  .topbar-info {
    display: none;
  }
  
  .topbar .container {
    justify-content: center;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-card {
    padding: 20px;
  }
  
  .visualizer-card {
    padding: 20px;
  }
  
  .calculator-card {
    padding: 20px;
  }
  
  .contact-form-panel {
    padding: 25px;
  }
}
