/*
 * Global stylesheet for Velaya Knox's modeling portfolio.
 *
 * This file defines variables, typography, layout and component styles used
 * across all pages. The design takes inspiration from leading model
 * portfolio sites, which emphasize full‑screen imagery, clean layouts
 * and effortless navigation【857947637692872†L65-L77】. A muted palette of
 * white, charcoal and warm gold highlights the photographs without
 * distracting from them.
 */

/* Root variables for easy theming */
:root {
  --primary-color: #222;        /* dark grey for text and accents */
  --secondary-color: #c5a880;   /* warm gold for buttons and highlights */
  /* Use a soft beige background that complements the warm tones of the photographs.
     A slightly coloured neutral gives the site a more cohesive, elegant feel
     compared with a stark white background. */
  --bg-color: #f8f4ef;
  --text-color: #333333;       /* default text colour */
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Open Sans', sans-serif;
}

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

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

/* Navigation bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo {
  /* Use a calligraphic font for the logo to create a distinctive wordmark. */
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary-color);
  letter-spacing: 1px;
}

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

.navbar a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

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

/* Hero section for the home page */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 90%;
}

.hero h1 {
  font-family: var(--heading-font);
  font-size: 3rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #a68962;
}

/* Container utility */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* About section */
.about {
  padding: 4rem 0;
}

.about h2 {
  text-align: center;
  font-family: var(--heading-font);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about p {
  font-size: 1rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Featured section on the home page */
.featured {
  padding: 4rem 0;
}

.featured h2 {
  text-align: center;
  font-family: var(--heading-font);
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

.featured-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Shared hero for subpages */
.page-hero {
  height: 60vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  margin-top: 70px; /* offset for fixed navbar */
}

.page-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  font-family: var(--heading-font);
  font-size: 2.5rem;
  letter-spacing: 2px;
}

/* Recommendations page */
.recommendations {
  padding: 4rem 0;
}

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

.rec-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.rec-item h3 {
  margin-top: 1rem;
  font-family: var(--heading-font);
  font-size: 1.3rem;
  color: var(--primary-color);
}

.rec-item p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* Gallery page */
.gallery {
  padding: 4rem 0;
}

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

.gallery-grid img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Prevent images from being dragged or selected to discourage downloading */
img {
  -webkit-user-drag: none;
  user-select: none;
}

/* Impressum page */
.impressum {
  padding: 4rem 0;
}

.impressum h2, .impressum h3 {
  font-family: var(--heading-font);
  margin-top: 2rem;
  color: var(--primary-color);
}

.impressum p {
  margin-top: 0.5rem;
  line-height: 1.6;
  max-width: 800px;
  color: var(--text-color);
}

footer {
  background-color: #f0f0f0;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #666666;
  margin-top: 4rem;
}

/* Flex layout for footer to separate copyright and legal links */
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Legal links styling in footer */
.legal-links {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.legal-links a {
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Call-to-action links in recommendations */
.cta {
  font-weight: 600;
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cta:hover {
  color: #a68962;
}

/* Mobile navigation (hamburger menu) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: transform 0.3s ease;
}

/* Lightbox overlay for gallery images */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 10px;
}

/* Fanvue call-to-action under the gallery */
.fanvue {
  text-align: center;
  margin-top: 2rem;
}

.fanvue-btn {
  margin-top: 1rem;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0.8rem 2.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.fanvue-btn:hover {
  background-color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar nav ul {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  .navbar nav ul.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  /* Reduce hero text size on small screens */
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .page-hero h1 {
    font-size: 2rem;
  }
  .logo {
    font-size: 1.8rem;
  }
}