/* Custom CSS for Cuckoo-Inspired Static Website */
/* This file will contain Bootstrap overrides and extra styles */

/* Color Palette */
:root {
  --coral: #FFE600;
  --coral-dark: #F5D800;
  --coral-light: #FFF200;
  --grey-text: #000000;
  --white: #FFFFFF;
  --light-bg: #fafafa;
  --gradient-coral: linear-gradient(135deg, #FFE600 0%, #FFF200 100%);
  --gradient-pastel: linear-gradient(135deg, #FFF200 0%, #FFE600 50%, #F5D800 100%);
}

/* Typography */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--grey-text);
  line-height: 1.6;
}

/* Navigation */
.navbar {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 1030;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  color: var(--coral) !important;
  z-index: 1031;
}

.navbar-nav .nav-link {
  color: var(--grey-text) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--coral) !important;
}

/* Button Styles */
.btn-coral {
  background: var(--gradient-coral);
  color: black;
  border: none;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 230, 0, 0.3);
}

.btn-coral:hover {
  background: var(--coral-dark);
  color: black;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 230, 0, 0.4);
}

.btn-outline-coral {
  color: black;
  /* color: var(--coral); */
  border-color: black;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.text-dark-black{
  color: black !important;
}

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

/* Consistent btn-outline-dark styling for all customer pages */
.btn-outline-dark {
  border: 2px solid #1E1E1E !important;
  color: #1E1E1E !important;
  border-radius: 10px !important;
  padding: 0.75rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  background: transparent !important;
  text-decoration: none !important;
  display: inline-block;
  text-align: center;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-outline-dark:active {
  background: #1E1E1E !important;
  color: white !important;
  border-color: #1E1E1E !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
  text-decoration: none !important;
}

.btn-outline-dark:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-outline-dark.btn-lg {
  padding: 0.75rem 2.5rem !important;
  font-size: 1.1rem !important;
}

/* Card Styles */
.card {
  border: none;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-coral);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ffc200 0%, #fcf074 50%, #bad4d6 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(1px);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 10;
}

.hero h1, .hero p, .hero .btn {
  position: relative;
  z-index: 11;
}

/* Section Spacing */
.section {
  padding: 80px 0;
}

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

/* Testimonial Styles */
.testimonial-card {
  border: none;
  border-radius: 20px;
  padding: 40px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--coral);
  opacity: 0.3;
  font-family: serif;
}

.stars {
  color: #ffc107;
  font-size: 1.2rem;
}

/* Form Styles */
.form-control {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 15px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 0.2rem rgba(255, 230, 0, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--grey-text);
  margin-bottom: 8px;
}

/* Table Styles */
.table {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.table th {
  background: var(--gradient-coral);
  color: white;
  font-weight: 600;
  border: none;
  padding: 20px;
}

.table td {
  padding: 20px;
  vertical-align: middle;
  border-color: #f8f9fa;
}

/* Accordion Styles */
.accordion {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.accordion-button {
  background-color: white;
  color: var(--grey-text);
  font-weight: 600;
  border: none;
  padding: 20px;
}

.accordion-button:not(.collapsed) {
  background-color: var(--light-bg);
  color: var(--coral);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 230, 0, 0.25);
}

.accordion-body {
  padding: 20px;
  border-top: 1px solid #e9ecef;
}

/* Footer */
.footer {
  background-color: var(--grey-text);
  color: white;
  padding: 40px 0;
}

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

.footer a:hover {
  color: var(--coral);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    text-align: center;
  }

  .section {
    padding: 60px 0;
  }

  .display-1 {
    font-size: 2.5rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  /* Footer mobile adjustments */
  .footer .row.align-items-center {
    text-align: center;
  }

  .footer .col-md-6 {
    margin-bottom: 1rem;
  }

  .footer .col-md-6:last-child {
    margin-bottom: 0;
  }

  .footer .text-md-end {
    text-align: center !important;
  }

  .footer .text-md-end a {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
  }
}

/* Utility Classes */
.text-coral {
  color: var(--coral) !important;
}

.bg-coral {
  background: var(--gradient-coral) !important;
}

.border-coral {
  border-color: var(--coral) !important;
}

.shadow-coral {
  box-shadow: 0 4px 15px rgba(255, 230, 0, 0.3) !important;
}

/* Contact Info Icons */
.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-info-item .icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: white;
  flex-shrink: 0;
}

/* Team member styling */
.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member h5 {
  margin-top: 20px;
  color: var(--grey-text);
  font-weight: 600;
}

.team-member p {
  color: var(--coral);
  font-weight: 500;
}

/* Additional styles will be added per the build guide */

/* reCAPTCHA Styles */
.g-recaptcha {
  transform: scale(0.9);
  transform-origin: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
  .g-recaptcha {
    transform: scale(0.8);
  }
}
.footer-logo {
  filter: brightness(0) saturate(0) invert(1);
}

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 25px;
  z-index: 1050;
  max-width: 500px;
  margin: 0 auto;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  border: 2px solid var(--coral);
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner.hide {
  transform: translateY(100px);
  opacity: 0;
}

.cookie-banner .cookie-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-coral);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: black;
  font-size: 1.2rem;
}

.cookie-banner h6 {
  font-weight: 600;
  color: var(--grey-text);
  margin-bottom: 10px;
}

.cookie-banner p {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.cookie-banner .btn-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner .btn-sm {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 25px;
  font-weight: 500;
}

.cookie-banner .btn-accept {
  background: var(--gradient-coral);
  color: black;
  border: none;
  min-width: 100px;
}

.cookie-banner .btn-accept:hover {
  background: var(--coral-dark);
  color: black;
}

.cookie-banner .btn-decline {
  background: transparent;
  color: #666;
  border: 1px solid #ddd;
  min-width: 100px;
}

.cookie-banner .btn-decline:hover {
  background: #f8f9fa;
  color: #666;
  border-color: #ccc;
}

@media (max-width: 576px) {
  .cookie-banner {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 20px;
  }

  .cookie-banner .btn-group {
    flex-direction: column;
  }

  .cookie-banner .btn-sm {
    width: 100%;
  }

  /* Footer mobile adjustments for very small screens */
  .footer {
    padding: 30px 0;
  }

  .footer .text-md-end a {
    display: block;
    margin: 0.5rem 0;
    padding: 0.75rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer .text-md-end a:last-child {
    border-bottom: none;
  }

  .footer .col-md-6 {
    margin-bottom: 1.5rem;
  }
}

/* Form Validation Styles */
.form-control.is-valid {
  border-color: #28a745;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-control.is-invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4M7.2 4.6l-1.4 1.4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.error-message {
  display: block;
  font-size: 0.875rem;
  color: #dc3545;
  margin-top: 0.25rem;
  animation: fadeInDown 0.3s ease;
}

.char-counter {
  text-align: right;
  font-size: 0.8rem;
  animation: fadeInUp 0.3s ease;
}

.char-counter.text-danger {
  color: #dc3545 !important;
  font-weight: 600;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form submit button loading state */
.btn-coral:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Validation feedback animation */
.form-control {
  transition: all 0.3s ease, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Focus styles for better accessibility */
.form-control:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 0.2rem rgba(255, 230, 0, 0.25);
}

/* Success message styling */
.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.5s ease;
}
