/* Style System for amenajarisic.ro - Vanilla CSS */

:root {
  /* Colors from palette.txt */
  --color-amber: #F6A033;
  --color-yellow: #F5C358;
  --color-black: #111111;
  --color-dark-slate: #1D1E22;
  --color-silver: #C5C4C0;
  --color-tan: #CFB894;
  
  /* UI Colors */
  --color-bg-light: #F7F8F9;
  --color-bg-white: #FFFFFF;
  --color-text-main: #2B2D42;
  --color-text-light: #F8F9FA;
  --color-text-muted: #5C677D;
  --color-whatsapp: #128C7E;
  --color-border: #E2E8F0;
  
  /* Gradients */
  --grad-amber-yellow: linear-gradient(135deg, var(--color-amber) 0%, var(--color-yellow) 100%);
  --grad-dark: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-slate) 100%);
  
  /* Typography */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s ease;
  
  /* Box Shadow */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 15px 30px rgba(246, 160, 51, 0.2);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 0; /* Updated dynamically via JS on mobile for sticky footer */
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--color-black);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--grad-amber-yellow);
  border-radius: 2px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
}

a {
  color: var(--color-amber);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--color-yellow);
}

/* Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
header {
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

.header-top {
  background-color: var(--color-black);
  color: var(--color-text-light);
  padding: 0.5rem 0;
  font-size: 0.85rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-meta {
  display: flex;
  gap: 1.5rem;
}

.contact-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-meta svg {
  width: 14px;
  height: 14px;
  fill: var(--color-amber);
}

.contact-meta a {
  color: var(--color-text-light);
}

.contact-meta a:hover {
  color: var(--color-amber);
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.legal-badge {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-black);
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--color-text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover, .nav-links .active a {
  color: var(--color-amber);
  border-bottom-color: var(--color-amber);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.hamburger-bars {
  display: block;
}

.hamburger-bars span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--color-black);
  margin-bottom: 4px;
  transition: var(--transition-normal);
}

.hamburger-bars span:last-child {
  margin-bottom: 0;
}

.nav-toggle-label {
  font-family: var(--font-title);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-black);
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-normal);
  font-family: var(--font-title);
  border: none;
}

.btn-primary {
  background: var(--grad-amber-yellow);
  color: var(--color-black);
  box-shadow: 0 4px 10px rgba(246, 160, 51, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: linear-gradient(135deg, #E08B1F 0%, var(--color-amber) 100%);
  color: var(--color-black);
}

.btn-secondary {
  background-color: var(--color-black);
  color: var(--color-text-light);
  border: 1px solid var(--color-black);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background-color: var(--color-dark-slate);
  border-color: var(--color-dark-slate);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-black);
}

.btn-outline:hover {
  background-color: var(--color-black);
  color: var(--color-text-light);
  transform: translateY(-2px);
}

/* Footer Section */
footer {
  background-color: var(--color-black);
  color: var(--color-text-light);
  padding: 4rem 0 2rem;
  margin-top: auto;
  border-top: 5px solid var(--color-amber);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: var(--color-amber);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-yellow);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-amber);
  padding-left: 5px;
}

.footer-contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-info svg {
  width: 18px;
  height: 18px;
  fill: var(--color-amber);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-info a {
  color: var(--color-text-light);
}

.footer-contact-info a:hover {
  color: var(--color-amber);
}

.legal-details {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

.legal-details p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8) !important;
}

.legal-details p span {
  color: var(--color-amber);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Home Hero Section */
.hero {
  position: relative;
  background-color: var(--color-black);
  color: var(--color-text-light);
  overflow: hidden;
  padding: 6rem 0;
  display: flex;
  align-items: center;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 60% 40%, rgba(246, 160, 51, 0.12) 0%, rgba(0, 0, 0, 0.85) 70%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  color: var(--color-text-light);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  background: var(--grad-amber-yellow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-featured-img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  border: 4px solid var(--color-amber);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Badges / Trust bar */
.trust-bar {
  background-color: var(--color-bg-white);
  padding: 2.5rem 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
  margin-top: -30px;
  border-radius: 8px;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 3px solid var(--color-amber);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
}

.trust-item:not(:last-child) {
  border-right: 1px solid var(--color-border);
}

.trust-icon-box {
  background: rgba(246, 160, 51, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.trust-icon-box svg {
  width: 30px;
  height: 30px;
  fill: var(--color-amber);
}

.trust-item-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.25rem;
}

.trust-item p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--color-bg-light);
}

.section-white {
  background-color: var(--color-bg-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
}

/* Home Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--color-bg-white);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-silver);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--color-amber);
}

.service-card-icon {
  background-color: var(--color-bg-light);
  width: 50px;
  height: 50px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-card-icon {
  background-color: var(--color-amber);
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-black);
  transition: var(--transition-fast);
}

.service-card:hover .service-card-icon svg {
  fill: var(--color-black);
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-link {
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-black);
}

.service-card-link svg {
  width: 14px;
  height: 14px;
  fill: var(--color-black);
  transition: var(--transition-fast);
}

.service-card:hover .service-card-link {
  color: var(--color-amber);
}

.service-card:hover .service-card-link svg {
  fill: var(--color-amber);
  transform: translateX(3px);
}

/* Call To Action Banner */
.cta-banner {
  background: var(--grad-dark);
  color: var(--color-text-light);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(246, 160, 51, 0.08) 0%, transparent 40%);
}

.cta-banner h2 {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta-banner .btn {
  box-shadow: 0 4px 15px rgba(246, 160, 51, 0.3);
}

/* Portfolio Page & Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  background-color: var(--color-bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition-normal);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.portfolio-img-box {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.portfolio-img-box picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-img-box picture img {
  transform: scale(1.08);
}

.portfolio-caption {
  padding: 1.5rem;
}

.portfolio-caption h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.portfolio-caption p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: #B45309;
  margin-bottom: 0;
}

/* Contact Page Form & details */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-section h3 {
  margin-bottom: 1.5rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background-color: var(--color-bg-white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-amber);
}

.contact-card-icon {
  background-color: rgba(246, 160, 51, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-amber);
}

.contact-card-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-card-text p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.company-badge-box {
  background: var(--grad-dark);
  color: var(--color-text-light);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border-bottom: 4px solid var(--color-amber);
}

.company-badge-box h4 {
  color: var(--color-amber);
  margin-bottom: 1rem;
}

.company-badge-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.company-badge-box table td {
  padding: 0.5rem 0;
}

.company-badge-box table td:first-child {
  font-weight: 700;
  width: 40%;
  color: rgba(255, 255, 255, 0.7);
}

.company-badge-box table td:last-child {
  color: #FFFFFF;
}

/* Contact Form Styling */
.contact-form-container {
  background-color: var(--color-bg-white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.contact-form-container h3 {
  margin-bottom: 2rem;
  font-size: 1.6rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--color-black);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
}

.form-control:focus {
  border-color: var(--color-amber);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(246, 160, 51, 0.1);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
}

.form-status.success {
  background-color: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
  display: block;
}

.form-status.error {
  background-color: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #F8B4B4;
  display: block;
}

/* Service Detail Page */
.service-details-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.service-main-content h1 {
  margin-bottom: 1.5rem;
}

.service-featured-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.service-text {
  font-size: 1.05rem;
}

.service-text h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.service-text ul {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
}

.service-text ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}

.service-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F6A033'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.services-sidebar-menu {
  background-color: var(--color-bg-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: sticky;
  top: 130px;
}

.services-sidebar-menu h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0.5rem;
}

.services-sidebar-menu ul {
  list-style: none;
}

.services-sidebar-menu ul li {
  margin-bottom: 0.5rem;
}

.services-sidebar-menu ul li a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  color: var(--color-text-main);
  font-weight: 600;
  background-color: var(--color-bg-light);
  transition: var(--transition-fast);
}

.services-sidebar-menu ul li a:hover, .services-sidebar-menu ul li.active a {
  background-color: var(--color-black);
  color: var(--color-text-light);
}

/* FLOATING WHATSAPP WIDGET */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
}

.whatsapp-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  position: relative;
}

.whatsapp-btn-pill svg {
  width: 24px;
  height: 24px;
  fill: #FFFFFF;
  transition: var(--transition-fast);
}

.whatsapp-btn-pill:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: #FFFFFF;
}

.whatsapp-btn-pill:hover svg {
  transform: rotate(10deg);
}

.whatsapp-btn-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: pulse-pill 2.5s infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes pulse-pill {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* STICKY MOBILE CALL FOOTER */
.mobile-sticky-footer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-black);
  border-top: 3px solid var(--color-amber);
  z-index: 98;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.1rem 1.5rem;
  color: var(--color-black);
  background: var(--grad-amber-yellow);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.15rem;
  border: none;
  text-decoration: none;
  text-align: center;
}

.mobile-call-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--color-black);
  animation: phone-shake 1.5s ease-in-out infinite;
}

@keyframes phone-shake {
  0% { transform: rotate(0); }
  10% { transform: rotate(-15deg); }
  20% { transform: rotate(15deg); }
  30% { transform: rotate(-15deg); }
  40% { transform: rotate(15deg); }
  50% { transform: rotate(0); }
  100% { transform: rotate(0); }
}

/* Mobile responsive menu */
.nav-links-container {
  display: flex;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-image-wrapper {
    order: -1;
  }
  .hero-featured-img {
    max-width: 350px;
  }
  .hero-actions {
    justify-content: center;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .trust-item:nth-child(2) {
    border-right: none;
  }
  .contact-layout, .service-details-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .services-sidebar-menu {
    position: static;
  }
}

@media (max-width: 768px) {
  /* Activate Sticky Mobile Footer */
  .mobile-sticky-footer {
    display: block;
  }
  
  body {
    padding-bottom: 60px; /* Space for the sticky button so it doesn't overlap content */
  }
  
  /* Shift WhatsApp slightly up on mobile to avoid overlapping the sticky footer */
  .whatsapp-widget {
    bottom: 80px;
    right: 20px;
  }
  
  .whatsapp-btn-pill {
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
    gap: 8px;
  }
  
  .whatsapp-btn-pill svg {
    width: 20px;
    height: 20px;
  }

  .nav-toggle {
    display: flex;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid var(--color-amber);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .contact-meta {
    display: none; /* Hide top bar contact details on tiny screens */
  }
  
  .header-top .container {
    justify-content: center;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-right: none !important;
    padding-bottom: 1.5rem;
  }
  .trust-item:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
