/* ============================================
   TD HANDYMAN — PREMIUM LUXURY STYLESHEET
   Inspired by High-End Photography & Architecture
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Ultra Premium Dark Palette */
  --bg-primary:      #030a0d;
  --bg-secondary:    #071419;
  --bg-tertiary:     #0b1c24;
  
  --text-primary:    #F2F8F8;
  --text-secondary:  #A4BCC4;
  --text-muted:      #6F8D98;
  
  --accent:          #1E56A0; /* Bright Sapphire for Dark Mode visibility */
  --accent-hover:    #0F8A7E;
  --accent-alt:      #081754; /* True Navy */
  
  --border-light:    rgba(255, 255, 255, 0.08);
  --border-mid:      rgba(255, 255, 255, 0.15);
  
  --overlay-dark:    rgba(3, 10, 13, 0.7);
  --overlay-gradient: linear-gradient(to top, rgba(3,10,13,0.95) 0%, rgba(3,10,13,0.4) 50%, rgba(3,10,13,0.1) 100%);
  --hero-overlay-start: rgba(3, 10, 13, 0.95);
  --hero-overlay-end: rgba(3, 10, 13, 0.4);
  
  --glass-card-bg: rgba(10, 15, 25, 0.4);
  --glass-card-border: rgba(255, 255, 255, 0.08);
  --glass-card-highlight: rgba(255, 255, 255, 0.2);
  --hero-text-gradient: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
  
  --hero-bg-gradient-1: linear-gradient(135deg, rgba(3,10,13,0.98) 0%, rgba(3,10,13,0.9) 40%, rgba(15,138,126,0.3) 70%, rgba(8,23,84,0.6) 100%);
  --hero-bg-gradient-2: radial-gradient(circle at 0% 50%, rgba(3,10,13,0.98) 0%, transparent 80%);

  /* Typography */
  --font-heading:    'Cormorant Garamond', Georgia, serif;
  --font-body:       'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing */
  --section-py:      140px;
  --section-py-sm:   80px;
  
  /* Borders & Radius */
  --radius-sm:       4px;
  --radius-md:       8px;
  --radius-lg:       12px;
  --radius-xl:       24px;
  --radius-full:     9999px;

  /* Transitions */
  --transition:      all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
  --bg-primary:      #F5F9FA;
  --bg-secondary:    #FFFFFF;
  --bg-tertiary:     #E8F1F3;
  
  --text-primary:    #071A21;
  --text-secondary:  #3A525B;
  --text-muted:      #68828D;
  
  --accent:          #081754; /* True Navy for Light Mode */
  --accent-hover:    #1E56A0;

  --accent-alt:      #1E56A0;
  
  --border-light:    rgba(7, 26, 33, 0.08);
  --border-mid:      rgba(7, 26, 33, 0.15);
  
  --overlay-dark:    rgba(245, 249, 250, 0.7);
  --overlay-gradient: linear-gradient(to top, rgba(245,249,250,0.95) 0%, rgba(245,249,250,0.4) 50%, rgba(245,249,250,0.1) 100%);
  --hero-overlay-start: rgba(245, 249, 250, 0.95);
  --hero-overlay-end: rgba(245, 249, 250, 0.4);

  --glass-card-bg: rgba(255, 255, 255, 0.65);
  --glass-card-border: rgba(8, 23, 84, 0.05);
  --glass-card-highlight: rgba(255, 255, 255, 0.8);
  --hero-text-gradient: linear-gradient(135deg, #081754 0%, #1E56A0 40%, #0F8A7E 100%);
  
  --hero-bg-gradient-1: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,249,250,0.85) 40%, rgba(15,138,126,0.15) 70%, rgba(8,23,84,0.2) 100%);
  --hero-bg-gradient-2: radial-gradient(circle at 0% 50%, rgba(255,255,255,0.95) 0%, transparent 80%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

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

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

ul {
  list-style: none;
}

/* --- Layout Utilities --- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5vw;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-bg-alt {
  background-color: var(--bg-secondary);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-primary);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 24px;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

/* Background Pattern */
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.02;
  background-image: radial-gradient(var(--text-primary) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.section > .container {
  position: relative;
  z-index: 1;
}

/* Ambient Glowing Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
  animation: orbFloat 15s ease-in-out infinite alternate;
}
.orb-teal {
  background: var(--accent);
}
.orb-blue {
  background: var(--accent-alt);
}
@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.1); }
  100% { transform: translate(-30px, 40px) scale(0.9); }
}

/* --- Buttons (Architectural Style) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 0 20px 0 20px; /* Unique asymmetrical geometric shape */
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(15, 138, 126, 0.3);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}

.btn-white {
  background: #fff;
  color: #030a0d !important;
  border: 1px solid #fff;
}

.btn-white:hover {
  background: transparent;
  color: #fff !important;
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-mid);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(15, 138, 126, 0.1);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  position: relative;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: var(--transition);
}

.text-link:hover::after {
  width: 100%;
}

.text-link:hover {
  gap: 16px;
  color: var(--accent-hover);
}

/* --- Navigation (Ultra-Modern Minimalist Design) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.7); /* Slightly more transparent */
  backdrop-filter: blur(40px) saturate(200%); /* Stronger blur */
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4); /* White glass edge */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); /* Soft drop shadow */
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 40px rgba(8, 23, 84, 0.1);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(3, 10, 13, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  line-height: 1;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent); /* Now visible against frosted glass */
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  background: rgba(8, 23, 84, 0.05);
  color: var(--accent);
}

[data-theme="dark"] .nav-link {
  color: var(--text-primary);
}

[data-theme="light"] .navbar.scrolled .nav-link:hover, [data-theme="light"] .navbar.scrolled .nav-link.active {
  background: rgba(8, 23, 84, 0.05);
  color: var(--accent);
}

.nav-cta {
  background: var(--accent) !important;
  color: #ffffff !important;
  padding: 16px 40px !important;
  border-radius: 0 !important;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem !important;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(8, 23, 84, 0.2);
  margin-left: 15px;
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(8, 23, 84, 0.3);
  background: var(--accent-hover) !important;
  color: #ffffff !important;
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-mid);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.sun-icon, .moon-icon {
  display: none;
}

[data-theme="dark"] .sun-icon {
  display: block;
}

[data-theme="light"] .moon-icon {
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 1px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero-split {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-split-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-split-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transform: scale(1.05);
  animation: slowZoom 20s ease-out forwards;
}

.hero-split-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--hero-overlay-start) 0%, var(--hero-overlay-end) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 80px;
}

.hero-title-large {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 30px;
}

.hero-title-large span {
  display: block;
}

.hero-title-large em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 50px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

@keyframes slowZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}

/* --- Features / Philosophy --- */
.features-luxury {
  background: var(--bg-primary);
}

.luxury-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}

.luxury-text {
  max-width: 500px;
}

.luxury-image-wrap {
  position: relative;
  padding: 40px;
}

.luxury-image-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60%; height: 60%;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}

.luxury-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 60%; height: 60%;
  border-bottom: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}

.luxury-image-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(20%);
}

/* --- What We Do (8 Grid) --- */
.services-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.services-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.service-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 400px;
  group: hover;
  transition: var(--transition-slow);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-image-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.sic-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sic-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-image-card:hover .sic-bg img {
  transform: scale(1.08);
}

.sic-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,10,13,0.95) 0%, rgba(3,10,13,0.7) 50%, rgba(3,10,13,0.1) 100%);
  transition: var(--transition);
}

.service-image-card:hover .sic-bg::after {
  background: linear-gradient(to top, rgba(3,10,13,0.98) 0%, rgba(3,10,13,0.85) 60%, rgba(3,10,13,0.3) 100%);
}

.sic-content {
  position: relative;
  z-index: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sic-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 8px;
  transition: var(--transition);
  transform: translateY(10px);
  opacity: 0.8;
}

.service-image-card:hover .sic-icon {
  transform: translateY(0);
  opacity: 1;
  box-shadow: 0 5px 15px rgba(15,138,126,0.3);
}

.sic-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #FFFFFF;
  margin: 0;
  transition: var(--transition);
}

.sic-desc {
  font-size: 0.95rem;
  color: #B0BBD4;
  line-height: 1.5;
  margin: 0;
  opacity: 0.8;
  transition: var(--transition);
}

.service-image-card:hover .sic-desc {
  opacity: 1;
}

.sic-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.service-image-card:hover .sic-link {
  opacity: 1;
  transform: translateY(0);
  gap: 10px;
}

/* --- Services Masonry --- */
.services-masonry {
  background: var(--bg-secondary);
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
}

.masonry-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.masonry-item:nth-child(2) {
  margin-top: 60px;
}

.masonry-item:nth-child(3) {
  margin-top: 120px;
}

.masonry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
  filter: brightness(0.7) grayscale(20%);
}

.masonry-item:hover .masonry-img {
  transform: scale(1.05);
  filter: brightness(1) grayscale(0%);
}

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-gradient);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}

.masonry-tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.masonry-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0;
}

/* --- Full Screen Quote --- */
.quote-section {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.quote-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.quote-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.quote-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 5vw;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.quote-author {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-primary);
  padding: 100px 0 40px;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-logo .logo-main {
  font-size: 2rem;
}

.footer-desc {
  color: var(--text-secondary);
  margin: 20px 0 30px;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Generic / Forms --- */
.form-group {
  margin-bottom: 24px;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--border-mid);
  background: var(--bg-primary);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(15,138,126,0.1);
}

/* --- Glass Form Inputs --- */
.form-control-glass {
  width: 100%;
  padding: 16px 0;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  background: transparent !important;
  color: #fff !important;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  transition: var(--transition);
}

.form-control-glass::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-control-glass:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 10px 10px -10px rgba(15, 138, 126, 0.8);
}

.form-control-glass option {
  background: #030a0d;
  color: #fff;
}

/* --- Inner Pages: Hero --- */
.page-hero {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  margin-bottom: 80px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.3;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}

/* --- Services Page --- */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}
.service-row.reverse .service-text {
  order: 2;
}
.service-row.reverse .service-image {
  order: 1;
}
.service-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(20%);
}
.service-meta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
  text-transform: uppercase;
}
.service-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
}
.service-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}
.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 400;
}
.service-features svg {
  color: var(--accent);
}

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--border-light);
  padding-top: 40px;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
}
.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.value-card {
  padding: 40px 30px;
  border: 1px solid var(--border-light);
  text-align: center;
}
.value-card svg {
  color: var(--accent);
  margin-bottom: 20px;
}

/* --- Gallery Page --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border-mid);
  color: var(--text-secondary);
  padding: 8px 24px;
  border-radius: 0 15px 0 15px; /* Unique asymmetrical geometric shape */
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  transition: var(--transition);
  background: var(--bg-primary);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,10,13,0.95) 0%, rgba(3,10,13,0.5) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.gallery-overlay span {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.contact-info-item {
  display: flex;
  gap: 20px;
}
.contact-info-item svg {
  color: var(--accent);
}
.contact-info-text strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.contact-info-text span, .contact-info-text a {
  font-size: 1.2rem;
  color: var(--text-primary);
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.reveal.active, .reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Float Animation */
@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseAccent {
  0% { box-shadow: 0 0 0 0 rgba(15, 138, 126, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(15, 138, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 138, 126, 0); }
}

.page-hero-bg img, .hero-split-bg img {
  animation: subtleFloat 20s ease-in-out infinite alternate;
}

@media (max-width: 1024px) {
  .hero-decorative-line {
    display: none;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .masonry-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-item:nth-child(3) { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid-8 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  
  :root { --section-py: 80px; }
  html, body { overflow-x: hidden; width: 100%; }

  .nav-links {
    position: fixed; top: 0; right: -100%; width: 70%; max-width: 300px; height: 100vh;
    background: var(--hero-overlay-start); flex-direction: column; justify-content: center; align-items: center;
    transition: var(--transition); z-index: 1000;
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    box-shadow: -15px 0 50px rgba(0,0,0,0.3); border-left: 1px solid var(--border-mid);
    gap: 40px;
  }
  
  .nav-links a {
    font-weight: 500 !important;
    font-size: 1.05rem !important;
    text-transform: uppercase;
    letter-spacing: 0.15em;
  }
  .nav-links.open { right: 0; }
  .hamburger { display: flex; }
  .hero-title-large { font-size: 3.5rem; }
  .hero-split-overlay { background: var(--overlay-dark); }
  .luxury-grid { grid-template-columns: 1fr; gap: 40px; }
  .masonry-grid { grid-template-columns: 1fr; gap: 20px; }
  .masonry-item:nth-child(2) { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .services-grid-8, .services-grid-2 { grid-template-columns: 1fr; gap: 20px; }
  
  /* Mobile Hero Buttons */
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { 
    width: 100%; 
    text-align: center; 
    padding: 14px 24px !important; 
    font-size: 1rem !important; 
  }
  
  /* Hamburger Color */
  .hamburger span { background: var(--accent); }
  
  /* Scale logo elegantly on mobile instead of hiding */
  .nav-logo img { height: 36px !important; }
  .mobile-hide-logo-text span { font-size: 1.1rem !important; }
  .nav-logo { gap: 10px !important; }
  
  /* Hero Section Aesthetics */
  .page-hero { 
    padding-top: 55px !important; 
    padding-bottom: 60px !important; 
    min-height: auto !important;
  }
  .hero-title-large { font-size: 3rem !important; }
  .hero-content > div { gap: 40px !important; }
}

[data-theme="light"] .navbar.scrolled .hamburger span {
  background: var(--text-primary);
}
