/* General Setup */
:root {
    --primary-color: #0056b3; /* A professional blue */
    --text-color: #333;
    --background-light: #f4f4f4;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #004494;
    color: white;
}

.btn-primary.large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Dark overlay so text is readable over the 3D image */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
    padding: 20px;
}

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

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

/* Stats Banner */
.stats-banner {
    display: flex;
    justify-content: space-around;
    background-color: var(--primary-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
}

.stat p {
    max-width: 250px;
    margin: 0 auto;
}

/* Services Teaser */
.services-teaser {
    padding: 60px 20px;
    background-color: var(--background-light);
    text-align: center;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 400px;
}

.service-card img {
    width: 100%;
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

/* Page Headers */
.page-header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.page-header h1 {
    margin: 0 0 10px 0;
    font-size: 2.5rem;
}

/* Services Detail Page Layout */
.services-detail-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.service-detail-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
}

.service-detail-row.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-image-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-image-group img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.service-image-group img.secondary-img {
    max-height: 220px;
    object-fit: cover;
}

.styled-list {
    padding-left: 20px;
    margin-bottom: 25px;
}

.styled-list li {
    margin-bottom: 8px;
}

.divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 50px 0;
}

/* Pricing Page Styling */
.pricing-cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.pricing-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    flex: 1;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 16px rgba(0,86,179,0.15);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    font-size: 0.8rem;
    border-radius: 12px;
    font-weight: bold;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0 5px 0;
}

.price-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 25px;
}

.pricing-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Form Styling */
.quote-form-section {
    background-color: var(--background-light);
    padding: 60px 20px;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-container h2 {
    margin-top: 0;
    text-align: center;
}

.form-container p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group-double {
    display: flex;
    gap: 20px;
}

.form-group-double .form-group {
    flex: 1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.full-width {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Responsive adjust for mobile screens */
@media (max-width: 768px) {
    .service-detail-row, 
    .service-detail-row.reverse,
    .pricing-cards-container,
    .form-group-double {
        flex-direction: column;
    }
}

/* About Page Styling */
.about-bio-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.bio-image {
    flex: 1;
}

.bio-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.bio-text {
    flex: 1.5;
}

.process-section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

.section-subtitle {
    color: #666;
    margin-bottom: 40px;
}

.process-grid {
    display: flex;
    gap: 30px;
}

.process-step {
    flex: 1;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

/* Portfolio Page Styling */
.portfolio-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.portfolio-container h2 {
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
    margin-top: 50px;
    margin-bottom: 25px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.gallery-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.gallery-item .caption {
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    color: #444;
    background-color: #fafafa;
    border-top: 1px solid #eee;
}

/* Contact Page Styling */
.contact-section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.contact-grid {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.info-block {
    background: #f8f9fa;
    border-left: 3px solid var(--primary-color);
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 0 6px 6px 0;
}

.info-block h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-form-box {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

/* Mobile responsive adjustments for new pages */
@media (max-width: 768px) {
    .about-bio-container,
    .process-grid,
    .contact-grid {
        flex-direction: column;
    }

    .gallery-grid,
    .gallery-grid.three-col {
        grid-template-columns: 1fr;
    }

    .bio-image img {
        max-width: 100%;
    }
}

/* Top Contact Bar */
.top-bar {
    background-color: #1a1a1a;
    color: white;
    padding: 8px 50px;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    font-size: 0.9rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.top-bar a:hover {
    color: #4dabf7;
}

/* Contact Links in Body & Footer */
.contact-link {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.footer-contact {
    margin-bottom: 10px;
    font-size: 1rem;
}

.footer-contact a {
    color: #4dabf7;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Mobile adjust for top bar */
@media (max-width: 768px) {
    .top-bar {
        padding: 8px 20px;
        justify-content: center;
        gap: 15px;
        font-size: 0.8rem;
    }
}
/* Full-Screen Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    animation: fadeIn 0.25s ease-in-out;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
    object-fit: contain;
}

#lightbox-caption {
    margin-top: 15px;
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-lightbox:hover {
    color: #4dabf7;
}

/* Subtle Hover Zoom Effect for Clickable Images */
.gallery-item img, 
.service-image-group img {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.gallery-item img:hover, 
.service-image-group img:hover {
    opacity: 0.92;
}

/* Fade in Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}