/**
 * Zoha Libas - Main Stylesheet
 */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  
  line-height: 1.6;
}

h1 {
  color: rgb(175,159,132);
  text-align: center;
  font-size: 50px;
  margin: 0;
}

h2 {
  font-size: 30px;
  text-align: center;
}

h3 {
  font-size: 24px;
  text-align: center;
}

p {
  font-size: 20px;
  text-align: left;
}

ul {
  font-size: 20px;
}

a {
  color: rgb(128,0,0);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

#logo {
  border-radius: 50%;
  float: left;
  width: 70px;
  height: auto;
  position: absolute;
  left: 40px;
  top: 5px;
}

.tagline {
  font-size: 30px;
  font-style: italic;
  color: #8B0000;
  text-align: center;
  margin-top: 20px;
}

.nav {
  background-color: rgb(175,159,132);
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.nav li {
  display: inline-block;
  font-size: 18px;
  padding: 15px;
  font-weight: bold;
  text-align: right;
  text-indent: 150px;
}

.nav li a:hover {
  color: #8B0000;
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: rgb(175,159,132);
  font-size: 15px;
  padding: 10px;
  font-weight: bold;
  text-align: center;
  text-indent: 50px;
}

.foot_links {
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-weight: bold;
  margin: 10px 0;
  padding: 0;
}

.foot_links li a {
  color: rgb(128,0,0);
  text-decoration: none;
}

.foot_links li a:hover {
  text-decoration: underline;
}

/* ============================================
   HOME PAGE SECTIONS
   ============================================ */

.hero-section {
  text-align: center;
  /* padding: 40px 20px; */
  background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
}

.hero-text {
  max-width: 800px;
  margin: 20px auto;
  font-size: 18px;
  color: #555;
}

.featured-section {
  padding: 40px 20px;
  background: #fff;
}

.content-section {
 /* padding: 40px 20px; */
  background: #f8f8f8;
}

.content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  background: #f8f8f8;
}

.intro-text {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 40px;
  text-align: center;
}

.content-wrapper h2 {
  margin: 30px 0 20px;
  color: #8B0000;
}

.content-wrapper p {
  line-height: 1.8;
  margin-bottom: 20px;
}

.collection-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.collection-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 18px;
}

.collection-list li:last-child {
  border-bottom: none;
}

.collection-list strong {
  color: #8B0000;
}

/* ============================================
   PRODUCT GALLERY
   ============================================ */

div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

div.gallery-item {
  flex: 0 1 calc(25% - 20px);
  min-width: 250px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
}

div.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

div.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  padding: 20px;
  box-sizing: border-box;
}

div.gallery-item div.desc {
  padding: 15px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  background-color: rgb(175,159,132);
  color: #fff;
}

div.gallery-item div.desc a {
  color: #fff;
  text-decoration: none;
}

div.gallery-item div.desc a:hover {
  text-decoration: underline;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-container {
  max-width: 1000px;
  margin: auto;
  background: #fff;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.contact-address {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid rgb(175,159,132);
}

.contact-address h2 {
  color: #8B0000;
  margin-bottom: 15px;
  font-size: 24px;
}

.contact-address p {
  margin: 5px 0;
  font-size: 16px;
  text-align: center;
}

.contact-address p strong {
  color: #8B0000;
  font-size: 18px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
}

.contact-form button {
  background-color: #8B0000;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #a30000;
}

.map-container {
  flex: 1;
  min-width: 300px;
}

/* ============================================
   ACCOUNT PAGE - SALES FORM
   ============================================ */

.account-page {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

.upload-section,
.sales-section,
.ledger-section {
  background: #fff;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.upload-section h3,
.sales-section h3,
.ledger-section h3 {
  margin-top: 0;
  color: #8B0000;
  border-bottom: 2px solid rgb(175,159,132);
  padding-bottom: 10px;
}

/* Upload Form */
.upload-form {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.upload-form input[type="file"] {
  flex: 1;
  min-width: 250px;
  padding: 10px;
  border: 2px dashed #ccc;
  border-radius: 4px;
  cursor: pointer;
}

.upload-form button {
  background-color: #8B0000;
  color: white;
  padding: 10px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}

.upload-form button:hover {
  background-color: #a30000;
}

/* Sales Form */
form#salesForm {
  max-width: 600px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="number"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #8B0000;
}

.radio-group {
  display: flex;
  gap: 30px;
  padding: 10px 0;
}

.radio-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0 10px 0 0;
  cursor: pointer;
  accent-color: #8B0000;
}

.radio-option span {
  font-size: 16px;
}

form#salesForm button {
  background-color: #8B0000;
  color: white;
  padding: 12px 40px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  margin-top: 10px;
}

form#salesForm button:hover {
  background-color: #a30000;
}

/* Ledger Section */
.iframe-container {
  width: 100%;
  overflow-x: auto;
}

.iframe-container iframe {
  border: 1px solid #ddd;
  border-radius: 4px;
  min-width: 800px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  div.gallery-item {
    width: 100%;
  }
  
  .nav li {
    display: block;
    text-indent: 0;
    text-align: center;
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .radio-group {
    flex-direction: column;
    gap: 10px;
  }
}
