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

body {
    font-family: 'Georgia', serif;
    line-height: 1.7;
    color: #333;
    background: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    color: #2a2a2a;
    letter-spacing: -0.5px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 40px;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
}

.highlight {
    color: #2a2a2a;
    font-weight: 500;
}

.divider {
    width: 60px;
    height: 1px;
    background: #ddd;
    margin: 80px auto;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0);
    padding: 20px 0;
    border-bottom: none;
    position: fixed;
    width: 100%;
    top: -100px;
    left: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    transform: translateY(0);
}

/* Header for non-home pages - no initial animation */
body:not(.home-page) .header {
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #eee;
    backdrop-filter: blur(10px);
    transition: none;
}

body:not(.home-page) .header .logo img {
    height: 50px;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #eee;
    top: 0;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

.header.scrolled .logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #2a2a2a;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2a2a2a;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Hero Section with Slider */
.hero-section {
    background: #ffffff;
    padding: 0;
    position: relative;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    margin-top: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.slide.active {
    opacity: 1;
}

/* Image backgrounds */
.slide:nth-child(1) { background-image: url('images/landingpage/lp1.jpeg'); }
.slide:nth-child(2) { background-image: url('images/landingpage/lp2.jpeg'); }
.slide:nth-child(3) { background-image: url('images/landingpage/lp3.jpeg'); }
.slide:nth-child(4) { background-image: url('images/landingpage/lp4.jpeg'); }
.slide:nth-child(5) { background-image: url('images/landingpage/lp5.jpeg'); }
.slide:nth-child(6) { background-image: url('images/landingpage/lp6.jpeg'); }
.slide:nth-child(7) { background-image: url('images/landingpage/lp7.jpeg'); }
.slide:nth-child(8) { background-image: url('images/landingpage/lp8.jpeg'); }
.slide:nth-child(9) { background-image: url('images/landingpage/lp9.jpeg'); }

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(42, 42, 42, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active,
.nav-dot:hover {
    background: #2a2a2a;
    transform: scale(1.2);
}

/* Hero Overlay Logo */
.hero-overlay-logo {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 300;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(1);
}

.hero-overlay-logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.hero-overlay-logo.fade-out {
    opacity: 0;
    transform: scale(0.8);
}

/* Hero Content */
.hero-content {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 200;
    width: 90%;
    max-width: 700px;
    padding: 30px 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    backdrop-filter: blur(15px);
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 18px 35px;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    min-width: 180px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Page Banner */
.page-banner {
    height: 300px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    position: relative;
}

.banner-content {
    text-align: center;
    z-index: 2;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 1.2rem;
    color: #666;
}

/* Main Content */
.main-content {
    background: #ffffff;
    padding: 100px 0;
    text-align: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin: 80px 0;
}

.service-item {
    text-align: center;
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-title {
    font-size: 1.3rem;
    color: #2a2a2a;
    margin: 25px 0 15px;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.service-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    padding: 0 30px;
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    margin: 10px 0 30px;
    color: #2a2a2a;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2a2a2a;
    transition: width 0.3s ease;
}

.service-link:hover::after {
    width: 100%;
}

/* Button Styles */
.btn {
    display: inline-block;
    background: #2a2a2a;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 2px solid #2a2a2a;
}

.btn:hover {
    background: transparent;
    color: white !important;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #2a2a2a;
    padding: 15px 30px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 2px solid #2a2a2a;
}

.btn-secondary:hover {
    background: #2a2a2a;
    color: white;
    transform: translateY(-2px);
}

/* Quick Links */
.quick-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 60px 0;
    flex-wrap: wrap;
}

.quick-link-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #2a2a2a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.quick-link-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Stats Section */
.stats-section {
    margin: 80px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2a2a2a;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #f9f9f9;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text h2 {
    margin-bottom: 30px;
    text-align: left;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #2a2a2a;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.about-text p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.text-link {
    display: inline-block;
    margin-top: 20px;
    color: #2a2a2a;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

.text-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2a2a2a;
    transition: width 0.3s ease;
}

.text-link:hover::after {
    width: 100%;
}

/* Full About Page */
.full-about .about-content {
    flex-direction: column;
    gap: 30px;
}

.full-about .about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.full-about .about-text h3 {
    text-align: center;
}

/* About Image Styles */
.about-image {
    text-align: center;
    margin: 40px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.company-truck {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-truck:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.image-caption {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 15px;
    line-height: 1.5;
}

/* Full Contact Page Styles */
.full-contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.contact-info-section h3,
.contact-form-section h3 {
    font-size: 1.8rem;
    color: #2a2a2a;
    margin-bottom: 30px;
    font-weight: 300;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.contact-icon {
    font-size: 1.8rem;
    color: #2a2a2a;
    width: 50px;
    flex-shrink: 0;
    text-align: center;
    margin-top: 2px;
}

.contact-detail-content {
    flex: 1;
}

.contact-detail-content h4 {
    font-size: 1.1rem;
    color: #2a2a2a;
    margin-bottom: 8px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.contact-detail-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.contact-detail-content a {
    color: #2a2a2a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail-content a:hover {
    color: #555;
}

/* Responsive adjustments for contact details */
@media (max-width: 768px) {
    .contact-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-detail-item {
        gap: 15px;
    }
    
    .contact-icon {
        font-size: 1.5rem;
        width: 40px;
    }
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2a2a2a;
    box-shadow: 0 0 0 2px rgba(42, 42, 42, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: #2a2a2a;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
    margin-top: 10px;
}

.submit-button:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

/* Service Areas */
.service-areas {
    text-align: center;
    margin-bottom: 80px;
}

.service-areas h3 {
    font-size: 1.8rem;
    color: #2a2a2a;
    margin-bottom: 20px;
    font-weight: 300;
}

.service-areas p {
    color: #666;
    margin-bottom: 30px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.area-item {
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 4px;
    color: #555;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}

.area-item:hover {
    background: #f0f0f0;
}

/* Quick Contact */
.quick-contact {
    text-align: center;
}

.quick-contact h3 {
    font-size: 1.8rem;
    color: #2a2a2a;
    margin-bottom: 20px;
    font-weight: 300;
}

.quick-contact p {
    color: #666;
    margin-bottom: 30px;
}

.quick-contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quick-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.phone-btn {
    background: #2a2a2a;
    color: white;
}

.phone-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #20b358;
    transform: translateY(-2px);
}

.sms-btn {
    background: #007AFF;
    color: white;
}

.sms-btn:hover {
    background: #0056CC;
    transform: translateY(-2px);
}

.email-btn {
    background: #f9f9f9;
    color: #2a2a2a;
    border: 1px solid #ddd;
}

.email-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quick-contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-contact-btn {
        width: 200px;
        justify-content: center;
    }
}

/* Services Overview */
.services-overview {
    padding: 100px 0;
    background: #ffffff;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.service-overview-item {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-overview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-overview-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-overview-item p {
    font-size: 0.95rem;
    color: #666;
}

.cta-container {
    text-align: center;
    margin-top: 60px;
}

/* Contact Section */
.contact-section {
    border-top: 1px solid #eee;
    padding: 80px 0;
    background: #ffffff;
    text-align: center;
}

.contact-title {
    font-size: 1.8rem;
    color: #2a2a2a;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: -0.3px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 30px 20px;
}

.contact-label {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 400;
}

.contact-info {
    font-size: 1.1rem;
    color: #555;
    font-weight: 300;
}

.contact-info a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #2a2a2a;
}

.cta-button {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 40px;
    border: 1px solid #2a2a2a;
    color: #2a2a2a;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    transition: all 0.3s ease;
    background: transparent;
}

.cta-button:hover {
    background: #2a2a2a;
    color: white !important;
}

/* Footer */
.footer {
    background: #f5f5f5;
    padding: 60px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-info p {
    font-size: 0.9rem;
    color: #666;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: #ffffff;
}

/* Filter Navigation */
.filter-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
    padding: 0 20px;
    position: relative;
}

/* Scroll indicator for mobile */
.filter-nav::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    border-radius: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .filter-nav::before {
        opacity: 1;
    }
}

.filter-btn {
    background: none;
    border: none;
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 12px 0;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 400;
}

.filter-btn:hover,
.filter-btn.active {
    color: #2a2a2a;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #2a2a2a;
    transition: width 0.3s ease;
}

.filter-btn.active::after,
.filter-btn:hover::after {
    width: 100%;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.gallery-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.gallery-item.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.gallery-item-image {
    width: 100%;
    height: 280px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.gallery-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-image img {
    transform: scale(1.05);
}

.gallery-item-content {
    padding: 30px;
}

.gallery-item-title {
    font-size: 1.2rem;
    color: #2a2a2a;
    margin-bottom: 10px;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.gallery-item-category {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.gallery-item-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: #666;
    font-style: italic;
}

/* Lightbox Modal */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 60px; /* Location of the box */
    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 */
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.lightbox-content, .lightbox-caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

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

.prev-btn,
.next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next-btn {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-btn {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: rgba(0,0,0,0.8);
}

@media only screen and (max-width: 700px){
    .lightbox-content {
        width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 900px;
    }

    .services-grid,
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 700px;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-text,
    .about-image {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container,
    .container {
        padding: 0 20px;
    }

    .header {
        padding: 15px 0;
    }

    .logo img {
        height: 50px;
    }

    .main-nav ul {
        gap: 20px;
    }

    .main-nav a {
        font-size: 0.85rem;
    }

    .hero-section {
        height: 100vh;
        min-height: 100vh;
    }

    .hero-content {
        padding: 30px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .main-content,
    .about-section,
    .services-overview,
    .gallery-section {
        padding: 60px 0;
    }

    .services-grid,
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin: 40px 0;
    }

    .service-image {
        height: 200px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .filter-nav {
        gap: 20px;
        margin-bottom: 40px;
    }

    .gallery-item-image {
        height: 250px;
    }

    .gallery-item-content {
        padding: 25px;
    }

    .cta-button {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .cta-button .btn,
    .cta-button .btn-secondary {
        margin-left: 0 !important;
        flex: 1;
        min-width: 180px;
        max-width: 220px;
        text-align: center;
    }

    .hero-overlay-logo {
        bottom: 30px;
        right: 20px;
    }

    .hero-overlay-logo img {
        height: 80px;
    }
}

/* Responsive Filter Navigation */
@media (max-width: 768px) {
    .filter-nav {
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        padding: 0 20px 10px;
        gap: 25px;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        position: relative;
    }

    .filter-nav::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }

    .filter-nav::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 10px;
        width: 30px;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.9));
        pointer-events: none;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.85rem;
        padding: 10px 0;
    }
}

@media (max-width: 576px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul {
        gap: 15px;
    }

    .hero-section {
        height: 100vh;
        min-height: 100vh;
        margin-top: 0;
    }

    .page-banner {
        margin-top: 120px;
        height: 200px;
    }

    .hero-content {
        width: 95%;
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Improved mobile filter navigation */
    .filter-nav {
        gap: 20px;
        padding: 0 15px 10px;
    }

    .filter-btn {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }

    .gallery-item-content {
        padding: 20px;
    }

    .cta-button {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .cta-button .btn,
    .cta-button .btn-secondary {
        margin-left: 0 !important;
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 12px 30px;
        font-size: 0.85rem;
    }

    .hero-overlay-logo {
        bottom: 20px;
        right: 15px;
    }

    .hero-overlay-logo img {
        height: 60px;
    }
}