
/* === Font Faces === */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/Inter-Light.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/PlayfairDisplay-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/PlayfairDisplay-Bold.woff2') format('woff2');
}

/* === CSS Custom Properties === */
:root {
  /* Spacing System */
  --spacing-2xs: 0.3rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2.5rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 5rem;
  --section-gap: clamp(4rem, 6vw, 8rem);

  /* Color System */
  --color-accent: #a08448;
  --color-accent-light: color-mix(in oklab, #a08448 85%, white 15%);
  --color-surface: #0f1724;
  --color-surface-elevated: color-mix(in oklab, #0f1724 88%, #eaf0f5 12%);
  --color-on-surface: #eaf0f5;
  --color-on-surface-secondary: #b9c0c6;
  --color-border: color-mix(in oklab, #8b8f92 70%, #0f1724 30%);

  /* Typography */
  --font-family-heading: "Playfair Display", serif;
  --font-family-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-size-3xs: 0.4rem;
  --font-size-2xs: 0.6rem;
  --font-size-xs: 0.8rem;
  --font-size-sm: 0.9375rem;
  --font-size-base: 1rem;
  --font-size-md: 1.2rem;
  --font-size-lg: 1.4rem;
  --font-size-xl: 2rem;
  --font-size-2xl: 2.5rem;
  --font-size-3xl: 3.5rem;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --line-height-tight: 1.05;
  --line-height-base: 1.25;
  --line-height-loose: 1.45;

  /* Layout */
  --content-max-width: 72rem;
  --border-radius-sm: 6px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-full: 9999px;
    --shadow-level-1: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-level-2: 0 6px 20px rgba(0, 0, 0, 0.12);

  /* *** MAIN TITLE *** flower positioning and size */
  --flower-size-min: 80px;
  --flower-size-responsive: 8vw;
  --flower-size-max: 120px;
  --flower-distance-above: -0.5em;
  --flower-horizontal-position: 28%;

  /* *** FOOTER *** flower positioning and size */
  --footer-flower-size-min: 20px;
  --footer-flower-size-responsive: 6vw;
  --footer-flower-size-max: 40px;
  --footer-flower-distance-above: -0.6em;
  --footer-flower-horizontal-position: 28%;

  /* Animations */
  --animation-curve-primary: cubic-bezier(0.2, 0.8, 0.2, 1);
  --animation-duration-fast: 140ms;
  --animation-duration-standard: 220ms;
}

/* === Reset & Base === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-body);
  background-color: var(--color-surface);
  color: var(--color-on-surface);
  line-height: var(--line-height-base);
  margin: 0 !important;
  padding: 0 !important;
}

h1, h2, h3 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
}

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

img {
  max-width: 100%;
  height: auto;
}

/* === Page Title Section === */
.page-title {
  background: var(--color-surface);
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  margin-top: 0;
}

.page-title-content {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  text-align: center;
}

.page-title h1 {
  font-size: var(--font-size-xl);
  color: var(--color-on-surface);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  font-family: var(--font-family-heading);
}

.page-title p {
  color: var(--color-on-surface-secondary);
  margin-bottom: var(--spacing-sm);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-title {
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
  }
}

/* === Navigation === */
.floating-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: calc(24px + 16px + 15px); /* top spacing + text height + 15px below */
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.floating-nav-content {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding-top: 10px; /* Moved closer to the top */
}

.desktop-nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.floating-nav.scrolled {
  background-color: rgba(15, 23, 36, 0.8); /* 80% opacity */
  backdrop-filter: blur(10px);
}

.floating-nav a,
.desktop-nav a {
  color: white;
  text-decoration: none;
  font-weight: var(--font-weight-light);
  font-size: 16px;
  border-bottom: 2px solid transparent;
  transition: border-bottom-color 0.2s ease;
}

.floating-nav a:hover,
.desktop-nav a:hover {
  border-bottom-color: #a08448; /* Gold underline */
}

/* Mobile Navigation Styles */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  z-index: 1001;
}

.hamburger-line {
  width: 25px;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 36, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 2rem;
}

.mobile-nav-link {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: var(--font-weight-light);
  padding: 1rem 2rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
}

.mobile-nav-link:hover {
  border-bottom-color: #a08448;
  transform: translateY(-2px);
}

/* === Main Container === */
.home-container {
  margin: 0 !important;
  padding: 0 !important;
}

/* === Hero Section === */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: white !important;
  font-size: clamp(3rem, 8vw, 8rem) !important;
  font-family: var(--font-family-heading) !important;
  font-weight: 400 !important;
  letter-spacing: 0.25em !important;
  margin: 0 !important;
  text-align: center !important;
  white-space: nowrap;
}

/* Title text styling - ensure no gaps between spans */
.hero-title .hero-text-regular,
.hero-title .hero-text-accent {
  display: inline;
  margin: 0;
  padding: 0;
}

.hero-text-regular {
  font-weight: 400; /* Regular weight for regular text */
}

.hero-text-accent {
  font-weight: 700; /* Bold for the accent characters */
}

/* Flower positioned precisely above the "ı" character */
.hero-i-with-flower {
  position: relative;
  display: inline-block;
}

.hero-i-with-flower .accent-flower {
  position: absolute;
  top: var(--flower-distance-above); /* Above the character */
  left: var(--flower-horizontal-position); /* Move further left to center over the character */
  transform: translateX(-50%);
  transform-origin: center center; /* Ensure transforms use center as origin */
  width: clamp(var(--flower-size-min), var(--flower-size-responsive), var(--flower-size-max)) !important;
  height: clamp(var(--flower-size-min), var(--flower-size-responsive), var(--flower-size-max)) !important;
  z-index: 20;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  pointer-events: none; /* Don't interfere with text selection */
  max-width: none !important;
  max-height: none !important;
}

/* === Section Styles === */
section {
  padding: var(--section-gap) 0;
}

.section-title {
  font-size: var(--font-size-xl);
  color: var(--color-on-surface);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

/* === Our Work Section === */
.our-work-section {
  background: var(--color-surface);
  position: relative;
  z-index: 1;
}

.our-work-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.our-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 1;
  height: 80vh;
  max-height: 600px;
}

.our-work-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  transition: all var(--animation-duration-standard) var(--animation-curve-primary);
  box-shadow: var(--shadow-level-1);
}

.our-work-video:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-level-2);
}

/* === Philosophy Section === */
.philosophy-section {
  background: var(--color-surface);
}

.philosophy-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.philosophy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.philosophy-card {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl) var(--spacing-xl);
  text-align: center;
  transition: all var(--animation-duration-standard) var(--animation-curve-primary);
}

/* Hover effects disabled for philosophy cards */

.card-icon-wrapper {
  margin-bottom: var(--spacing-lg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-full);
  object-fit: cover;
}

.card-title {
  font-size: var(--font-size-lg);
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
  font-weight: var(--font-weight-semibold);
}

.card-description {
  color: var(--color-on-surface-secondary);
  line-height: var(--line-height-loose);
  font-size: var(--font-size-sm);
}

/* === Services Section === */
.services-section {
  background: var(--color-surface);
}

.services-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.services-subtitle {
  color: var(--color-on-surface-secondary);
  text-align: center;
  margin-top: var(--spacing-md);
  font-size: var(--font-size-base);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.service-package {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--animation-duration-standard) var(--animation-curve-primary);
  position: relative;
}

/*
.service-package:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--color-accent);
}
*/

.service-package--featured {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(150, 199, 181, 0.2);
  transform: scale(1.02);
}

.service-package--featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.service-package-badge {
  position: absolute;
  bottom: var(--spacing-md);
  right: var(--spacing-md);
  background: var(--color-accent);
  color: var(--color-surface);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.service-package-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.service-package-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--animation-duration-standard);
}

.service-package:hover .service-package-image {
  transform: scale(1.05);
}

.service-package-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 34, 64, 0.7) 0%,
    rgba(17, 34, 64, 0.3) 100%
  );
}

.service-package-content {
  padding: var(--spacing-xl);
}

.service-package-header {
  margin-bottom: var(--spacing-lg);
}

.service-package-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-lg);
  color: var(--color-on-surface);
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
}

.service-package-type {
  color: var(--color-accent);
  font-size: var(--font-size-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-package-description {
  color: var(--color-on-surface-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
  text-align: left;
  font-size: var(--font-size-xs);
}

.service-package-features {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: var(--spacing-md);
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-2xs);
  margin-bottom: var(--spacing-sm);
  color: var(--color-on-surface-secondary);
  font-size: var(--font-size-xs);
  line-height: 1.5;
}

.service-feature:last-child {
  margin-bottom: 0;
}

.service-feature svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 7px;
  width: 16px;
  height: 16px;
}

.service-package-cta {
  width: 100%;
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--animation-duration-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--font-size-sm);
}

.service-package-cta:hover {
  background: var(--color-accent);
  color: var(--color-surface);
  transform: translateY(-1px);
}

.service-package--featured .service-package-cta {
  background: var(--color-accent);
  color: var(--color-surface);
}

.service-package--featured .service-package-cta:hover {
  background: var(--color-accent-light);
}

.services-footer {
  text-align: center;
  margin-top: var(--spacing-2xl);
  /* padding: var(--spacing-2xl);
  background: var(--color-surface-elevated);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border); */
}

.services-footer-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-xl);
  color: var(--color-on-surface);
  margin-bottom: var(--spacing-md);
}

.services-footer-text {
  color: var(--color-on-surface-secondary);
  margin-bottom: var(--spacing-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.services-footer-cta {
  background: var(--color-accent);
  color: var(--color-surface);
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--border-radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--animation-duration-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--font-size-sm);
  display: inline-block;
  text-decoration: none;
}

.services-footer-cta:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

/* === Process Section === */
.process-section {
  background: var(--color-surface);
}

.process-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.process-card {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl) var(--spacing-2xl);
  text-align: center;
  transition: all var(--animation-duration-standard) var(--animation-curve-primary);
}

/* Hover effects disabled for process cards */

/* === Footer === */
.footer-section {
  background: var(--color-surface);
  color: var(--color-on-surface-secondary);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.footer-brand-name {
  font-size: var(--font-size-xl);
  color: var(--color-on-surface);
  letter-spacing: 0.25em;
}

/* Footer-specific flower positioning (separate from hero) */
.footer-i-with-flower {
  position: relative;
  display: inline-block;
}

.footer-i-with-flower .footer-accent-flower {
  position: absolute;
  top: var(--footer-flower-distance-above);
  left: var(--footer-flower-horizontal-position);
  transform: translateX(-50%);
  transform-origin: center center;
  width: clamp(var(--footer-flower-size-min), var(--footer-flower-size-responsive), var(--footer-flower-size-max)) !important;
  height: clamp(var(--footer-flower-size-min), var(--footer-flower-size-responsive), var(--footer-flower-size-max)) !important;
  z-index: 20;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  pointer-events: none;
  max-width: none !important;
  max-height: none !important;
}

.footer-flower {
  height: 40px;
  width: auto;
}

.footer-description {
  font-size: var(--font-size-xs);
  color: var(--color-on-surface-secondary);
  line-height: 1.6;
}

.footer-nav {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: var(--spacing-xl);
}

.footer-nav-column:nth-child(2) {
  grid-column: 2;
}

.footer-nav-column:nth-child(3) {
  grid-column: 3;
}

.footer-nav-title {
  font-size: var(--font-size-md);
  color: var(--color-on-surface);
  margin-bottom: var(--spacing-md);
}

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

.footer-nav-item {
  margin-bottom: var(--spacing-sm);
}

.footer-nav-link {
  font-size: var(--font-size-xs);
  color: var(--color-on-surface-secondary);
  transition: color var(--animation-duration-fast);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.footer-nav-link:hover {
  color: var(--color-accent-light);
}

.footer-link-icon {
  width: 14px;
  height: 14px;
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.footer-social-link {
  color: var(--color-on-surface-secondary);
  transition: color var(--animation-duration-fast);
}

.footer-social-link:hover {
  color: var(--color-accent);
}

.footer-divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--spacing-xl) 0;
}

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

.footer-bottom-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.footer-copyright {
  color: var(--color-on-surface-secondary);
  font-size: var(--font-size-2xs);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer-legal-link {
  color: var(--color-on-surface-secondary);
  font-size: var(--font-size-2xs);
  transition: color var(--animation-duration-fast);
}

.footer-legal-link:hover {
  color: var(--color-accent-light);
}

.custom-section-footer-legal-link {
  font-size: var(--font-size-2xs); 
}

.custom-section-footer-legal-separator {
  font-size: var(--font-size-2xs); 
}

.footer-back-to-top {
  background: var(--color-accent);
  color: var(--color-surface);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--animation-duration-fast);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.footer-back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.footer-back-to-top:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
}

/* === Responsive Design === */
@media (max-width: 768px) {
  /* Hide desktop navigation on mobile */
  .desktop-nav {
    display: none;
  }
  
  /* Show mobile menu button */
  .mobile-menu-btn {
    display: flex;
  }
  
  .floating-nav-content {
    gap: var(--spacing-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    justify-content: flex-end; /* Align hamburger to the right */
  }
  
  .floating-nav a {
    font-size: var(--font-size-2xs);
  }
  
  .our-work-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    height: auto;
    max-height: none;
  }
  
  .philosophy-cards,
  .process-cards {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .services-packages {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .service-package--featured {
    transform: none;
  }
  
  .service-package--featured:hover {
    transform: translateY(-4px);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .footer-nav {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-nav-column:nth-child(2),
  .footer-nav-column:nth-child(3) {
    grid-column: auto;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  .footer-bottom-content {
    width: 100%;
  }

  /* Increase the hero flower distance on small screens so it sits higher above the text */
  :root {
    --flower-distance-above: -0.9em;
  }
}

/* === Animations === */
@keyframes float {
  0% {
    transform: translateX(-50%) translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateX(-50%) translateY(-20px) rotate(180deg);
  }
  100% {
    transform: translateX(-50%) translateY(0px) rotate(0deg);
  }
}

/* === Utility Classes === */
.hidden {
  display: none !important;
}

/* === 404 Error Page === */
.error-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-6xl) var(--spacing-lg) var(--spacing-4xl) var(--spacing-lg);
  background: linear-gradient(135deg, 
    var(--color-background) 0%, 
    rgba(var(--color-accent-rgb), 0.02) 100%);
  min-height: 100vh; /* Full height since no nav */
}

.error-content {
  max-width: 600px;
  text-align: center;
  padding: var(--spacing-2xl);
}

.error-brand {
  margin-bottom: var(--spacing-2xl);
}

.error-brand-title {
  font-family: var(--font-family-serif);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--color-text);
}

.error-message {
  margin-bottom: var(--spacing-2xl);
}

.error-code {
  font-family: var(--font-family-serif);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 var(--spacing-md) 0;
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.error-title {
  font-family: var(--font-family-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 var(--spacing-lg) 0;
  letter-spacing: -0.02em;
}

.error-description {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 var(--spacing-2xl) 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.error-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-md);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--border-radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.error-btn-primary {
  background: var(--color-accent);
  color: var(--color-background);
}

.error-btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--color-accent-rgb), 0.3);
}

.error-btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-accent);
}

.error-btn-secondary:hover {
  background: var(--color-accent);
  color: var(--color-background);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--color-accent-rgb), 0.2);
}

.error-btn-icon {
  width: 20px;
  height: 20px;
}

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

.error-suggestions-title {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  margin: 0 0 var(--spacing-md) 0;
}

.error-suggestions-links {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.error-suggestion-link {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-sm);
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.error-suggestion-link:hover {
  color: var(--color-accent-hover);
  border-bottom-color: var(--color-accent-hover);
}

/* 404 Page Mobile Responsive */
@media (max-width: 768px) {
  .error-section {
    padding: var(--spacing-4xl) var(--spacing-md) var(--spacing-2xl) var(--spacing-md);
    min-height: 100vh;
  }
  
  .error-content {
    padding: var(--spacing-lg);
  }
  
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .error-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .error-suggestions-links {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
}
  /* === Videos page specific styles === */
  .video-slide {
    height: 100vh; /* full viewport height */
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
  }

  .video-slide + .video-slide {
    border-top: 1px solid rgba(255,255,255,0.03);
  }

  .full-viewport {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75vw; /* 3/4 of viewport width */
    height: 75vh; /* 3/4 of viewport height */
    object-fit: cover;
    display: block;
    border-radius: calc(var(--border-radius-lg) * 2); /* 32px */
  }

  /* Small performance improvement on mobile: lower resolution playback preference */
  video[preload="none"] {
    image-rendering: auto;
  }

  /* Centered hero for videos page */
  .videos-hero {
    height: 40vh; /* occupies top area of page */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .videos-hero-inner {
    max-width: var(--content-max-width);
  }

  .videos-hero-title {
    color: var(--color-on-surface);
    font-size: clamp(1rem, 3vw, 2rem);
    margin: 0;
    font-family: var(--font-family-heading);
  }

  .videos-gap {
    height: 3vh; /* visual gap between title and first video (halved) */
  }

  /* Inner container that centers the 3/4-size video */
  .video-inner {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  /* If viewport is small, let video shrink to avoid overflow */
  @media (max-width: 768px) {
    .full-viewport {
      width: 100vw;
      height: 56.25vw; /* keep 16:9-ish, but allow full width */
    }

    .videos-hero {
      height: 30vh;
    }

    .videos-gap {
      height: 2vh;
    }
  }

