:root {
  --ikea-blue: #0058a3;
  --ikea-yellow: #fbd914;
  --bg-color: #f5f5f5;
  --text-dark: #111111;
  --text-light: #484848;
  --white: #ffffff;
  --border-color: #dfdfdf;
  --hover-gray: #f5f5f5;
  --transition-speed: 0.3s;
}

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

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

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ikea-blue);
}

.logo span {
  color: var(--ikea-yellow);
}

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

nav a {
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-speed);
}

nav a:hover {
  color: var(--ikea-blue);
}

.btn-primary {
  background-color: var(--ikea-blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  transition: background-color var(--transition-speed), transform 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary:hover {
  background-color: #004a87;
  transform: translateY(-2px);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--hover-gray);
  color: var(--text-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  transition: background-color var(--transition-speed);
}

.btn-secondary:hover {
  background-color: #e5e5e5;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 5rem 5%;
  background-color: var(--hover-gray);
  min-height: 60vh;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

/* Info Banner */
.info-banner {
  background-color: var(--ikea-yellow);
  color: var(--text-dark);
  text-align: center;
  padding: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.info-banner span {
  margin: 0 15px;
}

/* Product Grid */
.products-section {
  padding: 5rem 5%;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.product-image {
  height: 350px;
  background-color: var(--hover-gray);
  width: 100%;
  object-fit: contain;
  padding: 1rem;
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.product-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Decors Section */
.decors-section {
  padding: 4rem 5%;
  background-color: var(--hover-gray);
}

.decors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.decor-color {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 2px solid var(--border-color);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 4rem 5% 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: #ccc;
  transition: color var(--transition-speed);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #888;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .info-banner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }

  .info-banner span {
    margin: 0;
  }

  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 5%;
    text-align: center;
  }

  .logo {
    font-size: 1.4rem;
  }

  nav {
    display: none;
  }

  .hero {
    padding: 3.5rem 5%;
    min-height: auto;
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .hero-content .btn-primary,
  .hero-content .btn-secondary {
    margin: 0 !important;
    /* override inline margin */
    width: 100%;
  }
}