@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap");

/* Base Styles */
body {
  font-family: "Montserrat", system-ui, sans-serif;
  background-color: #ffffff;
}

.font-heading {
  font-family: "Playfair Display", Georgia, serif;
}

.font-accent {
  font-family: "Cormorant Garamond", Georgia, serif;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #fdfcfa;
}

::-webkit-scrollbar-thumb {
  background: #f97316;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ea580c;
}

/* Content Styling */
.content-image {
  border-radius: 12px;
  object-fit: cover;
}

@media all and (min-width: 768px) {
  .content-image {
    width: 500px;
    height: 500px;
    margin-right: 2rem !important;
    float: left;
  }
}

@media all and (max-width: 768px) {
  .content-image {
    height: 350px;
    margin-bottom: 1rem !important;
  }
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.content h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.5rem !important;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem !important;
  color: #1f1f1f;
}

.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem !important;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem !important;
  color: #1f1f1f;
}

.content p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem !important;
  color: #515151;
}

.content ul,
.content ol {
  margin-bottom: 1.5rem !important;
  margin-left: 2rem;
}

.content ul {
  list-style-type: disc;
}

.content ol {
  list-style-type: decimal;
}

.content li {
  margin-bottom: 0.5rem;
  color: #515151;
}

.content a {
  color: #f97316;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.content a:hover {
  color: #ea580c;
}

.content blockquote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
  border-left: 4px solid #f97316;
  padding-left: 1.5rem;
  margin-bottom: 2rem !important;
  color: #666666;
}

.content strong {
  font-weight: 600;
  color: #1f1f1f;
}

.content em {
  font-style: italic;
}

.content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 12px;
}

.content hr {
  border: none;
  border-top: 1px solid #e3e3e3;
  margin: 2.5rem 0;
}

/* Phone Input */
.iti {
  width: 100%;
}

/* Line clamp utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Animation classes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Product card hover effect */
.product-card {
  transition: all 0.4s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

/* Button hover effects */
.btn-primary {
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.3);
}

/* ===== FLOATING NAVBAR STYLES ===== */
.floating-navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1100px;
  z-index: 1000;
  overflow: visible;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-navbar.scrolled {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.navbar-inner {
  position: relative;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}

/* Trapezoid background layer - clip-path applied here so dropdowns can extend below */
.navbar-inner-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Symmetrical slanted edges - trapezoid shape */
  clip-path: polygon(0% 0%, 100% 0%, calc(100% - 25px) 100%, 25px 100%);
  z-index: 0;
}

.navbar-inner-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(0, 0, 0, 0.05) 100%
  );
  clip-path: inherit;
  z-index: 0;
  pointer-events: none;
}

/* Decorative slant accent lines */
.slant-accent-left,
.slant-accent-right {
  position: absolute;
  width: 3px;
  height: 100%;
  z-index: 10;
}

.slant-accent-left {
  left: 12px;
  bottom: 0;
  transform: skewX(20deg);
  transform-origin: bottom left;
}

.slant-accent-right {
  right: 12px;
  bottom: 0;
  transform: skewX(-20deg);
  transform-origin: bottom right;
}

/* Nav link hover effect */
.floating-nav-link {
  position: relative;
  padding: 8px 0;
  font-weight: 500;
  transition: all 0.3s ease;
}

.floating-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.floating-nav-link:hover::after {
  width: 100%;
}

/* Mobile navbar adjustments */
@media (max-width: 768px) {
  .floating-navbar {
    width: calc(100% - 24px);
  }

  .navbar-inner {
    height: 64px;
    padding: 0 20px;
  }

  .navbar-inner-bg {
    clip-path: polygon(0% 0%, 100% 0%, calc(100% - 16px) 100%, 16px 100%);
  }

  .slant-accent-left {
    left: 8px;
  }

  .slant-accent-right {
    right: 8px;
  }
}

/* Mobile menu floating panel */
.mobile-menu-floating {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1100px;
  z-index: 999;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-floating.active {
  max-height: 400px;
  opacity: 1;
}

@media (max-width: 768px) {
  .mobile-menu-floating {
    top: 68px;
  }
}

/* Navbar spacer */
.navbar-spacer {
  height: 72px;
}

@media (max-width: 768px) {
  .navbar-spacer {
    height: 64px;
  }
}
