/* assets/css/global.css - Global Styles */

/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #e81e3d;
  --secondary-color: #e6f1ef;
  --brochure-btn: #e7c873;
  --navbar-bg: linear-gradient(to right, #e81e3d, #7a0300);
  --navbar-text: #ffffff;
  --navbar-hover: #ffd700;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #111827;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Scrollbar Styles */
* {
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 transparent;
}

*::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c1c1c1, #a0a0a0);
  border-radius: 10px;
  transition: background 0.3s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #a0a0a0, #888888);
}

/* Hide number input spinners */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* Utility Classes - Tailwind-like */
.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
.max-w-\[92\%\] {
  max-width: 92%;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.z-10 {
  z-index: 10;
}
.z-20 {
  z-index: 20;
}
.z-40 {
  z-index: 40;
}
.z-50 {
  z-index: 50;
}

/* Padding */
.p-2 {
  padding: 0.5rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Margin */
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-0 {
  margin-bottom: 0;
}

/* Text */
.text-center {
  text-align: center;
}
.text-sm {
  font-size: 0.875rem;
}
.text-base {
  font-size: 1rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-\[12px\] {
  font-size: 12px;
}
.text-\[15px\] {
  font-size: 15px;
}
.text-\[16px\] {
  font-size: 16px;
}
.text-\[18px\] {
  font-size: 18px;
}
.text-\[20px\] {
  font-size: 20px;
}
.font-normal {
  font-weight: 400;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}
.tracking-widest {
  letter-spacing: 0.1em;
}

/* Border */
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.border-2 {
  border-width: 2px;
}

/* Background */
.bg-section {
  background-color: #f6f8fa;
}
.bg-white {
  background-color: white;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

/* Transform */
.transform {
  transform: translateZ(0);
}
.-translate-y-1\/2 {
  transform: translateY(-50%);
}

/* Transition */
.transition-all {
  transition: all 0.3s ease;
}
.transition-colors {
  transition: color 0.3s ease, background-color 0.3s ease;
}
.transition-transform {
  transition: transform 0.3s ease;
}
.duration-300 {
  transition-duration: 300ms;
}
.duration-500 {
  transition-duration: 500ms;
}
.duration-1000 {
  transition-duration: 1000ms;
}
.ease-in-out {
  transition-timing-function: ease-in-out;
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}

/* Line Text Container - Header Lines */
.line-text-home {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  height: auto;
  max-width: 700px;
  margin: 0 auto;
}

.line-text-home hr {
  flex-grow: 1;
  border-width: 1px;
  margin: 0;
}

.line-text-home h2 {
  white-space: nowrap;
  font-size: 1rem;
  color: #111827;
  font-weight: 700;
  margin-bottom: 0;
}

/* Responsive Breakpoints */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
  .sm\:w-1\/2 {
    width: 50%;
  }
  .sm\:ml-6 {
    margin-left: 1.5rem;
  }
  .sm\:mt-0 {
    margin-top: 0;
  }
  .sm\:px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  .sm\:py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .sm\:gap-8 {
    gap: 2rem;
  }
  .sm\:text-\[16px\] {
    font-size: 16px;
  }
  .sm\:text-\[17px\] {
    font-size: 17px;
  }
  .sm\:text-xl {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  .md\:flex-row {
    flex-direction: row;
  }
  .md\:hidden {
    display: none;
  }
}

@media (min-width: 1024px) {
  .lg\:text-\[18px\] {
    font-size: 18px;
  }
  .lg\:mx-15 {
    margin-left: 3.75rem;
    margin-right: 3.75rem;
  }
  .lg\:mt-2 {
    margin-top: 0.5rem;
  }
}

@media (min-width: 1280px) {
  .xl\:flex {
    display: flex;
  }
  .xl\:hidden {
    display: none;
  }
  .xl\:pt-25 {
    padding-top: 6.25rem;
  }
  .xl\:top-10 {
    top: 2.5rem;
  }
  .xl\:bottom-5 {
    bottom: 1.25rem;
  }
  .xl\:text-base {
    font-size: 1rem;
  }
}

/* Scroll margin for anchor links */
.scroll-mt-24 {
  scroll-margin-top: 6rem;
}
