@import url("https://fonts.googleapis.com/css2?family=Aclonica&family=Aladin&family=Allura&family=Alumni+Sans+Pinstripe:ital@0;1&family=Cinzel:wght@400..900&family=Euphoria+Script&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

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

body {
  background: #f5f5f5;
  line-height: 1.4;
}

nav {
  box-shadow: 1px 6px 21px -5px rgba(66, 68, 90, 1);
  padding: 1rem 2rem;
  display: flex;
  padding: 10px;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffedda;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  position: relative;
  display: inline-block;
  color: transparent; /* hide original text */
  text-decoration: none;
  font-size: 1rem;
  padding: 0 15px;
  perspective: 500px;
  font-family: "Aclonica", cursive;
  overflow: hidden;
}

/* Flip layers */
.nav-links a::before,
.nav-links a::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  transform-origin: bottom;
  backface-visibility: hidden;
  text-align: center;
}

/* Normal state */
.nav-links a::before {
  transform: rotateX(0deg);
  
  
  color: #ffedda;
}

/* Flip face */
.nav-links a::after {
  transform: rotateX(-90deg);
  color: #f05a28;
}

/* Hover flip */
.nav-links a:hover::before {
  transform: rotateX(90deg);
}

.nav-links a:hover::after {
  transform: rotateX(0deg);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #007074;
  transition: all 0.3s ease;
}
/* Hamburger Animation */
.hamburger.toggle div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.toggle div:nth-child(2) {
  opacity: 0;
}

.hamburger.toggle div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #5B2333;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }

  .nav-links.open {
    min-height: 80vh;
  }
  .nav-links a{
      font-size: 2rem;
      padding: 10px;
      margin-top: 1.5rem;
  }
  .hamburger {
    display: flex;
  }
}
header {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("./images/bg22.jpg") center/cover no-repeat fixed;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}
.banner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.banner-title {
  font-size: 3rem;
  font-family: "Playfair Display", sans-serif;
  line-height: 1.2;
}
.banner-title span {
  color: #feba17;
  font-family: "Aladin", cursive;
  font-size: 4rem;
  font-weight: lighter;
}
.banner p {
  padding: 1rem 0 2rem 0;
  font-size: 1.5rem;
  color: #ffecdb;
  text-transform: capitalize;
  font-family: "Aladin", cursive;
  font-weight: 300;
  word-spacing: 2px;
}
.banner form {
  background: #fff;
  border-radius: 1rem;
  width: 50%;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: space-between;
}
.search-input {
  font-size: 0.9rem;
  outline: 0;
  width: 50%;
  padding: 0.6rem 0;
  border: none;
  color: #210f37;
}
.search-input::placeholder {
  text-transform: capitalize;
}
.search-btn {
  width: 40px;
  font-size: 1.1rem;
  color: #007074;
  border: none;
  background: transparent;
  outline: 0;
  cursor: pointer;
}
/* Section Styling */
.design {
  background-color: #f8f8f8; /* Light background color */
  padding: 4rem 2rem; /* Adequate padding around the section */
  text-align: center; /* Center the content */
}

.container {
  max-width: 1200px; /* Limit the width for larger screens */
  margin: 0 auto; /* Center the container */
  padding: 0 1rem; /* Padding for mobile responsiveness */
}

/* Title Styling */
.title h2 {
  font-size: 2rem; /* Large font for the title */
  font-family: "Playfair Display", serif; /* Elegant font for the title */
  color: #c599b6; /* Dark color for the title */
  margin-bottom: 1rem; /* Space below the title */
  font-weight: bold; /* Bold title */
  letter-spacing: 0.5px; /* Slight letter spacing */
}

.title p {
  font-size: 1.8rem; /* Medium font for the description */
  font-family: "Aladin", cursive; /* Simple, clean font for the description */
  color: #443627; /* Dark gray for text */
  line-height: 1.8; /* Better line spacing for readability */
  max-width: 950px; /* Limiting the width of the paragraph */
  margin: 0 auto; /* Center  align the paragraph */
  margin-bottom: 2rem; /* Space below the paragraph */
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
  .title h2 {
    font-size: 2rem; /* Smaller title size on mobile */
  }

  .title p {
    font-size: 1rem; /* Smaller description text */
    line-height: 1.6; /* Adjust line height for smaller text */
  }
}

@media (max-width: 480px) {
  .title h2 {
    font-size: 1.8rem; /* Further smaller title for very small screens */
  }

  .title p {
    font-size: 0.9rem; /* Smaller text for descriptions */
    line-height: 1.5; /* Reduce line height for mobile */
  }
}

/* Main Content Area */
.design-content {
  margin: 2rem auto;
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* Makes it responsive */
  gap: 1.5rem;
  max-width: 1200px;
  padding: 0 2rem;
}

/* Individual Blog Item */
.design-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 450px; /* Fixed height for consistency */
}

/* Hover Effect for Item */
.design-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Image Area */
.design-img {
  position: relative;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  height: 300px; /* Set fixed height for image */
}

/* Image Styling */
.design-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images cover the area while maintaining aspect ratio */
  transition: transform 0.5s ease;
}

/* Hover Effect on Image */
.design-item:hover .design-img img {
  transform: scale(1.1);
}

/* Heart Icon and Category Label */
.design-img .heart,
.design-img .category {
  position: absolute;
  z-index: 1;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.3rem 1rem;
  background: #c599b6;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.design-img .heart {
  top: 10px;
  left: 10px;
}

.design-img .category {
  bottom: 10px;
  right: 10px;
  font-size: 0.9rem;
}

/* Title Styling */
.design-title {
  padding: 1rem;
  font-size: 1.1rem;
  text-align: center;
  background: #fff;
  border-radius: 0 0 8px 8px;
  height: 150px; /* Fixed height for title area */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Title Link */
.design-title a {
  color: #be5985;
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Hover Effect on Title */
.design-title a:hover {
  color: #210f37;
  text-transform: uppercase;
}

/* Overlay Animation */
.animated-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  animation: fadeIn 1.5s ease-in-out infinite alternate;
}

/* Keyframe Animation for Overlay */
@keyframes fadeIn {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
  .design-content {
    padding: 0 1rem;
    grid-template-columns: repeat(
      auto-fit,
      minmax(280px, 1fr)
    ); /* Adjust for medium screens */
  }

  .design-title {
    font-size: 1rem;
  }

  .design-img .heart,
  .design-img .category {
    font-size: 0.8rem; /* Slightly smaller font for medium screens */
  }
}
/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .design-content {
    padding: 0 1rem;
    grid-template-columns: repeat(
      auto-fit,
      minmax(250px, 1fr)
    ); /* Adjust for smaller screens */
  }

  .design-title {
    font-size: 1rem;
  }

  .design-img .heart,
  .design-img .category {
    font-size: 0.8rem; /* Smaller font for smaller screens */
  }
}

@media (max-width: 480px) {
  .design-content {
    padding: 0 0.5rem;
  }

  .design-item {
    height: 270px; /* Reduce height for very small screens */
  }

  .design-img {
    height: 150px; /* Adjust image height for very small screens */
  }

  .design-title {
    height: 120px; /* Adjust height of the title area */
  }

  .design-title a {
    font-size: 0.9rem;
  }
}

/* Section Styling */

.container-blog {
  width: 100%; /* Limit the width for larger screens */
  margin: 0 auto; /* Center the container */
  padding: 0 1rem; /* Padding for mobile responsiveness */
}
.blog-section {
  padding: 4rem 2rem;
  background: radial-gradient(circle at top, #1a1a1a, #0f0f0f);
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 2.5rem;
  color: #fff;
  background: linear-gradient(90deg, #00ffe7, #ff00d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-header p {
  color: #aaa;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}

/* Card Styling */
.blog-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Image */
.card-image {
  position: relative;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.blog-card:hover .card-image img {
  transform: scale(1.05);
}
.like-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  padding: 0.5rem;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}
.like-btn:hover {
  background: #ff2c74;
}
.badge {
  display: inline-block;
  background: #be5985;
  color: #fff;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 12px;
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.corner-ribbon {
  position: absolute;
  top: 15px;
  left: -30px;
  background: #feba17;
  color: #fff;
  transform: rotate(-45deg);
  width: 120px;
  text-align: center;
  font-size: 0.75rem;
  padding: 5px 0;
  font-weight: 600;
}

/* Card Content */
.card-content {
  padding: 1.5rem;
}
.card-content .date {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 0.5rem;
  display: inline-block;
}
.card-content h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.card-content p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 1.2rem;
}
.read-more {
  display: inline-block;
  color: #f05a28;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.read-more:hover {
  color: #00ffe7;
  border-color: #007074;
}

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

body {
  font-family: "Poppins", sans-serif;
  background-color: #fdfdfd;
  color: #333;
}

.about {
  padding: 80px 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem;
}

/* Image Container */
.about-img {
  flex: 1 1 30%;
  max-width: 500px;
}

.about-img img {
  width: 100%;
  height: 80vh;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Text Block */
.about-text {
  flex: 1 1 55%;
}

.about-text .title h2 {
  font-size: 2.5rem;
  color: #210f37;
  font-family: "Playfair Display", sans-serif;
  margin-bottom: 0.5rem;
}

.about-text .title p {
  font-size: 1.5rem;
  color: #f05a28;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.3rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-img,
  .about-text {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .about-img img {
    max-width: 90%;
    margin: 0 auto;
    height: 60vh;
  }
}

footer {
  position: relative;
  width: 100%;
  background: #5b2333;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px; /* Added padding for better spacing */
}

/* Social Links & Menu */
.social-links-footer,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0;
  gap: 15px; /* Ensures spacing between items */
}

.social-links-footer li,
.menu li {
  list-style: none;
}

.social-links-footer a,
.menu a {
  text-decoration: none;
  font-size: 1.8rem; /* Slightly smaller for responsiveness */
  color: #f7f4f3;
  margin: 0 8px;
  display: inline-block;
  transition: 0.3s;
}
.menu a {
  text-decoration: none;
  color: #f7f4f3;
  margin: 0 10px;
  font-size: 1.4rem;
  opacity: 0.7;
  display: inline-block;
}
.social-links-footer a:hover {
  color: #f7f4f3;
  transform: translateY(-5px); /* Keeps the slight bounce effect */
  text-shadow: 0 0 10px rgba(247, 244, 243, 0.8),
    0 0 20px rgba(247, 244, 243, 0.6), 0 0 30px rgba(247, 244, 243, 0.4);
}
.menu a:hover {
  opacity: 1;
  transform: translateY(-5px); /* Keeps the slight bounce effect */
  text-shadow: 0 0 10px rgba(247, 244, 243, 0.8),
    0 0 20px rgba(247, 244, 243, 0.6), 0 0 30px rgba(247, 244, 243, 0.4);
}

/* Footer Text */
footer p {
  color: #f7f4f3;
  font-family: "Alumni Sans Pinstripe", cursive;
  font-weight: bolder;
  font-size: 1.3rem;
  margin: 20px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu {
    flex-direction: column; /* Stack elements on smaller screens */
    gap: 20px;
  }
  .social-links-footer a,
  .menu a {
    font-size: 1.5rem;
    margin: 5px 0;
  }
  footer p {
    font-size: 1.2rem;
    margin: 15px;
  }
}

@media (max-width: 480px) {
  .menu a {
    font-size: 1.3rem;
  }
  footer p {
    font-size: 1rem;
  }
}
