/*
Theme Name: SHENNAI Manus Design
Theme URI: https://www.sdsnxc.com
Description: WordPress theme based on Manus React application design
Version: 1.2
Author: SHENNAI
License: GPL v2 or later
*/

/* Import Manus CSS */
@import url('assets.css');

/* Root Variables */
:root {
  --primary-color: #0066cc;
  --secondary-color: #c6a355;
  --bg-dark: #1a1a1a;
  --bg-light: #f9f9f9;
  --text-dark: #1a1a1a;
  --text-gray: #666;
  --white: #ffffff;
  --container-width: 1200px;
  --header-height: 80px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Layout Containers */
.container, .header-container, .footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.site-header {
  height: var(--header-height);
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.site-branding .site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
}

.site-branding img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.8;
}

.primary-menu {
  display: flex;
  list-style: none;
}

.primary-menu li a {
  color: var(--white);
  text-decoration: none;
  padding: 10px 15px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

.primary-menu li a:hover {
  color: var(--secondary-color);
}

.quote-button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.quote-button:hover {
  background-color: #0052a3;
}

/* Main Content Padding */
main {
  padding-top: var(--header-height);
}

/* Hero Section */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 120px 0 80px;
  color: var(--white);
  text-align: left;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

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

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Grid Layouts */
.products-grid, .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  padding: 60px 0;
}

/* Card Styles */
.product-card, .news-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

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

.product-image {
  height: 240px;
  position: relative;
}

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

.product-card h3, .news-card h3 {
  padding: 20px 25px 10px;
  font-size: 1.5rem;
  color: var(--text-dark);
}

.product-card p, .news-card p {
  padding: 0 25px 25px;
  color: var(--text-gray);
  font-size: 1rem;
  flex-grow: 1;
}

.product-card .read-more, .news-card .read-more {
  padding: 20px 25px;
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border-top: 1px solid #f0f0f0;
}

.product-card .read-more:hover, .news-card .read-more:hover {
  color: var(--secondary-color);
}

/* Footer Styles */
.site-footer {
  background-color: #0a1118;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  color: var(--white);
  margin-bottom: 25px;
}

.footer-brand .footer-logo img {
  height: 35px;
  margin-right: 12px;
}

.footer-brand .footer-logo span {
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-brand .footer-logo small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-grid h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: 600;
}

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

.footer-grid ul li {
  margin-bottom: 12px;
}

.footer-grid ul li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-grid ul li a:hover {
  color: var(--secondary-color);
}

.footer-contact p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-certs span {
  margin-right: 20px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .primary-menu {
    display: none; /* Mobile menu should be implemented via JS */
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}
