/* Base styles for Unique Liqours website */

body {
  background-color: #0d0d0d;
  color: #f5f5f5;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Navigation bar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  z-index: 999;
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav ul li a:hover {
  color: #b88a36;
}

/* Hero section */
header {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

header h1 {
  font-size: 3rem;
  color: #fff;
  margin: 0;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

header p {
  font-size: 1.2rem;
  margin: 10px 0 20px;
  z-index: 1;
}

.btn {
  display: inline-block;
  background-color: #b88a36;
  color: #0d0d0d;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
  z-index: 1;
}

.btn:hover {
  background-color: #d4a65f;
}

/* Section styling */
.section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  color: #b88a36;
  margin-bottom: 20px;
  font-size: 2rem;
  text-align: center;
}

/* Categories grid */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.category-card {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.2s ease;
}

.category-card:hover {
  transform: scale(1.05);
}

.category-card i {
  font-size: 2rem;
  color: #b88a36;
  margin-bottom: 10px;
}

.category-card h3 {
  margin: 10px 0 5px;
  font-size: 1.1rem;
  color: #f5f5f5;
}

.category-card p {
  font-size: 0.9rem;
  color: #ccc;
}

/* Product cards on products page */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-card h3 {
  margin: 15px;
  color: #b88a36;
  font-size: 1.2rem;
}

.product-card p {
  margin: 0 15px 15px;
  color: #ccc;
  font-size: 0.9rem;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  color: #f5f5f5;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  background-color: #2a2a2a;
  color: #f5f5f5;
  font-size: 1rem;
}

.contact-form button {
  background-color: #b88a36;
  color: #0d0d0d;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-form button:hover {
  background-color: #d4a65f;
}

/* Footer */
footer {
  background-color: #111;
  color: #bbb;
  padding: 40px;
}

footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

footer h4 {
  color: #b88a36;
  margin-bottom: 10px;
}

footer a {
  color: #bbb;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}

footer a:hover {
  color: #f5f5f5;
}

footer .footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 20px;
  font-size: 0.9rem;
}