.read-more-button-right img { /* Targeting the image inside your button link */
    transition: transform 0.2s ease-in-out; /* Smooth transition for scale */
}

.read-more-button-right img:hover {
    transform: scale(1.05); /* Make it 5% larger on hover */
    cursor: pointer; /* Change cursor to a pointer to indicate clickability */
}

/* Optional: For a slight lift effect (instead of or in addition to scale) */
/*
.read-more-button-right img {
    transition: box-shadow 0.2s ease-in-out;
}
.read-more-button-right img:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow on hover */
    cursor: pointer;
}
*/




/* text wraping aroung left align" */
.wrapped-image {
    float: left; /* Floats the image to the left, allowing text to wrap around it */
    margin-right: 10px; /* Adds space to the right of the image */
    margin-bottom: 8px; /* Adds space below the image */
    display: block; /* <<< THIS LINE IS CRUCIAL AND NEEDS TO BE ADDED */
}

/* text wraping aroung right align */
.wrapped-image-right {
    float: right; /* Floats the image to the right, allowing text to wrap around it */
    margin-left: 16px; /* Adds space to the left of the image */
    margin-bottom: 8px; /* Adds space below the image */
    display: block; /* <<< THIS LINE IS CRUCIAL AND NEEDS TO BE ADDED */
}

/* New CSS for your button/link */
.read-more-button-right {
    float: right; /* Float the anchor tag to the right */
    margin-left: 16px; /* Adds space to the left of the button */
    margin-bottom: 8px; /* Adds space below the button */
    /* Ensure the image inside the link doesn't cause issues */
    display: block; /* Make the link behave like a block element */
    width: auto; /* Allow width to adjust to content */
}

.read-more-button-right img {
    display: block; /* Ensure the image inside the link acts like a block */
    max-width: 100%; /* Make sure image scales within the link */
    height: auto;
}




/* Optional: Clear the float after the text section if needed */
.text-section::after {
    content: "";
    display: table;
    clear: both;
}



/* Styling for responsive tables */
.table-responsive {
    overflow-x: auto; /* Enables horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    margin-bottom: 20px; /* Add some space below the table */
}

/* Optional: Basic table styling for appearance */
table {
    width: 100%; /* Make table take full width of its wrapper */
    border-collapse: collapse; /* Removes double borders */
    table-layout: auto; /* Allows content to determine column width initially */
    min-width: 320px; /* Ensure table doesn't get too narrow, adjust as needed */
}

table td, table th {
    padding: 10px;
    border: 1px solid #444; /* Match your existing border */
    text-align: left;
    vertical-align: top;
    word-wrap: break-word; /* Allows long words to break */
}

table tr:nth-child(even) {
    background-color: #3a3a3a; /* Slightly different background for alternating rows */
}


/* Basic styling for the entire page */
html, body { /* Apply background to html as well to prevent flash */
    font-family: Arial, sans-serif;
    background-color: #1a1a1a; /* Dark background color */
    color: #f0f0f0; /* Light text color for contrast */
    margin: 0;
    padding: 0; /* Changed body padding to 0, will add to container */
    line-height: 1.6;
    height: 100%; /* Ensure full height for html and body */
    width: 100%;  /* Ensure full width for html and body */
}

/* Styling for the new graphical header */
.page-header-image {
    width: 100%; /* Make the image fill the container width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below image */
    margin-bottom: 25px; /* Space below the header image */
    border-radius: 8px 8px 0 0; /* Match container border-radius top corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4); /* Add a subtle shadow */
}

/* Container for content to keep it centered and readable */
.container {
    max-width: 1040px;
    margin: 20px auto;
    background-color: #2b2b2b; /* Slightly lighter dark background for content area */
    padding: 30px; /* Padding applied here instead of body */
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
    overflow: hidden; /* Contains the header image's shadow properly */
}

/* Styling for headings (still useful for other sections) */
h1 {
    color: #8cc9f7; /* A light blue for headings to stand out */
    text-align: center;
    margin-bottom: 8px;
}

/* h2, h3 Styling for headings (still useful for other sections) */
    h2, h3 {
    color: #98bfdd; /* A light blue for headings to stand out */
    text-align: center;
    margin-bottom: 8px;
}

/* Styling for the text section */
.text-section p {
    margin-bottom: 16px;
    font-size: 1.1em;
    text-align: justify;
}

/* Styling for the image gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid for images */
    gap: 20px; /* Space between images */
    margin-top: 40px;
    justify-content: center; /* Center images if they don't fill the row */
}

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

.image-item img {
    width: 100%; /* Images fill their grid cell */
    height: 200px; /* Fixed height for consistency, images will cover/crop */
    object-fit: cover; /* Ensures images cover the area without distortion, cropping if necessary */
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease-in-out; /* Smooth hover effect */
    cursor: pointer; /* Indicate it's clickable */
}

.image-item img:hover {
    transform: scale(1.05); /* Slightly enlarge image on hover */
}

/* Specific style for description text under puppy images/gallery items */
.puppy-description {
    margin-top: 10px;
    font-size: 0.95em;
    color: #cccccc; /* A slightly lighter grey for descriptions */
}

/* Existing style for full-size-link (likely from old usage) */
.image-item .full-size-link {
    margin-top: 10px;
    color: #87CEEB;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: color 0.2s;
}

.image-item .full-size-link:hover {
    color: #ADD8E6;
    text-decoration: underline;
}

/* === NEW/UPDATED STYLE FOR "LEARN MORE" LINKS === */
.learn-more-link {
    color: #ffd700; /* A visible gold color for the link */
    text-decoration: underline; /* Keep underline to clearly show it's a link */
    font-weight: bold; /* Make it bold for emphasis */
    transition: color 0.2s ease-in-out; /* Smooth transition for hover effect */
    display: block; /* Make it a block element to take its own line */
    margin-top: 5px; /* Add some space above it */
}

.learn-more-link:hover {
    color: #ffeb80; /* Lighter gold on hover */
    text-decoration: none; /* Remove underline on hover for a cleaner look */
}
/* ============================================== */


/* Styling for navigation links */
.navigation {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444; /* Separator line */
}

.navigation a {
    color: #87CEEB;
    text-decoration: none;
    margin: 16 16px;
    font-weight: bold;
    transition: color 0.2s ease-in-out;
}

.navigation a:hover {
    color: #ADD8E6; /* Lighter blue on hover */
}

/* Footer styling */
footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    color: #aaa;
    font-size: 0.9em;
    border-top: 1px solid #333;
}

/* LIGHTBOX STYLES */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    flex-direction: column; /* Stack image and caption */
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 95%; /* Increased for potentially larger display */
    max-height: 95vh; /* Increased for potentially larger display */
    object-fit: contain; /* Ensure image fits without cropping */
    animation: zoomIn 0.3s ease;
}

.lightbox-caption {
    margin-top: 15px;
    color: #fff;
    font-size: 1.1em;
    text-align: center;
    max-width: 80%;
}

/* Close button for the lightbox */
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Navigation arrows for lightbox */
.lightbox-nav-arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.lightbox-nav-arrow.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-nav-arrow.next {
    right: 0;
    border-radius: 0 3px 3px 0;
}

.lightbox-nav-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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