@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200&display=swap');


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

body, html {
	font-family: "Oswald", sans-serif;
	color: white;
	height: 100%;
	background-color: #F5F5F7;
}


/* index.html */
/* Hero section */
.hero {
  background: url("../images/Art350_JOrnelas-4573.jpg") center center/cover no-repeat;
  height: 100vh;
  position: relative;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.3);
  height: 100%;
  width: 100%;
  padding: 20px;
}

/* Navbar */
/*.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}*/

.navbar {
  display: flex;
  justify-content: space-between; /* ensures logo left, hamburger right */
  align-items: center;
  padding: 20px 40px;
  width: 100%;
}

.navbar {
  display: flex;
  justify-content: space-between; /* ensures logo left, hamburger right */
  align-items: center;
  padding: 20px 40px;
  width: 100%;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.logo a {
  text-decoration: none;
  color: inherit;
  font: inherit;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
	color: #f0c040;
	text-decoration: underline;
}

.nav-links a.active {
	color: #f0c040;
}

/* Hamburger menu button */
/* Base hamburger container */
.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  margin-left: auto;
  position: relative;
  z-index: 1001;
}

/* Icons inside hamburger */
.hamburger .close {
  display: none;
}

/* When menu is open */
.menu-open .hamburger {
  position: fixed;
  top: 20px;
  right: 30px;
}

/* Hide open icon when menu is open, show close icon */
.menu-open .hamburger .open {
  display: none;
}

.menu-open .hamburger .close {
  display: block;
}

/* Hero content */
.hero-content {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content h1 {
  font-size: 4rem;
	padding-bottom: 20px;
  margin: 10px;
}

.hero-content h1 a {
	color: inherit;
	text-decoration: none;
}

.hero-content h1 a:hover {
	color: #f0c040;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  background-color: #f0c040;
  color: black;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #d8a930;
}


/* main */
main {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #F5F5F7;
  text-align: center;
}

main h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

main p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.hero-image {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

/* Gallery */
.gallery {
  column-count: 3; /* Number of columns - large screens */
  column-gap: 1rem;
  padding: 2rem;
}

.gallery img {
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Header */
header {
	background-color: #212121;
	padding: 10px 10px;
}

/* Footer */
footer {
  background-color: #212121;
  padding: 5px 5px;
  text-align: center;
  color: #ccc;
}

footer p {
  font-size: 0.75rem;
	margin: 10px;
	padding: 10px;
}








/* Contact Form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #fafafa;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0077cc;
  outline: none;
  background-color: #fff;
}

.contact-form button {
  background-color: #0077cc;
  color: #fff;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #005fa3;
}


/* Portfolio Gallery Interactions */
.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: 1rem;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Darken image on hover */
.gallery-item:hover img {
  filter: brightness(65%);
  transform: scale(1.05);
}

/* Alt text on hover (bottom-right corner) */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item .alt-text {
  position: absolute;
  bottom: 10px;
  left: 10px; /* << Changed from right to left */
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  font-size: 0.8rem;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .alt-text {
  opacity: 1;
}

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

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  animation: zoomIn 0.3s ease;
}

.modal-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 8px;
  text-align: center;
  max-width: 90%;
  z-index: 1001;
}

.arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 3rem;
	color: lightgray;
	padding: 10px 15px;
	cursor: pointer;
 	/*background-color: rgba(0, 0, 0, 0.4);*/
	/*border-radius: 50%;*/
	text-shadow: 1px 1px 2px black;
	user-select: none;
	z-index: 1001;
	/*transition: background-color 0.3s;*/
}

.arrow:hover {
  /*background-color: rgba(0, 0, 0, 0.7);*/
}

.left-arrow {
  left: 20px;
}

.right-arrow {
  right: 20px;
}

.modal .close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 400px) {
  .gallery {
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
    width: 100%;
  }

  .gallery-item,
  .gallery img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  main {
    padding: 1rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  body {
    overflow-x: hidden; /* Prevents any horizontal scrolling */
  }
	

}

/* Responsive Navigation */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    flex-direction:row;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }
}


@media (max-width: 768px) {
  .gallery {
    column-count: 2;
  }
}

/* Responsive nav for small screens */
@media (max-width: 500px) {
  .gallery {
    column-count: 1;
	  padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
    width: 100%;
  }
	

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #212121;
    width: 100%;
    text-align: left; /* Align text to the left */
    padding: 20px;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

}