/* I wanted to remake the code to be more coloful and reminiscent of summer */
/* Kaleena Tran - 07/30/2025 - I have implemented code to adjust the site's font, colors, and other features.  They are described in comments within the code */

:root {
  --bg: #fff7f0; /* peach background as well as other colors.  I wanted to go with a summer toned color palette for this website, which is why I chose more pastels and lighter colors */
  --card-bg: #ffffffcc; 
  --text: #2d1e3e; 
  --accent1: #ff6b6b; 
  --accent2: #ffe066; 
  --accent3: #4ecdc4; 
  --accent4: #ff9f43; 
  --radius: 1.25rem; 
  --transition: 0.35s cubic-bezier(.4,.2,.2,1);
  --max-width: 1150px;
  --ff-display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Open Sans", system-ui, sans-serif;
  --shadow: 0 25px 50px -12px rgba(78,205,196,0.3); /* teal tinted shadow for depth */
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 60%); /* warm gradient effect for a summer sky/sunset look */
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

/* Container/Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

/* Flex or grid for main content to keep responsive */
.main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Headings with summer styling */
h1, h2, h3 {
  margin: 0 0 0.5rem;
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: 1px;
  position: relative;
}

/* Gradient text on the main title resembles summer colors */
h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  background: linear-gradient(90deg, var(--accent1), var(--accent3), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Summer underline for h2 */
h2::after {
  content: "☀️";
  display: inline-block;
  margin-left: 0.5rem;
  animation: bounce 3s ease-in-out infinite;
}

/* Cards/Panels */
.card {
  background: var(--card-bg);
  padding: 1.75rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

/* Sunset glow accent on hover */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 60px -10px rgba(255,159,67,0.4);
  border-color: var(--accent4);
}

/* Light confetti effect for more texture on the website */
.card::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3) 0%, transparent 60%);
  transform: rotate(25deg);
  pointer-events: none;
}

/* Warm toned buttons for a softer look */
.button {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  background: linear-gradient(135deg, var(--accent3), var(--accent1));
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), filter var(--transition);
}

.button:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.button:focus-visible {
  outline: 3px dashed var(--accent2);
  outline-offset: 4px;
}

/* summer accent animation on the links */
a {
  color: var(--accent3);
  text-decoration: none;
  position: relative;
  font-weight: 600;
}

a::after {
  content: "";
  position: absolute;
  height: 3px;
  left: 0;
  bottom: -2px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent2), var(--accent4));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

a:hover::after {
  transform: scaleX(1);
}

/* Lists with custom summer icons */
ul.custom-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.custom-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.9rem;
}

ul.custom-list li::before {
  content: "🍍"; /* pineapple bullet */
  position: absolute;
  left: 0;
  top: 0;
}

/* Background waves accent */
body::after {
  content: "";
  position: fixed;
  left: 0;
  bottom: -10%;
  width: 150%;
  height: 400px;
  background: radial-gradient(circle at 50% 100%, rgba(255,255,255,0.1) 0%, transparent 70%);
  transform: rotate(5deg);
  pointer-events: none;
  z-index: 0;
}

/* Responsive elements */
@media (max-width: 950px) {
  .main {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.8rem;
  }
}

/* Subtle keyframe for bounce effect */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Fade up entry for section */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate {
  animation: fadeInUp 0.9s ease-out both;
}

/* For accessibility purposes, this reduce motion respects user preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.85rem;
  padding: 1.5rem 0;
  margin-top: 3rem;
  opacity: 0.9;
}

/* Utility classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mt-0 { margin-top: 0; }