: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 */
}




/* about section  */
/* four sect start */
.four-flower {
  background: url('https://flowers-boutique.ancorathemes.com/wp-content/uploads/2016/07/bg1.jpg?id=212') no-repeat center center;
  background-size: cover;
  }
  
  .florist-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px;
  color: #4a4a4a;
  }
  
  .florist-intro {
  max-width: 50%;
  }
  
  .florist-intro > * {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 1s ease forwards;
  }
  
  .florist-intro img {
  border-radius: 50%;
  width: 100px;
  margin-bottom: 20px;
  animation-delay: 0.2s;
  }
  
  .florist-intro h4 {
  color: #8cbcb9;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  animation-delay: 0.4s;
  }
  
  .florist-intro h1 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  margin-bottom: 15px;
  color: #b89a4d;
  font-weight: 500;
  animation-delay: 0.6s;
  }
  
  .florist-intro p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #1d2d3a;
  font-weight: 500;
  animation-delay: 0.8s;
  }
  
  .florist-intro button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 36px;
  background: linear-gradient(135deg, #b89a4d, #e0c27d);
  color: white;
  border: none;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  animation-delay: 1s;
  }
  
  .florist-slider {
  position: relative;
  }
  
  .florist-slider img {
  max-width: 400px;
  border: 2px solid #fff;
  transition: opacity 0.5s ease-in-out;
  }
  
  .florist-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, #b89a4d, #e0c27d);
  color: white;
  padding: 5px 25px;
  display: flex;
  gap: 10px;
  }
  
  .florist-controls button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
  }
  
  @keyframes fadeSlideUp {
  0% {
  opacity: 0;
  transform: translateY(40px);
  }
  100% {
  opacity: 1;
  transform: translateY(0);
  }
  }
  
  
  
  /* mobile view  */
  @media (max-width: 768px) {
    .florist-wrapper {
      flex-direction: column;
      align-items: flex-start;
      padding: 30px 20px;
    }
  
    .florist-intro {
      max-width: 100%;
      text-align: center;
    }
  
    .florist-intro img {
      margin: 0 auto 20px;
      width: 80px;
    }
  
    .florist-intro h1 {
      font-size: 22px;
    }
  
    .florist-intro p {
      font-size: 14px;
    }
  
    .florist-intro button {
      padding: 10px 28px;
      font-size: 14px;
      margin-top: 15px;
    }
  
    .florist-slider {
      margin-top: 30px;
      text-align: center;
    }
  
    .florist-slider img {
      max-width: 90%;
      height: auto;
    }
  
    .florist-controls {
      position: static;
      justify-content: center;
      margin-top: 10px;
      padding: 8px 15px;
    }
  
    .florist-controls button {
      font-size: 18px;
    }
  }
  
  @media (max-width: 480px) {
    .florist-intro h1 {
      font-size: 20px;
    }
  
    .florist-intro p {
      font-size: 13px;
    }
  
    .florist-intro button {
      padding: 8px 20px;
      font-size: 13px;
    }
  }
  
  /*  */
  /* four section end  */
/*  */



/* third section */
.hero {
position: relative;
width: 100%;
height: 60vh;
overflow: hidden;
}

.hero::before {
content: "";
position: absolute;
inset: 0;
background-image: url('https://flowers-boutique.ancorathemes.com/wp-content/uploads/2016/07/gallery4.jpg');
background-size: cover;
background-position: center;
opacity: 0;
animation: bgFade 2s ease-in-out forwards;
filter: brightness(0.7);
}

.content {
position: relative;
z-index: 3;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 20px;

}

.glass-box {
color: white;
max-width: 700px;
width: 100%;
}

.glass-box h1 {

font-size: 2.3rem;
color: var(--golden-yellow);
opacity: 0;
transform: translateY(20px);
animation: fadeSlideUp 1s ease forwards 0.5s;
}

.glass-box a {
display: inline-block;
margin-top: 20px;
padding: 12px 36px;
background: linear-gradient(135deg, #b89a4d, #e0c27d);
color: white;
border: none;
border-radius: 5px;
text-transform: uppercase;
font-size: 16px;
font-weight: 600;
letter-spacing: 1px;
text-decoration: none;
cursor: pointer;
white-space: nowrap;
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
opacity: 0;
transform: translateY(20px);
animation: fadeSlideUp 1s ease forwards 1.2s;
}

.glass-box a:hover {
background: linear-gradient(135deg, #9e7a3a, #d5b46a);
transform: translateY(-3px);
box-shadow: 0 12px 20px rgba(0,0,0,0.25);
}

/* Keyframes */
@keyframes bgFade {
to {
opacity: 1;
}
}

@keyframes fadeSlideUp {
to {
opacity: 1;
transform: translateY(0);
}
}

/* Responsive font sizes */
@media (max-width: 768px) {
.glass-box h1 {
font-size: 2rem;
}

.glass-box a {
font-size: 1rem;
padding: 10px 24px;
}
}

/* 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;
    }
  }

/* 
*/




/* Blog Section */
.blog {
padding: 20px 20px;
text-align: center;
}

.blog h2 {

font-size: 28px;
margin-bottom: 15px;
color: #b89a4d;
font-weight: 500;
animation-delay: 0.6s;
}

.subtitle {
font-size: 14px;
color: #b89a4d;
letter-spacing: 2px;
}


.blog-posts {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 30px;
}

.post {
width: 300px;
}

.post img {
width: 100%;
height: auto;
border: 1px solid #ccc;
}


.post h3 {
font-family: 'Playfair Display', serif;
font-size: 16px;
margin-top: 10px;
color: #b89a4d;
}

.more-posts {
display: inline-block;
margin-top: 20px;
padding: 12px 36px;
background: linear-gradient(135deg, #b89a4d, #e0c27d);
color: white;
border: none;
border-radius: 5px;
text-transform: uppercase;
font-size: 16px;
font-weight: 600;
letter-spacing: 1px;
text-decoration: none;
cursor: pointer;
white-space: nowrap;
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
opacity: 0;
transform: translateY(20px);
animation: fadeSlideUp 1s ease forwards 1.2s;
}



