:root {
  --deep-blue: #102a43;
  --golden-yellow: #ffd166;
  --cream-white: #fdfdfd;
  --light-gold: #fceabb;
  --accent-blue: #243b53;
  --highlight-pink: #f76c6c;
  --soft-gradient: linear-gradient(90deg, #ffecd2 0%, #fcb69f 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  background-color: var(--cream-white);
  color: var(--deep-blue);
  scroll-behavior: smooth;
}
nav a img {
  width: 30px; /* Adjust size as per your requirement */
  height: 30px; /* Adjust size as per your requirement */
  margin-right: 10px; /* Space between icon and text */
}

.topbar {
  background: var(--accent-blue);
  color: var(--cream-white);
  font-size: 0.9rem;
  padding: 10px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar .contact-info i {
  margin-right: 5px;
  color: var(--golden-yellow);
}

.topbar .contact-info span {
  margin-right: 20px;
}

/* mobile view topbar  */
@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
    font-size: 0.8rem;
    gap: 5px;
  }

  .topbar .contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .topbar .contact-info span {
    margin-right: 0;
  }
}
/* end */


header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: all 0.3s ease-in-out;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 90px;
  width: 92px;
}

.logo h1 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--deep-blue);
}

nav a {
  margin-left: 15px;
  text-decoration: none;
  color: #1d2d3a;
  font-weight: 630;
  font-size: 1rem;
  position: relative;
  padding: 8px 5px;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--golden-yellow);
  left: 0;
  bottom: -4px;
  transition: 0.3s ease;
}

nav a:hover {
  /* background-color: var(--golden-yellow); */
  color: var(--accent-blue);
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
  transform: translateY(-2px);
}

nav a:hover::after {
  width: 100%;
}

/* mobile view header */
/* Mobile view */
@media (max-width: 768px) {
header {
  padding: 0px 20px; /* Adjust padding for smaller screens */
}

.logo {
  justify-content: flex-start; /* Align logo to the left */
  width: 100%; /* Make the logo container take full width */
}

.logo h1 {
  font-size: 1.5rem; /* Reduce font size for mobile view */
}

nav {
  display: none; /* Hide navigation links on mobile */
}
}



  /* slider first */
/* slider first */

/* Side icons */
.side-icons {
position: fixed;
top: 150px;
right: 5px;
display: flex;
flex-direction: column;
gap: 3px;
z-index: 10010;
}

.side-icons button {
width: 40px;
height: 40px;
border: none;
background-color: #b89a4d;
color: white;
font-size: 18px;
cursor: pointer;

transition: all 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.side-icons button:hover {
background-color: #fff;
color: #b89a4d;
transform: scale(1.1) rotate(5deg);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


/* about section  */
.background-section {
background-image: url('https://flowers-boutique.ancorathemes.com/wp-content/uploads/2016/07/Depositphotos_89872194_original.jpg'); /* Replace with your image path */
background-size: cover;
background-position: center;
width: 100%;
height: 50vh; /* Adjust based on your preference */
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: #fff;
}

.about-content {
max-width: 800px; /* Set a max width for the content */
padding: 20px;

border-radius: 10px; /* Optional: Adds rounded corners to the content box */
display: flex;
}

h1 {
color: white;
font-family: 'Playfair Display', serif; /* or any stylish font */
font-size: 24px;
font-weight: 600;
}

h1 a {
color: white;
text-decoration: none; /* removes underline */
transition: color 0.3s ease;
}

h1 a:hover {
color: #c9dfbb; /* soft green on hover */
}

/* flower section */
.flower-gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
padding: 10px;
max-width: 1200px;
margin: 0 auto;

}

.services-heading {
font-size: 29px;
color: #b89a4d;
text-align: center;

font-weight: 600;
margin-top: 20px;
}



/* Add animation to flower cards */
.flower-card {
border: 2px solid #e8e8e8;
padding: 20px;
text-align: center;
transition: all 0.3s ease;
background: #fff;
opacity: 0;
animation: slideUp 0.8s ease-in-out forwards;
}

/* Animation for center card */
@keyframes slideUp {
to {
opacity: 1;
transform: translateY(0);
}
}

/* Animation for left-side cards */
@keyframes slideLeft {
to {
opacity: 1;
transform: translateX(0);
}
}

/* Animation for right-side cards */
@keyframes slideRight {
to {
opacity: 1;
transform: translateX(0);
}
}

/* Center card animations (keep the same for all center cards) */
.flower-card.center {
animation: slideUp 0.8s ease-in-out forwards;
}

/* Left cards animation */
.flower-card.left {
opacity: 0;
transform: translateX(-50px); /* Start from left */
animation: slideLeft 0.8s ease-in-out forwards;
}

/* Right cards animation */
.flower-card.right {
opacity: 0;
transform: translateX(50px); /* Start from right */
animation: slideRight 0.8s ease-in-out forwards;
}

/* Adjust animation delay to stagger the cards more smoothly */
.flower-card:nth-child(1) {
animation-delay: 0.2s;
}

.flower-card:nth-child(2) {
animation-delay: 0.4s;
}

.flower-card:nth-child(3) {
animation-delay: 0.6s;
}

.flower-card:nth-child(4) {
animation-delay: 0.8s;
}

.flower-card:nth-child(5) {
animation-delay: 1s;
}

.flower-card:nth-child(6) {
animation-delay: 1.2s;
}

.flower-card:nth-child(7) {
animation-delay: 1.4s;
}

.flower-card:nth-child(8) {
animation-delay: 1.6s;
}

.flower-card:nth-child(9) {
animation-delay: 1.8s;
}

.flower-card:nth-child(10) {
animation-delay: 2s;
}

.flower-card img {
width: 100%;
height: 200px;
object-fit: cover;
border: 1px solid #ddd;
}

.flower-title {
font-size: 18px;
margin: 20px 0 15px;
letter-spacing: 1px;
color: #b89a4d;
font-weight: 500;
}

.flower-btn {
padding: 10px 20px;
background: linear-gradient(135deg, #b89a4d, #e0c27d);
color: #fff;
border: none;
font-weight: bold;
cursor: pointer;
letter-spacing: 1px;
font-size: 12px;
transition: background-color 0.3s ease;
}

.flower-btn:hover {
background-color: #e49a89;
}

.flower-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}





/* footer */

/* footer */
footer {
  background: linear-gradient(90deg, #243b53 0%, #1b2a41 50%, #102a43 100%);
  color: var(--cream-white);
  padding: 40px 20px 20px 30px; /* extra left padding */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 20px; /* reduced horizontal space between items */
  row-gap: 20px;
  }
  
  .footer-logo {
  flex: 1 1 180px;
  margin-top: -50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-right: 50px; /* reduced space between logo and columns */
  }
  
  .footer-logo > div:first-child {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  }
  
  .footer-logo img {
  width: 120px;
  height: auto;
  margin-left: 80px; /* no extra left margin, handled by footer padding */
  }
  
  .footer-logo h2 {
  font-size: 1.5rem;
  color: var(--golden-yellow);
  margin: 0;
  line-height: 1;
  min-height: 30px;
  display: inline-block;
  vertical-align: baseline;
  margin-bottom: 30px;
  }
  
  .footer-social {
  margin-top: 0px;
  display: flex;
  gap: 15px;
  justify-content: center;
  }
  
  .footer-social a {
  color: var(--cream-white);
  font-size: 1.2rem;
  transition: color 0.3s;
  }
  
  .footer-social a:hover {
  color: var(--golden-yellow);
  }
  
  .footer-column {
  flex: 1 1 10%;
  margin: 10px 0;
  }
  
  .footer-column h3 {
  color: var(--golden-yellow);
  font-size: 1.3rem;
  margin-bottom: 15px;
  min-height: 30px;
  display: inline-block;
  vertical-align: baseline;
  }
  
  .footer-column ul {
  list-style: none;
  padding: 0;
  }
  
  .footer-column ul li {
  margin-bottom: 10px;
  }
  
  .footer-column ul li a {
  color: var(--cream-white);
  text-decoration: none;
  transition: color 0.3s ease;
  }
  
  .footer-column ul li a:hover {
  color: var(--golden-yellow);
  }
  
  .footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #ccc;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  }
  
  /* Responsive */
  
  /* Responsive - Mobile view */
  @media (max-width: 768px) {
    footer {
        padding: 40px 20px 20px;
        justify-content: flex-start; /* left-aligned content */
    }
  
    .footer-column {
        flex: 1 1 100%;
        text-align: left; /* Ensure text is left-aligned */
    }
  
    .footer-logo {
        flex: 1 1 100%; /* Make logo full width */
        justify-content: flex-start; /* Align logo to the left */
        margin-top: 0; /* remove any negative margin */
    }
  
    .footer-logo img {
        margin-left: 0; /* Ensure no extra margin on left */
    }
  
    .footer-social {
        text-align: left; /* Left-align social icons */
        width: 100%;
    }
  
    .footer-bottom {
        text-align: center;
        margin-top: 30px;
        font-size: 0.9rem;
        color: #ccc;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 15px;
    }
  }
/* 
*/
