/*
Theme Name: Blocksy Child - Optometrist Fort Lauderdale
Description: Child theme for Blocksy with custom header and banner for optometristfortlauderdale.com
Author: Custom Development
Template: blocksy
Version: 1.0.0
*/

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Roboto+Serif:wght@400;700&display=swap");

/* Global body background */
html, body {
  background-color: #0d1b2a !important; /* Dark blue background */
  color: #ffffff;
  overflow-x: hidden !important; /* Prevent horizontal scrollbar */
  overflow-y: auto !important; /* Allow vertical scroll only when needed */
  width: 100% !important;
  max-width: 100% !important;
}

/* Root variables - 4 Color Scheme */
:root{
  --color-background:#0d1b2a; /* Primary: Dark blue */
  --color-text:#ffffff;
  --color-accent-red:#F44336; /* Secondary: Red accent */
  --color-accent-blue:#42A5F5; /* Secondary: Light blue */
  --color-accent-white:#ffffff; /* Secondary: White */
  --color-white:#ffffff;
  --color-light-blue:#42A5F5; /* Light blue for menu/phone */
  --font-primary:"Outfit",sans-serif; 
  --font-secondary:"Roboto Serif",serif;
  --spacing-xs:5px; 
  --spacing-s:10px; 
  --spacing-m:20px; 
  --spacing-l:30px; 
  --spacing-xl:40px; 
  --spacing-xxl:50px;
  --font-size-description:1.5rem; 
  --font-size-heading:5rem;
  --radius-s:10px; 
  --radius-m:30px; 
  --radius-l:20px;
  --header-height: 0px;
}

/* Modern Header Layout - Stacked Rows */
.optometrist-master-banner{ 
  display:flex; 
  flex-direction: column !important;
  width:100vw; 
  max-width:100vw; 
  height:auto !important; 
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2332 100%); /* Dark blue gradient */
  box-shadow:0 4px 20px rgba(0,0,0,.15); 
  position:relative; 
  z-index:10; 
  margin:0; 
  left:50%; 
  transform:translateX(-50%); 
  padding-bottom: 30px;
}

.optometrist-master-banner::before{ 
  content:""; 
  position:absolute; 
  inset:0; 
  background:linear-gradient(45deg, rgba(66, 165, 245, 0.05) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(244, 67, 54, 0.05) 100%); /* Multi-color accent overlay */
  z-index:-1; 
  pointer-events: none;
}

.optometrist-master-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-white), var(--color-accent-red)); /* 3-color gradient */
  z-index: 1;
}

/* Top Row: Logo + Owner Photo */
.optometrist-banner-left{ 
  width:100% !important; 
  padding:15px 40px !important; 
  display:flex !important; 
  flex-direction:row !important; 
  align-items:center !important; 
  justify-content:space-between !important; 
  background:transparent; 
  border-right:none !important; 
  border-bottom:1px solid rgba(66, 165, 245, 0.3) !important; /* Light blue border */
  position:relative; 
  z-index:2;
  height: 100px;
  max-height: 100px;
}

/* Logo styling */
.optometrist-banner-brand{ 
  display:flex; 
  align-items:center; 
  justify-content:flex-start; 
  margin-bottom:0 !important; 
  gap: 15px;
}

.optometrist-banner-brand img{ 
  height:90px !important; 
  width:auto; 
  object-fit:contain; 
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)) drop-shadow(0 0 14px rgba(255,255,0,.28)); 
  transition: transform 0.3s ease;
}

.optometrist-banner-brand img:hover {
  transform: scale(1.05);
}

.optometrist-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.optometrist-doctor-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-light-blue);
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.optometrist-doctor-title {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}


/* Header-centered menu (desktop) */
.optometrist-header-menu{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  flex:1;
  margin: 0 20px;
}

/* Reuse separator link styling but slightly tighter for header */
.optometrist-header-menu .optometrist-separator-menu-link{
  padding:10px 20px;
  min-width:auto;
  font-size: 13px;
}

/* Bottom Row: Storefront with Navigation Overlay */
.optometrist-banner-right{ 
  width:100% !important; 
  height:300px !important; 
  position:relative !important; 
  overflow:hidden; 
  display:block; 
  margin-top: 20px;
  border-radius: 0 0 20px 20px;
}

/* Left-side blur/overlay for better separation and phone button contrast */
.optometrist-banner-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
  backdrop-filter: blur(3px);
  z-index: 1;
  pointer-events: none;
}

.optometrist-banner-image{ 
  width:100%; 
  height:100%; 
  position:relative; 
  display:block; 
}

.optometrist-banner-image img{ 
  width:100%; 
  height:100%; 
  object-fit:cover; 
  object-position: center center;
  display:block; 
  filter: brightness(0.8) saturate(1.1);
  transition: all 0.3s ease;
}

.optometrist-banner-image:hover img {
  transform: scale(1.02);
  filter: brightness(0.9) saturate(1.2);
}

/* Navigation overlay on storefront */
.optometrist-banner-nav-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 20px 40px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
}

/* Phone button styling */
.optometrist-banner-phone-header {
  background: var(--color-light-blue) !important; /* Light blue background */
  color: #ffffff !important; /* White text */
  padding: 12px 24px !important;
  border-radius: 25px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(66, 165, 245, 0.3), 0 0 0 2px rgba(244, 67, 54, 0.4) !important; /* Light blue shadow + red ring */
  border: 2px solid transparent !important;
  position: relative;
  z-index: 10;
}

.optometrist-banner-phone-header:hover {
  background: var(--color-accent-red) !important; /* Red on hover */
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4) !important;
  border-color: #fff !important;
  color: #ffffff !important;
}

/* Horizontal navigation */
.optometrist-banner-nav-horizontal {
  display: flex !important;
  gap: 25px !important;
  grid-template-columns: none !important;
  align-items: center;
}

/* Enhanced menu link styling */
.optometrist-banner-link{ 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  padding:10px 18px; 
  border-radius:20px; 
  background:var(--color-light-blue); /* Light blue background */
  backdrop-filter:blur(6px); 
  border:1px solid rgba(66, 165, 245, 0.3); /* Light blue border */
  color:#ffffff; /* White text */
  font-weight:600; 
  text-decoration:none; 
  letter-spacing:.2px; 
  transition:all .3s ease; 
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.optometrist-banner-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.optometrist-banner-link:hover::before {
  left: 100%;
}

.optometrist-banner-link:hover{ 
  transform:translateY(-2px); 
  background:rgba(66, 165, 245, 0.25); /* Light blue on hover for contrast */
  color:#fff; /* White text on hover */
  border-color:#42A5F5; /* Light blue border on hover */
  box-shadow:0 4px 12px rgba(66, 165, 245, 0.4); /* Light blue shadow */
}

.optometrist-banner-link.is-disabled{ 
  opacity:.5; 
  cursor: not-allowed;
  background: rgba(128, 128, 128, 0.1);
  border-color: rgba(128, 128, 128, 0.3);
  color: #999;
}

.optometrist-banner-link.is-disabled:hover {
  transform: none;
  box-shadow: none;
  background: rgba(128, 128, 128, 0.1);
}

/* Full-bleed alignfull utility */
.entry-content .alignfull{
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  max-width:100vw;
  width:100vw;
  padding-left:0;
  padding-right:0;
}

.container{
  width:100%;
  max-width:1300px;
  margin:0 auto;
  padding:0 var(--spacing-m);
  overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:1rem 2rem;
  border:none;
  border-radius:50px;
  color:#fff;
  font-weight:600;
  cursor:pointer;
  transition:.25s ease;
  text-decoration:none;
  font-family:var(--font-primary);
}
.btn-primary{ background:var(--color-accent); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 15px 40px rgba(0,0,0,.2); }
.btn-secondary{ background:#666; }
.btn-secondary:hover{ transform:translateY(-2px); box-shadow:0 15px 40px rgba(0,0,0,.2); }
.btn-whatsapp{ background:var(--color-highlight); }
.btn-whatsapp:hover{ transform:translateY(-2px); box-shadow:0 15px 40px rgba(0,0,0,.2); }

/* SEPARATOR MENU BAR - New Simple Approach */
.optometrist-separator-menu-bar {
  width: 100%;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2332 100%); /* Dark blue gradient */
  padding: 25px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(66, 165, 245, 0.2);
  border-top: 2px solid rgba(66, 165, 245, 0.4); /* Light blue border */
  position: relative;
  z-index: 5;
  margin-bottom: 0;
  transition: all 0.3s ease;
}

/* Sticky menu functionality removed - keeping menu in proper position */

.optometrist-separator-menu-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(66, 165, 245, 0.03) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(244, 67, 54, 0.03) 100%); /* Multi-color overlay */
  pointer-events: none;
}

/* Clean bottom border for professional look */
.optometrist-separator-menu-bar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-white), var(--color-accent-red)); /* 3-color gradient */
  z-index: 1;
}

.optometrist-separator-menu-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.optometrist-separator-menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 20px;
  background: var(--color-light-blue); /* Light blue background */
  backdrop-filter: blur(8px);
  border: 2px solid rgba(66, 165, 245, 0.3); /* Light blue border */
  color: #ffffff; /* White text */
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
  min-width: 120px;
  text-align: center;
}

.optometrist-separator-menu-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.optometrist-separator-menu-link:hover::before {
  left: 100%;
}

.optometrist-separator-menu-link:hover {
  transform: translateY(-3px);
  background: #2196F3; /* Darker blue on hover */
  color: #fff; /* White text on hover */
  border-color: #42A5F5; /* Light blue border on hover */
  box-shadow: 0 8px 25px rgba(66, 165, 245, 0.4); /* Light blue shadow */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.optometrist-separator-menu-link.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(128, 128, 128, 0.1);
  border-color: rgba(128, 128, 128, 0.3);
  color: #999;
}

.optometrist-separator-menu-link.is-disabled:hover {
  transform: none;
  box-shadow: none;
  background: rgba(128, 128, 128, 0.1);
  color: #999;
}

/* Mobile Hamburger Menu */
.optometrist-mobile-menu-toggle {
  display: none;
  background: var(--color-light-blue);
  color: #1a1a1a;
  border: none;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
  position: relative;
}

.optometrist-mobile-menu-toggle:hover {
  background: #2196F3;
  transform: scale(1.05);
}

.optometrist-mobile-menu-dropdown {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.optometrist-mobile-menu-dropdown.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.optometrist-mobile-menu-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.optometrist-mobile-menu-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--color-light-blue);
  color: #1a1a1a;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.optometrist-mobile-menu-close:hover {
  background: #2196F3;
  transform: scale(1.1);
}

.optometrist-mobile-menu-phone {
  background: var(--color-light-blue) !important;
  color: #1a1a1a !important;
  padding: 15px 20px !important;
  border-radius: 25px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  text-align: center !important;
  margin-bottom: 10px !important;
  transition: all 0.3s ease !important;
}

.optometrist-mobile-menu-phone:hover {
  background: #2196F3 !important;
  transform: translateY(-2px) !important;
}

.optometrist-mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border-radius: 15px;
  background: var(--color-light-blue); /* Light blue background */
  border: 1px solid rgba(66, 165, 245, 0.3); /* Light blue border */
  color: #ffffff; /* White text */
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.optometrist-mobile-menu-link:hover {
  background: #2196F3; /* Darker blue on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(66, 165, 245, 0.3);
}

.optometrist-mobile-menu-link.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(128, 128, 128, 0.1);
  border-color: rgba(128, 128, 128, 0.3);
  color: #999;
}

/* Social Media Links Styling */
.optometrist-social-media-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.optometrist-social-media-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--color-light-blue); /* Light blue background */
  border: 2px solid rgba(66, 165, 245, 0.3); /* Light blue border */
  color: #ffffff; /* White icons */
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(244, 67, 54, 0.3); /* Subtle red glow */
}

.optometrist-social-media-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.optometrist-social-media-link:hover::before {
  left: 100%;
}

.optometrist-social-media-link:hover {
  transform: translateY(-3px);
  background: #2196F3; /* Darker blue on hover */
  color: #fff;
  border-color: #42A5F5;
  box-shadow: 0 6px 20px rgba(66, 165, 245, 0.4);
}

/* Instagram specific styling */
.optometrist-social-media-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  border-color: #e6683c;
}

/* Yelp specific styling */
.optometrist-social-media-link.yelp:hover {
  background: #FF1A1A;
  border-color: #FF1A1A;
}

/* YouTube specific styling */
.optometrist-social-media-link.youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
}

/* Blog specific styling */
.optometrist-social-media-link.blog:hover {
  background: #4CAF50;
  border-color: #4CAF50;
}

/* Header social media positioning - moved to hero overlay */
.optometrist-header-social-media {
  display: none; /* Hide from header, will show in hero overlay */
}

/* New social media positioning in hero overlay */
.optometrist-hero-social-media {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
}

.optometrist-hero-social-media .optometrist-social-media-link {
  width: 45px;
  height: 45px;
  font-size: 20px;
  background: var(--color-light-blue); /* Light blue background */
  border: 2px solid rgba(66, 165, 245, 0.4); /* Light blue border */
  backdrop-filter: blur(8px);
}

.optometrist-hero-social-media .optometrist-social-media-link:hover {
  background: #2196F3; /* Darker blue on hover */
  border-color: var(--color-light-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(66, 165, 245, 0.3);
}

/* Footer social media styling */
.optometrist-footer-social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 2rem 0;
}

.optometrist-footer-social-media .optometrist-social-media-link {
  width: 50px;
  height: 50px;
  font-size: 22px;
}

/* Mobile menu social media */
.optometrist-mobile-social-media {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(66, 165, 245, 0.3); /* Light blue border */
}

.optometrist-mobile-social-media .optometrist-social-media-link {
  width: 45px;
  height: 45px;
  font-size: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* Hide separator menu on mobile, show mobile toggle instead */
  .optometrist-separator-menu-bar {
    display: none;
  }
  
  /* Sticky menu functionality removed */
  
  /* Ensure mobile menu toggle is visible */
  .optometrist-mobile-menu-toggle {
    display: block !important;
  }
  
  .optometrist-banner-left {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center !important;
    padding: 20px !important;
    min-height: 120px !important;
  }


  .optometrist-banner-right {
    height: 300px !important;
    position: relative;
  }

  /* Hide header social media on mobile */
  .optometrist-header-social-media {
    display: none !important;
  }
  
  /* Hide hero social media on mobile */
  .optometrist-hero-social-media {
    display: none !important;
  }

  /* Hide desktop navigation on mobile */
  .optometrist-banner-nav-overlay {
    display: none !important;
  }
  /* Hide the new header menu on mobile; hamburger remains */
  .optometrist-header-menu{
    display:none !important;
  }

  /* Show mobile menu toggle */
  .optometrist-mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10000;
  }

  .optometrist-master-banner{ 
    height:auto !important; 
    left:50%; 
    transform:translateX(-50%); 
  }

  .optometrist-banner-brand img{ 
    height:70px !important; 
  }
}

@media (max-width: 480px) {
  .optometrist-banner-left {
    padding: 15px !important;
    min-height: 100px !important;
  }

  .optometrist-banner-brand img {
    height: 70px !important;
  }


  .optometrist-banner-right {
    height: 300px !important;
  }

  .optometrist-mobile-menu-toggle {
    padding: 10px 12px !important;
    font-size: 16px !important;
  }

  .optometrist-mobile-menu-dropdown {
    padding: 15px !important;
  }

  .optometrist-mobile-menu-items {
    gap: 12px !important;
  }
}

/* Intermediate screen sizes (tablets and small laptops) - removed duplicate, handled above */

/* Custom Footer Styling */
.optometrist-custom-footer {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2332 100%); /* Dark blue gradient */
  border-top: 2px solid rgba(66, 165, 245, 0.4); /* Light blue border */
  margin-top: 60px;
  position: relative;
  z-index: 10;
}

.optometrist-custom-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(66, 165, 245, 0.03) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(244, 67, 54, 0.03) 100%); /* Multi-color overlay */
  pointer-events: none;
}

.optometrist-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}

.optometrist-footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 30px;
}

.optometrist-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.optometrist-footer-logo img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)) drop-shadow(0 0 14px rgba(255,255,0,.28));
}

.optometrist-footer-text h3 {
  color: var(--color-light-blue);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.optometrist-footer-text p {
  color: #ffffff;
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

.optometrist-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.optometrist-footer-section h4 {
  color: var(--color-light-blue);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 15px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.optometrist-footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.optometrist-footer-section li {
  margin-bottom: 8px;
}

.optometrist-footer-section a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.optometrist-footer-section a:hover {
  color: var(--color-light-blue);
  opacity: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.optometrist-footer-social h4 {
  color: var(--color-light-blue);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 15px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.optometrist-footer-social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.optometrist-footer-social-links .optometrist-social-media-link {
  width: 45px;
  height: 45px;
  font-size: 20px;
}

.optometrist-footer-bottom {
  border-top: 1px solid rgba(66, 165, 245, 0.3); /* Light blue border */
  padding-top: 20px;
  text-align: center;
}

.optometrist-footer-bottom-content p {
  color: #ffffff;
  font-size: 12px;
  margin: 5px 0;
  opacity: 0.8;
}

/* Footer Mobile Responsive */
@media (max-width: 768px) {
  .optometrist-footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .optometrist-footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .optometrist-footer-brand {
    align-items: center;
  }
  
  .optometrist-footer-social-links {
    justify-content: center;
  }
  
  .optometrist-footer-container {
    padding: 30px 15px 15px;
  }
}

@media (max-width: 480px) {
  .optometrist-footer-content {
    gap: 25px;
  }
  
  .optometrist-footer-logo img {
    height: 50px;
  }
  
  .optometrist-footer-social-links {
    gap: 12px;
  }
  
  .optometrist-footer-social-links .optometrist-social-media-link {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .optometrist-banner-nav-overlay {
    gap: 25px;
  }

  .optometrist-banner-nav-horizontal {
    gap: 20px;
  }
  
  /* Adjust separator menu for tablet */
  .optometrist-separator-menu-nav {
    gap: 30px;
    padding: 0 15px;
  }
  
  .optometrist-separator-menu-link {
    padding: 12px 25px;
    font-size: 15px;
    min-width: 120px;
  }
  
  /* Hide mobile toggle on larger screens */
  .optometrist-mobile-menu-toggle {
    display: none !important;
  }
  
  /* Clean separator bar on larger screens */
  .optometrist-separator-menu-bar::after {
    bottom: -2px;
    height: 2px;
  }
}

/* Fix for intermediate screen sizes (769px-1200px) - prevent overlap and ensure proper spacing */
@media (max-width: 1200px) and (min-width: 769px) {
  .optometrist-banner-left {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 20px 30px !important;
    gap: 20px !important;
    min-height: 160px !important;
    position: relative !important;
    z-index: 1000 !important;
  }
  
  /* Sticky menu functionality removed */
  
  .optometrist-banner-brand {
    order: 1;
    margin-bottom: 10px;
    position: relative !important;
    z-index: 1001 !important;
  }
  
  .optometrist-banner-brand img {
    height: 60px !important;
  }
  
  .optometrist-header-menu {
    order: 2;
    margin: 0;
    gap: 8px;
    position: relative !important;
    z-index: 1002 !important;
    pointer-events: auto !important;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    width: 100%;
  }
  
  .optometrist-header-menu .optometrist-separator-menu-link {
    padding: 6px 10px;
    font-size: 11px;
    min-width: 70px;
    position: relative !important;
    z-index: 1003 !important;
    pointer-events: auto !important;
    backdrop-filter: none !important;
    background: rgba(66, 165, 245, 0.9) !important;
    border: 2px solid rgba(66, 165, 245, 0.3) !important;
    cursor: pointer !important;
    flex-shrink: 0;
    white-space: nowrap;
  }
  
  .optometrist-separator-menu-link:hover {
    background: rgba(66, 165, 245, 1.0) !important;
    z-index: 1004 !important;
    pointer-events: auto !important;
  }
  
  .optometrist-header-social-media {
    display: none !important;
  }
  
  /* Show hero social media on tablet */
  .optometrist-hero-social-media {
    display: flex !important;
    gap: 8px;
    margin-left: 0;
  }
  
  .optometrist-hero-social-media .optometrist-social-media-link {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

/* ==========================================================================
   Footer Map Section
   ========================================================================== */
.optometrist-footer-map-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 40px 0;
  margin: 20px 0 0 0;
}

.optometrist-footer-map-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.optometrist-footer-map-container h4 {
  color: #2c3e50;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 10px 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.optometrist-map-address {
  color: #6c757d;
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 30px 0;
  line-height: 1.4;
}

.optometrist-map-embed {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(13, 110, 253, 0.2);
  transition: all 0.3s ease;
}

.optometrist-map-embed:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  border-color: rgba(13, 110, 253, 0.4);
  transform: translateY(-2px);
}

.optometrist-map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Map Section Responsive Design */
@media (max-width: 768px) {
  .optometrist-footer-map-section {
    padding: 30px 0;
  }
  
  .optometrist-footer-map-container {
    padding: 0 15px;
  }
  
  .optometrist-footer-map-container h4 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  
  .optometrist-map-address {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .optometrist-map-embed {
    height: 250px;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .optometrist-footer-map-section {
    padding: 25px 0;
  }
  
  .optometrist-footer-map-container {
    padding: 0 10px;
  }
  
  .optometrist-footer-map-container h4 {
    font-size: 18px;
  }
  
  .optometrist-map-address {
    font-size: 13px;
  }
  
  .optometrist-map-embed {
    height: 200px;
  }
}
