html {
    scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Typography & Colors */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f0f0f0;
}

.site-footer {
  background-color: #222;  /* Dark background */
  color: #fff;             /* White text for contrast */
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #444;  /* Subtle top border */
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed;
	z-index: 1000; /* Sits on top */
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.8); /* Grey out the background */
}

/* Modal Content */
.modal-content {
	position: relative;
	margin: 5% auto;
	width: 80%;
	max-width: 800px;
}

/* Close Button */
.close {
	position: absolute;
	top: 10px;
	right: 25px;
	color: #fff;
	font-size: 35px;
	font-weight: bold;
	cursor: pointer;
}

/* Responsive video */
.modal-content video {
	width: 100%;
	height: auto;
	display: block;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.site-header {
  background: #f4f4f4;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #222;
}

.logo a {
	text-decoration: inherit;
	color: inherit;
  	transition: color 0.3s;
}
.logo a:hover {
  color: #007acc;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.site-nav a {
  text-decoration: none;
  color: #222;
  transition: color 0.3s;
}

.site-nav a:hover {
  color: #007acc;
}

/* Hero Section */
.hero {
  background: url('https://placehold.co/1200x600') center/cover no-repeat;
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  background: #007acc;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn:hover {
  background: #005fa3;
}

/* Sections */
section {
  padding: 60px 0;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

/* About */
.about p {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
  font-size: 1.1rem;
}

.imdb-logo {
  font: 2em/1 Impact, HelveticaNeue-CondensedBold, sans-serif;
  color: #000;
  text-shadow: 0 0 .15em #fff;
  text-decoration: none;

  display: inline-block;
  vertical-align: bottom;
  padding: .25em .35em;
  border-radius: .15em;
  background: radial-gradient(#ffffb8, #ce981d);
}

.imdb-logo hover {
    background: radial-gradient(lighten(#ffffb8, 10%), lighten(#ce981d, 10%));
}

/* Work / Portfolio */
.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
  
.portfolio-item {
  display: block;
  text-decoration: none !important;
  color: inherit;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s;
}

.portfolio-item a {
  display: block;
  text-decoration: none !important;
  color: inherit;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-item img {
  width: 100%;
  display: block;
}

.portfolio-item h3 {
  padding: 10px;
  font-size: 1.3rem;
  color: #222;
}

.portfolio-item p {
  padding: 0 10px 10px;
  font-size: 1rem;
  color: #555;
}

/* Contact */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button {
  border: none;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: #222;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .site-nav ul {
    flex-direction: column;
    gap: 10px;
  }
}


.gallery-modal {
  display: none; /* Remains hidden until triggered */
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.gallery-modal-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* New container wrapping the image and description */
.gallery-image-container {
  position: relative;
  display: inline-block;
}

/* Force a consistent size for the image with a white border */
.gallery-modal-content {
  width: 600px;    /* Set a fixed width */
  height: atuo;   /* Set a fixed height */
  object-fit: cover; /* Ensures the image covers the container */
  border: 30px solid #fff; /* White border around the image */
  display: block;
}


.gallery-description {
  position: absolute;
  bottom: -3px;
  left: 20px;
  color: #000;
  padding: 5px 10px;
  font-size: 1rem;
  border-radius: 3px; /* Optional: adds a subtle rounded edge */
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.gallery-prev, .gallery-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: #fff;
  font-size: 40px;
  user-select: none;
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}