/* Main Styles for Lattafa Perfumes */
:root {
  --primary-color: #8a2be2;
  --secondary-color: #f5b042;
  --text-color: #333333;
  --light-color: #f9f9f9;
  --dark-color: #222222;
  --accent-color: #e64a19;
  --font-main: 'Montserrat', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  text-decoration: none;
}

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

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

nav ul li {
  margin-left: 2rem;
}

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

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

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
}

/* Hero Section */
#hero {
  height: 80vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-bg.svg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
}

.hero-content {
  max-width: 800px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

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

.cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: var(--accent-color);
}

/* About Section */
#about {
  padding: 5rem 0;
  background-color: white;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content p {
  margin-bottom: 1rem;
}

/* Products Section */
#products {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.product-img {
  height: 200px;
  width: 100%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img svg {
  width: 60%;
  height: auto;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.product-info p {
  margin-bottom: 1rem;
  color: #666;
}

.product-price {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.product-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
  transition: background-color 0.3s;
}

.product-button:hover {
  background-color: var(--secondary-color);
}

/* Games Section */
#games {
  padding: 5rem 0;
  background-color: white;
}

.games-content {
  text-align: center;
  margin-bottom: 3rem;
}

.games-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.game-link {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  width: 250px;
}

.game-link:hover {
  transform: scale(1.05);
}

.game-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.game-link p {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Contact Section */
#contact {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-main);
}

.contact-form button {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

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

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

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

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo h2 {
  font-family: var(--font-heading);
  color: white;
}

.footer-links h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

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

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

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

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

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

.social-links a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@media screen and (max-width: 768px) {
  header {
    padding: 0.5rem 0;
  }
  
  nav {
    position: absolute;
    top: 70px;
    left: 0;
    background-color: white;
    width: 100%;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: -1;
  }
  
  nav.active {
    transform: translateY(0);
    opacity: 1;
    z-index: 999;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 0.5rem 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .games-links {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .cta-button {
    padding: 10px 20px;
  }
}
