/* Reset Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and Font */
body {
  font-family: "Playfair Display", serif;
  color: #2e3a47;
  background-color: #f5f8fa; /* Light grayish-blue background */
  line-height: 1.8;
  padding-top: 80px; /* Space for fixed header */
  scroll-behavior: smooth;
}

/* Home Section Logo Styling */
.logo-container {
  text-align: center;
  margin-bottom: 20px;
}

.home-logo {
  max-width: 450px; /* Three times larger for visibility */
  height: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.home-logo:hover {
  transform: scale(1.1); /* Slight zoom on hover */
  opacity: 0.9; /* Slight fade effect */
}

/* Ensure spacing between logo and content */
.home-content {
  margin-top: 20px;
}

/* Adjust header title to align with the logo */
.header .title {
  font-size: 2em;
  font-weight: bold;
  color: #f4f4f4;
  letter-spacing: 1.5px;
  margin: 0;
}

/* Header */
.header {
  background: linear-gradient(
    135deg,
    #2c3e50 30%,
    #1a2940
  ); /* Deep slate-blue gradient */
  color: #ffffff;
  padding: 20px 0;
  text-align: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header h1 {
  font-size: 2.5em;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
  animation: fadeIn 1s ease-in;
}

/* Navbar */
.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.navbar a {
  color: #ffffff;
  font-weight: 600;
  font-size: 1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.navbar a:hover {
  background-color: #3b5998;
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Container */
.container {
  max-width: 1200px;
  padding: 40px 20px;
  margin: 20px auto 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Catalog Section Styles */
.catalog {
  padding: 50px 20px;
  background-color: #f5f8fa; /* Light background for contrast */
  text-align: center;
}

.catalog h2 {
  font-size: 2.5em;
  color: #2c3e50;
  margin-bottom: 20px;
}

.catalog p {
  font-size: 1.2em;
  color: #4a4a4a;
  margin-bottom: 40px;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.tab-button {
  background-color: #ffffff;
  border: 2px solid #3b5998;
  color: #3b5998;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.tab-button:hover,
.tab-button.active {
  background-color: #3b5998;
  color: #ffffff;
}

.tab-content {
  display: none;
  text-align: center;
}

.tab-content iframe {
  width: 80%;
  height: 500px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
}

.download-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #3b5998;
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1em;
  transition: background-color 0.3s, transform 0.3s;
}

.download-link:hover {
  background-color: #1d2a42;
  transform: scale(1.05);
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background-color: #2c3e50;
  color: #f5f8fa;
  font-size: 0.9em;
  margin-top: 30px;
}

/* Back-to-Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  background-color: #3b5998;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 1.5em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s, background-color 0.3s;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1.05);
}

.back-to-top:hover {
  background-color: #1d2a42;
}

/* Fade-in Effect */
.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Home Section */
.home {
  background: url("F:/Mama website/Website/tile-website/images/background.png")
    center/cover no-repeat;
  color: #0f084d;
  padding: 100px 20px;
  text-align: center;
}

.home-content h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.home-content p {
  color: #120f16; /* Dark text color for contrast */
  font-size: 1.2em; /* Increase font size */
  font-weight: bold; /* Make the font bold */
  margin-top: 10px;
  margin-bottom: 30px; /* Spacing below the paragraph */
  background-color: #f8f9fa6b; /* Light background color */
  padding: 10px; /* Add padding for the background */
  border-radius: 5px; /* Optional: Rounded corners for better aesthetics */
  display: inline-block; /* Ensures background wraps neatly around text */
}

.explore-button {
  background-color: #3b5998;
  color: #ffffff;
  padding: 10px 25px;
  font-size: 1.1em;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
}

.explore-button:hover {
  background-color: #1d2a42;
  transform: translateY(-4px);
}

/* About Section */
.about {
  padding: 40px 20px;
  text-align: center;
}

.about h2 {
  font-size: 2.5em;
  color: #2c3e50;
  margin-bottom: 15px;
}

.about p {
  font-size: 1em;
  color: #4a4a4a;
  max-width: 700px;
  margin: auto;
}

/* Contact Section */
.contact {
  padding: 40px 20px;
  background-color: #f0f4f8;
  text-align: center;
}

.contact h2 {
  font-size: 2.5em;
  color: #2c3e50;
  margin-bottom: 15px;
}

.contact-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #d1d9e6;
  border-radius: 5px;
}

.submit-button {
  padding: 10px 20px;
  font-size: 1em;
  background-color: #3b5998;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: #1d2a42;
}
