/* iOS Menu Design - Espen Gjelsten */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700;900&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: #fff;
  background-color: #1a1a1a;
  margin: 0;
  padding: 0;
}

/* Minimal Navigation Styles */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a1a1a;
  padding: 1.5rem 2rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.7;
}

.nav-director {
  color: #fff;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-align: right;
  line-height: 1.4;
}

.nav-location {
  color: rgba(255, 255, 255, 0.7);
}

.nav-toggle {
  display: none;
}

/* Hamburger Menu */

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 16px;
  position: relative;
}

.hamburger-line {
  display: block;
  height: 1px;
  width: 100%;
  background: #fff;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger Animation States */
.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 4rem;
  right: 1rem;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease-out;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-content {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  min-width: 150px;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  display: block;
  transition: opacity 0.3s ease;
}

.mobile-menu li a:hover {
  opacity: 0.7;
}

.mobile-menu li a.active {
  opacity: 0.7;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for mobile */
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.hero-layout {
  display: flex;
  height: 100%;
}

.hero-main {
  flex: 1;
  position: relative;
  overflow: hidden;
}


/* Hero Slideshow */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-main-image.active {
  opacity: 1;
}


.hero-text-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  text-align: left;
  z-index: 10;
  backdrop-filter: blur(40px) saturate(200%) brightness(110%);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(110%);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 2rem;
  max-width: 600px;
  overflow: hidden;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
  transform-style: preserve-3d;
}

.hero-text-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 75%,
    transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}

.hero-text-overlay h1 {
  font-size: clamp(1.5rem, 3.75vw, 3rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: left;
}

/* About page hero text - consistent styling across all screen sizes */
#about .hero-text-overlay {
  max-width: clamp(300px, 40vw, 500px);
  padding: clamp(1.5rem, 3vw, 2rem);
}

#about .hero-text-overlay h1 {
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

/* Journal pages hero text - same size as photography page */
#journal .hero-text-overlay h1,
#blog .hero-text-overlay h1 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  line-height: 1.6;
}

/* Blog post meta - small text above headline */
.blog-post-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-post-meta span:nth-child(2) {
  margin: 0 0.5rem;
  opacity: 0.6;
}

/* Blog post main titles - bigger text */
.blog-post-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 2rem 0;
  text-align: left;
}

/* Journal pages - more space at top */
.journal-container {
  padding-top: 8rem !important;
}

.blog-post-container {
  padding-top: 10rem !important;
}

/* Photo Grid - Default 3 columns for photography */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  max-width: 100%;
  margin: 0;
  background: #1a1a1a;
}

/* Ensure photo-grid container has proper spacing when used directly */
body > .films-grid-container > .photo-grid {
  padding-top: 0;
}

/* Index Page Grid - 2 columns */
.index-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding: 0;
  max-width: 100%;
  margin: 0;
  background: #1a1a1a;
}

/* Play button overlay for index page grid only */
.index-photo-grid .photo-item {
  position: relative;
}

.index-photo-grid .photo-item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 20px solid rgba(255, 255, 255, 0.9);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.index-photo-grid .photo-item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Films Grid Container */
.films-grid-container {
  padding-top: 5rem;
  background: #1a1a1a;
  min-height: calc(100vh - 5rem);
}

.photo-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
}

/* Stills page photos - 3:2 aspect ratio */
.photo-grid .photo-item {
  aspect-ratio: 3/2;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Films Page Layout */
.main-container {
  padding-top: 6rem;
  background: #1a1a1a;
  min-height: 100vh;
}

.content-section {
  padding: 2rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 2rem;
}

/* About Section */
.about-section {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #fff;
}

.about-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 2rem;
}

/* Photography Section */
.photography-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.photography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.photography-placeholder {
  background: #f8f8f8;
  border-radius: 15px;
  padding: 3rem 2rem;
  color: #999;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}

.photography-placeholder:hover {
  background: #f0f0f0;
}

/* Journal Gallery */
.journal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.journal-item {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.journal-item:hover {
  transform: translateY(-5px);
}

.journal-gallery-item {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.journal-caption {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1rem;
  color: #000;
}

.journal-link {
  text-decoration: none;
  color: inherit;
}

/* Espen Gallery */
.espen-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.espen-gallery-item {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.espen-gallery-item:hover {
  transform: scale(1.05);
}

/* Contact Section */
.contact-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid #eee;
}

.contact-section h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000;
}

.modern-contact-button {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 1rem 0;
}

.modern-contact-button:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer Social */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #f0f0f0;
  color: #333;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-link:hover {
  background: #000;
  color: #fff;
  transform: translateY(-3px);
}

/* Minimal Footer */
.minimal-footer {
  background: #1a1a1a;
  padding: 4rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-name {
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  margin: 0;
  letter-spacing: 0.5px;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  letter-spacing: 0.5px;
}

.footer-location {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  letter-spacing: 0.5px;
}

.footer-contact {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 1;
  color: #fff;
}

/* Footer */
.footer {
  background: #f8f8f8;
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: #666;
  font-size: 0.9rem;
}

.privacy-link {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: #000;
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  cursor: pointer;
}

#lightbox img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal {
  position: absolute;
  top: 8rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2001;
  transition: background 0.3s ease;
  backdrop-filter: blur(10px);
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.3);
}

#videoPlayer {
  width: 90%;
  height: 90vh;
  border: none;
  border-radius: 10px;
}

#videoDescription {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  backdrop-filter: blur(10px);
}

/* Journal Styles */
.journal-hero-section {
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for mobile */
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.journal-hero-layout {
  display: flex;
  height: 100%;
  width: 100%;
}

.journal-hero-main {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.journal-hero-main::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  z-index: 2;
  pointer-events: none;
}

.journal-hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-hero-text-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  text-align: left;
  z-index: 10;
  backdrop-filter: blur(40px) saturate(200%) brightness(110%);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(110%);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 2rem;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
  transform-style: preserve-3d;
}

.journal-hero-text-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 75%,
    transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}

.journal-hero-text-overlay h1 {
  font-size: clamp(1.5rem, 3.75vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
  text-align: left;
}

.journal-hero-text-overlay p {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: #fff;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

/* Journal Main Post */
.journal-main-post {
  background: #1a1a1a;
  padding: 4rem 2rem;
}

.journal-main-content {
  max-width: 800px;
  margin: 0 auto;
}

.journal-main-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  color: #888;
}

.journal-main-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 2rem 0;
  line-height: 1.2;
}

.journal-main-text {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ddd;
}

.journal-main-text p {
  margin: 0 0 1.5rem 0;
}

.journal-main-text p:last-child {
  margin-bottom: 0;
}

.journal-main-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 2rem 0 1rem 0;
  line-height: 1.3;
}

.journal-main-text .espen-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 3rem 0;
}

.journal-main-text .espen-gallery-item {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.journal-main-text .espen-gallery-item:hover {
  transform: scale(1.02);
}


.journal-container {
  padding: 4rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
  background: #1a1a1a;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 100%;
}

.journal-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.journal-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.journal-card:hover {
  transform: translateY(-5px);
}

.journal-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.journal-content {
  padding: 1.5rem;
}

.journal-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.journal-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.journal-excerpt {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.journal-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.journal-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* About Page Styles */
.about-hero-section {
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for mobile */
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

.about-hero-layout {
  display: flex;
  height: 100%;
  width: 100%;
}

.about-hero-main {
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.about-hero-main::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  z-index: 2;
  pointer-events: none;
}

#about .hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  object-position: 75% center;
}

/* Responsive object positioning for About hero image - always keep right side (where Espen is) in focus */
@media (max-width: 1200px) {
  #about .hero-main-image {
    object-position: 80% center;
  }
}

@media (max-width: 768px) {
  #about .hero-main-image {
    object-position: 85% center;
  }
}

@media (max-width: 600px) {
  #about .hero-main-image {
    object-position: 90% center;
  }
}

@media (max-width: 480px) {
  #about .hero-main-image {
    object-position: 95% center;
  }
}

.about-hero-text-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  text-align: left;
  z-index: 10;
  backdrop-filter: blur(40px) saturate(200%) brightness(110%);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(110%);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 2rem;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
  transform-style: preserve-3d;
}

.about-hero-text-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 75%,
    transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}


.about-hero-text-overlay p {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: #fff;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  text-align: left;
}

.about-hero-text-overlay p:last-child {
  margin-bottom: 1.5rem;
}

.about-hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.about-connect-button {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a1a !important;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.about-connect-button:hover {
  background: rgba(255, 255, 255, 1);
  color: #1a1a1a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}


.about-social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #1a1a1a !important;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.about-social-button:hover {
  background: rgba(255, 255, 255, 1);
  color: #1a1a1a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.about-social-button i {
  font-size: 1.2rem;
  color: #1a1a1a !important;
  text-shadow: none;
}

.about-link {
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.about-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* About Images Grid */
.about-images-container {
  padding: 0;
  background: #1a1a1a;
}

.about-images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 100%;
  margin: 0;
}

.about-image-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/2;
}

.about-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Photography Hero Section */
.photography-hero-section {
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for mobile */
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.photography-hero-layout {
  display: flex;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for mobile */
}

.photography-hero-main {
  flex: 1;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for mobile */
  position: relative;
  overflow: hidden;
}

.photography-hero-main::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
  z-index: 5;
}

.photography-hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photography-hero-text-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  text-align: left;
  z-index: 10;
  backdrop-filter: blur(40px) saturate(200%) brightness(110%);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(110%);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 2rem;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
  transform-style: preserve-3d;
}

.photography-hero-text-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 75%,
    transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}

.photography-hero-text-overlay h1,
.photography-hero-title {
  font-size: clamp(1.5rem, 3.75vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
  text-align: left;
}

.photography-hero-text-overlay p,
.photography-hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: #fff;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

.about-contact-section {
  padding: 4rem 2rem;
  background: #1a1a1a;
}

.about-contact {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.about-contact h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2rem;
}

.contact-button {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-link i {
  font-size: 1.2rem;
}

/* Blog Post Styles */
.blog-hero-section {
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for mobile */
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.blog-hero-layout {
  display: flex;
  height: 100%;
}

.blog-hero-main {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.blog-hero-main::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  z-index: 2;
  pointer-events: none;
}

.blog-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-hero-text-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  text-align: left;
  z-index: 10;
  backdrop-filter: blur(40px) saturate(200%) brightness(110%);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(110%);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 2rem;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

.blog-hero-text-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 75%,
    transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}

.blog-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.blog-hero-text-overlay h1 {
  font-size: clamp(1.5rem, 3.75vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
  text-align: left;
}

.blog-hero-text-overlay p {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: #fff;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

.blog-hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.blog-read-button {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.blog-read-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.blog-back-button {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.75rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-back-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.blog-post-container {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  background: #1a1a1a;
  min-height: 100vh;
}

.blog-back-container {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2rem;
}

.blog-back-button {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.blog-back-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.blog-back-button:hover::before {
  transform: scale(1);
}

.blog-back-button span {
  position: relative;
  z-index: 1;
}

.blog-back-button:hover {
  color: #fff;
}


.blog-post-content {
  margin-bottom: 4rem;
}

.blog-post-content p {
  margin-bottom: 2rem;
}

.blog-post-content h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  margin: 4rem 0 2rem 0;
  line-height: 1.3;
}

.blog-post-content h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin: 3.5rem 0 1.5rem 0;
  line-height: 1.3;
}


.blog-post-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 1.4rem;
}

.blog-post-text p {
  margin-bottom: 2rem;
}

.blog-post-text h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  margin: 4rem 0 2rem 0;
  line-height: 1.3;
}

.blog-post-text h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin: 3.5rem 0 1.5rem 0;
  line-height: 1.3;
}

.blog-post-text ul {
  margin: 2rem 0;
  padding-left: 1.5rem;
}

.blog-post-text li {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.blog-post-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.blog-navigation {
  flex: 1;
}

.back-to-journal {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-journal:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}


.blog-share {
  flex: 1;
  text-align: right;
}

.blog-share h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.share-buttons {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
}

.share-button {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Animations */
@keyframes shimmer {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .journal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

/* iPad and Tablet specific fixes */
@media (max-width: 1024px) and (min-width: 768px) {
  .about-connect-button {
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  
  .about-social-button {
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  
  .about-social-button i {
    color: #1a1a1a !important;
  }
}

/* All mobile phones - perfect fit */
@media (max-width: 600px) {
  /* Remove any default margins that could cause gaps */
  body {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Ensure photography page has no spacing issues */
  .photography-hero-section + .films-grid-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  /* Shorter hero sections on mobile to show more content */
  .hero-section,
  .journal-hero-section,
  .blog-hero-section {
    height: 100vw;
    min-height: 100vw;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Photography page - same as index page for consistent sizing */
  .photography-hero-section {
    height: 100vw;
    min-height: 100vw;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* About page - full screen height for proper image display */
  #about.hero-section {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
  }
  
  /* Update hero layout heights to match shorter hero sections */
  .hero-layout,
  .journal-hero-layout,
  .blog-hero-layout {
    height: 100vw;
  }
  
  /* Photography layout - same as index page */
  .photography-hero-layout {
    height: 100vw;
  }
  
  /* About page layout - full screen height */
  #about .hero-layout {
    height: 100vh !important;
    height: 100dvh !important;
  }
  
  .hero-main,
  .journal-hero-main,
  .blog-hero-main {
    height: 100vw;
    position: relative !important;
  }
  
  /* About main - full screen height for proper image display */
  #about .hero-main {
    height: 100vh !important;
    height: 100dvh !important;
    position: relative !important;
  }
  
  /* Photography main - same as index page for consistent sizing */
  .photography-hero-main {
    height: 100vw;
    position: relative !important;
  }
  
  /* Mobile Photo Grid - Clean Grid Implementation */
  .photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    left: 0;
  }
  
  /* Hide last photo on mobile to maintain even number in 2-column layout */
  .photo-item-last {
    display: none;
  }

  .index-photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .films-grid-container {
    padding-top: 4rem;
    margin: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    left: 0;
  }

  .photo-item {
    width: 100%;
    aspect-ratio: 16/9;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
  }
  
  /* Stills page photos - 3:2 aspect ratio on mobile */
  .photo-grid .photo-item {
    aspect-ratio: 3/2;
  }
  
  .photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
  }
  
  /* Photography page specific - remove gap between hero and grid */
  .photography-hero-section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  .photography-hero-layout {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  .photography-hero-main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  .photography-hero-section + .films-grid-container {
    margin-top: 0;
    padding-top: 0;
  }
  
  /* Photography hero text overlay - positioned for 75% height */
  .photography-hero-text-overlay {
    position: absolute;
    bottom: 4rem;
    left: 1rem;
    text-align: left;
    padding: 1.5rem;
    max-width: 400px;
    backdrop-filter: blur(40px) saturate(200%) brightness(110%);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(110%);
    background: linear-gradient(135deg, 
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 
      0 30px 60px rgba(0, 0, 0, 0.2),
      0 8px 16px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    z-index: 10;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .photography-hero-text-overlay p {
    font-size: clamp(1rem, 4vw, 1.4rem);
    text-align: left;
    line-height: 1.6;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .films-grid-container {
    margin: 0 !important;
    padding: 4rem 0 0 0 !important;
    width: 100%;
  }
  
  /* Ensure specific divs have no margins on mobile - exclude blog content */
  .hero-section div,
  .photography-hero-section div,
  .about-hero-section div,
  .journal-hero-section div,
  .photo-grid div,
  .films-grid-container div {
    margin: 0 !important;
  }
}


@media (max-width: 768px) {
  .nav-container {
    padding: 1rem 1.5rem;
  }
  
  .nav-content {
    gap: 1rem;
  }
  
  .nav-logo {
    font-size: 0.9rem;
  }
  
  .nav-director {
    display: none;
  }
  
  .nav-toggle {
    display: block;
    cursor: pointer;
    padding: 0;
    background: transparent;
    border: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .minimal-footer {
    padding: 3rem 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .hero-layout {
    flex-direction: column;
  }
  
  .hero-main {
    flex: 1;
  }
  
  
  .hero-text-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    text-align: left;
    padding: 2rem;
    max-width: 500px;
    border-radius: 25px;
  }
  
  .hero-text-overlay h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    text-align: left;
    line-height: 1.2;
  }
  
  
  #about .hero-main {
    flex: 1;
    height: 100vh !important;
    height: 100dvh !important;
    position: relative;
    overflow: hidden;
  }
  
  .about-hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }
  
  .journal-hero-main {
    flex: 1;
    height: 75vh;
    height: 75dvh;
    position: relative;
    overflow: hidden;
  }
  
  .journal-hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .journal-hero-text-overlay {
    position: absolute;
    bottom: 4rem;
    left: 1rem;
    text-align: left;
    padding: 1.5rem;
    max-width: 400px;
    backdrop-filter: blur(40px) saturate(200%) brightness(110%);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(110%);
    background: linear-gradient(135deg, 
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 
      0 30px 60px rgba(0, 0, 0, 0.2),
      0 8px 16px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    z-index: 10;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .journal-hero-text-overlay h1 {
    font-size: clamp(1.5rem, 3.75vw, 3rem);
    text-align: left;
    line-height: 1.2;
  }
  
  .journal-hero-text-overlay p {
    font-size: clamp(1rem, 4vw, 1.4rem);
    text-align: left;
    line-height: 1.6;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .about-hero-text-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    text-align: left;
    padding: 2rem;
    max-width: 500px;
    border-radius: 25px;
  }
  
  .about-hero-text-overlay p {
    font-size: clamp(1rem, 4vw, 1.4rem);
    text-align: left;
    margin-bottom: 1rem;
    color: #fff;
  }
  
  .about-hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .about-connect-button {
    font-size: clamp(0.8rem, 3vw, 1rem);
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a !important;
  }
  
  .about-social-button {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a !important;
  }
  
  .about-social-button i {
    font-size: 1rem;
    color: #1a1a1a !important;
  }
  
  .photography-hero-text-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    text-align: left;
    padding: 1.5rem;
    max-width: 400px;
  }
  
  .photography-hero-text-overlay h1,
  .photography-hero-title {
    font-size: clamp(1.5rem, 3.75vw, 3rem);
    text-align: left;
  }
  
  .photography-hero-text-overlay p,
  .photography-hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.4rem);
    text-align: left;
  }
  
  .blog-hero-main {
    flex: 1;
    height: 75vh;
    height: 75dvh;
    position: relative;
    overflow: hidden;
  }
  
  .blog-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .blog-hero-text-overlay {
    position: absolute;
    bottom: 4rem;
    left: 1rem;
    text-align: left;
    padding: 1.5rem;
    max-width: 400px;
    backdrop-filter: blur(40px) saturate(200%) brightness(110%);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(110%);
    background: linear-gradient(135deg, 
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 
      0 30px 60px rgba(0, 0, 0, 0.2),
      0 8px 16px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    z-index: 10;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .blog-hero-text-overlay h1 {
    font-size: clamp(1.5rem, 3.75vw, 3rem);
    text-align: left;
    line-height: 1.2;
  }
  
  .blog-hero-text-overlay p {
    font-size: clamp(1rem, 4vw, 1.4rem);
    text-align: left;
    line-height: 1.6;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .blog-hero-text-overlay h1 {
    font-size: clamp(1.5rem, 3.75vw, 3rem);
    text-align: left;
    line-height: 1.2;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Blog hero image - image itself is the square container */
  .blog-hero-image {
    width: 100vw !important;
    height: 100vw !important;
    object-fit: cover !important;
    object-position: top !important;
    position: relative !important;
  }

  
  .blog-hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .blog-post-container {
    padding: 6rem 1rem 2rem;
  }
  
  .blog-post-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  .blog-post-content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem 0;
  }
  
  .blog-post-content h3 {
    font-size: 1.7rem;
    margin: 2.5rem 0 1rem 0;
  }
  
  .espen-gallery {
    margin: 2rem 0;
  }
  
  .blog-back-container {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  .blog-back-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .blog-post-footer {
    flex-direction: column;
    gap: 2rem;
  }
  
  .blog-share {
    text-align: left;
  }
  
  .share-buttons {
    justify-content: flex-start;
  }
  
  .about-hero-buttons {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
  }
  
  .about-connect-button {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    padding: 0.75rem 1.5rem;
  }
  
  .about-social-button {
    width: 40px;
    height: 40px;
  }
  
  .about-social-button i {
    font-size: 1.2rem;
  }
  
  .about-images-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .about-images-container {
    padding: 0;
  }
  
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
    gap: 0;
  }
  
  .films-grid-container {
    padding-top: 4rem;
  }

  .main-container {
    padding-top: 5rem;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .about-section,
  .photography-section {
    padding: 2rem 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .espen-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  /* Ensure blog post galleries work consistently on mobile */
  .blog-post-content .espen-gallery {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem;
  }
  
  .journal-gallery {
    grid-template-columns: 1fr;
  }
  
  .photography-grid {
    grid-template-columns: 1fr;
  }
  
  .journal-main-post {
    padding: 2rem 1rem;
  }
  
  .journal-main-title {
    font-size: 2rem;
  }
  
  .journal-main-text {
    font-size: 1rem;
  }
  
  .journal-main-text h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.75rem 0;
  }
  
  .journal-main-text .espen-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 1.5rem 0;
  }
  
  .journal-main-text .espen-gallery-item {
    aspect-ratio: 16/9;
  }
  
  .journal-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
}

@media (max-width: 600px) {
  .hero-text-overlay h1 {
    font-size: 1.5rem;
  }
  
  
  .about-content h2 {
    font-size: 2rem;
  }
  
  .photo-grid {
    padding: 0;
  }
  
  .journal-container {
    padding: 2rem 1rem;
  }
  
  .journal-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .journal-card {
    width: 100%;
    max-width: 100%;
  }
  
  .journal-image {
    height: 200px;
    width: 100%;
  }
  
  #videoPlayer {
    width: 95%;
    height: 70vh;
  }
  
  .close-modal {
    top: 6rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  #videoDescription {
    bottom: 1rem;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Force About page to always use full screen height on all devices */
#about.hero-section {
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
}

#about .hero-layout {
  height: 100vh !important;
  height: 100dvh !important;
}

#about .hero-main {
  height: 100vh !important;
  height: 100dvh !important;
}