/* Variables for Reusability */
:root {
    --primary-bg-color: rgba(0, 0, 0, 0.8);
    --accent-color: #80caff;
    --hover-color: #ff7eb3;
    --gradient-header: linear-gradient(to right, #ff7eb3, #ffcc80, #ffe083, #b5e48c, #80caff, #bda0ff);
    --box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
    --font-primary: Arial, sans-serif;
    --font-size-default: 1rem;
    --line-height: 1.6;
}

/* Global Styles */
html, body {
	height: 100%;
    background-image: url('images/lens_background_optimized.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    margin: 0;
    padding: 0;
    color: #ff7eb3;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
	display: flex;
	flex-direction: column;
}


/* Global Styles */
body {
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
	color: #ffe083; /* Golden yellow for general text */
}

/* Home Page Styles */
body.home-page {
    color: #58DC80; /* Light green for text */
}

body.home-page a {
    color: #ff7eb3; /* Light pink for links */
}

body.home-page a:hover {
    color: #ffe083; /* Golden yellow for hover effect */
}

/* About Page Styles */
body.about-page {
    color: #ff7eb3; /* Light pink for text */
}

body.about-page a {
    color: #ff7eb3; /* Light pink for links */
}

body.about-page a:hover {
    color: #ffe083; /* Golden yellow for hover effect */
}

/* Touchup Page Styles */


body.touchup-page a {
    color: #ff7eb3; /* Light pink for links */
}

body.touchup-page a:hover {
    color:  #ffe083; /* Golden yellow for hover effect */
}

/* Chat Page Styles */
body.chat-page {
    color: #58DC80; /* Light green for text */
}

body.chat-page a {
    color: #ff7eb3; /* Light pink for links */
}

body.chat-page a:hover {
    color:  #ffe083; /* Golden yellow for hover effect */
}

/* Gallery Page Styles */
body.gallery-page {
    color: #80caff; /* Light blue for text */
}

body.gallery-page a {
    color: #ff7eb3; /* Light pink for links */
}

body.gallery-page a:hover {
    color:  #ffe083; /* Golden yellow for hover effect */
}

/* Contact Page Styles */
body.contact-page {
    color: #ff7eb3; /* Light pink  for better readability */
}

body.contact-page a {
    color: #ff7eb3; /* Light pink for links */
}

body.contact-page a:hover {
    color:  #ffe083; /* Golden yellow for hover effect */
}

/* Checkout Page Styles */
body.checkout-page {
    color: #ff7eb3; /* Light pink for better readability */
}

body.checkout-page a {
    color: #ff7eb3; /* Light pink for links */
}

body.checkout-page a:hover {
    color:  #ffe083; /* Golden yellow for hover effect */
}

/* Cart Page Styles */
body.cart-page {
    color: #80caff; /* Light blue for better readability */
}

body.cart-page a {
    color: #ff7eb3; /* Light pink for links */
}

body.cart-page a:hover {
    color:  #ffe083; /* Golden yellow for hover effect */
}

/* Services Page Styles */
body.services-page {
    color: #80caff; /* Light blue for better readability */
}

body.services-page a {
    color: #ff7eb3; /* Light pink for links */
}

body.services-page a:hover {
    color: #ffe083; /* Golden yellow for hover effect */
}

/* Confirmation Page Styles */
body.confirmation-page {
    color: #80caff; /* Light blue for better readability */
}

body.confirmation-page a {
    color: #ff7eb3; /* Light pink for links */
}

body.confirmation-page a:hover {
    color: #ffe083; /* Golden yellow for hover effect */
}

/* Global Heading Styles */
h2 {
    color: #58DC80; /* Light green for headings */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8); /* Subtle shadow for better visibility */
    font-family: Arial, sans-serif; /* Ensure font consistency */
	font-size: 2rem; /* Adjusted size for h2 headings */
}
h3 {
    color: #ffe083; /* Light golden color for headings */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8); /* Subtle shadow for better visibility */
    font-family: Arial, sans-serif; /* Ensure font consistency */
    font-size: 1.5rem; /* Adjusted size for h3 headings */
}

/* Global Paragraph Styles */
p {
    font-size: 1.2rem; /* Larger size for better readability */
    line-height: 1.8; /* Adjusted line height for readability */
    color: #ffe083; /* Golden yellow Ensure text remains visible against dark backgrounds */
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Styling for Photo Areas */
.photo-page {
    display: flex;
    flex-direction: column; /* Default layout for this page */
}

.photo-page .photo-area {
	display: flex; /* Arrange photos in a row */
    justify-content: center; /* Center-align the photos */
    gap: 20px; /* Space between photos */
	padding: 20px; /* Optional internal spacing */
    margin: 20px; /* Spacing between areas */
    background: rgba(0, 0, 0, 0.1); /* Optional for visibility */
    overflow-x: auto; /* Enable horizontal scrolling if needed */
    border: none; /* Optional border for each area */
	white-space: nowrap; /* Prevent photos from wrapping to the next line */
	scroll-behavior: smooth; /* Smooth scrolling */
}

.photo {
    position: relative; 
    width: 300px; /* Set consistent photo size */
    height: 300px;
	max-height: 300px; /* Limit the height to ensure uniformity */
	max-width: 300px; /* Set a reasonable maximum size for responsiveness */
	border: none; /* Remove any borders */
    margin: 0; /* Remove margins */
    padding: 0; /* Remove padding */
    border-radius: 8px; /* Optional rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add depth */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

/* Hover effect to highlight a photo */
.photo:hover {
    transform: scale(1.05) rotate(0deg); /* Slightly enlarge and straighten */
    z-index: 10; /* Bring hovered photo to the front */
}

/* Stack Photos Vertically on Small Screens */
@media screen and (max-width: 768px) {
    .photo-area {
        flex-direction: column; /* Stack vertically */
        align-items: center; /* Center each photo */
	
    }

    .photo {
        max-width: 90%; /* Make photos responsive */
        margin-bottom: 20px; /* Add space between photos */
    }
	
	.photo-gallery {
        grid-template-columns: 1fr; /* Single column for small screens */
    }
	
}

figure {
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
  display: inline-block; /* Prevent block behavior */
  text-align: center; /* Align caption text to center */
  border: none; /* Remove any borders */
  background: transparent; /* No background color */
}

figcaption {
  margin-top: 5px; /* Add space between the image and caption */
  font-size: 0.9rem; /* Adjust font size for captions */
  color: #ff7eb3; /* Light pink color for captions */
  background: none; /* Ensure no background color */
  border: none; /* Ensure no borders */
  padding: 0; /* No padding for the text */
  text-shadow: none; /* Remove text shadow if any */
  display: block; /* Keep inline text behavior */
}


/* Headers */
header {
    background: var(--gradient-header);
    color: #c580ff; /* light purple */
    padding: 10px 20px;
    text-align: center;
    font-size: 2em;
    box-shadow: var(--box-shadow);
}

/* Navigation Bar */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background:#80caff; /* Light blue */
    box-shadow: var(--box-shadow);
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 5px;
}

.nav-link {
    color: #ff7eb3; /* Light pink for links */
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, color 0.3s ease;
    display: block;
    text-align: center;
}

.nav-link:hover {
    background-color: var(--hover-color);
    color: #ffe083;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), var(--primary-bg-color));
    background-blend-mode: overlay;
    color: #58DC80; /* Light green */
    padding: 60px 20px;
    text-align: center;
    border-bottom: 5px solid #b5e48c;
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero h2 {
    font-size: 2.5em;
    font-weight: bold;
    color: #58DC80; /* Light green*/
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1.0);
    line-height: var(--line-height);
}

.hero p {
    font-size: 1.5em;
    color: #ffe083; /* Golden yellow */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.hero button,
.cta-button,
.checkout-button,
.contact-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-text-color);
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover effect */
    margin: 10px;
	text-align: center; /* Center-align text */
}

.hero button:hover,
.cta-button:hover,
.checkout-button:hover,
.contact-button:hover {
    background-color: var(--hover-color);
    transform: scale(1.1); 
    box-shadow: var(--box-shadow);
}

/* About Section Background Overlay */
.about-section > div {
    background: rgba(0, 0, 0, 0.1); /* Dark semi-transparent overlay */
    color: #80caff; /* Ensure text color is readable */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add depth to the section */
    margin: 20px;
}

/* Headings */
.about-section h2, .about-section h3, .checkout-section h2, .contact-section h2, .contact-section h3, .cart-section h2, .confirmation-section h2, .chat-section h2, .support-hours h2, .chat h3, .services-section h2, .service-item h3, .gallery-selection h2 {
    color: #58DC80; /* Light green color for headings */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8); /* Emphasize headings */
}

/* Lists */
.about-section > div ol {
    margin: 10px 0;
    padding-left: 20px;
    color: #ffe083; /* Golden yellow */
}

/* Gallery */
.gallery-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(200px, 300px));
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 20px;
	flex-wrap: wrap;
}

.gallery-grid img {
    width: 200%;
    max-width: 350px;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for a polished look */
}

#photo1 {
  width: 350px; /* Custom size for photo 1 */
  height: 300px;
}

#photo2 {
  width: 350px; /* Custom size for photo 2 */
  height: 400px;
}

#photo3 {
  width: 350px; /* Custom size for photo 3 */
  height: 400px;
}

#photo4 {
  width: 350px; /* Custom size for photo 4 */
  height: 300px;
}

#photo5 {
  width: 350px; /* Custom size for photo 5 */
  height: 300px;
}

.gallery-grid img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the wrapper takes the full height */
}

main {
    flex: 1; /* Allow the main content to grow and push the footer down */
	padding: 20px; /* Optional spacing for content */
}

footer {
    background: var(--primary-bg-color); /* Reuse background variable */
	color: #ffe083; /* Golden yellow */
    padding: 1em 0;
    font-size: 0.9em;
    text-align: center;
    margin-top: auto; /* Critical for sticky footer */
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1); /* Optional design */
}
	
footer a {
    color: #ff7eb3; 
    text-decoration: none;
    font-weight: bold;
	font-size: 0.9em;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ff7eb3; /* Accent color on hover */
	text-decoration: underline;
}

footer p {
    margin: 0;
    font-size: 0.9em;
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;/* Consistent spacing between items */
}

/* Responsive Media Query */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column; /* Stack items vertically */
        padding: 0;
    }

    .hero {
        font-size: 1.2rem; /* Adjust text size */
    }

    .photo-thumbnails {
        grid-template-columns: 1fr; /* Single column layout */
        padding: 10px;
    }

    .contact-button, .checkout-button {
        width: 90%; /* Full width buttons */
        font-size: 1rem;
    }
}


/* Responsive Design */	
@media screen and (max-width: 768px) {
    footer {
        padding: 0.8em 0;
        font-size: 0.8em;
	}	

    .touch-up-section {
        padding: 20px;
    }

    .cta-button {
        width: 90%;
        margin: 10px auto;
    }

    textarea,
    input[type="file"] {
        width: 90%;
        margin: 10px auto;
    }

    img,
    canvas {
        border: none;
    margin: 0;
    padding: 0;
    display: block; /* Prevents inline spacing issues */
	}
}