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

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

body {
  font-family: 'League Spartan', sans-serif;
  background-color: #17181A;
  color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
p, a, span, div,
button, input, textarea, select,
label, li, td, th {
  font-family: 'League Spartan', sans-serif;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

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

header {
  padding: 20px 0;
  border-bottom: 1px solid #2a2b2d;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
}

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

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.hero-video {
  position: relative;
  width: 100%;
  min-height: 739px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-video__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-video__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 2;
}

.hero-video__content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 80px 0;
}

.hero-subtitle {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 400;
  margin-bottom: 20px;
  color: #17181A;
}

.hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  text-transform: uppercase;
  color: #17181A;
  line-height: 1.2;
}

.hero-title em {
  font-style: italic;
}

.hero-text-box {
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.7);
}

.product-carousel {
  margin-top: 60px;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 0;
  min-height: 340px;
}

.carousel-container {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  width: 100%;
}

.carousel-item {
  flex: 0 0 calc(25% - 15px);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s;
}

.carousel-item:hover {
  transform: translateY(-5px);
}

.carousel-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.company-intro {
  background-color: #17181A;
  color: #ffffff;
}

.section {
  padding: 60px 0;
}

.section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: uppercase;
}

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

.product-card {
  background: #1e1f21;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}

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

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

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.product-description {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #fffcfc;
  color: #17181A;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.3s;
}

.btn:hover {
  background: #e8e8e8;
  opacity: 1;
}

.btn-secondary {
  background: #555;
}

.btn-secondary:hover {
  background: #666;
}

.btn-danger {
  background: #f44336;
}

.btn-danger:hover {
  background: #da190b;
}

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

.blog-card {
  background: #1e1f21;
  border-radius: 8px;
  overflow: hidden;
}

.blog-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-info {
  padding: 20px;
}

.blog-info h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-date {
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 15px;
}

.blog-content {
  max-width: 800px;
  margin: 40px auto;
  line-height: 1.8;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 8px;
}

.blog-content h1,
.blog-content h2,
.blog-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.blog-content p {
  margin-bottom: 15px;
}

.about-intro {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 80px;
}

.about-intro__image {
  flex: 0 0 45%;
}

.about-intro__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.about-intro__text {
  flex: 1;
}

.about-intro__text h2 {
  margin-bottom: 30px;
}

.about-intro__text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

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

.founder-card {
  text-align: center;
}

.founder-photo {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.founder-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.founder-title {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.7;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.founder-bio {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.9;
}

.contact-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-top: 40px;
}

.contact-form {
  flex: 1;
  max-width: 600px;
}

.contact-image {
  flex: 0 0 45%;
}

.contact-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

footer {
  border-top: 1px solid #2a2b2d;
  padding: 40px 0;
  margin-top: 80px;
  opacity: 0.8;
}

.footer-tagline {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 30px;
  opacity: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-content p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

.footer-link {
  opacity: 0.7;
  transition: opacity 0.3s;
  text-decoration: underline;
  cursor: pointer;
}

.footer-link:hover {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

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

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.admin-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.admin-nav a {
  padding: 10px 20px;
  background: #1e1f21;
  border-radius: 4px;
}

.admin-nav a:hover {
  background: #2a2b2d;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  background: #1e1f21;
  border: 1px solid #2a2b2d;
  border-radius: 4px;
  color: #ffffff;
  font-family: 'League Spartan', sans-serif;
}

.form-group textarea {
  min-height: 200px;
  resize: vertical;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table th,
table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #2a2b2d;
}

table th {
  background: #1e1f21;
  font-weight: 600;
}

.login-container {
  max-width: 400px;
  margin: 100px auto;
  padding: 40px;
  background: #1e1f21;
  border-radius: 8px;
}

.login-container h1 {
  margin-bottom: 30px;
  text-align: center;
}

.error {
  background: #f44336;
  color: white;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.image-preview {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.image-preview img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

.admin-card {
  background: #1e1f21;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: #1e1f21;
  margin: 5% auto;
  padding: 30px 40px;
  border: 1px solid #2a2b2d;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  color: #ffffff;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.modal-close:hover {
  opacity: 1;
}

.modal-content h2 {
  margin-bottom: 25px;
  font-size: 28px;
}

.modal-content h3 {
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

.modal-text p {
  line-height: 1.8;
  margin-bottom: 15px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 15px;
  }

  .hero-video {
    min-height: 500px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-title {
    font-size: 24px;
  }

  .products-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    flex-direction: column;
    gap: 30px;
  }

  .about-intro__image {
    flex: 1;
  }

  .founders-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .carousel-item {
    flex: 0 0 calc(50% - 10px);
  }

  .carousel-item img {
    height: 250px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-layout {
    flex-direction: column;
  }

  .contact-image {
    flex: 1;
  }

  .carousel-item {
    flex: 0 0 calc(50% - 10px);
  }

  .carousel-item img {
    height: 200px;
  }
}
