/* General Styles */
nav img {
    width: 100%;  /* Ensures the navigation image spans the full width */
    height: auto;
    display: block;
}
.lightbox .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 48px;
  text-decoration: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transition: background 0.3s;
}

.lightbox .nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox .nav.prev {
  left: 20px;
}

.lightbox .nav.next {
  right: 20px;
}
/* Base lightbox behavior */
.lightbox {
  position: fixed;          /* sit on top of the page */
  inset: 0;                 /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0, 0, 0, 0.9);
  display: none;            /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

/* Show the lightbox when its id is targeted (#lightbox3, etc.) */
.lightbox:target {
  display: flex;
}


/* Skip Link - Visible on Focus for Keyboard Users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 10px;
    background: #ffd700;
    color: #111;
    padding: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 10px;
}

/* Body Styling */
.brief-description {
    max-width: 62%; /* Limits width for better readability */
    margin: 20px auto; /* Centers the paragraph with spacing */
    padding: 20px; /* Adds space inside the element */
    background: rgba(255, 255, 255, 0.1); /* Optional: Slight background to make it stand out */
    border-radius: 10px; /* Optional: Adds rounded corners */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #111, #333);
    color: #fff;
    font-size: 18px; /* Improved readability */
    line-height: 1.6;
}


/* Header */
header {
    background: linear-gradient(to right, #222, #444);
    padding: 10px;
    text-align: center;
}
header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: bold;
}

/* Navigation */
header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}
header nav ul li {
    display: inline;
    margin: 0 15px;
}
header nav ul li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease-in-out;
    padding: 5px;
}
header nav ul li a:hover,
header nav ul li a:focus {
    color: #ffd700;
    outline: 2px solid #ffd700; /* Improves keyboard focus visibility */
}

/* Portfolio Grid */
.portfolio-item {
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px;
    max-width: 1200px;
    margin: auto;
}
.portfolio-item {
    background: #222;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;

}
.portfolio-item:hover,
.portfolio-item:focus {
    transform: scale(1.05);
    box-shadow: rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.1); /* New background when hovering */
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
.portfolio-item:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #dimgrey; /* Adjust the color */
    z-index: -1;
    border-radius: 10px;
}
.portfolio-item img {
  width: 100%;
  height: 200px;       /* Or whatever height you prefer */
  object-fit: cover;   /* This will crop the image to fit the box */
  border-radius: 10px;
}
/*Portrait*/
.portrait-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 40px auto;
    text-align: center;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.25);
}

.portrait-container img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4; /* ensures consistent portrait ratio */
    object-fit: cover;
    object-position: center left; /* keeps dog as the focus */
    border-radius: 20px;
    border: 3px solid #ffcc00;
}

/* Typography */

h1.passion-one-bold {
    font-family: 'Passion One', sans-serif;
    font-weight: bold;
    font-size: 65px;
    text-align: center;
     width: 100%; /* Ensures they take the full width */
    margin: 20px auto; /* Centers them properly */
}
h1{color:#ffd700 }

h2.passion-one-regular {
    font-family: 'Passion One', sans-serif;
    font-weight: normal;
     text-align: center;
     width: 100%; /* Ensures they take the full width */
    margin: 20px auto; /* Centers them properly */
}

/* Contact Section */
#contact {
    text-align: center;
    padding: 40px;
    background: linear-gradient(to right, #333, #555);
}
#contact form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
}
#contact input, #contact textarea {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: none;
    width: 100%;
    font-size: 16px;
}
#contact button {
    background: #ffd700;
    color: #111;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    font-size: 18px;
}
#contact button:hover,
#contact button:focus {
    background: #ffcc00;
    outline: 2px solid #ffd700;
}

/* Adjust Header Image */
header img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: auto;
}

/* Homepage Section */
#home {
    text-align: center;
    padding: 50px 20px;
}
#home .portrait {
    width: 200px;
    height: auto;
    margin: 0 auto;
}
#home .description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
}


/* Tagline */
.tagline {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
    text-align: center;
    margin-top: 10px;
    font-family: 'Arial', sans-serif;
}

/* Footer Readability Fix */

footer {
    text-align: right;
    padding: 15px 0;
    background: #222; /* Match the other pages */
    color: ddd;
    width: 100%; /* Ensure it stretches full width */
    position: relative;
    bottom: 0;
    font-size: 1rem;

}


footer a {
    color: #ddd; /* Gold text for better visibility */
}

footer a:hover {
    color: #ffcc00; /* Slight hover effect */
}/* Lightbox Styles */


.next, .prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    text-decoration: none;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.next {
    right: 20px; /* Position "Next" button to the right */
}

.prev {
    left: 20px; /* Position "Previous" button to the left */
}

.next:hover, .prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@keyframes zoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.photo-break {
  border: none;
  height: 2px;
  background: #ccc;
  margin: 40px 0;
}

.photo-section-title {
  font-size: 1.5em;
  margin: 40px 0 20px;
  color: #444;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  color: #ffcc00;
  text-align: center;
}
.section-break {
  grid-column: 1 / -1;
  font-size: 2rem;
  margin: 50px 0 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #ffd700;
  color: #ffd700;
  font-family: 'Passion One', sans-serif;
  text-align: center;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.6);
}
.respon-image {
    width: 75vw;               /* Adjust the width to 80% of the viewport */
    height: auto;              /* Maintain aspect ratio */
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: none;
}

/* Resume Section */
.resume-section {
  text-align: center;
  padding: 40px;
}

.resume-download {
  display: inline-block;
  background: #ffd700;
  color: #111;
  padding: 15px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.resume-download:hover {
  background: #ffcc00;
}

.resume-preview {
  margin-top: 40px;
}


