/* Custom Properties */
:root {
  --primary-color: #1e3a8a;     /* Deep blue */
  --secondary-color: #d4af37;   /* Gold */
  --dark-color: #0f172a;        /* Dark blue */
  --light-color: #f8fafc;       /* Off-white */
  --gray-color: #94a3b8;        /* Medium gray */
  --text-color: #1e293b;        /* Dark gray for text */
  --text-light: #f8fafc;        /* Light text */
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;
  --border-radius: 6px;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

section {
  padding: 8rem 0;
}

.container {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

h1 {
  font-size: 4.8rem;
}

h2 {
  font-size: 3.6rem;
  position: relative;
  margin-bottom: 4rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 6rem;
  height: 4px;
  background-color: var(--secondary-color);
}

h3 {
  font-size: 2.4rem;
}

p {
  margin-bottom: 2rem;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  width: 100%;
  display: block;
}

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

.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 1.2rem 2.8rem;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  background: var(--secondary-color);
  color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--text-light);
}

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

.btn-gold:hover {
  background: var(--primary-color);
  color: var(--text-light);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--light-color);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.header.scrolled {
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo svg {
  height: 4rem;
  width: 4rem;
}

.nav-menu {
  display: flex;
  gap: 3rem;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 2.4rem;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(30, 58, 138, 0.7)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="20" height="20" fill="%231e3a8a"/></svg>');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.hero-content {
  max-width: 70rem;
}

.hero h1 {
  color: var(--text-light);
  font-size: 5.6rem;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 2rem;
  margin-bottom: 4rem;
}

.hero-btns {
  display: flex;
  gap: 2rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-content h2::after {
  width: 8rem;
}

/* Products Section */
.products {
  background-color: var(--light-color);
}

.products h2 {
  color: var(--primary-color);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  gap: 3rem;
}

.product-card {
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.product-info {
  padding: 2rem;
}

.product-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

/* News Section */
.news-section {
  background-color: var(--dark-color);
  color: var(--text-light);
}

.news-section h2 {
  color: var(--text-light);
}

.news-section h2::after {
  background-color: var(--secondary-color);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  gap: 3rem;
}

.news-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.news-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--secondary-color);
}

.news-card h3 {
  color: var(--secondary-color);
  font-size: 2rem;
}

.news-card p {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

.news-card a {
  color: var(--text-light);
  font-weight: 500;
}

.news-card a:hover {
  color: var(--secondary-color);
}

/* Testimonials */
.testimonial-container {
  max-width: 80rem;
  margin: 0 auto;
}

.testimonial {
  background: #fff;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 4rem;
  position: relative;
}

.testimonial::before {
  content: """;
  position: absolute;
  top: -2rem;
  left: 2rem;
  font-size: 10rem;
  font-family: serif;
  color: var(--secondary-color);
  opacity: 0.1;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.author-info h4 {
  margin-bottom: 0.5rem;
}

.author-info p {
  color: var(--gray-color);
  margin-bottom: 0;
}

/* Newsletter Section */
.newsletter {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 6rem 0;
  text-align: center;
}

.newsletter h2 {
  color: var(--text-light);
}

.newsletter h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.newsletter-form {
  max-width: 60rem;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.6rem;
}

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

.newsletter-form .btn:hover {
  background: #b79225;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--text-light);
  padding: 6rem 0 0;
}

.footer h3 {
  color: var(--text-light);
  font-size: 2rem;
  position: relative;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4rem;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 4rem;
}

.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-about .footer-logo svg {
  height: 4rem;
  width: 4rem;
}

.footer-about p {
  color: var(--gray-color);
}

.footer-links ul li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--gray-color);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 0.5rem;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--gray-color);
}

.contact-info svg {
  width: 2rem;
  height: 2rem;
  fill: var(--secondary-color);
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 2rem 0;
  margin-top: 5rem;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  color: var(--gray-color);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  html {
    font-size: 55%;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .hero h1 {
    font-size: 4.2rem;
  }
}

@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 8rem;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--light-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: 0.3s;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

@media screen and (max-width: 576px) {
  html {
    font-size: 50%;
  }
  
  h1 {
    font-size: 3.6rem;
  }
  
  h2 {
    font-size: 2.8rem;
  }
  
  .product-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
}
