/* Color Variables */
:root {
  --primary: #780000;
  --secondary: #003049;
  --accent: #C1121F;
  --light: #FDF0D5;
  --neutral: #8d0801;
  --text-dark: #212529;
  --text-light: #FDF0D5;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  color: var(--text-dark);
  background-color: white;
  font-family: 'Raleway', sans-serif;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

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

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: 50px;
  transition: transform 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 15px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s;
  padding: 8px 0;
  white-space: nowrap;
}

nav ul li a:hover {
  color: var(--light);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--light);
  transition: width 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

.contact-info {
  display: flex;
  align-items: center;
}

.contact-info a {
  text-decoration: none;
  color: var(--text-light);
  margin-left: 15px;
  font-size: 14px;
  display: flex;
  align-items: center;
  transition: all 0.3s;
  white-space: nowrap;
}

.contact-info a i {
  margin-right: 8px;
  color: var(--light);
}

.contact-info a:hover {
  color: var(--light);
  transform: translateY(-2px);
}

/* Products Main Section */
.products-main {
  padding: 100px 20px 60px;
}

.product-section {
  margin-bottom: 80px;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  color: var(--primary);
  font-size: 36px;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--accent);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Product Grid Layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #eee;
}

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

.brand-name {
  background-color: var(--primary);
  color: white;
  padding: 12px;
  font-weight: 600;
  font-size: 18px;
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  padding: 20px;
}

.product-description {
  padding: 0 20px;
  margin: 15px 0;
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 60px;
}

.quote-btn {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

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

/* Split Layout Sections */
.split-layout {
  max-width: 1200px;
  margin: 0 auto 80px;
}

.split-container {
  display: flex;
  gap: 40px;
  align-items: center;
}

.reverse {
  flex-direction: row-reverse;
}

.text-content, .image-content {
  flex: 1;
}

.text-content {
  padding: 20px;
}

.text-content p {
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.image-content {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
}

.image-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-btn-container {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  transition: all 0.3s;
  opacity: 0.7;
  transform: translateY(20px);
}

.image-content:hover .image-btn-container {
  opacity: 1;
  transform: translateY(0);
}

.image-btn {
  padding: 12px 30px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.image-btn:hover {
  background-color: var(--neutral);
}

/* Deals In Section */
.deals-section {
  padding: 100px 20px;
  background-color: var(--secondary);
  text-align: center;
}

.deals-section .section-heading h2 {
  color: var(--light);
  font-size: 42px;
  padding-bottom: 20px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.deals-section .section-heading h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--accent);
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.brands-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.brand-item {
  max-width: 300px;
  padding: 30px;
  background-color: var(--light);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.brand-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--accent);
}

.modal-content h3 {
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
  font-size: 24px;
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-item i {
  color: var(--accent);
  font-size: 20px;
  margin-top: 3px;
}

.contact-item p {
  margin: 0;
  line-height: 1.6;
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .header-container {
    flex-wrap: wrap;
  }
  
  nav {
    order: 3;
    width: 100%;
    margin-top: 15px;
    display: none;
    background-color: var(--primary);
    padding: 20px;
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
  }
  
  nav ul li {
    margin: 12px 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .contact-info {
    margin-left: auto;
  }

  .section-heading h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .contact-info {
    display: none;
  }
  
  .split-container {
    flex-direction: column;
  }
  
  .reverse {
    flex-direction: column;
  }
  
  .image-btn-container {
    opacity: 1;
    transform: translateY(0);
  }
  
  .section-heading h2 {
    font-size: 28px;
  }
  
  .deals-section .section-heading h2 {
    font-size: 36px;
  }
  
  .brand-item {
    max-width: 280px;
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .section-heading h2 {
    font-size: 24px;
  }
  
  .deals-section {
    padding: 80px 20px;
  }
  
  .deals-section .section-heading h2 {
    font-size: 30px;
    margin-bottom: 30px;
  }
  
  .brands-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .brand-item {
    max-width: 100%;
    padding: 20px;
  }
}