/* ==========================================================
   ROOT VARIABLES
========================================================== */

:root {
  /* Brand Colors */
  --primary: #e91e63;
  --primary-light: #ff4e8a;
  --secondary: #ffc107;
  --secondary-dark: #ff9800;

  --gradient: linear-gradient(
    90deg,
    #c2185b 0%,
    #e91e63 40%,
    #ff9800 75%,
    #ffc107 100%
  );

  /* Neutral Colors */
  --white: #ffffff;
  --black: #000000;

  --text: #1e1e1e;
  --text-light: #666666;
  --text-muted: #888888;

  --border: #e5e5e5;
  --border-light: #f1f1f1;

  --background: #ffffff;
  --background-light: #fafafa;
  --background-dark: #f5f5f5;

  /* Status */
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #17a2b8;

  /* Typography */
  --font-primary: "Poppins", sans-serif;
  --font-heading: "Poppins", sans-serif;

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 24px;
  --fs-2xl: 32px;
  --fs-3xl: 42px;
  --fs-4xl: 56px;

  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --line-height: 1.6;

  /* Radius */
  --radius-sm: 5px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 30px;
  --radius-round: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.08);
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 35px rgba(0, 0, 0, 0.12);

  /* Transition */
  --transition: 0.3s ease;

  /* Container */
  --container: 1320px;

  /* Header */
  --header-height: 80px;
}

/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-md);
  color: var(--text);
  background: var(--background);
  line-height: var(--line-height);
  overflow-x: hidden;
}

/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--text);
}

h1 {
  font-size: var(--fs-4xl);
}

h2 {
  font-size: var(--fs-3xl);
}

h3 {
  font-size: var(--fs-2xl);
}

h4 {
  font-size: 28px;
}

h5 {
  font-size: 22px;
}

h6 {
  font-size: 18px;
}

p {
  margin-bottom: 18px;
  color: var(--text-light);
}

small {
  font-size: var(--fs-xs);
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

mark {
  background: var(--secondary);
  color: var(--black);
}

/* ==========================================================
   LINKS
========================================================== */

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

/* ==========================================================
   LISTS
========================================================== */

ul,
ol {
  margin: 0;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

/* ==========================================================
   IMAGES
========================================================== */

img {
  display: block;
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================
   TABLE
========================================================== */

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px;
  border: 1px solid var(--border);
}

th {
  background: #fafafa;
  font-weight: 600;
}

/* ==========================================================
   BUTTON
========================================================== */

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 30px;

  border-radius: var(--radius);

  background: var(--gradient);
  color: #fff;

  font-weight: 600;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ==========================================================
   FORM
========================================================== */

form {
  width: 100%;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
  background: #fff;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
}

fieldset {
  border: 1px solid var(--border);
  padding: 20px;
}

legend {
  padding: 0 10px;
}

/* ==========================================================
   DETAILS
========================================================== */

details {
  border: 1px solid var(--border);
  padding: 15px;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

/* ==========================================================
   BLOCKQUOTE
========================================================== */

blockquote {
  border-left: 5px solid var(--primary);
  padding-left: 20px;
  margin: 20px 0;
  color: var(--text-light);
  font-style: italic;
}

/* ==========================================================
   CODE
========================================================== */

code,
pre {
  font-family: monospace;
}

pre {
  overflow: auto;
  padding: 20px;
  background: #f7f7f7;
  border-radius: var(--radius);
}

/* ==========================================================
   HORIZONTAL RULE
========================================================== */

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ==========================================================
   IFRAME
========================================================== */

iframe {
  width: 100%;
  border: 0;
}

/* ==========================================================
   AUDIO / VIDEO
========================================================== */

audio,
video {
  width: 100%;
}

/* ==========================================================
   SVG
========================================================== */

svg {
  display: block;
}

/* ==========================================================
   SECTION
========================================================== */

section {
  position: relative;
  padding: 80px 0;
}

/* ==========================================================
   CONTAINER
========================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: auto;
  padding: 0 15px;
}

/* ==========================================================
   FLEX HELPERS
========================================================== */

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

.gap-30 {
  gap: 30px;
}

/* ==========================================================
   GRID
========================================================== */

.grid {
  display: grid;
  gap: 30px;
}

/* ==========================================================
   CARDS
========================================================== */

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
}

/* ==========================================================
   TEXT UTILITIES
========================================================== */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary-dark);
}

/* ==========================================================
   BACKGROUNDS
========================================================== */

.bg-primary {
  background: var(--primary);
  color: #fff;
}

.bg-secondary {
  background: var(--secondary);
}

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

.bg-gradient {
  background: var(--gradient);
  color: #fff;
}

/* ==========================================================
   SPACING
========================================================== */

.mt-1 {
  margin-top: 10px;
}
.mt-2 {
  margin-top: 20px;
}
.mt-3 {
  margin-top: 30px;
}
.mt-4 {
  margin-top: 40px;
}
.mt-5 {
  margin-top: 50px;
}

.mb-1 {
  margin-bottom: 10px;
}
.mb-2 {
  margin-bottom: 20px;
}
.mb-3 {
  margin-bottom: 30px;
}
.mb-4 {
  margin-bottom: 40px;
}
.mb-5 {
  margin-bottom: 50px;
}

.pt-1 {
  padding-top: 10px;
}
.pt-2 {
  padding-top: 20px;
}
.pt-3 {
  padding-top: 30px;
}
.pt-4 {
  padding-top: 40px;
}
.pt-5 {
  padding-top: 50px;
}

.pb-1 {
  padding-bottom: 10px;
}
.pb-2 {
  padding-bottom: 20px;
}
.pb-3 {
  padding-bottom: 30px;
}
.pb-4 {
  padding-bottom: 40px;
}
.pb-5 {
  padding-bottom: 50px;
}

/* ==========================================================
   SCROLLBAR
========================================================== */

::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-dark);
}

/* ==========================================================
   SELECTION
========================================================== */

::selection {
  background: var(--primary);
  color: #fff;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1200px) {
  :root {
    --container: 1140px;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 36px;
  }

  section {
    padding: 70px 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 26px;
  }

  body {
    font-size: 15px;
  }
}
