/* ============================================================
   main.css | Base Styles (No Colors / No Responsive)
   Author: [Mehran MirMahmoudi]
   ============================================================ */

/* Reset & Box-Sizing */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: content-box;
}

/* Root & Base HTML */
html {
  font-size: 100%; /* 16px default */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  scroll-behavior: smooth; /* --- Smooth Scroll --- */
}

body {
 
  overflow-x: hidden; /* prevent unwanted horizontal scroll */
  
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

/* Paragraphs */
p {
  margin-bottom: 1em;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
a:hover,
a:focus {
  text-decoration: underline; /* accessible hover/focus */
  outline: none;
}

/* Lists */
ul, ol {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
li {
  margin-bottom: 0.5em;
}

/* Media */
img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* Buttons */
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
  line-height: 1;
  transition: all 0.2s ease-in-out;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Inputs & Forms */
input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: transparent;
}
textarea {
  resize: vertical;
}
label {
  display: inline-block;
  cursor: pointer;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 0.5em;
}

/* Scrollbars (cross-browser minimal style) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3); /* replace with color vars later */
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.3) transparent;
}

/* Utility Classes */
.hidden {
  display: none !important;
}
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
.text-center {
  text-align: center !important;
}
.text-right {
  text-align: right !important;
}
.text-left {
  text-align: left !important;
}
