/* Custom CSS Styles for Marco Restoration (marcoisland-waterdamage.com) */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  --primary: #003434;
  --primary-dark: #002020;
  --primary-light: #004d4d;
  --accent-coral: #ff6f61;
  --accent-orange: #f77f00;
  --navy-deep: #0b2545;
  --bg-surface: #f8faf9;
  --soft-sand: #f4f1ea;
  --text-main: #191c1c;
  --text-muted: #3f4848;
}

html {
  scroll-behavior: smooth;
  font-family: 'DM Sans', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f8faf9;
}
::-webkit-scrollbar-thumb {
  background: #003434;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #004d4d;
}

/* Typography Overrides */
.font-serif-heading {
  font-family: 'Playfair Display', serif;
}

.font-sans-body {
  font-family: 'DM Sans', sans-serif;
}

/* Glassmorphism & Effects */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 52, 52, 0.1);
}

.glass-panel-dark {
  background: rgba(11, 37, 69, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 768px) {
  .bg-parallax {
    background-attachment: scroll;
  }
}

.thin-border {
  border: 1px solid rgba(0, 52, 52, 0.12);
}

/* Custom Button Styles */
.btn-emergency {
  background-color: var(--accent-coral);
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-emergency:hover {
  background-color: #e85a4f;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(255, 111, 97, 0.4);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 52, 52, 0.3);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* FAQ Accordion Styling */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Mobile Quick Call Bar */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--primary-dark);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

/* Form Input Focus */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 52, 52, 0.15);
}
