/* styles.css */

/* Global Styles */

* {
  align-content: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Playfair Display', serif;
  line-height: 1.6;
  height: 100vh;
  text-align: center;
}

#home {
  height: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 22px;
}

.section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Header */

header {
  background-color: #2b2d42;
  position: sticky;
  top: 0;
  z-index: 999;
  max-height: 100px;
}

.headers {
  position: sticky;
}

.logo img {
  width: 130px;
}

nav {
  padding-left: 10%;
  padding-right: 10%;
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin-bottom: 5px;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu li {
  list-style: none;
  margin-left: 30px;
}

.menu li a::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease;
}

.menu li a:hover::before {
  transform: scaleX(1);
}

.menu li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.menu li a:hover::after {
  transform: scaleX(1);
}

.menu li a {
  text-decoration: none;
  color: #fff;
  position: relative;
}

@media (max-width: 800px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    margin-right: 200px;
    display: none;
    flex-direction: column;
    background-color: #2b2d42;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px;
  }

  .menu li {
    margin: 10px 0;
  }

  .menu li a {
    color: #fff;
  }

  .menu.active {
    display: flex;
  }
}

@media only screen and (max-width: 700px) {
  nav {
    padding-left: 0;
    padding-right: 100px;
    position: sticky;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

.logo a {
  color: #fff;
  font-size: 28px;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-bottom: 35px;
  margin-left: 20px;
  transition: 500ms;
}


nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

/* Hero Section */

.hero {
  text-align: center;
}

.hero h1 {
  font-size: 58px;
  margin-bottom: 30px;
  color: #2b2d42;
}

.hero p {
  font-size: 30px;
  margin-bottom: 60px;
  color: #555;
}

.cta-button {
  display: inline-block;
  width: 80%;
  background-color: #fff;
  color: #2b2d42;
  padding: 15px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 30px;
}

.cta-button:hover {
  background-color: #f0ead6;
}

/* Products Section */

.purchase-button {
  display: inline-block;
  background-color: #2b2d42;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 50px;
}

.purchase-button:hover {
  background-color: #383647;
}

#products {
  background-color: fff;
  height: 100%;
}

.products-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 60px;
}

.product-card {
  background-color: #fff;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  flex-basis: calc(50% - 40px);
  transition: transform 0.3s ease;
  margin-bottom: 40px;
}

.product-card.basic {
  border: 2px solid;
  border-image: linear-gradient(to right, #2b2d42, #2b2d42) 1;
}

.product-card.premium {
  border: 2px solid;
  border-image: linear-gradient(to right, silver, rgb(145, 139, 139)) 1;
}

.product-card.luxury {
  border: 2px solid;
  border-image: linear-gradient(to right, gold, rgb(192, 164, 7)) 1;
}

.product-card.custom {
  border: 2px solid;
  border-image: linear-gradient(to right,  #73708a, #3928b9) 1;
}

.product-card:hover {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(1);
  }
}

.product-card img {
  max-width: 100%;
  margin-bottom: 30px;
  border-radius: 4px;
}

.product-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #2b2d42;
}

.product-card p {
  font-size: 18px;
  color: #555;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* About Section  */

.about-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: #f8f8f8;
  padding: 40px;
}

.about-content {
  flex: 1;
}

.about-card h2 {
  font-size: 24px;
  color: #2b2d42;
  margin-bottom: 20px;
}

.about-card p {
  font-size: 18px;
  color: #555;
}

/* Contact Section */

#contact {
  background-color: #2b2d42;
  height: 100%;
  color: #fff;
}

.contact-card {
  background-color: #e0ccb4;
  border: #e0ccb4 4px ;
  padding: 30px;
  text-align: center;
  border-radius: 4px;
  flex-basis: calc(50% - 40px);
  transition: transform 0.3s ease;
  margin-bottom: 40px;
}

.contact-card a {
  color: #383647;
  text-decoration: none;
}

.contact-card img {
  max-width: 60px;
  margin-bottom: 30px;
}

.contact-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.contact-card p {
  font-size: 18px;
  color: #383647;
}

.contact-card:hover {
  transform: translateY(-3px);
  border: #ffff 4px ;
}

/* Footer */

footer {
  background-color: #383647;
  padding: 20px;
  text-align: center;
}

footer p {
  color: #fff;
  font-size: 14px;
}

/* New Sections */
.section {
  padding: 80px 0;
  text-align: center;
}

.section-heading {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
}

.section-link {
  display: block;
  margin-top: 20px;
  font-size: 18px;
}

.section-link.button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #2b2d42;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.section-link.button:hover {
  background-color: #2b2d42;
}

/* Media Queries for Mobile */

@media only screen and (max-width: 768px) {
  .products-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  #products {
    height: 150%;
  }

  .product-card {
    flex-basis: calc(20% - 20px);
  }
}

@media only screen and (max-height: 800px) {
  #products {
    background-color: #e4e4e4;
    height: 200%;
    padding-bottom: 35%;
  }
}

@media only screen and (max-width: 480px) {
  .contact-card {
    margin: 20px;
  }

  #contact {
    background-color: #2b2d42;
    color: #fbfbfb;
    height: 150%;
  }
}

@media only screen and (max-width: 800px) {

  #contact {
    height: 150%;
  }
}

/* Rules Section */
#rules {
  background-color: #f8f8f8;
  padding: 80px 0;
}

.rule-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.rule-card {
  background-color: #fff;
  padding: 30px;
  text-align: center;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  flex-basis: calc(50% - 40px);
  transition: transform 0.3s ease;
  margin: 20px;
}

.rule-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #2b2d42;
}

.rule-card p {
  font-size: 18px;
  color: #555;
}

.rule-icon {
  font-size: 48px;
  color: #2b2d42;
  margin-bottom: 20px;
}

.rule-heading {
  font-size: 18px;
  font-weight: 600;
  color: #2b2d42;
  margin-bottom: 10px;
}

.rule-description {
  font-size: 16px;
  color: #555;
}

.rule-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: #2b2d42;
  font-weight: 900;
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.rule-button::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #2b2d42;
  bottom: -2px;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.rule-button:hover {
  color: #1c1e2c;
}

.rule-button:hover::after {
  transform: scaleX(1);
}

@media only screen and (max-width: 768px) {
  .rule-card {
    flex-basis: 100%;
    max-width: 400px;
  }
}


.section-link.button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #2b2d42;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.section-link.button:hover {
  background-color: #383647;
}

.page-divider {
  border-top:  2.5px solid #ccc;
  width: 65%;
  margin-left: 18%;
  border-radius: 500px;
}

.homepage {
  background-image: url('background-main.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.homepage .cta-button {
  display: inline-block;
  background-color: transparent;
  color: #fff;
  padding: 15px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 30px;
}

.homepage .cta-button:hover {
  background-color: #2b2d42;
}
