/* ABCO Landscaping - Complete Local CSS */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #166534;
    --secondary-green: #15803d;
    --light-green: #dcfce7;
    --dark-green: #14532d;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-800: #166534;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --black: #000000;
    --yellow-300: #fde047;
}

/* Base Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation Styles */
nav {
    background-color: var(--green-800);
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
}

.nav-brand i {
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--light-green);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    background-color: var(--green-700);
    padding: 1rem 0.5rem;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--white);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
    background-color: var(--green-600);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('resources/covington2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--black);
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1.5rem;
    color: var(--white);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

.hero p {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    opacity: 1;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

.hero-button {
    background-color: var(--green-600);
    color: var(--white);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-button:hover {
    background-color: var(--green-700);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--green-600);
    color: var(--white);
    border: 2px solid var(--green-600);
    font-weight: 900;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 200px;
}

.btn-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: var(--gray-600);
    color: var(--white);
    border: 2px solid var(--gray-600);
    font-weight: 900;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 1rem;
    min-width: 200px;
}

.btn-secondary:hover {
    background-color: var(--gray-700);
    border-color: var(--gray-700);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-white {
    background-color: var(--white);
}

.section-gray {
    background-color: var(--gray-100);
}

.section-green {
    background-color: var(--green-700);
    color: var(--white);
}

.section-dark {
    background-color: var(--gray-900);
    color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-800);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Service Cards with Zoom Scale Animation */
.service-card {
    position: relative;
    background-color: var(--gray-100);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    height: 280px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Service card hover effects - desktop only */
@media (min-width: 769px) {
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.card-front {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
    z-index: 1;
    overflow: hidden;
}

@media (min-width: 769px) {
    .service-card:hover .card-front {
        opacity: 0;
        transform: scale(1.1);
    }

    .service-card:hover .card-back {
        opacity: 1;
        transform: scale(1);
    }
}

.card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.card-back .overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

@media (min-width: 769px) {
    .service-card:hover .card-back .overlay-text {
        transform: translateY(0);
    }
}

/* Service card touch effects - mobile devices (orientation-aware) */
@media (max-width: 768px), (max-height: 768px) and (orientation: landscape) {
    .service-card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .service-card.touch-flipped {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .service-card.touch-flipped .card-front {
        opacity: 0;
        transform: scale(1.1);
    }

    .service-card.touch-flipped .card-back {
        opacity: 1;
        transform: scale(1);
    }
    
    .service-card.touch-flipped .card-back .overlay-text {
        transform: translateY(0);
    }
}



.lightbox-close:hover {
    color: #fbbf24;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    pointer-events: auto;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(251, 191, 36, 0.8);
    color: #1f2937;
}

/* Portfolio See More Button */
.portfolio-see-more {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.see-more-btn {
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(22, 101, 52, 0.3);
}

.see-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 101, 52, 0.4);
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
}



.view-full-btn {
    background: #fbbf24;
    color: #1f2937;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none; /* Prevent double-click on button */
}

/* Mobile Portfolio Adjustments */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-image {
        height: 200px;
    }
    
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        padding: 0.75rem;
    }
    
    .see-more-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

.card-back .overlay-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.card-back .overlay-text p {
    font-size: 0.875rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Touch device support for service cards */
.service-card.touch-flipped .card-front {
    opacity: 0;
    transform: scale(1.1);
}

.service-card.touch-flipped .card-back {
    opacity: 1;
    transform: scale(1);
}

.service-card.touch-flipped .card-back .overlay-text {
    transform: translateY(0);
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .service-card {
        cursor: pointer;
    }
    
    .service-card::after {
        content: "Tap to view image";
        position: absolute;
        bottom: 0.5rem;
        right: 0.5rem;
        font-size: 0.75rem;
        color: var(--gray-600);
        opacity: 0.8;
    }
    
    .service-card.touch-flipped::after {
        content: "Tap to return";
    }
}

.service-icon {
    color: var(--green-600);
    margin-bottom: 1rem;
    width: 3rem;
    height: 3rem;
}

.service-card h3 {
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* About Section */
.about-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-image {
    margin-bottom: 2rem;
    padding-right: 0;
}

.about-image img {
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.award-badge {
    display: flex;
    align-items: center;
    color: var(--green-600);
    font-weight: 600;
}

.award-badge i {
    margin-right: 0.5rem;
}

/* Testimonials */
.single-testimonial-container {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--green-800);
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: opacity 0.5s ease-in-out, transform 0.3s ease;
    width: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin-right: 1rem;
}

.testimonial-name {
    font-weight: 700;
    color: var(--white);
}

.stars {
    display: flex;
    color: var(--yellow-300);
}

.stars span {
    font-size: 1.82rem;
    color: var(--yellow-300);
    margin-right: 0.1rem;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.testimonial-text {
    color: var(--white);
    line-height: 1.6;
}

/* Contact Section */
.contact-flex {
    display: flex;
    flex-direction: column;
}

.contact-info {
    margin-bottom: 2rem;
    padding-right: 0;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item i {
    color: var(--green-600);
    margin-right: 1rem;
    width: 1.5rem;
    height: 1.5rem;
}

/* Forms */
.form-container {
    background-color: var(--gray-100);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 6rem;
}

.form-button {
    background-color: var(--green-600);
    color: var(--white);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.form-button:hover {
    background-color: var(--green-700);
    transform: translateY(-2px);
}

/* Footer */
.footer-flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
}

.footer-brand i {
    margin-right: 0.5rem;
}

.footer-tagline {
    color: var(--gray-400);
    margin-top: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--white);
}

.footer-divider {
    border-top: 1px solid var(--gray-800);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-legal {
    margin-bottom: 1rem;
}

.footer-link {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--white);
}

.footer-separator {
    margin: 0 1rem;
    color: var(--gray-600);
}

.footer-copyright {
    color: var(--gray-400);
}

/* Utility Classes */
.hidden {
    display: none;
}

.block {
    display: block;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h1 {
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.legal-content h2 {
    color: var(--gray-800);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.last-updated {
    color: var(--gray-500);
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.back-link {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.bg-green-600 {
    background-color: var(--green-600);
}

.bg-green-700 {
    background-color: var(--green-700);
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.transition {
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.75rem;
    }
    
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-button {
        display: none;
    }
    
    .about-flex {
        flex-direction: row;
    }
    
    .about-image {
        width: 50%;
        margin-bottom: 0;
        padding-right: 2rem;
    }
    
    .about-content {
        width: 50%;
    }
    
    .contact-flex {
        flex-direction: row;
    }
    
    .contact-info {
        width: 50%;
        margin-bottom: 0;
        padding-right: 2rem;
    }
    
    .form-container {
        width: 50%;
    }
    
    .footer-flex {
        flex-direction: row;
        margin-bottom: 0;
    }
    
    .footer-brand {
        margin-bottom: 0;
    }
    
    .grid-md-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-md-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-lg-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .mobile-menu-button {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    h2 {
        font-size: 1.875rem;
    }
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-green);
}

/* Portfolio Section Styles */
.portfolio-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Always show overlay on mobile/touch devices */
@media (hover: none) and (pointer: coarse) {
    .portfolio-overlay {
        opacity: 1;
    }
}

.portfolio-overlay-content {
    padding: 1.5rem;
    color: white;
    width: 100%;
}

.portfolio-overlay-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.see-more-btn {
    background: #2563eb;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.see-more-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.see-more-btn.expanded {
    background: #dc2626;
}

.see-more-btn.expanded:hover {
    background: #b91c1c;
}

/* Hidden portfolio items */
.portfolio-item.hidden {
    display: none;
}

.portfolio-item.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0.5rem;
    cursor: pointer;
}

.lightbox-description {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 90%;
    z-index: 1002;
}

@media (max-width: 768px) {
    .lightbox-description {
        font-size: 1rem;
        padding: 10px 20px;
        bottom: 15px;
    }
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
}