/*
Theme Name: Door Locksmith
Theme URI: https://example.com
Author: Theme Generator
Author URI: https://example.com
Description: A clean, simple WordPress theme generated with custom branding
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: door-locksmith
*/

*{margin:0;padding:0;box-sizing:border-box;scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;line-height:1.6;color:#333;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}

.site-header{background:#ffffff;box-shadow:0 2px 8px rgba(0,0,0,0.1);padding:1rem 0;position:sticky;top:0;z-index:100;will-change:transform}
.header-inner{max-width:1200px;margin:0 auto;padding:0 2rem;display:flex;justify-content:space-between;align-items:center}
.site-logo img{max-height:60px;width:auto;height:auto}

.header-phone{display:flex;align-items:center;gap:0.5rem;min-height:48px}
.header-phone a{color:#1a365d;text-decoration:none;font-weight:600;font-size:18px;font-family:Arial, sans-serif;padding:0.5rem;touch-action:manipulation}
.header-phone a:hover{opacity:0.8}

.menu-toggle{background:none;border:none;cursor:pointer;padding:0.75rem;display:flex;flex-direction:column;gap:4px;transition:all 0.3s ease;min-width:48px;min-height:48px;touch-action:manipulation}
.menu-toggle span{display:block;width:24px;height:3px;background:#1a365d;border-radius:2px;transition:transform 0.3s ease,opacity 0.3s ease;will-change:transform,opacity}
.menu-toggle:hover span{opacity:0.8}
.menu-toggle.active span:nth-child(1){transform:rotate(45deg) translate(6px,6px)}
.menu-toggle.active span:nth-child(2){opacity:0}
.menu-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(6px,-6px)}

.mobile-menu{position:fixed;top:0;right:-100%;width:280px;height:100vh;background:#fff;box-shadow:-2px 0 8px rgba(0,0,0,0.1);padding:2rem;transition:transform 0.3s ease;transform:translateX(100%);z-index:1000;will-change:transform;-webkit-overflow-scrolling:touch;overflow-y:auto;overflow-x:hidden}
.mobile-menu.active{right:0;transform:translateX(0)}

.mobile-menu-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);opacity:0;pointer-events:none;transition:opacity 0.3s ease;z-index:999;will-change:opacity}
.mobile-menu-overlay.active{opacity:1;pointer-events:all}

.mobile-menu nav{margin-top:3rem}
.mobile-menu nav ul{list-style:none;padding:0;margin:0}
.mobile-menu nav ul li{margin-bottom:1rem}
.mobile-menu nav ul li a{color:#333;text-decoration:none;font-size:1.1rem;display:block;padding:0.75rem 0;transition:color 0.3s ease;touch-action:manipulation;min-height:48px}
.mobile-menu nav ul li a:hover{color:#0073aa}

.hero-banner{background-size:cover;background-position:center;background-repeat:no-repeat;min-height:400px;display:flex;align-items:center;justify-content:center;position:relative;color:#fff;will-change:transform;object-fit:cover}
.hero-banner::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0,0.4);z-index:1}

.hero-content{text-align:center;max-width:800px;padding:2rem;position:relative;z-index:2;display:flex;flex-direction:column;align-items:center}
.hero-content h1{font-size:48px;margin-bottom:1rem;font-weight:700;text-shadow:2px 2px 4px rgba(0,0,0,0.3);line-height:1.2;color:#ffffff;font-family:Arial, sans-serif}
.hero-cta{margin-top:1.5rem;margin-left:auto;margin-right:auto;text-align:center;display:block;width:100%;max-width:600px}
.hero-cta *{margin-left:auto;margin-right:auto}
.hero-video{max-width:900px}
.video-container{position:relative;width:100%;padding-bottom:56.25%;margin-bottom:1rem}
.video-container iframe{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:8px}
.video-button-wrapper{margin-top:1rem;text-align:center}
.hero-cta-button{display:inline-block;padding:0.75rem 2rem;text-decoration:none;font-weight:600;transition:opacity 0.3s ease,transform 0.2s ease;touch-action:manipulation;min-height:48px}
.hero-cta-button:hover{opacity:0.9;transform:translateY(-2px)}
.hero-cta-button:active{transform:translateY(0)}
.site-content{max-width:1200px;margin:0 auto;padding:3rem 2rem;min-height:400px;content-visibility:auto}
.entry-content{font-size:1.125rem;line-height:1.8}
.entry-content p{margin-bottom:1.5rem}
.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6{margin-top:2rem;margin-bottom:1rem;font-weight:600}
.entry-content ul,.entry-content ol{margin-bottom:1.5rem;padding-left:2rem}
.entry-content li{margin-bottom:0.5rem}
.entry-content a{color:#0073aa;text-decoration:none}
.entry-content a:hover{text-decoration:underline}
.entry-content img{max-width:100%;height:auto;display:block;margin:1.5rem 0}

.site-footer {
  background: #1a365d;
  color: #ffffff;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-address {
  margin: 1rem 0;
  opacity: 0.9;
}

.footer-links {
  margin: 1rem 0;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-copyright {
  margin-top: 1rem;
  opacity: 0.8;
  font-size: 0.9rem;
}

.click-to-call-btn{position:fixed;z-index:9999;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,0.15);cursor:pointer;transition:transform 0.3s ease,box-shadow 0.3s ease;text-decoration:none;color:#fff}
.click-to-call-btn:hover{transform:scale(1.1);box-shadow:0 6px 16px rgba(0,0,0,0.2)}
.click-to-call-small{width:48px;height:48px}
.click-to-call-small svg{width:24px;height:24px}
.click-to-call-medium{width:56px;height:56px}
.click-to-call-medium svg{width:28px;height:28px}
.click-to-call-large{width:64px;height:64px}
.click-to-call-large svg{width:32px;height:32px}
.click-to-call-mobile-only{display:none}

@keyframes ctcPulse{0%,100%{opacity:1}50%{opacity:0.7}}
@keyframes ctcBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes ctcFadeIn{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}
@keyframes ctcScale{0%,100%{transform:scale(1)}50%{transform:scale(1.1)}}

.click-to-call-pulse{animation:ctcPulse 2s ease-in-out infinite}
.click-to-call-bounce{animation:ctcBounce 2s ease-in-out infinite}
.click-to-call-fade{animation:ctcFadeIn 1s ease-out}
.click-to-call-scale{animation:ctcScale 2s ease-in-out infinite}

@media (max-width: 768px) {
  .click-to-call-mobile-only{display:flex}
  .header-inner {
    padding: 0 1rem;
  }
  
  .site-logo img {
    max-height: 40px;
  }
  
  .header-phone a {
    font-size: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-cta-button {
    padding: 0.625rem 1.5rem;
  }
  
  .site-content {
    margin: 2rem 1rem;
    padding: 0;
    border-radius: 0;
  }
  
  .entry-content {
    font-size: 1rem;
    padding: 1.5rem;
  }
}