/* ===== PRESTIGE NOTARY SOLUTIONS - SOPHISTICATED DESIGN ===== */
* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #1B263B 0%, #2c3e5a 50%, #3d5a7a 100%);
  background-attachment: fixed;
  color: #1B263B;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

/* Elegant overlay pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(212, 160, 23, 0.04) 35px, rgba(212, 160, 23, 0.04) 70px);
  pointer-events: none;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  position: relative;
  z-index: 2;
}

/* Header */
header.sticky {
  background: rgba(27, 38, 59, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  border-bottom: 2px solid rgba(212, 160, 23, 0.3);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

nav a {
  color: white;
  margin: 0 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #D4A017;
}

.btn-phone {
  background: linear-gradient(135deg, #D4A017 0%, #f0c040 100%);
  color: #1B263B;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.6);
}

/* Hero */
.hero {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  margin: 2rem 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.8rem;
  color: #1B263B;
  font-family: 'Playfair Display', serif;
}

.hero p {
  color: #555;
  margin: 0.5rem 0;
}

.hero-buttons {
  margin-top: 2rem;
}

.btn-primary {
  background: linear-gradient(135deg, #D4A017 0%, #f0c040 100%);
  color: #1B263B;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  margin-right: 1rem;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.6);
}

.btn-secondary {
  border: 2px solid #1B263B;
  color: #1B263B;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #1B263B;
  color: white;
}

.btn-outline {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  border: 2px solid #D4A017;
  color: #D4A017;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #D4A017;
  color: #1B263B;
}

/* Services Preview */
.services-preview {
  padding: 4rem 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  margin: 2rem 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.services-preview h2 {
  color: #1B263B;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  padding: 2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.05) 0%, rgba(27, 38, 59, 0.05) 100%);
  border: 1px solid rgba(212, 160, 23, 0.2);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card h3 {
  color: #1B263B;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-card {
  padding: 2rem;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.08) 0%, rgba(27, 38, 59, 0.08) 100%);
  border: 1px solid rgba(212, 160, 23, 0.3);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.service-card h3 {
  color: #1B263B;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.service-card ul {
  list-style: none;
  text-align: left;
}

.service-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #333;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #D4A017;
  font-weight: bold;
}

/* Gallery */
.gallery-preview {
  padding: 4rem 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  margin: 2rem 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.gallery-preview h2 {
  color: #1B263B;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
}

.image-item img {
  width: 100%;
  max-width: 350px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid rgba(212, 160, 23, 0.3);
}

.image-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

/* Page Headers */
.page-header {
  text-align: center;
  padding: 4rem 0 2rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  margin: 2rem 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.page-header h1 {
  font-size: 2.5rem;
  color: #1B263B;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}

.page-header p {
  max-width: 800px;
  margin: 0 auto;
  color: #555;
  font-size: 1.1rem;
}

/* Content Sections */
.content-section {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  padding: 3rem;
  margin: 2rem 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Chatbot */
#chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  font-size: 0.9rem;
  overflow: hidden;
  z-index: 1000;
  border: 2px solid rgba(212, 160, 23, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#chatbot:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.5);
}

#chat-header {
  background: linear-gradient(135deg, #D4A017 0%, #f0c040 100%);
  color: #1B263B;
  padding: 1.2rem;
  font-weight: bold;
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#chat-body {
  height: 350px;
  padding: 1rem;
  overflow-y: auto;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  scroll-behavior: smooth;
}

/* Custom scrollbar */
#chat-body::-webkit-scrollbar {
  width: 6px;
}

#chat-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

#chat-body::-webkit-scrollbar-thumb {
  background: #D4A017;
  border-radius: 10px;
}

#chat-body::-webkit-scrollbar-thumb:hover {
  background: #c39015;
}

.bot-msg {
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.1) 0%, rgba(27, 38, 59, 0.05) 100%);
  padding: 0.9rem 1rem;
  border-radius: 15px 15px 15px 5px;
  margin: 0.6rem 0;
  max-width: 85%;
  word-wrap: break-word;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-left: 3px solid #D4A017;
  animation: slideIn 0.3s ease;
  color: #333;
  line-height: 1.5;
}

.user-msg {
  background: linear-gradient(135deg, #D4A017, #f0c040);
  color: white;
  padding: 0.9rem 1rem;
  border-radius: 15px 15px 5px 15px;
  margin: 0.6rem 0 0.6rem auto;
  max-width: 75%;
  word-wrap: break-word;
  box-shadow: 0 2px 10px rgba(212, 160, 23, 0.3);
  animation: slideInRight 0.3s ease;
  text-align: right;
  font-weight: 500;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#chat-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border: none;
  border-top: 2px solid rgba(212, 160, 23, 0.2);
  outline: none;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

#chat-input:focus {
  border-top-color: #D4A017;
  background: #fffef8;
}

#chat-input::placeholder {
  color: #999;
  font-style: italic;
}

/* Footer */
footer {
  background: rgba(27, 38, 59, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 2px solid rgba(212, 160, 23, 0.3);
}

footer a {
  color: #D4A017;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #f0c040;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid, .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  nav {
    display: none;
  }
  
  #chatbot {
    width: 280px;
  }
}
