body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #222;
}
.container {
  width: 85%;
  max-width: 1200px;
  margin: auto;
}
.top-bar {
  background: #f8f8f8;
  padding: 10px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}
.main-header {
  background: white;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #222;
}
.hero-section {
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  padding: 100px 20px;
  color: white;
  text-align: center;
}
.hero-section form {
  margin-top: 20px;
}
.hero-section select,
.hero-section input,
.hero-section button {
  padding: 10px;
  margin: 5px;
}
.trusted-logos {
  background: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-around;
}
.top-deals .deal-cards {
  display: flex;
  gap: 20px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.category-card {
  background: #f3f3f3;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  font-weight: bold;
}
.site-footer {
  background: #222;
  color: #fff;
  padding: 40px 20px;
}
.site-footer a {
  color: #ddd;
  text-decoration: none;
}
.footer-cols {
  display: flex;
  justify-content: space-between;
}
.footer-bottom {
  text-align: center;
  margin-top: 20px;
}



/* --- assets/css/style.css --- */

/* ==============================================
  Global Typography & Spacing
  ==============================================
  - Mobile-First Approach: Styles are defined for mobile and then adjusted for larger screens.
  - Responsive Font Sizes: Uses a combination of 'rem' and 'vw' (viewport width) for fluid scaling.
  - Consistent Spacing: Uses 'rem' units for predictable margins and padding.
*/

/* --- Default Body & Paragraph Styling --- */
body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

p {
    margin-bottom: 1rem; /* Standard space after a paragraph */
    font-size: 1rem;    /* Base font size (typically 16px) */
    color: #555;
}

/* ==============================================
  Heading Styles (Mobile First - Default)
  ==============================================
*/

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #222;
    margin-top: 1.5rem; /* Space above the heading */
}

h1 {
    font-size: 2rem;       /* Approx 32px on mobile */
    margin-bottom: 1rem;   /* Space between h1 and the following paragraph */
}

h2 {
    font-size: 1.75rem;    /* Approx 28px on mobile */
    margin-bottom: 0.8rem; /* Space between h2 and the following paragraph */
}

h3 {
    font-size: 1.5rem;     /* Approx 24px on mobile */
    margin-bottom: 0.7rem; /* Space between h3 and the following paragraph */
}

h4 {
    font-size: 1.25rem;    /* Approx 20px on mobile */
    margin-bottom: 0.6rem; /* Space between h4 and the following paragraph */
}


/* ==============================================
  Tablet Styles (for screens 768px and wider)
  ==============================================
*/
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem; /* Approx 40px on tablets */
    }

    h2 {
        font-size: 2rem;   /* Approx 32px on tablets */
    }

    h3 {
        font-size: 1.75rem;/* Approx 28px on tablets */
    }

    h4 {
        font-size: 1.5rem; /* Approx 24px on tablets */
    }
}


/* ==============================================
  Desktop Styles (for screens 1024px and wider)
  ==============================================
*/
@media (min-width: 1024px) {
    h1 {
        font-size: 3rem;       /* Approx 48px on desktops */
        margin-bottom: 1.5rem; /* More space on larger screens */
    }

    h2 {
        font-size: 2.5rem;     /* Approx 40px on desktops */
        margin-bottom: 1.2rem;
    }

    h3 {
        font-size: 2rem;       /* Approx 32px on desktops */
        margin-bottom: 1rem;
    }

    h4 {
        font-size: 1.75rem;    /* Approx 28px on desktops */
    }
}

/* --- Utility class for adding extra space below an element if needed --- */
.extra-space-bottom {
    margin-bottom: 2rem;
}

