
/*
 * Lucent Theory Studio website styles
 *
 * This stylesheet defines the overall look and feel for the site. The color
 * palette is inspired by deep emerald greens and warm golds to reflect a
 * sophisticated yet creative mood. The typography pairs a classic serif for
 * headings with a modern sans serif for body text.
 */

/* CSS Variables for easy theming */
:root {
  --primary: #013f2b;        /* deep emerald green */
  --primary-light: #0a5945;  /* lighter shade for variations */
  --secondary: #b58c3f;      /* warm golden accent */
  --background: #0f2924;     /* dark background for contrast */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Nunito', sans-serif;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: #f9f9f9;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Header and navigation */
header {
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header .logo img {
  height: 50px;
  width: auto;
}

header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

header nav ul li {
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex: 1 0 50%;
  text-align: center;
  padding: 0.5rem 0;
}

header nav ul li a:hover {
  color: #ffffff;
}

@media (min-width: 768px) {
  header nav ul {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  header nav ul li {
    flex: initial;
    padding: 0;
  }
}

/* Hero section */
.hero {
  background-image: url('images/hero-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
  color: #ffffff;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.hero .hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

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

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

.button {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

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

/* Section utility */
.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1 0 auto;
}

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

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #cccccc;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--primary);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  font-family: var(--font-heading);
  color: var(--secondary);
  margin-bottom: 1rem;
}

.service-card p {
  color: #dddddd;
  margin-bottom: 1rem;
}

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

.portfolio-item {
  background-color: var(--primary);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.portfolio-item .content {
  padding: 1.5rem;
  flex: 1 0 auto;
}

.portfolio-item .content h4 {
  font-family: var(--font-heading);
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.portfolio-item .content p {
  color: #dddddd;
}

/* About page */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
  }
}

/* Contact page */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  color: #dddddd;
}

.contact-info div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--primary);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--secondary);
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 5px var(--secondary);
}

.contact-form button {
  background-color: var(--secondary);
  color: var(--primary);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #d1b76c;
}

/* Footer */
footer {
  background-color: var(--primary);
  padding: 2rem;
  text-align: center;
  color: #888888;
  font-size: 0.9rem;
}

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