@import url("https://fonts.googleapis.com/css2?family=Elsie:wght@400;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Elsie", serif;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #2c1810;
  --secondary-color: #d4af37;
  --text-color: #333;
  --bg-color: #f9f6f1;
}

body {
  background-color: #f8f5f2;
  color: #2c1810;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  padding: 1rem 2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2c181033;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  /* letter-spacing: 2px; */
}

.logo a {
  text-decoration: none;
  /* font-style: italic; */
  color: #2c1810;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #2c1810;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #8b5e3c;
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("images/liquor-beautiful-glass-bottle.jpg") center/cover;
  color: white;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  /* opacity: 0; */
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  /* opacity: 0; */
}

.cta-button {
  padding: 1rem 2rem;
  background-color: transparent;
  border: 2px solid white;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  /* opacity: 0; */
}

.cta-button:hover {
  background-color: white;
  color: #2c1810;
}

/* Collection Section */
.collection {
  padding: 6rem 2rem;
  text-align: center;
}

.collection h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.collection h2::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background-color: var(--secondary-color);
}

.perfume-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.perfume-card {
  background-color: white;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(50px);
}

.perfume-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.perfume-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.perfume-card p {
  color: #666;
  margin-bottom: 1.5rem;
}

.price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #8b5e3c;
}

#zoom-in {
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #000;
  z-index: -10;
  height: 100vh;
  display: none;
}

#zoom-in img {
  min-width: 50px;
  height: 190px;

  justify-content: center;
  align-items: center;

  margin-top: 2rem;
}

.display {
  padding: 1rem;
  background-color: #000;
  color: #fff;
  min-height: 100vh;
  overflow: hidden;
}

.display-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10rem 2rem;
}

.display-text {
  font-size: 1rem;
  color: #fff;
  justify-content: center;
  align-items: center;
  display: flex;
  padding: 1rem;
}

.display-content-2 {
  /* display:none; */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10rem 2rem;
}

.display-image {
  display: flex;
  gap: 1rem;
}

.display-image img {
  max-width: 50px;
  /* height: 50px; */
  object-fit: cover;
  position: absolute;
  rotate: 20deg;
  margin-left: -50px;
}

/* Story Section */
.story {
  padding: 6rem 2rem;
  background-color: #2c1810;
  color: white;
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  /* opacity: 0; */
}

.story p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  /* opacity: 0; */
}

/* Contact Section */
.contact {
  padding: 6rem 2rem;
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  /* opacity: 0; */
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #2c181033;
  border-radius: 5px;
  font-size: 1.1rem;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.submit-button {
  padding: 1rem 2rem;
  background-color: #2c1810;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #8b5e3c;
}

/* Footer */
footer {
  background-color: #2c1810;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

footer p {
  margin-bottom: 1rem;
}

footer a {
  color: orange;
  text-decoration: none;
}

.social-links {
  margin-bottom: 2rem;
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #8b5e3c;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100%;
    background-color: rgba(248, 245, 242, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu {
    display: block;
    z-index: 1001;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }
}

.carousel-section {
  padding: 4rem 0;
  background-color: #2c1810;
  color: white;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carousel-title {
  font-size: 2rem;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 600px;
  margin: 0 auto;
  perspective: 2000px;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.carousel-item {
  position: absolute;
  width: 340px;
  height: 460px;
  left: 50%;
  top: 50%;
  transform-origin: center;
  transform-style: preserve-3d;
  transition: all 0.8s ease;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carousel-item img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.carousel-item h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: center;
  color: #2c1810;
}

.carousel-item p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.5;
  color: #4a4a4a;
}

.carousel-item .price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #8b5e3c;
  margin-top: auto;
}

.carousel-controls {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.carousel-controls button {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  background-color: #d4af37;
  border: none;
  transition: 0.3s ease;
}

.carousel-controls button:hover {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .carousel-container {
    height: 550px;
  }

  .carousel-item {
    width: 320px;
    height: 440px;
    padding: 25px;
  }

  .carousel-item img {
    width: 200px;
    height: 200px;
  }
}

@media (min-width: 768px) {
  .display-text {
    font-size: 2rem;
  }

  .display-image img {
    max-width: 100px;
  }
}

@media (max-width: 768px) {
  .carousel-container {
    height: 500px;
    perspective: 1000px;
  }

  .carousel-item {
    width: 300px;
    height: 420px;
    padding: 20px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%) !important;
  }

  .carousel-item:not(.active) {
    opacity: 0;
    pointer-events: none;
  }

  .carousel-item img {
    width: 180px;
    height: 180px;
  }

  .carousel-item h3 {
    font-size: 1.6rem;
  }

  .carousel-item p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .carousel-controls {
    margin-top: 13rem;
    display: flex;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    height: 480px;
  }

  .carousel-item {
    width: 280px;
    height: 400px;
    padding: 15px;
  }

  .carousel-item img {
    width: 160px;
    height: 160px;
  }

  .carousel-controls {
    gap: 1rem;
  }

  .carousel-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    background-color: #d4af37;
    border: none;
  }
}
