* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

html {
  background-color: #fffff0;
}

/* ჰედერი */
header {
  background: #ffffff;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(159, 129, 112, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 10px 5%;
  box-shadow: 0 4px 20px rgba(159, 129, 112, 0.15);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  width: 300px;
}

.logo {
  color: #9f8170;
  text-decoration: none;
  width: 100%;
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  text-decoration: none;
  color: #5a5a5a;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-links a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #9f8170;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #9f8170;
}

.nav-links a:hover:before {
  width: 100%;
}

.nav-links a.active {
  color: #9f8170;
}

.nav-links a.active:before {
  width: 100%;
}

/* Mobile menu toggle (hidden by default) */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: #9f8170;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    gap: 30px;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
  }

  .nav-links.active {
    left: 0;
    top: 50px;
  }

  .menu-toggle {
    display: block;
  }

  header.scrolled {
    padding: 10px 5%;
  }
}

/* Hero სექცია */
.hero {
  /*background-image: url("images/bg.jpg");*/
  height: 100vh;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: black;
  margin-top: 60px;
}

.main-heading {
  /*color: #9f8170;*/
  color:#c0154100; 
  text-shadow: 0 0 2px #000;
  font-size: 36px;
}

.cta-button {
  background: #9f8170;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
  font-size: 20px;
  transition: all 0.3s;
}

.cta-button:hover {
  transform: translateY(-3px);
}

/* სერვისები */
.services-section {
  margin: 0 auto;
  padding: 4rem 2rem;
  border-radius: 20px;
}

.services-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  /*color: #2c3e50;*/
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.services-section h2:after {
  content: "";
  position: absolute;
  width: 60%;
  height: 4px;
  background: #9f8170;
  bottom: -10px;
  left: 20%;
  border-radius: 2px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.single-service {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.single-service:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: #9f8170;
  transition: all 0.3s ease;
}

.single-service:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.single-service:hover:before {
  width: 100%;
  opacity: 0.1;
}

.single-service h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 20px;
}

.single-service h3:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #9f8170;
  font-size: 1.8rem;
  line-height: 1;
}

.single-service p {
  color: #7f8c8d;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .services-section {
    padding: 3rem 1.5rem;
  }

  .services-section h2 {
    font-size: 2rem;
  }

  .services-container {
    grid-template-columns: 1fr;
  }

  .single-service {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 2rem 1rem;
  }

  .single-service {
    padding: 1.5rem;
  }

  .single-service h3 {
    font-size: 1.2rem;
  }
}

/* ჩვენ შესახებ */
.about-section {
  /*max-width: 1200px;*/
  width:100%;
  margin: 4rem auto;
  padding: 4rem 2rem;
  font-family: "Poppins", sans-serif;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.about-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #9f8170;
}

.about-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  color: #2c3e50;
  position: relative;
}

.about-section h2:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: #9f8170;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.blinds-gallery h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  color: #2c3e50;
  position: relative;
}

.blinds-gallery h2:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: #9f8170;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  color: #555;
  line-height: 1.8;
  font-size: 1.1rem;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.about-content:before,
.about-content:after {
  content: '"';
  position: absolute;
  font-size: 5rem;
  color: rgba(52, 152, 219, 0.1);
  font-family: serif;
  line-height: 1;
}

.about-content:before {
  top: -30px;
  left: 0;
}

.about-content:after {
  bottom: -60px;
  right: 0;
}

.highlight {
  color: #9f8170;
  font-weight: 600;
}

.stats-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  min-width: 150px;
  background: rgba(52, 152, 219, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(52, 152, 219, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  background: #9f8170;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: #7f8c8d;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .about-section {
    padding: 3rem 1.5rem;
    margin: 2rem auto;
  }

  .about-section h2 {
    font-size: 2rem;
  }

  .about-content {
    font-size: 1rem;
    padding: 0;
  }

  .stats-container {
    gap: 1rem;
  }

  .stat-item {
    min-width: 120px;
    padding: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 2rem 1rem;
  }

  .about-content:before,
  .about-content:after {
    font-size: 3rem;
  }

  .about-content:before {
    top: -15px;
  }

  .about-content:after {
    bottom: -40px;
  }

  .stats-container {
    flex-direction: column;
    align-items: center;
  }

  .stat-item {
    width: 100%;
    max-width: 200px;
  }
}

/* გალერეა */
.blinds-gallery {
  padding: 50px 20px;
}

.gallery-item {
  margin: 40px 0;
}

.gallery-item p {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: bold;
  padding-left: 15px;
}

.image-row {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 15px;
  scrollbar-width: thin;
  scrollbar-color: #9f8170 #f1f1f1;
}

.image-row img {
  height: 280px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  object-fit: cover;
  transition: 0.3s;
}

.image-row img:hover {
  transform: scale(1.03);
}

/* საკონტაქტო */
.contact-footer {
  width: 100%;
  background-color: #fffff0;
  font-family: "Poppins", sans-serif;
  padding: 3rem 2rem 2rem;
  border-top: 3px dashed #9f8170;
}

.contact-footer h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  /*color: #9f8170;*/
  position: relative;
  padding-bottom: 15px;
}

.contact-footer h2:after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: #9f8170;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  color: #9f8170;
  font-size: 1.5rem;
  margin-top: 3px;
}

.info-content h3 {
  color: #9f8170;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.info-content a,
.info-content p {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.info-content a:hover {
  color: #9f8170;
}

.map-container {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  height: 200px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-form {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #9f8170;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #9f8170;
  box-shadow: 0 0 0 3px rgba(159, 129, 112, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.footer-button {
  background-color: #9f8170;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.footer-button:hover {
  background-color: #8a6d5d;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #777;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-form {
    order: -1;
  }

  .contact-footer {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-footer h2 {
    font-size: 1.7rem;
  }

  .info-item {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* რესპონსივი */
@media (max-width: 768px) {
  .nav-links {
    gap: 15px;
  }

  .hero h1 {
    font-size: 1.8em;
    padding: 0 15px;
  }
}

.contact-section {
  background: #2c3e50;
  color: white;
  padding: 60px 20px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
}

.info-item h3 {
  color: #9f8170;
  margin-bottom: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #9f8170;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
}

.map-container {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* მოდალის სტილები */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

#modalImage {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.close-btn {
  position: absolute;
  top: -40px;
  right: -10px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: #3498db;
}

@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
  }

  #modalImage {
    max-height: 70vh;
  }
}

/* FILTERS */
.production-section {
  /*max-width: 1200px;*/
  width:100%;
  margin: 4rem auto;
  padding: 0 2rem;
  font-family: "Poppins", sans-serif;
}

.production-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  /*color: #9f8170;*/
  position: relative;
  padding-bottom: 15px;
}

.production-section h2:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: #9f8170;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.production-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
}

/* Filters Sidebar */
.filters-sidebar {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: fit-content;
  position: sticky;
  top: 120px;
}

.filter-group {
  margin-bottom: 2rem;
}

.filter-group h3 {
  color: #9f8170;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.color-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.color-option.active{
    border : 3px solid red;
}

.color-option:hover {
  transform: scale(1.1);
}

.color-option.selected {
  border-color: #9f8170;
  box-shadow: 0 0 0 2px white, 0 0 0 4px #9f8170;
}

.price-range {
  width: 100%;
  margin: 1rem 0;
}

.price-inputs {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.price-inputs input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: center;
}

.category-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.category-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.category-option input {
  margin-right: 10px;
  accent-color: #9f8170;
}

.category-option label {
  cursor: pointer;
  color: #555;
  transition: color 0.3s ease;
}

.category-option:hover label {
  color: #9f8170;
}

.filter-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.filter-button {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.apply-filters {
  background-color: #9f8170;
  color: white;
}

.apply-filters:hover {
  background-color: #8a6d5d;
}

.reset-filters {
  background-color: #f5f5f5;
  color: #555;
}

.reset-filters:hover {
  background-color: #eee;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
  height: 200px;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info {
  padding: 1.2rem;
}

.product-title {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.product-category {
  color: #9f8170;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.product-price {
  font-weight: 700;
  color: #2c3e50;
  margin-top: 0.5rem;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: #777;
}

@media (max-width: 992px) {
  .production-container {
    grid-template-columns: 250px 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .production-container {
    grid-template-columns: 1fr;
  }

  .filters-sidebar {
    position: static;
    margin-bottom: 2rem;
  }

  .filter-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .production-section {
    padding: 0 1rem;
  }

  .production-section h2 {
    font-size: 1.8rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* PRODUCT CARD */
.product-card {
  width: 100%;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  height: 300px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(159, 129, 112, 0.15);
}

.product-image-container {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  background-color: #f9f9f9;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-name {
  padding: 15px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  color: #2c3e50;
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-image-container {
    height: 160px;
  }

  .product-name {
    padding: 12px;
    font-size: 0.9rem;
  }
}
