/* ===========================
   Base Reset
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===========================
   Root Variables
   =========================== */
:root {
  --font-body: system-ui, sans-serif;
  --font-heading: system-ui, sans-serif;

  --color-bg: #ffffff;
  --color-text: #000000;
  --color-accent: #0077ff;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
}

/* ===========================
   Global Styles
   =========================== */
html, body {
  min-height: 100%;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* Improve text rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  background-image: url('palmtreebg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

h1 { 
    font-size: 5rem; 
    font-weight: bold; 
    margin-top: 0;
    padding-top: 300px;
    text-align: center;
  }

p {
  margin-bottom: var(--space-md);
}

.project-heading {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 0px;
    padding-top: 237.5px;
}

/* ===========================
   Links
   =========================== */
a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===========================
   Layout Helpers
   =========================== */
.container {
  width: min(90%, 1200px);
  margin: 0 auto;
}

.flex {
  display: flex;
  gap: var(--space-md);
}

.grid {
  display: grid;
  gap: var(--space-md);
}

/* ===========================
   Buttons
   =========================== */
button {
  padding: var(--space-sm) var(--space-md);
  border: 3px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: #000000;
  cursor: pointer;
  font-size: 1rem;
  vertical-align: middle;
  border-color: black;
}

.button-container {
  display: flex;
  justify-content: center; /* all buttons meet in the middle */
  align-items: center;
  gap: 0; /* no space between buttons */
  margin: 48px auto;
}

.button-container button {
  padding: 10px 20px;
  font-size: 16px;
}

/* Remove auto-centering so the middle button touches the others */
.center-btn {
  margin: 0;
}

.button-container button:hover {
  opacity: 0.9;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}

.center-btn:hover {
  opacity: 0.9;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}

/* ===========================
   Cards
   =========================== */
  .card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 300px;
  height: 300px;
  margin-top: 30px;
  margin-right: 40px;  
}

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}
/*============================
   Card Imgs
   =========================== */
.icon {
  width: 30px; 
  height: 30px;
  margin-top: 10px;
}

.product-image {
  width : 140px;
  height: 140px;;
}

/* ===========================
   FormsT
   =========================== */
input, textarea, select {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
}

/* ===========================
   Utility Classes
   =========================== */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

.text-center { text-align: center; }
.hidden { display: none !important; }
.lbtn, .rbtn, .cbtn {
  vertical-align: middle;
}
