:root {
  --primary: #1a6b96;
  --secondary: #d9534f;
  --accent: #f0ad4e;
  --background: #f8f9fa;
  --text: #343a40;
  --light: #ffffff;
  --dark: #212529;
  --border: #dee2e6;
  --hover: #147ca1;
}

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

body {
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

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

/* Header */
header {
  background-color: var(--light);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
  border-radius: 5px;
}

.logo h1 {
  color: var(--primary);
  font-size: 1.8rem;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

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

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

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

.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-count {
  background-color: var(--secondary);
  color: var(--light);
  font-size: 0.7rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -8px;
  right: -8px;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://source.unsplash.com/random/1600x900/?travel,landscape');
  background-size: cover;
  background-position: center;
  height: 500px;
  color: var(--light);
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary);
  color: var(--light);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

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

.btn-secondary {
  background-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: #c9302c;
}

.btn-accent {
  background-color: var(--accent);
}

.btn-accent:hover {
  background-color: #ec971f;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--light);
}

.features-container {
  max-width: 1000px;
  margin: 0 auto;
}

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

.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background-color: var(--background);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
}

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

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.statistics {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 60px;
  text-align: center;
}

.statistic-item {
  padding: 20px;
}

.statistic-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: var(--background);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Products Section */
.products {
  padding: 80px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.product-card:hover {
  transform: translateY(-10px);
}

.product-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.product-details {
  padding: 20px;
}

.product-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.product-description {
  margin-bottom: 20px;
  color: #666;
}

.product-actions {
  display: flex;
  gap: 10px;
}

/* Product Page */
.product-page {
  padding: 80px 0;
}

.product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.product-gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-info h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.product-price-large {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.product-full-description {
  margin-bottom: 30px;
}

.product-specs {
  margin-bottom: 30px;
}

.product-specs h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.specs-list {
  list-style: none;
}

.specs-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
}

.specs-list li span:first-child {
  font-weight: 500;
  width: 150px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.quantity-selector span {
  margin-right: 15px;
  font-weight: 500;
}

.quantity-selector input {
  width: 60px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 5px;
  text-align: center;
  margin-right: 15px;
}

.product-actions-large {
  display: flex;
  gap: 15px;
}

/* Cart Page */
.cart-page {
  padding: 80px 0;
}

.cart-empty {
  text-align: center;
  padding: 50px 20px;
  background-color: var(--light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cart-empty h2 {
  margin-bottom: 20px;
  color: var(--primary);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.cart-table th {
  text-align: left;
  padding: 15px;
  background-color: var(--primary);
  color: var(--light);
}

.cart-table td {
  padding: 15px;
  border-bottom: 1px solid var(--border);
}

.cart-product {
  display: flex;
  align-items: center;
}

.cart-product img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 15px;
}

.cart-quantity {
  display: flex;
  align-items: center;
}

.cart-quantity input {
  width: 50px;
  padding: 5px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 5px;
}

.cart-quantity button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0 10px;
  color: var(--primary);
}

.cart-remove {
  color: var(--secondary);
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.2rem;
}

.cart-summary {
  background-color: var(--light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.summary-item.total {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  border-bottom: none;
}

/* Checkout Page */
.checkout-page {
  padding: 80px 0;
}

.checkout-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.checkout-form {
  background-color: var(--light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

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

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Success Page */
.success-page {
  padding: 80px 0;
  text-align: center;
}

.success-card {
  background-color: var(--light);
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  margin: 0 auto;
}

.success-icon {
  font-size: 5rem;
  color: #28a745;
  margin-bottom: 20px;
}

.success-card h2 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 2rem;
}

.success-card p {
  margin-bottom: 30px;
}

/* Contact Page */
.contact-page {
  padding: 80px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background-color: var(--primary);
  color: var(--light);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  margin-bottom: 30px;
  font-size: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 15px;
}

.contact-text h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 40px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light);
  transition: background-color 0.3s;
}

.social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* About Us Page */
.about-page {
  padding: 80px 0;
}

.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-header h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.about-header p {
  max-width: 800px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-member {
  background-color: var(--light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-details {
  padding: 20px;
}

.team-details h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.team-details .position {
  color: #666;
  font-weight: 500;
  margin-bottom: 15px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.team-social a {
  color: var(--primary);
  font-size: 1.2rem;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--light);
  padding-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.footer-about p {
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
  bottom: 0;
  left: 0;
}

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

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

.footer-links ul li a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: var(--accent);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact p i {
  margin-right: 10px;
  color: var(--primary);
}

.footer-newsletter p {
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
}

.newsletter-form button {
  background-color: var(--primary);
  color: var(--light);
  border: none;
  padding: 10px 15px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter-form button:hover {
  background-color: var(--hover);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark);
  color: var(--light);
  padding: 20px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-text {
  margin-right: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  border: none;
  transition: background-color 0.3s;
}

.accept-cookies {
  background-color: var(--primary);
  color: var(--light);
}

.accept-cookies:hover {
  background-color: var(--hover);
}

.customize-cookies {
  background-color: transparent;
  color: var(--light);
  border: 1px solid var(--light);
}

.customize-cookies:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.decline-cookies {
  background-color: transparent;
  color: var(--light);
  border: 1px solid var(--light);
}

.decline-cookies:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Notification */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  background-color: var(--primary);
  color: var(--light);
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s, transform 0.3s;
}

.notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
  .product-container {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }

  .logo {
    margin-bottom: 15px;
  }

  nav ul {
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 5px 10px;
  }

  .hero {
    height: 400px;
  }

  .hero h2 {
    font-size: 2.2rem;
  }

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

  .cart-table thead {
    display: none;
  }

  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table tr {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 5px;
  }

  .cart-table td {
    text-align: right;
    padding: 10px;
    position: relative;
    border-bottom: 1px solid var(--border);
  }

  .cart-table td:last-child {
    border-bottom: none;
  }

  .cart-table td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85em;
  }

  .cart-product {
    justify-content: flex-end;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

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

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}
