html {
  scroll-behavior: smooth;
}
/* Global Styles */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: var(--dark-color);
}

/* Header Styles */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.cart-icon {
  position: relative;
  cursor: pointer;
  font-size: 1.5rem;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  padding: 0 5px;
  font-size: 0.8rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container img {
  height: 60px;
  border-radius: 5px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("images/back2.jpg") center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #c0392b;
}

.about-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h2 {
  font-size: 28px;
  color: #007bff;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Services Section */
.services {
  padding: 4rem 2rem;
  background-color: var(--light-color);
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: #007bff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3 ease;
}

.service-card {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* icon inside the card */
.service-card i {
  font-size: 48px;
  color: #007bff;
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-card:hover i {
  color: #ff6600;
  transform: scale(1.1);
}

/* Optional: change heading color too */
.service-card h3 {
  color: #333;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: #ff6600;
}

.service-card i {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 1rem;
  color: #333;
}

.service-card p {
  font-size: 16px;
  color: #666;
}

/* About Section */
.about {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  margin-bottom: 2rem;
}

/* Contact Section */
.contact {
  padding: 4rem 2rem;
  background-color: var(--light-color);
  text-align: center;
  position: center;
}

.contact-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 20px;
}

.contact-section .contact-form {
  margin-top: 2rem;
}

.contact h2 {
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-info i {
  margin-right: 0.5rem;
  color: var(--secondary-color);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-bottom: 60px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.contact-form button {
  background-color: #007bff;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #0056b3;
}

.site-footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

.footer-content p {
  margin: 8px 0;
}

.social-icons {
  margin-top: 12px;
}

.social-icons a {
  margin: 0 10px;
  font-size: 24px;
  color: white;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffcc00;
}

.site-footer a {
  color: #ffcc00;
  text-decoration: none;
}

.location-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.location-section h2 {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 20px;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.map-action {
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.direction-button {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.direction-button:hover {
  background-color: #0056b3;
}

/* Cart Modal */
.cart-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.cart-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-cart {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-items {
  max-height: 400px;
  overflow-y: auto;
  margin: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-price {
  font-weight: bold;
  margin: 0 15px;
}

.cart-item-remove {
  color: var(--accent-color);
  cursor: pointer;
}

.cart-total {
  text-align: right;
  margin: 20px 0;
  font-size: 1.2rem;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.checkout-btn:hover {
  background-color: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    gap: 1rem;
  }

  .hero h2 {
    font-size: 2rem;
  }
}
