:root {
  --primary-color: #cd0000;
  --secondary-color: #590407;
  --highlight-color: #ff3918;
  --dark-text: #030b1b;
  --bg-light: #ffffff;
  --bg-gray: #f8f9fa;
  --font-main: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-main);
  color: var(--dark-text);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  max-width: 200px;
  height: auto;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background: var(--primary-color);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header.scrolled {
  padding: 10px 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo{
  background-color: white;
  border-radius: 5px;
}
.logo img {
  height: 55px;
  transition: var(--transition);

  /* The original logo might need brightness adjustments, handled via filters if needed */
}

header.scrolled .logo img {
  filter: none;
}

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

.nav-links a {
  font-weight: 700;
  color: var(--bg-light);
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--dark-text);
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--bg-light);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--bg-light);
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(3, 11, 27, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--bg-light);
  box-shadow: 0 4px 15px rgba(205, 0, 0, 0.4);
}

.btn-primary:hover {
  background: var(--highlight-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 57, 24, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--bg-light);
  border-color: var(--bg-light);
}

.btn-outline:hover {
  background: var(--bg-light);
  color: var(--dark-text);
  transform: translateY(-3px);
}

.hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Base Sections Styling */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 60px;
  position: relative;
  font-weight: 700;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background: var(--highlight-color);
  display: block;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--bg-light);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: -4px 0 10px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    color: var(--dark-text);
    font-size: 1.2rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .hero-ctas {
    flex-direction: column;
  }
  /* Change logo on mobile menu open */
  .hamburger.active span {
    background-color: var(--dark-text);
  }
}

/* Utilities */
.bg-light { background-color: var(--bg-light); }
.bg-gray { background-color: var(--bg-gray); }
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.w-100 { width: 100%; }

/* Product Tabs */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 25px;
  border: none;
  background: var(--bg-gray);
  color: var(--dark-text);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary-color);
  color: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(205,0,0,0.2);
}

.tab-content-container {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.tab-pane {
  display: none;
  animation: fadeUp 0.4s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeUp {
  from {opacity: 0; transform: translateY(15px);}
  to {opacity: 1; transform: translateY(0);}
}

.item-list {
  color: var(--dark-text);
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.item-list.large-list li {
  background: var(--bg-gray);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  border: 1px solid #eee;
  transition: var(--transition);
}

.item-list.large-list li:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Gallery Section */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-color);
  color: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  margin-bottom: 20px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(89, 4, 7, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.zoom-icon {
  color: var(--bg-light);
  font-size: 2rem;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.menu-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
}

.menu-item img {
  width: 100%;
  display: block;
}

.menu-item .overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(3, 11, 27, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.menu-item:hover .overlay {
  opacity: 1;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3, .contact-form h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-details li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-details .icon {
  font-size: 1.5rem;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-main);
  background: var(--bg-light);
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(205, 0, 0, 0.2);
}

/* Footer */
footer {
  background: var(--dark-text);
  color: var(--bg-light);
  padding: 40px 0 20px;
}
.footer-logo{
  background-color: white;
  border-radius: 5px;
  height: 95px;
  margin-bottom: 20px;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 99999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(3, 11, 27, 0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close-lightbox:hover {
  color: var(--highlight-color);
}

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