:root {
  /* Colors */
  --bg-dark: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #161616;
  --accent-gold: #D4AF37;
  --accent-gold-light: #F4DF87;
  --text-primary: #FFFFFF;
  --text-secondary: #CCCCCC;
  --text-muted: #888888;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Josefin Sans', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Transitions */
  --trans-fast: 0.3s ease;
  --trans-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
  margin: 1rem auto 0;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--accent-gold);
}

p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  max-width: 65ch;
  overflow-wrap: anywhere;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--trans-fast);
}

/* Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

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

.gold-text {
  color: var(--accent-gold);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--trans-fast);
}

.btn:hover {
  background: var(--accent-gold);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--trans-fast);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

header.scrolled {
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.9);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

nav ul {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
  align-items: center;
}

nav a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
  white-space: nowrap;
}

nav a:hover,
nav a.active {
  color: var(--accent-gold);
  opacity: 1;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100svh;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../images/hero-bg.png') no-repeat center center/cover;
  position: relative;
  padding: clamp(7rem, 12vh, 10rem) 0 clamp(5rem, 10vh, 8rem);
}

.page-hero {
  min-height: clamp(22rem, 52vh, 34rem);
  padding-top: clamp(7rem, 14vh, 9rem);
  padding-bottom: clamp(3.5rem, 8vh, 5rem);
}

.home-hero {
  min-height: 88svh;
  background:
    radial-gradient(circle at 18% 18%, rgba(212, 175, 55, 0.16), transparent 28rem),
    radial-gradient(circle at 78% 34%, rgba(45, 81, 145, 0.18), transparent 30rem),
    linear-gradient(135deg, #050505 0%, #111111 44%, #030303 100%);
  overflow: hidden;
}

.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.about-hero {
  background-image: none;
  background-color: #0d1f22;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3), var(--bg-dark));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.hero-centered {
  width: min(90%, 920px);
  text-align: center;
}

.hero-split {
  width: 90%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: var(--spacing-lg);
  text-align: left;
}

.hero-copy p {
  color: var(--text-primary);
  opacity: 0.9;
  max-width: 620px;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
}

.hero-centered .hero-copy p {
  margin-left: auto;
  margin-right: auto;
}

.hero-image {
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.45));
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-pretitle {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  display: block;
  font-size: 0.9rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

/* Sections */
section {
  padding: clamp(4rem, 9vw, var(--spacing-xl)) 0;
  position: relative;
}

/* Intro Section */
.intro {
  text-align: center;
  padding-top: var(--spacing-lg);
}

.intro p {
  margin: 0 auto;
  font-size: 1.25rem;
  max-width: 800px;
}

/* Feature Split Layout */
.feature-split {
  display: grid;
  grid-template-columns: minmax(min(100%, 22rem), 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, var(--spacing-lg));
  margin-bottom: clamp(4rem, 9vw, var(--spacing-xl));
}

.feature-split-reverse .feature-image {
  order: 2;
}

.feature-split-reverse .feature-text {
  order: 1;
}

.feature-split.reverse .feature-image {
  order: 2;
}

.feature-split.reverse .feature-text {
  order: 1;
}

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.feature-text {
  min-width: 0;
  padding: clamp(0.5rem, 3vw, var(--spacing-md));
}

.feature-text p {
  max-width: 70ch;
}

/* Circular Images */
.circle-img-container {
  width: min(100%, clamp(260px, 36vw, 450px));
  aspect-ratio: 1 / 1;
  position: relative;
}

.circle-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.homepage-img-container {
  width: min(100%, clamp(260px, 38vw, 460px));
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

.homepage-img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.specialities-columns {
  align-items: start;
}

.specialities-columns .feature-text:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.specialities-columns h3:not(:first-child) {
  margin-top: clamp(2rem, 5vw, 3rem);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(2rem, 5vw, 3rem);
}

.about-card {
  background: rgba(255, 255, 255, 0.045);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.075);
}

.about-card h3 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.about-card p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Specialities Section */
.specialities {
  background-color: var(--bg-secondary);
}

.specialities-image-section {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: 0;
}

.specialities-content-section,
.about-section {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.specialities-feature-img {
  width: 100%;
  max-height: 520px;
  display: block;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.rectangular-img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
}

/* Jewellery Gallery */
.jewellery-gallery-section {
  padding-bottom: var(--spacing-lg);
}

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

.gallery-item {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: #ffffff;
  cursor: zoom-in;
  transition: transform var(--trans-fast), border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  outline: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 0.5rem;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.88);
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  object-fit: contain;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.gallery-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--text-primary);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus-visible {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  outline: none;
}

body.modal-open {
  overflow: hidden;
}

/* Lists in text */
.feature-list {
  list-style: none;
  margin-bottom: var(--spacing-md);
}

.feature-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li::before {
  content: '✦';
  color: var(--accent-gold);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.8rem;
}

/* Contact Section */
.contact {
  background-color: var(--bg-tertiary);
  text-align: center;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  font: inherit;
  border-radius: 4px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

.contact-form select option {
  color: #111111;
}

.contact-form .btn {
  width: 100%;
}

.form-status {
  margin: 0 auto 2rem auto;
}

.contact-info {
  margin-top: var(--spacing-md);
}

.contact-item {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.contact-item strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

/* Footer */
footer {
  background-color: #050505;
  padding: var(--spacing-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-col h4 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

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

.footer-links a:hover {
  color: var(--accent-gold);
}

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

.hours-list {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.35rem 1.25rem;
  justify-content: center;
  margin-top: 0.75rem;
  color: var(--text-secondary);
}

.hours-list span:nth-child(odd) {
  color: var(--text-primary);
  text-align: right;
  font-weight: 400;
}

.hours-list span:nth-child(even) {
  text-align: left;
}

.copyright {
  text-align: center;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

/* Animations using Intersection Observer classes */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 1080px) {
  .mobile-toggle {
    display: block;
    min-width: 44px;
    min-height: 44px;
    text-align: center;
    line-height: 44px;
  }

  nav ul {
    position: fixed;
    top: 84px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform var(--trans-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav ul.active {
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }

  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: clamp(1.25rem, 4vw, var(--spacing-md));
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    width: min(70vw, 360px);
    margin: 0 auto;
  }

  .hero-image img {
    max-height: 34svh;
    object-fit: contain;
  }

  .feature-split,
  .feature-split-reverse {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-md);
  }

  .feature-split-reverse .feature-image,
  .feature-split-reverse .feature-text,
  .feature-split.reverse .feature-image,
  .feature-split.reverse .feature-text {
    order: initial;
  }

  .feature-text p {
    margin-left: auto;
    margin-right: auto;
  }

  h2::after {
    margin: 1rem auto;
  }

  .circle-img-container {
    width: 300px;
    height: 300px;
  }

  .homepage-img-container {
    width: min(100%, 340px);
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .gallery-modal {
    padding: 1rem;
  }

  .feature-list li {
    padding-left: 0;
    list-style-position: inside;
  }

  .feature-list li::before {
    position: static;
    margin-right: 0.5rem;
  }

  .specialities-columns .feature-text:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--spacing-md);
  }

  .specialities-content-section .feature-split {
    margin-bottom: 0;
  }
}

@media (max-width: 520px) {
  .container {
    width: 94%;
    padding: 0 0.75rem;
  }

  .hero {
    min-height: auto;
    padding-top: calc(84px + 2rem);
    padding-bottom: 3rem;
  }

  .home-hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: calc(84px + 3.25rem);
    padding-bottom: 3rem;
  }

  .home-hero .hero-split {
    width: 94%;
    gap: 1.25rem;
  }

  .home-hero .hero-copy p {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 0;
  }

  .home-hero .hero-image {
    width: min(66vw, 240px);
  }

  .page-hero {
    min-height: 20rem;
    padding-top: calc(84px + 2.25rem);
    padding-bottom: 3.25rem;
  }

  .feature-text {
    padding: 0;
  }

  .btn {
    width: 100%;
    max-width: 22rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hours-list {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .hours-list span:nth-child(odd),
  .hours-list span:nth-child(even) {
    text-align: center;
  }

  .hours-list span:nth-child(odd):not(:first-child) {
    margin-top: 0.75rem;
  }
}
