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

html, body {
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
  overflow: auto;
  scrollbar-width: none;        /* HIDE SCROLL BAR Firefox */
  -ms-overflow-style: none;   /* HIDE SCROLL BAR IE and Edge */
}

body::-webkit-scrollbar {
  display: none;                /* Chrome, Safari, Opera */
}

/* Intro Section */
#intro {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(-45deg, #037425, #41ffef, #1e90ff, #4facfe);
  background-size: 400% 400%;
  animation: gradient 10s ease infinite;
  position: relative;
  color: white;
}

#intro h1 {
  font-size: 3rem;
  letter-spacing: 10px;
  z-index: 1;
}

#intro::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 130px;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #f5f5f5 100%);
pointer-events: none;
}


@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* Reveal animation sections (e.g. "Hey - I'm Caz", "Welcome to CAZUAL") */
.section {
padding: 5rem 2rem;
background-color: #f5f5f5;
text-align: center;
min-height: 100px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
opacity: 0;
transform: translateY(50px);
transition: opacity 1s ease, transform 5s ease;
}

.section.reveal.visible {
opacity: 1;
transform: translateY(0);
}

/* Overlayed stacked text section */
#stacked-text {
position: relative;
height: 200px; /* use either 100vh or 100*/
background-color: #f5f5f5;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}

.text-container {
position: relative;
width: 100%;
text-align: center;
}

#stacked-text h2 {
opacity: 0;
position: relative;
transition: opacity 0.6s ease;
}

#caz, #welcome {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
white-space: nowrap;
font-size: 2rem;
letter-spacing: 5px;
color: #737272;
opacity: 0;
transition: opacity 5s ease-in-out;
}


/* Navigation Bar style */
nav {
  background: #f5f5f5;
  padding: 1rem;
  text-align: center;
  padding-bottom: 2rem;
}

nav a {
  color: rgb(87, 83, 83);
  text-decoration: none;
  font-weight: 500;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  margin: 0 15px;
}

nav a:hover {
  text-decoration: underline;
}


/* Main section background colour  */
.section {
  opacity: 1;
  transform: none;
  padding: 2rem;
  max-width: none;
  background-color: #f5f5f5;
  margin: center;
}



/* About section styles */
h3 {
  color: #4e4d4d; 
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.section p { 
color: #747070;         
font-weight: 300;      
font-size: 0.9rem;   
text-align: justify;   
}

/* Passion bullet point secion style */

#project ul {
  list-style-type: none !important;
  color: #747070;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  padding-left: 20px;          /* Adds space for bullets */
  list-style-type: disc;       /* Brings back standard bullets */
  list-style-position: outside; /* Bullets in the left margin */
}


/* Contact form styles  */

.contact-form {
display: flex;
flex-direction: column;
gap: 1rem;
align-items: flex-start;
background-color: #ffffff;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
max-width: 700px;
margin: 2rem auto;
/* margin-bottom: 0.5rem; */
}

#contact h3 {
  margin-bottom: 0rem; /* reduce default margin */
}

.contact-form input,
.contact-form textarea {
padding: 0.9rem 1.2rem;
font-size: 1rem;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
width: 100%;
max-width: 100%;
border: 1px solid #ccc;
border-radius: 6px;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
border-color: #1e90ff;
box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.2);
outline: none;
}

.contact-form button {
padding: 0.8rem 2rem;
background-color: #4facfe;
color: white;
border: none;
border-radius: 6px;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s ease;
align-self: flex-start;
}

.contact-form button:hover {
background-color: #187bcd;
}


/* Footer styles */

.cazual-footer p {
  margin: 0;
}

.cazual-footer {
  display: flex;
  justify-content: space-between; 
  align-items: center;            
  padding: 1em 2em;
  background-color: rgb(87, 83, 83);
  color: turquoise;
  font-size: 0.7rem;
}

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

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