@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --cream: #faf6f0;
  --ink: #1a1f2e;
  --terracotta: #d4633a;
  --leaf: #4a6741;
  --gold: #c9a449;
}

/* Body and Background Colors */
body {
  background-color: var(--cream) !important;
  color: var(--ink) !important;
}

.bg-smoke {
  background-color: var(--cream) !important;
}

.bg-smoke-blue {
  background-color: var(--cream) !important;
}

/* Text Colors */
.text-title {
  color: var(--ink) !important;
}

.text-theme {
  color: var(--terracotta) !important;
}

.sub-title {
  color: var(--leaf) !important;
}

.sec-title {
  color: var(--ink) !important;
}

/* Button Colors */
.vs-btn {
  background-color: var(--terracotta) !important;
  border-color: var(--terracotta) !important;
  color: white !important;
}

.vs-btn:hover {
  background-color: var(--leaf) !important;
  border-color: var(--leaf) !important;
  color: white !important;
}

.wave-btn {
  background-color: var(--terracotta) !important;
  border-color: var(--terracotta) !important;
  color: white !important;
}

.wave-btn:hover {
  background-color: var(--leaf) !important;
  border-color: var(--leaf) !important;
  color: white !important;
}

/* Header Colors */
.header-top-area {
  background-color: var(--ink) !important;
}

.header-top-area .header-links li,
.header-top-area .header-social a {
  color: white !important;
}

.header-menu-area {
  background-color: var(--cream) !important;
}

.main-menu.menu-style1 ul li a {
  color: var(--ink) !important;
}

.main-menu.menu-style1 ul li a:hover {
  color: var(--terracotta) !important;
}

/* Service Cards */
.service-card {
  background-color: white !important;
  border: 1px solid #e5e5e5 !important;
}

.service-card:hover {
  border-color: var(--terracotta) !important;
}

.sr-title h4 a {
  color: var(--ink) !important;
}

.sr-title h4 a:hover {
  color: var(--terracotta) !important;
}

.sr-icon i {
  color: var(--terracotta) !important;
}

/* Hero Section */
.hero-title {
  color: var(--ink) !important;
}

.hero-text span {
  color: var(--leaf) !important;
}

/* Footer Colors */
.footer-wrapper {
  background-color: var(--ink) !important;
  color: white !important;
}

.footer-wrapper .widget_title {
  color: var(--gold) !important;
}

.footer-wrapper .footer-info {
  color: white !important;
}

.footer-wrapper .footer-info a {
  color: var(--gold) !important;
}

.footer-wrapper .copyright {
  color: white !important;
}

.footer-wrapper .multi-social a {
  background-color: var(--terracotta) !important;
  color: white !important;
}

.footer-wrapper .multi-social a:hover {
  background-color: var(--gold) !important;
}

/* Focus and Accent Colors */
.focus {
  color: var(--terracotta) !important;
}

.text-inherit {
  color: inherit !important;
}

/* Border Colors */
.border-theme {
  border-color: var(--terracotta) !important;
}

/* Links */
a {
  color: var(--terracotta) !important;
}

a:hover {
  color: var(--leaf) !important;
}

/* Form Elements */
input, textarea, select {
  border-color: #e5e5e5 !important;
  color: var(--ink) !important;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--terracotta) !important;
}

/* Counter Section */
.counter-section {
  background-color: var(--cream) !important;
}

.counter-text {
  color: var(--ink) !important;
}

/* Blog Section */
.blog-title a {
  color: var(--ink) !important;
}

.blog-title a:hover {
  color: var(--terracotta) !important;
}

/* CTA Section */
.cta-section {
  background-color: var(--leaf) !important;
}

.cta-section .sec-title {
  color: white !important;
}

.cta-section .sub-title {
  color: var(--gold) !important;
}

.cta-section .vs-btn {
  background-color: var(--gold) !important;
  border-color: var(--gold) !important;
}

.cta-section .vs-btn:hover {
  background-color: var(--terracotta) !important;
  border-color: var(--terracotta) !important;
}

/* Service Section Background */
.service-section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(250, 246, 240, 0.95) 0%, rgba(250, 246, 240, 0.85) 50%, rgba(250, 246, 240, 0.9) 100%);
  z-index: 1;
}

.service-section .container {
  z-index: 2;
}

.service-section .service-card {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(212, 99, 58, 0.2) !important;
}

.service-section .service-card:hover {
  border-color: var(--terracotta) !important;
  box-shadow: 0 8px 25px rgba(212, 99, 58, 0.15);
}

/* Insurance Section */
.insurance-section {
  background-color: var(--cream) !important;
}

.insurance-card {
  background-color: white !important;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.insurance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(212, 99, 58, 0.15);
  border: 2px solid var(--terracotta);
}

.insurance-logo img {
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.insurance-card:hover .insurance-logo img {
  filter: grayscale(0%);
}

.insurance-title {
  color: var(--ink) !important;
  
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

/* Subscribe Section */
.subscribe-section {
  background-color: var(--cream) !important;
}

.subscribe-form {
  border: 1px solid rgba(212, 99, 58, 0.2) !important;
  border-radius: 12px;
}

.subscribe-form .form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink) !important;
  margin-bottom: 8px;
}

.subscribe-form .form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.subscribe-form .form-control:focus {
  outline: none;
  border-color: var(--terracotta) !important;
  box-shadow: 0 0 0 3px rgba(212, 99, 58, 0.1);
}

.subscribe-form .form-check {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.subscribe-form .form-check-input {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  accent-color: var(--terracotta) !important;
}

.subscribe-form .form-check-label {
  font-size: 14px;
  color: var(--ink) !important;
  margin: 0;
}

.subscribe-form .vs-btn {
  background-color: var(--terracotta) !important;
  color: white !important;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.subscribe-form .vs-btn:hover {
  background-color: var(--leaf-green) !important;
  transform: translateY(-2px);
}

.subscribe-form .text-danger {
  color: #dc3545 !important;
  font-size: 12px;
  margin-top: 4px;
}

/* Language Dropdown */
.language-dropdown {
  position: relative;
  display: inline-block;
}

.language-toggle {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.language-toggle:hover {
  background-color: rgba(212, 99, 58, 0.1);
  color: var(--terracotta) !important;
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 120px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.language-dropdown:hover .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: block;
  padding: 8px 16px;
  color: var(--ink) !important;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.language-option:hover,
.language-option.active {
  background-color: var(--cream) !important;
  color: var(--terracotta) !important;
}

.language-option:first-child {
  border-radius: 8px 8px 0 0;
}

.language-option:last-child {
  border-radius: 0 0 8px 8px;
}

/* Header Social Icons */
.header-top-area .header-social ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-top-area .header-social ul li {
  display: inline-block;
  margin: 0 5px;
  vertical-align: middle;
}

.header-top-area .header-social ul li a,
.header-top-area .header-social ul li button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px !important;
  color: var(--ink) !important;
  background-color: transparent !important;
  border: 1px solid rgba(26, 31, 46, 0.2) !important;
  border-radius: 50% !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  font-size: 14px !important;
  line-height: 1 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.header-top-area .header-social ul li a:hover,
.header-top-area .header-social ul li button:hover {
  background-color: var(--terracotta) !important;
  color: white !important;
  border-color: var(--terracotta) !important;
  transform: translateY(-2px) !important;
}

.header-top-area .header-social ul li a i,
.header-top-area .header-social ul li button i {
  font-size: 14px !important;
  color: inherit !important;
}
