/*!
 Theme Name:   Rakbia
 Theme URI:    https://rakbia.com/
 Description:  A modern WordPress theme inspired by DJI and DeepRobotics design
 Version:      1.0.0
 Author:       Rakbia Team
 Author URI:   https://rakbia.com/
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  rakbia
*/

/* Global Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  padding: 10px 0;
}

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

.site-logo img {
  height: 40px;
}

.main-navigation ul {
  display: flex;
  list-style: none;
}

.main-navigation ul li {
  margin-left: 30px;
}

.main-navigation ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.main-navigation ul li a:hover {
  color: #0071e3;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: #000;
  color: #fff;
  text-align: center;
}

.hero-video {
  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(0, 0, 0, 0.8);
  z-index: 2;
}

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

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background-color: #0071e3;
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #0071e3;
  margin-right: 15px;
}

.cta-button:hover {
  background-color: transparent;
  color: #0071e3;
}

.cta-button.secondary {
  background-color: transparent;
  color: #0071e3;
}

.cta-button.secondary:hover {
  background-color: #0071e3;
  color: white;
}

/* Category Filter */
.category-filter {
  text-align: center;
  margin-bottom: 40px;
}

.category-btn {
  background-color: #f0f0f0;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
  background-color: #0071e3;
  color: white;
}

/* Products Section */
.products-section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  font-weight: 700;
}

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

.product-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

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

.product-image {
  height: 250px;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
  background-color: #fff;
}

.product-info h3 {
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

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

.product-links a {
  display: inline-block;
  margin-right: 15px;
  color: #0071e3;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.product-links a:hover {
  color: #0056b3;
}

/* Industries Section */
.industries-section {
  padding: 100px 20px;
  background-color: #f9f9f9;
  max-width: 1200px;
  margin: 0 auto;
}

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

.industry-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

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

.industry-image {
  height: 200px;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-info {
  padding: 20px;
}

.industry-info h3 {
  margin-top: 0;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.industry-info p {
  color: #666;
  margin-bottom: 15px;
}

.industry-info a {
  color: #0071e3;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.industry-info a:hover {
  color: #0056b3;
}

/* Product Detail Section */
.product-detail-section {
  padding: 150px 20px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.product-detail-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.product-detail-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.product-excerpt {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
}

.product-content {
  margin-bottom: 40px;
}

.product-actions {
  margin-top: 30px;
}

/* Error 404 Page */
.error-404 {
  padding: 150px 20px 100px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.error-title {
  font-size: 8rem;
  font-weight: 800;
  margin: 0;
  line-height: 1;
  color: #eee;
}

.error-description {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: #666;
}

/* Footer Styles */
.site-footer {
  background-color: #111;
  color: #fff;
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

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

.footer-column ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  padding-top: 40px;
  color: #aaa;
  font-size: 0.9rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .product-detail-container {
    grid-template-columns: 1fr;
  }
  
  .main-navigation ul {
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  
  .main-navigation ul li {
    margin: 10px 0;
  }
  
  .error-title {
    font-size: 5rem;
  }
  
  .category-filter {
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .category-btn {
    display: inline-block;
  }
}