/* ==========================================================================
   tamchci.com - Design System & Modern Styles
   Theme: Option A - Cozy Editorial (Warm Cream, Soft Linen, Sage Green, Dusty Rose)
   ========================================================================== */

/* Import Premium Modern Typography (Instrument Serif for titles, Caveat for signatures, Inter for body) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Instrument+Serif:ital,wght@0,400;1,400&family=Caveat:wght@400;700&display=swap');

:root {
  /* Neutral Color Palette */
  --bg-primary: #ffffff;
  /* White */
  --bg-secondary: #f9f9f9;
  /* Light grey */
  --bg-tertiary: #eaeaea;
  /* Soft grey */

  --text-primary: #111111;
  /* Dark black */
  --text-secondary: #555555;
  /* Medium grey */
  --text-light: #888888;
  /* Light grey */

  --accent-forest: #3c6a4e;
  /* Sage green (High Contrast) */
  --accent-forest-hover: #2e523c;
  --accent-rose: #c39b94;
  /* Dusty rose */
  --accent-rose-light: #faeae6;
  /* Soft rose background */

  --border-color: #e0e0e0;
  /* Light border */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.5);

  /* Fonts */
  --font-heading: 'Instrument Serif', serif;
  --font-body: 'Inter', sans-serif;
  --font-signature: 'Caveat', cursive;

  /* Layout Constants */
  --header-height: 80px;
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Shadow Systems */
  --shadow-subtle: 0 4px 20px rgba(45, 38, 33, 0.03);
  --shadow-medium: 0 12px 30px rgba(45, 38, 33, 0.06);
  --shadow-glass: 0 8px 32px 0 rgba(45, 38, 33, 0.04);

  /* Animations */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   1. Reset & General Setup
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Selection style */
::selection {
  background-color: var(--accent-rose-light);
  color: var(--accent-forest);
}

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

h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.02em;
  position: relative;
  margin-bottom: 1.5rem;
}

/* Decorative line under main section headers */
section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 1.5px;
  background-color: var(--accent-rose);
  margin-top: 16px;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-forest);
  outline-offset: 4px;
}

.btn-primary {
  background-color: var(--accent-forest);
  color: #ffffff; /* High contrast text */
}

.btn-primary:hover {
  background-color: var(--accent-forest-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(78, 93, 78, 0.15);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--text-light); /* Meets WCAG 3:1 non-text contrast requirement */
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

/* Header scrolled state */
.header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 70px;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand Typographic Logo */
.logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-rose);
  border-radius: 50%;
  display: inline-block;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

/* Elegant line transition on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-rose);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Hamburger active transformation */
.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

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

/* ==========================================================================
   4. Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 4rem) 0 6rem 0;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
}

.hero-text-side {
  max-width: 800px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-forest);
  margin-bottom: 1.5rem;
  display: block;
}

.hero-title {
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.1;
  font-size: clamp(3rem, 5.5vw, 5rem);
}

.signature-highlight {
  font-family: var(--font-signature);
  font-size: 1.15em;
  color: var(--accent-rose);
  display: inline-block;
  transform: rotate(-2deg);
  margin: 0 0.1em;
  font-weight: 400;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Hero Collage - Hidden per instruction */
.hero-collage {}

.collage-item:hover {
  transform: scale(1.03) translateY(-5px);
  z-index: 10;
}

.collage-video-card {
  width: 260px;
  height: 440px;
  left: 5%;
  top: 5%;
  transform: rotate(-3deg);
  z-index: 2;
}

.collage-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-photo-card {
  width: 280px;
  height: 210px;
  right: 5%;
  bottom: 12%;
  transform: rotate(4deg);
  z-index: 3;
}

.collage-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 4px);
}

.showcase-info {
  display: none;
}

.collage-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(252, 250, 246, 0.85);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.collage-note {
  position: absolute;
  right: 5%;
  top: 8%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(-10deg);
}

.handwritten-text {
  font-family: var(--font-signature);
  font-size: 2.4rem;
  color: var(--accent-rose);
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.handwritten-arrow {
  margin-top: -5px;
  opacity: 0.8;
}

/* Scroll indicator */
.scroll-indicator {
  bottom: 2rem;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 50px;
  background-color: var(--text-light);
  display: block;
  margin-top: 0.5rem;
  animation: scrollLine 2s infinite ease-in-out;
  transform-origin: top;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }

  30% {
    transform: scaleY(1);
    opacity: 1;
  }

  60% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ==========================================================================
   5. About Us Section
   ========================================================================== */
.about {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  /* Increased collage width */
  gap: 5rem;
  align-items: center;
}

/* About Collage */
.about-collage {
  position: relative;
  width: 100%;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-collage-main {
  position: relative; /* Setup relative context for bottom-right absolute children */
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 4px solid var(--bg-primary);
  z-index: 1;
}

.about-collage-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.about-collage-note {
  position: absolute;
  right: 15px;
  bottom: 15px;
  transform: rotate(-5deg);
  background: var(--bg-secondary);
  padding: 4px 15px;
  border-radius: 30px;
  box-shadow: var(--shadow-subtle);
  z-index: 2;
}

.about-collage-note .handwritten-text {
  font-size: 1.5rem;
  color: var(--accent-rose);
}

.about-text {
  padding-left: 1rem;
}

.about-highlight {
  font-size: 1.35rem;
  color: var(--text-primary);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
}

.section-subtitle {
  font-family: var(--font-signature);
  font-size: 2rem;
  color: var(--accent-rose);
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}

/* ==========================================================================
   6. Services Section
   ========================================================================== */
.services {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 4rem 0;
}

.services-text-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-text-block h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.service-text-block p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.services-intro {
  max-width: 600px;
  margin-bottom: 5rem;
}

.services-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.service-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-rose);
}

.service-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: var(--bg-tertiary);
}

.service-video,
.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-card:hover .service-video,
.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-num {
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: var(--font-signature);
  font-size: 3rem;
  color: var(--accent-rose);
  line-height: 1;
  opacity: 0.8;
  z-index: 2;
  transition: var(--transition-smooth);
}

.service-card:hover .service-num {
  transform: translateY(-2px) rotate(-5deg);
  opacity: 1;
}

.service-card-body {
  padding: 2.5rem 2rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Editorial Showcase Grid */
.showcase-header {
  margin-bottom: 3.5rem;
  text-align: center;
  display: none;
}

.showcase-header h3 {
  font-size: 2.4rem;
  font-weight: 400;
  margin-top: 0.5rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.showcase-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-subtle);
  background-color: var(--bg-tertiary);
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.showcase-item.landscape {
  grid-column: 1 / span 2;
  aspect-ratio: 16 / 9 !important;
}

@media (max-width: 1024px) {
  .showcase-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

.showcase-tall {
  grid-row: span 2;
  /* Uniform square size, height handled by aspect ratio */
}

.showcase-media-elem {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.showcase-item:hover .showcase-media-elem {
  transform: scale(1.04);
}

/* Beautiful glassmorphism info card reveal on hover */
.showcase-info {
  display: none;
}


.showcase-item:hover .showcase-info {
  opacity: 1;
  transform: translateY(0);
}

.showcase-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.showcase-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

/* ==========================================================================
   7. Contact Section
   ========================================================================== */
.contact {
  background-color: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-image-card {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 4px solid var(--bg-primary);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.contact-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-image-note {
  position: absolute;
  right: 15px;
  bottom: 15px;
  transform: rotate(-5deg);
  background: var(--bg-secondary);
  padding: 4px 15px;
  border-radius: 30px;
  box-shadow: var(--shadow-subtle);
  z-index: 2;
}

.contact-image-note .handwritten-text {
  font-size: 1.5rem;
  color: var(--accent-rose);
}

.contact-details {
  margin: 1rem 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-icon {
  color: var(--accent-forest);
  width: 24px;
  height: 24px;
  margin-top: 0.25rem;
}

.contact-item h4 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-socials {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-secondary);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Premium Form Styles */
.contact-form-container {
  background-color: var(--bg-primary);
  padding: 4rem 3.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-medium);
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

/* Premium Minimal Floating Labels & Inputs */
.form-input {
  width: 100%;
  padding: 1rem 0;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-bottom-color: var(--text-primary);
}

.form-label {
  position: absolute;
  top: 1rem;
  left: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-secondary);
  pointer-events: none;
  transition: var(--transition-fast);
}

/* Label transformation when input is active or focused */
.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
  top: -1rem;
  font-size: 0.8rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   8. Footer
   ========================================================================== */
.footer {
  background-color: var(--bg-primary);
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  list-style: none;
  margin-bottom: 2rem;
}

.footer-nav a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-nav a:hover {
  color: var(--text-primary);
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   9. Hidden Blog Styles
   ========================================================================== */
.blog-header {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.blog-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-rose);
}

.blog-media {
  height: 240px;
  overflow: hidden;
}

.blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-media img {
  transform: scale(1.06);
}

.blog-card-content {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.blog-readmore {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-forest);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition-fast);
}

.blog-readmore:hover {
  color: var(--accent-rose);
}

.blog-readmore svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.blog-readmore:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   10. Scroll & Entry Reveal Animations (Intersection Observer classes)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Delay modifiers for stagger effects */
.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

/* ==========================================================================
   11. Responsive Media Queries
   ========================================================================== */

/* Tablet Layouts */
@media (max-width: 1024px) {
  section {
    padding: 6rem 0;
  }

  .hero-container {
    gap: 2rem;
  }

  .collage-video-card {
    width: 220px;
    height: 380px;
  }

  .collage-photo-card {
    width: 240px;
    height: 180px;
  }

  .about-grid {
    gap: 3rem;
  }

  .about-collage {
    height: 480px;
  }

  .about-collage-main {
    width: 300px;
    height: 400px;
  }


  .services-list-grid {
    gap: 2rem;
  }

  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .showcase-tall {
    grid-row: span 1;
    height: 300px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Mobile & Small Screen Devices */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  /* Slide in mobile nav overlay */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    box-shadow: var(--shadow-medium);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: var(--transition-smooth);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

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

  .hero-desc {
    margin: 0 auto 2.5rem auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-collage {
    height: 420px;
    max-width: 450px;
    margin: 0 auto;
  }

  .collage-video-card {
    width: 190px;
    height: 320px;
    left: 5%;
  }

  .collage-photo-card {
    width: 210px;
    height: 150px;
    right: 5%;
    bottom: 10%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-text {
    padding-left: 0;
  }

  .about-collage {
    height: 420px;
    max-width: 450px;
    margin: 0 auto;
  }

  .about-collage-main {
    width: 260px;
    height: 340px;
    left: 10px;
  }


  .services-text-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-list-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .showcase-tall {
    height: 380px;
  }


  .contact-image-card {
    display: none;
  }

  .contact-form-container {
    padding: 3rem 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    padding: 0 2rem;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Carousel Scroll Hint */
.carousel-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  gap: 0.25rem;
}

.carousel-hint-text {
  font-family: var(--font-signature);
  font-size: 1.8rem;
  color: var(--accent-rose);
  line-height: 1.2;
}

.carousel-hint-arrow {
  --scale-x: 1;
  display: inline-block;
  width: 55px;
  height: 22px;
  color: var(--accent-rose);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scaleX(var(--scale-x));
  animation: swipeHint 1.5s infinite ease-in-out;
}

.carousel-hint-arrow.flipped {
  --scale-x: -1;
}

@keyframes swipeHint {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: calc(var(--scale-x) * 6px) 0;
  }
}

/* ==========================================================================
   Horizontal Carousel – Co pro vás tvoříme
   ========================================================================== */
.carousel {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden; /* Prevent vertical scrollbar on hover */
  gap: 1.5rem;
  padding: 1.5rem 2rem; /* Vertical padding gives room for scale(1.03) hover effect */
  margin: 0 2rem; /* Gap on each side of the page */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-rose) transparent;
}

.carousel::-webkit-scrollbar {
  height: 6px;
}

.carousel::-webkit-scrollbar-track {
  background: transparent;
}

.carousel::-webkit-scrollbar-thumb {
  background: var(--accent-rose);
  border-radius: 4px;
}

.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  margin: 0;
}

.carousel-item img,
.carousel-item video {
  height: 420px; /* Taller strip for photos/videos */
  width: auto;
  max-width: none;
  object-fit: contain;
  border-radius: var(--radius-md);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  display: block; /* Avoid baseline alignment issues */
}

.carousel-item img:hover,
.carousel-item video:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-medium);
}

@media (max-width: 1024px) {
  .carousel-item img,
  .carousel-item video {
    height: 340px;
  }
  .carousel {
    padding: 1.25rem 2rem;
    margin: 0 2rem; /* Matches desktop gap */
  }
}

@media (max-width: 768px) {
  .carousel-item img,
  .carousel-item video {
    height: 180px;
  }
  .carousel {
    gap: 1rem;
    padding: 1rem 1rem;
    margin: 0 1rem; /* Slightly smaller gap on mobile screen edges */
  }
}