@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #ffb100;
  /* Warmer, more vibrant orange-yellow to match logo */
  --primary-hover: #e69f00;
  --dark: #1a1a1a;
  --light-gray: #f9f9f9;
  --text-main: #333;
  --text-muted: #666;
  --white: #ffffff;
  --border-color: #e5e5e5;
  --section-dark: #2b2e35;
  /* Dark gray for the bottom section */
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
/* Header */
header {
  background: transparent;
  padding: 20px 0;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.header-solid {
  background: #22252a;
  /* Deep charcoal from reference */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 0;
  position: sticky;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Push everything after logo to the right */
.logo {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  font-size: 24px;
  color: var(--primary);
}

.logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  /* Matches the communication button and brand identity */
  letter-spacing: -0.5px;
  display: flex;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
  opacity: 1;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  color: var(--white);
  font-size: 1.5rem;
}

.mobile-only-header,
.mobile-separator {
  display: none;
}

.btn-teklif {
  background: var(--primary);
  color: #000;
  padding: 10px 28px;
  border-radius: 12px;
  /* Matches the updated modern style */
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-teklif:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-contact {
  background: var(--primary);
  color: var(--dark);
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 600;
  transition: transform 0.2s;
}

.btn-contact:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  height: 100vh;
  /* Make full screen height */
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  padding-top: 80px;
  /* Offset for header */
  overflow: hidden;
  background: #000;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%) scale(0.6);
  /* 40% zoom out */
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
  /* Stronger gradient overall to darken the video */
  z-index: 1;
}

.hero .container {
  margin-left: 0;
  margin-right: auto;
  padding-left: 100px;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: left;
  /* Ensure left alignment */
  margin-left: 0;
  /* aligned to start of container */
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 700;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 30px;
  border-radius: 12px;
  /* Matches card rounded style */
  /* Fully rounded buttons */
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
  border: none;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

/* Section Common */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.section-header p {
  color: var(--text-muted);
}

/* Featured Products */
.products-section {
  background-color: #f8f9fa;
  /* Light grayish background */
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* Force 5 columns side by side for all featured products */
  gap: 25px;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.8s ease;
  border: 2px solid transparent;
  /* Added to make border transition smooth */
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 193, 7, 0.25);
  border: 2px solid var(--primary);
}

.product-image {
  height: 220px;
  overflow: hidden;
}

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

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

.product-info {
  padding: 20px;
}

.product-category {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.5px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}

.view-all-btn-container {
  text-align: center;
  margin-top: 50px;
}

/* Categories Grid */
/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.category-item {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 30px;
  cursor: pointer;
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.15);
}

.category-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.category-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}



/* Why Choose Us */
.why-us-section {
  background-color: #f8f9fa;
  /* Match products-section */
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.feature-box {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #eee;
  text-align: left;
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Dark Section - Story & Values */
.dark-section {
  background-color: var(--section-dark);
  color: var(--white);
  padding: 80px 0;
}

.dark-section .section-header h2 {
  color: var(--white);
}

.dark-section .section-header h2 span {
  color: var(--primary);
}

.dark-section .section-header p {
  color: #aaa;
}

.story-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.values-grid {
  grid-template-columns: repeat(4, 1fr);
}

.story-card,
.value-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
}

.value-card {
  border: 1px solid var(--primary);
  /* Yellow border as seen in last screenshot */
  background: transparent;
}

.story-icon {
  background: rgba(255, 193, 7, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.story-card h3,
.value-card h3 {
  color: var(--white);
  margin-bottom: 15px;
}

.story-card p,
.value-card p {
  color: #aaa;
}

/* Responsive */
@media (max-width: 992px) {

  .features-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    gap: 10px;
    justify-content: space-between;
  }

  .logo {
    gap: 8px;
  }

  .logo-text {
    font-size: 1.1rem;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .logo-img {
    height: 35px;
  }

  .btn-contact {
    padding: 8px 15px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .hero .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 25px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    padding: 0;
    gap: 0;
    z-index: 9999;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-only-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    width: 100%;
  }

  .mobile-only-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-only-header .logo-text {
    flex-direction: row;
    gap: 5px;
    font-size: 1.3rem;
  }

  .close-menu {
    font-size: 1.8rem;
    color: #333;
    cursor: pointer;
    padding: 5px;
  }

  .mobile-separator {
    display: block;
    width: 100%;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
  }

  .nav-links li:not(.mobile-only-header):not(.mobile-separator) {
    width: 100%;
    text-align: left;
    padding: 12px 25px;
  }

  .nav-links li a {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
  }

  .nav-cta {
    margin-top: auto;
    padding: 30px 20px !important;
  }

  .btn-teklif {
    display: flex !important;
    width: 100%;
    justify-content: center;
    background: #ffc107 !important;
    color: #000 !important;
    padding: 16px !important;
    border-radius: 12px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    transform: none !important;
  }


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

  /* Fixed mobile padding and grid issues */
  section {
    padding: 50px 0;
  }

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

  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .product-image {
    height: 180px;
  }

  .catalog-section {
    padding-bottom: 50px;
  }

  .dark-section .section-header {
    margin-top: 50px !important;
  }

  .story-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* Contact Methods Section */
.contact-methods {
  padding: 80px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #fff;
  border: 1px solid #fff5e6;
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.1);
  border-color: var(--primary);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: #fff9eb;
  color: #ffc107;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  background: #ffc107;
  color: #fff;
}

.contact-info-text h3 {
  color: var(--dark);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact-info-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

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

  .contact-card {
    padding: 30px;
  }
}

/* Products Page Styles */
.products-page-wrapper {
  background-color: #fffcf5;
  /* Light cream/off-white background */
}

.page-header {
  text-align: center;
  padding: 80px 0 40px;
  background: transparent;
}

.header-badge {
  background: #fff4d6;
  color: #b38a00;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.page-header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #22252a;
  margin-bottom: 20px;
}

.page-header h1 span {
  color: #ffc107;
}

.page-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Filter Bar */
.filters-section {
  padding-bottom: 50px;
  background: #fff;
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-btn {
  background: #fff;
  border: 1px solid #eee;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.filter-btn:hover {
  border-color: #ffc107;
  color: #000;
}

.filter-btn.active {
  background: #ffc107;
  border-color: #ffc107;
  color: #000;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

/* Filter & Search Header */
.filter-search-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  margin-bottom: 50px;
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.search-bar {
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 4px;
  border: 1px solid #eee;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input-wrapper input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  color: #333;
}

.search-input-wrapper input:focus {
  outline: none;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 1rem;
}

.search-input-wrapper input:focus+.search-icon {
  color: var(--primary);
}

/* No Results State */
.no-results {
  grid-column: 1 / -1;
  width: 100%;
  padding: 80px 0;
  animation: fadeIn 0.4s ease;
}

.empty-state {
  text-align: center;
  color: #888;
}

.empty-state i {
  font-size: 4rem;
  color: #eee;
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 1.5rem;
  color: #444;
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 1rem;
  color: #999;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .filter-search-container {
    flex-direction: column;
    align-items: stretch;
  }

  .search-bar {
    max-width: 100%;
  }

  .filter-bar {
    justify-content: center;
  }
}

/* Catalog Grid */
.catalog-section {
  padding-bottom: 100px;
  background: #fff;
}

.catalog-card {
  position: relative;
  border: none;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.8s ease;
}

.catalog-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.catalog-card .product-image img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 1.2s ease;
}

.catalog-card:hover .product-image img {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ffc107;
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 10px;
  z-index: 2;
  text-transform: uppercase;
}

.catalog-card .product-image {
  background: #f9f9f9;
  padding: 20px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-card .product-info {
  padding: 25px;
  text-align: left;
}

.catalog-card .product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #22252a;
}

.catalog-card .product-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

/* CTA Section */
.cta-section {
  background: var(--primary);
  padding: 80px 0;
  text-align: center;
  color: var(--dark);
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.btn-white {
  background: #fff;
  color: var(--primary);
  /* Text color similar to primary */
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-white:hover {
  background: #fff;
  color: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Brands Section */
.brands-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.brands-wrapper {
  padding: 20px 0;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 50px;
  align-items: center;
  justify-items: center;
}

.brand-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.5s ease;
}

.brand-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.brand-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Main Footer */
.main-footer {
  background-color: #22252a;
  color: #ffffff;
  padding-top: 60px;
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 35px;
  width: auto;
}

.footer-logo h3 {
  margin-bottom: 0 !important;
  color: #ffb100 !important;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col p {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cccccc;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  color: #cccccc;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  color: #888888;
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}