@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Inter:wght@200;300;400;500&display=swap');

:root {
  --color-bg: #EAEAE6;
  /* Soft aesthetic concrete/beige */
  --color-surface: #F5F5F3;
  --color-text: #1C1C1C;
  --color-text-muted: #555555;
  --color-accent: #333333;

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;

  --spacing-xs: 1rem;
  --spacing-sm: 2rem;
  --spacing-md: 4rem;
  --spacing-lg: 8rem;
  --spacing-xl: 12rem;

  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
}

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

ul {
  list-style: none;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Layout */
section,
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 0;
  z-index: 100;
  mix-blend-mode: difference;
  color: white;
  pointer-events: none;
  /* Let clicks pass through if needed, except on links */
    transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(234, 234, 230, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  mix-blend-mode: normal;
  color: var(--color-text);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  pointer-events: auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
}

.logo {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: currentColor;
  transition: var(--transition-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 105;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 5rem;
}

.hero-text {
  padding-right: 4rem;
  z-index: 10;
}

.title-display {
  font-size: clamp(4rem, 8vw, 8rem);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  width: 100%;
}

.title-line {
  display: block;
}

.title-studio {
  display: block;
  text-align: center;
}

.subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 400px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-image-wrapper {
  position: relative;
  height: 85vh;
  width: 100%;
  overflow: hidden;
}

.hero-image-wrapper img {
  object-position: center;
  /* transform: scale(1.35); */
  /* transform-origin: center 20%; */
}

/* Studio Info (Two Col) */
.section-padding {
  padding: var(--spacing-xl) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.text-block h2 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 2rem;
}

.text-block p {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  max-width: 480px;
  line-height: 1.8;
}

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

/* Full Width Image Break */
.image-break {
  width: 100%;
  height: 70vh;
  margin: var(--spacing-md) 0;
  overflow: hidden;
}

/* Minimal Grid for Details/Coffee */
.aesthetic-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: end;
}

.aesthetic-grid .small-img {
  aspect-ratio: 1/1;
  overflow: hidden;
}

.aesthetic-grid .large-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.oprema-text {
  margin-bottom: 4rem;
}

/* Button Aesthetic */
.btn-elegant {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-text);
  transition: var(--transition-smooth);
}

.btn-elegant:hover {
  gap: 1.5rem;
  color: var(--color-text-muted);
  border-bottom-color: var(--color-text-muted);
}

/* Map Section minimalist */
.map-container {
  width: 100%;
  height: 500px;
  filter: grayscale(100%) opacity(0.8);
  transition: var(--transition-smooth);
}

.map-container:hover {
  filter: grayscale(0%) opacity(1);
}

@media (max-width: 768px) {
  .map-container {
    filter: grayscale(0%) opacity(1);
  }
}

.address-bar {
  display: flex;
  justify-content: space-between;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Footer */
footer {
  padding: var(--spacing-md) 0 2rem;
  text-align: center;
}

.footer-logo {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.footer-bottom {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-credit {
  margin-top: 1.5rem;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  opacity: 0.6;
}

.footer-credit a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.3s ease;
}

.footer-credit a:hover {
  opacity: 1;
  color: var(--color-text);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Gallery Section */
.gallery-scroll {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-text-muted) var(--color-surface);
  -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
  height: 6px;
}

.gallery-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background-color: var(--color-text-muted);
  border-radius: 4px;
}

.gallery-scroll img {
  height: 500px;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 8rem;
    gap: 3rem;
    align-items: start;
    min-height: auto;
  }

  .title-display {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
    margin-top: 2rem;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-image-wrapper {
    height: 60vh;
  }

  .container {
    padding: 0 2rem;
  }

  .grid-2,
  .aesthetic-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .image-block {
    order: -1;
    /* Image above text on mobile */
  }

  .section-padding {
    padding: 5rem 0;
  }

  .text-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .text-block h2 {
    font-size: clamp(2.2rem, 8vw, 3rem);
    text-align: center;
  }

  /* Prevent forced breaks in headers from making them too tall on mobile */
  h2 br {
    display: none;
  }

  .text-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
    max-width: none;
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
    padding: 0 5%;
  }

  .subtitle {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: none;
    margin-bottom: 2.5rem;
    padding: 0 10%;
  }

  .address-bar {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
  }

  .oprema-text {
    margin-bottom: 2rem;
  }

  header {
    mix-blend-mode: normal;
    color: var(--color-text);
    padding: 1rem 0;
    background-color: var(--color-bg);
  }

  nav {
    justify-content: space-between;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 2rem;
    transition: right 0.4s ease;
    z-index: 100;
  }

  .nav-links.active {
    right: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links a {
    font-size: 0.75rem;
  }

  .gallery-scroll img {
    height: 350px;
  }
}

/* Mobile specific fixes (<= 768px) */
@media (max-width: 768px) {
  h1,
  h2,
  h3 {
    line-height: 1.2;
  }

  .grid,
  .grid-2,
  .aesthetic-grid {
    grid-template-columns: 1fr;
  }

  /* Ensure buttons and cards don't overflow */
  .btn-elegant,
  .image-block,
  .map-container {
    max-width: 100%;
    height: auto;
  }

  .hero-image-wrapper {
    height: 65vh;
  }
}