/* საერთო სტილი */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* ჰედერი */
header {
  background-color: #222;
  color: white;
  padding: 20px;
  text-align: center;
}

.logo h1 {
  margin: 0;
  font-size: 28px;
}

.logo .highlight {
  color: #ff6f61;
}

/* ნავიგაცია */
nav {
  margin-top: 10px;
}

nav a {
  margin: 0 12px;
  color: #ff6f61;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #e85b4b;
  text-decoration: underline;
}

/* მთავარი კონტენტი */
main, section {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
}

/* პროდუქტები */
.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.product {
  background: #fff;
  padding: 20px;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.product:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.product img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product h3 {
  margin-bottom: 10px;
  color: #222;
}

.product p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.product button {
  background-color: #ff6f61;
  color: white;
  border: none;
  padding: 10px 18px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.product button:hover {
  background-color: #e85b4b;
}

/* გალერეა */
.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.gallery-item img {
  width: 250px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* ჩვენი შესახებ */
.about-section p {
  max-width: 700px;
  margin: 0 auto 15px;
  font-size: 16px;
  color: #444;
}

/* კონტაქტის ფორმა */
.contact-section form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.contact-section label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #222;
}

.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.contact-section input[type="text"]:focus,
.contact-section input[type="email"]:focus,
.contact-section textarea:focus {
  border-color: #ff6f61;
  outline: none;
}

.contact-section button[type="submit"] {
  background-color: #ff6f61;
  color: white;
  padding: 12px 25px;
  border: none;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-section button[type="submit"]:hover {
  background-color: #e85b4b;
}

#formMessage {
  text-align: center;
  font-weight: 600;
  margin-top: 10px;
}

/* ფუტერი */
footer {
  background: #eee;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #555;
  margin-top: 50px;
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  color: #ff6f61;
  margin: 0 15px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #e85b4b;
  text-decoration: underline;
}

/* ადმინ პანელი */
.admin-container {
  max-width: 900px;
  margin: 40px auto 80px auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.admin-container h2 {
  margin-bottom: 25px;
  color: #222;
}

.admin-section {
  margin-bottom: 45px;
}

.admin-section label {
  font-weight: 700;
  display: block;
  margin: 12px 0 8px 0;
}

.admin-section input[type="text"],
.admin-section input[type="file"],
.admin-section input[type="password"] {
  width: 100%;
  padding: 10px 15px;
  border: 1.7px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.admin-section input[type="text"]:focus,
.admin-section input[type="file"]:focus,
.admin-section input[type="password"]:focus {
  border-color: #ff6f61;
  outline: none;
}

.admin-section button {
  background-color: #ff6f61;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.admin-section button:hover {
  background-color: #e85b4b;
}

/* ადმინ ჰედერი */
header.admin-header {
  background-color: #1e1e1e;
  color: white;
  padding: 25px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  font-size: 30px;
  font-weight: 700;
}

/* ადმინ footer */
footer.admin-footer {
  text-align: center;
  padding: 25px;
  font-size: 14px;
  color: #555;
  margin-top: 50px;
  background: #f4f4f4;
}

/* ადმინ სოციალური ბმულები */
.social-links a {
  color: #ff6f61;
  margin: 0 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
}

.social-links a:hover {
  text-decoration: underline;
}

/* მობილური ადაპტაცია */
@media (max-width: 768px) {
  .products {
    flex-direction: column;
    align-items: center;
  }

  .gallery-container {
    justify-content: center;
  }

  nav a {
    display: inline-block;
    margin: 8px 10px;
  }

  .admin-container {
    margin: 20px 15px 50px 15px;
    padding: 20px;
  }
}

/* ძირითადი სტილი – მუქი თემა */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #2B2A28;
  color: #EFEFEF;
}

header {
  background-color: #1e1e1e;
  padding: 20px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 28px;
  color: #D4AF37;
}

.highlight {
  color: #EFEFEF;
}

nav {
  margin-top: 15px;
}

nav a {
  color: #EFEFEF;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}

nav a:hover {
  color: #D4AF37;
}

main, section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

h2 {
  color: #D4AF37;
  margin-bottom: 20px;
  font-size: 26px;
}

p {
  line-height: 1.7;
}

.products, .gallery-section, .about-section, .contact-section {
  margin-top: 40px;
}

.product-container, .gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.product, .gallery-item {
  background-color: #3A3936;
  border-radius: 8px;
  padding: 15px;
  flex: 1 1 250px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.product:hover, .gallery-item:hover {
  transform: translateY(-5px);
}

.product img, .gallery-item img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.product h3 {
  color: #D4AF37;
  margin-top: 10px;
}

.product p {
  font-size: 14px;
}

.product button {
  background-color: #C59D5F;
  color: #2B2A28;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.product button:hover {
  background-color: #B58840;
}

form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 10px;
  border-radius: 6px;
  border: none;
  font-size: 16px;
  background-color: #EFEFEF;
  color: #2B2A28;
}

textarea {
  resize: vertical;
}

button[type="submit"] {
  background-color: #D4AF37;
  color: #2B2A28;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #C59D5F;
}

footer {
  background-color: #1e1e1e;
  color: #EFEFEF;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

.social-links a {
  color: #D4AF37;
  text-decoration: none;
  margin: 0 8px;
}

.social-links a:hover {
  text-decoration: underline;
}

/* ლინკი ადმინზე */
.admin-link {
  border: 1px solid #D4AF37;
  padding: 5px 10px;
  border-radius: 5px;
  margin-left: 10px;
}

.admin-link:hover {
  background-color: #D4AF37;
  color: #2B2A28;
}