/* ==========================================================================
   Sea Fresh Meats — Premium Business Website Styles
   ========================================================================== */

:root {
  --sfm-primary: #9b1b30;
  --sfm-primary-dark: #6d1221;
  --sfm-primary-light: #c42a42;
  --sfm-dark: #1a1a1a;
  --sfm-black: #0d0d0d;
  --sfm-gray-100: #f8f9fa;
  --sfm-gray-200: #e9ecef;
  --sfm-gray-500: #6c757d;
  --sfm-white: #ffffff;
  --sfm-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  --sfm-shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
  --sfm-radius: 16px;
  --sfm-radius-sm: 10px;
  --sfm-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--sfm-dark);
  background-color: var(--sfm-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--sfm-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--sfm-gray-500);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.bg-light-section {
  background-color: var(--sfm-gray-100);
}

/* Navbar */
.sfm-navbar {
  background: rgba(13, 13, 13, 0.92) !important;
  backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  transition: var(--sfm-transition);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.sfm-navbar .navbar-brand {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sfm-white) !important;
}

.sfm-navbar .brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--sfm-primary), var(--sfm-primary-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.sfm-navbar .brand-text strong {
  color: var(--sfm-primary-light);
}

.sfm-navbar .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: var(--sfm-transition);
}

.sfm-navbar .nav-link:hover,
.sfm-navbar .nav-link:focus {
  color: var(--sfm-white) !important;
}

.sfm-navbar .navbar-toggler-icon {
  filter: invert(1);
}

.sfm-navbar.navbar-scrolled {
  background: rgba(13, 13, 13, 0.98) !important;
  padding: 0.6rem 0;
}

/* Buttons */
.btn-sfm-gradient {
  background: linear-gradient(135deg, var(--sfm-primary) 0%, var(--sfm-primary-light) 100%);
  border: none;
  color: var(--sfm-white) !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.65rem 1.75rem;
  transition: var(--sfm-transition);
  box-shadow: 0 4px 15px rgba(155, 27, 48, 0.35);
}

.btn-sfm-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(155, 27, 48, 0.45);
  color: var(--sfm-white) !important;
}

.btn-sfm-outline {
  border: 2px solid var(--sfm-white);
  color: var(--sfm-white) !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.65rem 1.75rem;
  background: transparent;
  transition: var(--sfm-transition);
}

.btn-sfm-outline:hover {
  background: var(--sfm-white);
  color: var(--sfm-primary) !important;
  transform: translateY(-2px);
}

.btn-sfm-dark {
  background: var(--sfm-dark);
  color: var(--sfm-white) !important;
  border: none;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.65rem 1.75rem;
  transition: var(--sfm-transition);
}

.btn-sfm-dark:hover {
  background: var(--sfm-black);
  color: var(--sfm-white) !important;
  transform: translateY(-2px);
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url("/images/hero-banner.jpg") center/cover no-repeat;
  margin-top: -72px;
  padding-top: 72px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 13, 13, 0.88) 0%,
    rgba(109, 18, 33, 0.75) 50%,
    rgba(13, 13, 13, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  color: var(--sfm-white);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-cta .btn {
  min-width: 160px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--sfm-white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* Feature cards */
.feature-card {
  background: var(--sfm-white);
  border-radius: var(--sfm-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  border: 1px solid var(--sfm-gray-200);
  transition: var(--sfm-transition);
  box-shadow: var(--sfm-shadow-sm);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sfm-shadow);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--sfm-primary), var(--sfm-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--sfm-white);
}

/* Product cards */
.product-card {
  border-radius: var(--sfm-radius);
  overflow: hidden;
  background: var(--sfm-white);
  box-shadow: var(--sfm-shadow-sm);
  transition: var(--sfm-transition);
  height: 100%;
  border: 1px solid var(--sfm-gray-200);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--sfm-shadow);
}

.product-card-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 1.5rem;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--sfm-primary);
}

/* About section image */
.about-image-wrap {
  border-radius: var(--sfm-radius);
  overflow: hidden;
  box-shadow: var(--sfm-shadow);
}

.about-image-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Delivery info */
.delivery-card {
  background: linear-gradient(135deg, var(--sfm-primary-dark), var(--sfm-primary));
  color: var(--sfm-white);
  border-radius: var(--sfm-radius);
  padding: 2.5rem;
  height: 100%;
}

.delivery-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Contact preview */
.contact-preview-card {
  background: var(--sfm-gray-100);
  border-radius: var(--sfm-radius);
  padding: 2rem;
  height: 100%;
  border-left: 4px solid var(--sfm-primary);
  transition: var(--sfm-transition);
}

.contact-preview-card:hover {
  box-shadow: var(--sfm-shadow-sm);
}

.contact-preview-card i {
  font-size: 1.5rem;
  color: var(--sfm-primary);
  margin-bottom: 0.75rem;
}

/* Footer */
.sfm-footer {
  background: var(--sfm-black);
  color: rgba(255, 255, 255, 0.75);
}

.footer-brand {
  color: var(--sfm-white);
  font-family: var(--font-display);
}

.footer-heading {
  color: var(--sfm-white);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--sfm-transition);
  display: inline-block;
  padding: 0.2rem 0;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-domain:hover {
  color: var(--sfm-primary-light);
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

.copyright,
.footer-domain {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sfm-white);
  text-decoration: none;
  transition: var(--sfm-transition);
}

.social-icon:hover {
  background: var(--sfm-primary);
  color: var(--sfm-white);
  transform: translateY(-3px);
}

/* Inner page hero */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--sfm-primary-dark), var(--sfm-dark));
  padding: 6rem 0 3rem;
  margin-top: -72px;
  padding-top: calc(6rem + 72px);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("/images/hero-banner.jpg") center/cover no-repeat;
  opacity: 0.15;
}

.page-hero .container {
  z-index: 1;
}

.page-hero-title {
  font-family: var(--font-display);
  color: var(--sfm-white);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.page-hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

.breadcrumb-light .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.breadcrumb-light .breadcrumb-item a:hover {
  color: var(--sfm-white);
}

.breadcrumb-light .breadcrumb-item.active {
  color: var(--sfm-white);
}

.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* Legal content */
.legal-content {
  padding: 3rem 0 5rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  color: var(--sfm-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--sfm-gray-500);
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--sfm-gray-500);
  padding: 0.75rem 1rem;
  background: var(--sfm-gray-100);
  border-radius: var(--sfm-radius-sm);
  border-left: 3px solid var(--sfm-primary);
}

/* Contact page */
.contact-form-card {
  background: var(--sfm-white);
  border-radius: var(--sfm-radius);
  padding: 2.5rem;
  box-shadow: var(--sfm-shadow);
  border: 1px solid var(--sfm-gray-200);
}

.contact-info-card {
  background: var(--sfm-gray-100);
  border-radius: var(--sfm-radius);
  padding: 2rem;
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  font-size: 1.25rem;
  color: var(--sfm-primary);
  margin-top: 0.2rem;
}

.map-placeholder {
  background: var(--sfm-gray-200);
  border-radius: var(--sfm-radius);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--sfm-gray-500);
  border: 2px dashed #ced4da;
}

.alert-success-custom {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: var(--sfm-radius-sm);
  color: #155724;
}

/* Form controls */
.form-control:focus,
.form-select:focus {
  border-color: var(--sfm-primary);
  box-shadow: 0 0 0 0.2rem rgba(155, 27, 48, 0.2);
}

/* App download modal placeholder */
#download-app {
  scroll-margin-top: 80px;
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .about-image-wrap img {
    height: 280px;
  }
}

@media (max-width: 575.98px) {
  .hero-cta .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .hero-cta .btn + .btn {
    margin-left: 0 !important;
  }
}
