/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* =====================CUSTOM CSS =========================*/
/* =====================General =========================*/

/* Scrollbar Track */
::-webkit-scrollbar {
  width: 0px; /* Adjust the width */
  color: #ffffff00
}

/* Scrollbar Thumb */
::-webkit-scrollbar-thumb {
  /* background: #ffe1ec;
  border-radius: 10px;
  border: 2px solid #ff69b4; */
  display: none;
}



html{
  font-family: "Outfit", sans-serif;
}

html * {
  box-sizing: border-box;
}

body {
  font-family: "Outfit", sans-serif;
  margin: auto;
  width: 100%;
}

main{
  padding: 3rem;
  padding-top: 5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  text-align: center;
}

h1 {
  font-size: 2rem;
  padding-bottom: 5cqmin;
}

h2 {
  /* display: inline-block; */
  vertical-align: middle;
  padding-bottom: 0%;
}

h4 {
  padding-top: 2em;
  font-size: 1.2em;
  display: inline-block;
  vertical-align: middle;
  padding-bottom: 0%;
}

p {
  line-height: 1.6;
}

a {
  text-decoration: none;
}


/* img {
  z-index: 100;
  cursor: pointer;
  transition: transform 1s ease;
}

img:hover {
  transform: scale(1.1);
} */


.gallery{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.gallery {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.gallery img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 300px;
  border-radius: 8px;
  max-width: 300px;
  height: auto;
  object-fit: cover;
}


/* imag:active {
  transform: scale(3);
} */

.introduction img{
     max-height: 30vh;
     margin: auto;
}

a:hover {
  transition: transform 0.3s ease;
  transform: scale(1.1);
}

.section-title {
  padding-top: 20px;
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.3em;
}

section {
  gap: 3rem;
  padding: 25px;
  /* display: flex; */
  /* overflow: hidden; */
  margin: auto;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 5rem;
  width: 85%;
}


/* ----------------------- Header ----------------------- */
header {
  background: linear-gradient(180deg, #ff69b4, #ffe1ec);
  z-index: 1000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding: 1rem;
}

header .logo{
  color: #fff; /* White text color */
  flex: 1;
}

header .logo:hover {
  color: #c20064; /* Change color on hover */
  transform: scale(1.05); /* Slightly scale up on hover */
  transition: transform 0.2s ease, color 0.2s ease; /* Smooth hover transition */
}

header h1, header h2 {
  padding: 0rem;
  text-align: left;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 2px 2px 0 #000; /* Text shadow effect */
}

header h1 {
  font-size: 2rem; /* Responsive font size for main logo text */
}

header h2 {
  font-size: 1.8rem; /* Responsive font size for sub logo text */
  font-variant: small-caps; /* Use small caps for styling */
}

header .page-title{
  font-size: 3.6rem;
  color: #fff;
  flex: 1;
  text-align: center;
  font-variant: small-caps; /* Use small caps for styling */
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 3px 3px 0 #000; /* Text shadow effect */
}

header nav{
  font-size: 1.2rem;
  flex: 1;
  text-align: right;
  color: #c20064; /* White text color for links */
  text-decoration: none; /* Remove underline for links */
  font-weight: bold; /* Bold text for links */
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; /* Text shadow effect */

}
header nav a{
  padding: 0.5rem;
  transition: transform 1s ease, color 1s ease; /* Smooth hover transition */
  color: #fff; /* White text color for links */
}
header nav a:hover {
  color: #c20064; /* Change color on hover */
  transform: scale(1.05); /* Slightly scale up on hover */
}

/* -----------------------Footer -----------------------*/
footer {
  padding-top: 50px;
  background-color: #ff69b4;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 0;
}

.social-icon {
  border: 2px solid black;
  padding: 5%;
  background-color: white;
  width: 8%;
  height: 8%;
  border-radius: 50%;
}

.social-icon img {
  z-index: 1000000;
  object-fit: contain;
}

/* ----------------------Containers -----------------------*/
.container,
.outer-container,
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.column-container {
  justify-content: center; 
  align-items: center; 
  width: 100%;
  display: flex;
  gap: 5%;
  flex-direction: row;
}

.column {
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center; 
  text-align: center;
  flex-direction: column;
}

.column-big {
  flex: 2;
  width: 100%;
}

.column-title {
  text-align: center;
  font-size: 1.5rem;
}

.column p {
  text-align: left;
}

.column img{
     margin: auto;
     object-fit: fill;
  object-fit: cover; /* Ensures the image fills the space proportionally */
  align-self: center; /* Centers the image within its column */
}
.button-row-container {
  margin: auto;
  display: flexbox;
  gap: 5%;
  overflow: visible;
  justify-content: center;
}

.row-container {
  margin: auto;
  display: flexbox;
  gap: 5%;
  overflow: hidden;
  justify-content: center;
}

/* Outer container to enable full viewport centering */
.outer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Centered container */
.centered-container {
  width: 20vh;
  /* Takes up half of the screen width */
}

/* ----------------------- Buttons ----------------------- */
.btn1,
.btn2 {
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  transition: background 0.3s ease, color 0.3s ease;
  margin: auto;
  display: inline-block;
  border: 3px solid #333;
  text-decoration: none;
}

.btn1 {
  background-color: white;
  color: #ff69b4;
}

.btn2 {
  background-color: #ff69b4;
  color: white;
}

.btn1:hover,
.btn2:hover {
  transform: scale(1.05);
  /* Combined hover effect for both buttons */
}

.btn1:hover {
  background-color: #ff69b4;
  color: white;
}

.btn2:hover {
  background-color: #c20064;
}

#back-to-top:hover {
  background-color: #ff1493;
}

#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #ff69b4;
  color: white;
  border-radius: 50%;
  display: none;
  z-index: 1000;
}

/* -----------------------Images -----------------------*/
.image-container,
.centered-icon {
  display: flex;
  margin: auto;
  max-width: 100%;
  /* Combined image styles */
  max-height: 100%;
  object-fit: contain;
}

.centered-icon,
.icon-container {
  z-index: 3;
  width: 5%;
  height: 5%;
  padding-top: 10%;
}

/* -----------------------Erm IDK -----------------------*/
.parent {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.child {
  grid-area: 1 / 1 / 1 / 1;
}

/* ---------------FlowerRow ------------*/
/* #featured-projects {
  text-align: center;
  background-color: #ffffff;
  position: relative;
  margin: auto;
  align-items: center;
  width: 100%;
  object-fit: fill;
  padding: 50px 0px;
  max-width: 100%;
  padding-bottom: 10%;
}
.flower-row {
  z-index: 1;
  gap: 5%;
  position: relative;
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  padding: 0% 5% 10% 5%;
  box-sizing: border-box;
}

.flower {
  position: relative;
  display: inline-block;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  max-width: 20vw;
  flex: 1 1 20vw;
  padding-inline-start: 20px;
}

.pot {
  width: 100px;
  height: 60px;
  background-color: #be522b;
  border-radius: 0 0 20px 20px;
  border: 3px solid #333;
  position: relative;
  top: 0px;
  z-index: 1;
  margin: auto;
}

.pot::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -5px;
  width: 100px;
  height: 10px;
  background-color: #521a0e;
  border-radius: 5px;
  border: 2px solid #000;
  z-index: 100;
}

.pot::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 40px;
  background-color: #ae4b27;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
  border: 2px solid #84391e;
}

.pot .band {
  width: 80px;
  height: 5px;
  background-color: #b63a20;
  margin: 2px 0;
  border-radius: 3px;
}

.pot .band:first-child {

  background-color: #b63a20;
}

.stem {
  margin: auto;
  width: 10px;
  background-color: #9ff596;
  border: 2px solid green;
  position: relative;
  z-index: -1;
}

.center {
  width: 120px;
  height: 120px;
  background-color: #ffff99;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #333;
  position: absolute;
  top: -30px;
  overflow: hidden;
}

.center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.petal {
  position: absolute;
  border-radius: 50%;
  border: 4px solid #333;
  top: 0px;
  margin: auto;
  align-self: center;
  display: flex;
  align-items: center;
}

.flower-name-container {
  vertical-align: middle;
  position: absolute;
  align-self: center;
  width: 100px;
  height: 50px;
  bottom: 3px;
  margin: auto;
  z-index: 1;
  justify-content: center;
  align-items: center;
}

.flower-name {
  font-size: 80%;
  position: absolute;
  color: #f6e9cb;
  text-align: center;
  z-index: 2;
  margin: auto;
  vertical-align: middle;
  overflow: hidden;

}
.flower:hover .flower {
  z-index: 0;
}

.flower:hover .leaf {
  display: none;
}

.leaf-container {
  z-index: 0;
  position: relative;
  margin: auto;
  max-height: 0;
  display: block;
}

.flower:hover .leaf-container {
  opacity: 0.75;
  z-index: 1000000;
}

.flower:hover .leaf-tag {
  display: flex;
  transform: scale(1.8);
  border: 1.5px solid #004600;
  text-decoration: none;
}

.leaf-tag {
  text-decoration: none;
  position: relative;
  display: none;
  width: 40px;
  font-style: italic;
  height: 20px;
  background-color: #6ce69b;
  border-radius: 40px;
  border: 3px solid #004600;
  color: #004600;
  font-size: 6px;
  line-height: 80%;
  padding: 2px 4px;
  z-index: 100000;
  text-align: center;
  align-items: center;
  margin: auto;
  justify-content: center;
  vertical-align: middle;
}

.leaf {
  z-index: 0;
  display: block;
  position: relative;
  width: 40px;
  height: 20px;
  background-color: #6ce69b;
  border-radius: 40px;
  border: 3px solid #004600;
  margin: auto;
} */ 

/* Responsive adjustments */
@media screen and (max-width:600px) {
  main,aside {
    width: 100%
  }
  .row-container {
    flex-direction: row;
    /* Change to row for side-by-side layout */
    align-items: flex-start;
    /* Align items to the start for better alignment */
    justify-content: space-between;
    /* Space between image and text */
  }

  .button-container {
    margin: 20px 0;
    /* Adjust margins for smaller screens */
    padding: 15px 0;
    /* Reduce padding on smaller screens */
    max-width: 100%;
  }

  .container {
    width: 100%;
    max-width: 100%;
  }

  h1,
  h2,
  h3 {
    font-size: 1.5rem;
  }

  p,
  li {
    font-size: 0.9rem;
  }

  /* Styling for columns */
  .column-container {
    flex-direction: column;
    display: flex;
    /* Align text to the left */
    padding: 1rem;
    max-width: 100%;
    box-sizing: border-box;
  align-items: stretch; 
  gap: 5%;
     }

  .column {
    flex: 1;
    /* This makes both columns take equal space */
  }
     
  .left-align-p {
    text-align: left;
  }
  /* .flower-row {
    flex-direction: column;
    align-items: center;
    gap: 250px;
    max-width: 100%;
  } 
    .stem,
  .leaf,
  .pot {
    display: none;
  }*/

  
}

/* -------------------Text Animations -------------------*/
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

