/* Import Premium Font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&display=swap');

/* Note: Navigation is handled by unified-nav.css */

/* Modern Header Styles */
.sg-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sg-header-banner {
  background: #1e3a5f;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(30,58,95,0.1);
}

.sg-banner-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sg-banner-link {
  color: #cbd5e1;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.sg-banner-link:hover {
  color: #ffffff;
}

.sg-banner-link svg {
  width: 16px;
  height: 16px;
}

.sg-banner-tag {
  background: #f9cb00;
  color: #1a1a2e;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.sg-banner-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sg-banner-right a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
}

.sg-banner-right a:hover {
  color: white;
}

.sg-banner-phone {
  color: white !important;
  font-weight: 600;
}

.sg-banner-phone svg {
  color: #f9cb00;
}

/* Main Header */
.sg-header-main {
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.sg-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.sg-logo-link:hover {
  opacity: 0.9;
}

.sg-logo {
  height: 36px;
}

.sg-logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(249, 203, 0, 0.3));
}

.sg-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.sg-logo-title {
  color: #1e3a5f;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.sg-logo-tagline {
  color: #b8860b;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Navigation */
.sg-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sg-nav > a,
.sg-nav-dropdown > .sg-nav-toggle {
  color: #1e3a5f;
  text-decoration: none;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.sg-nav > a:hover,
.sg-nav-dropdown:hover > .sg-nav-toggle {
  background: rgba(30,58,95,0.1);
  color: #0066cc;
}

.sg-nav-dropdown {
  position: relative;
}

.sg-nav-toggle svg {
  width: 10px;
  height: 10px;
  transition: transform 0.2s;
}

.sg-nav-dropdown:hover .sg-nav-toggle svg {
  transform: rotate(180deg);
}

.sg-nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 12px;
  padding: 8px 0;
  min-width: 220px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}

.sg-nav-dropdown:hover .sg-nav-menu {
  opacity: 1;
  visibility: visible;
}

.sg-nav-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.sg-nav-menu a:hover {
  background: #f8fafc;
  color: #0066cc;
}

.sg-nav-menu a svg {
  width: 18px;
  height: 18px;
  color: #64748b;
}

.sg-nav-menu a:hover svg {
  color: #0066cc;
}

.sg-nav-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 8px 0;
}

.sg-btn-estimate {
  background: linear-gradient(135deg, #f9cb00 0%, #e6b800 100%);
  color: #1a1a2e !important;
  padding: 10px 24px !important;
  border-radius: 8px;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(249,203,0,0.3);
  transition: all 0.2s !important;
}

.sg-btn-estimate:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249,203,0,0.4);
  background: linear-gradient(135deg, #f9cb00 0%, #d4a800 100%) !important;
}

/* Mobile Menu Button */
.sg-mobile-btn {
  display: none;
  background: none;
  border: none;
  color: #1e3a5f;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}

.sg-mobile-btn:hover {
  background: rgba(30,58,95,0.1);
}

.sg-mobile-btn svg {
  width: 24px;
  height: 24px;
}

/* Mobile Navigation */
.sg-mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 9999;
  flex-direction: column;
  overflow-y: auto;
}

.sg-mobile-nav.open {
  display: flex;
}

.sg-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(30,58,95,0.1);
}

.sg-mobile-close {
  background: none;
  border: none;
  color: #1e3a5f;
  padding: 8px;
  cursor: pointer;
}

.sg-mobile-close svg {
  width: 24px;
  height: 24px;
}

.sg-mobile-links {
  padding: 16px 24px;
  flex: 1;
}

.sg-mobile-links > a {
  display: block;
  color: #1e3a5f;
  text-decoration: none;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(30,58,95,0.1);
}

.sg-mobile-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(30,58,95,0.1);
}

.sg-mobile-section-title {
  color: #b8860b;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.sg-mobile-section a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #475569;
  text-decoration: none;
  padding: 12px 0;
  font-size: 1rem;
}

.sg-mobile-section a svg {
  width: 20px;
  height: 20px;
  color: #1e3a5f;
}

.sg-mobile-cta {
  padding: 24px;
  border-top: 1px solid rgba(30,58,95,0.1);
}

.sg-mobile-cta .sg-btn-estimate {
  display: block;
  text-align: center;
  width: 100%;
  padding: 16px !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .sg-nav {
    display: none;
  }

  .sg-mobile-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  .sg-header-banner {
    padding: 6px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .sg-banner-left {
    flex: 1;
  }

  .sg-banner-right {
    display: none;
  }

  .sg-header-main {
    padding: 12px 16px;
  }

  .sg-logo {
    height: 28px;
    /* No filter - use natural yellow/gold color */
  }

  .sg-logo-title {
    font-size: 1rem;
  }
}
