/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet');

:root {
  --color-bg: #0a1a2f; /* dark blue */
  --color-bg-light: #102746; /* lighter blue */
  --color-accent-backup: #d4af37; /* gold */
  --color-accent: #dbc078; /* gold design */
  --color-text: #ffffff; /* white */
}

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

body {
  font-family: 'Nunito Sans', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

h1 {
  font-size: 76px;
  text-align: center;
}

h2 {
  font-size: 60px;
}

h3 {
  font-size: 48px;
}

p {
  text-align: justify;
}

header {
  background-color: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}

section {
  padding: 4rem 0;
  margin: auto;
  text-align: left;
  font-size: 24px;
}

section#splash, section#products {
  background-color: var(--color-bg-light);
}

section h2, section div {
  padding: 0 2rem;
}

section h2 {
  font-family: 'Playfair Display', serif;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.prod-item {
  clear: both;
}

.text-col, .img-col {
  width: 50%;
  float: left;
}


#contacts {
  background: #111;
  color: var(--color-accent);
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background: #000;
  color: var(--color-text);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  background-color: #000;
  z-index: 1000;
}

nav .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--color-accent);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  background-color: #000;
}

nav ul li {
  background-color: #000;
}

nav ul li a {
  color: var(--color-text);
  text-decoration: none;
}

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

/* Submenu styling */
nav ul li ul.submenu {
  display: none;
  position: absolute;
  background-color: #000;
  padding: 0.5rem;
  list-style: none;
}

nav ul li:hover ul.submenu {
  display: block;
}

/* Mobile styles */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
}

.text-col ul li {
  margin-left: 40px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 48px;
  }
  
  h3 {
    font-size: 32px;
  }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100px;
    right: 0;
    width: 320px;
    gap: 1rem;
  }
  nav ul.active {
    display: flex;
    padding-botton: 20px;
  }
  nav ul li {
    margin: 5px 25px;
    font-size: 24px;
  }
  nav ul li ul.submenu {
    position: static;
    display: none;
  }
  nav ul li.active ul.submenu {
    display: block;
  }  
  section {
    font-size: 18px;
  }
  .text-col, .img-col {
    width: 100%;
    float: none;
    margin-top: 20px;
    padding: 0;
  }
}

