/* Showcase CSS - showcase.css */

/* ========================================
   NAVBAR STYLES (matching home.css)
   ======================================== */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: bold;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   HERO SECTION
   ======================================== */
.showcase-hero {
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(52, 73, 94, 0.85)),
                url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 65px;
}

.showcase-hero .hero-content {
    max-width: 800px;
    padding: 2rem;
}

.showcase-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.showcase-hero .hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    padding: 4rem 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

/* ========================================
   FILTER SECTION
   ======================================== */
.filter-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 2rem;
    background: white;
    color: #666;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
    transform: translateY(-2px);
}

/* ========================================
   PROJECTS GALLERY
   ======================================== */
.projects-gallery {
    padding: 5rem 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-btn {
    padding: 0.75rem 2rem;
    background: white;
    color: #2c3e50;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.05);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.marble-used,
.project-location {
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #666;
}

.marble-used {
    background: #e8f5e8;
    color: #27ae60;
}

.project-location {
    background: #e8f4fd;
    color: #3498db;
}

.project-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.area {
    color: #2c3e50;
    font-weight: 600;
}

.category {
    background: #2c3e50;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-images {
    position: relative;
    height: 600px;
    background: #f8f9fa;
}

.lightbox-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: white;
    transform: scale(1.1);
}

.lightbox-info {
    padding: 2rem;
    overflow-y: auto;
}

.lightbox-info h3 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.lightbox-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.project-details span {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    color: #2c3e50;
    font-weight: 600;
}

.lightbox-info blockquote {
    background: #e8f5e8;
    padding: 1.5rem;
    border-left: 4px solid #27ae60;
    font-style: italic;
    color: #666;
    border-radius: 0 8px 8px 0;
    margin: 0;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.testimonials-section h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card.active {
    display: block;
    opacity: 1;
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

.rating {
    color: #f39c12;
    font-size: 1.2rem;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #2c3e50;
    transform: scale(1.2);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.cta-btn.primary {
    background: #e74c3c;
    color: white;
}

.cta-btn.primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: #2c3e50;
}

/* ========================================
   WHATSAPP FLOAT BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.error-message {
    text-align: center;
    color: #e74c3c;
    font-size: 1.2rem;
    padding: 3rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablets */
@media (max-width: 1024px) {
    .lightbox-content {
        grid-template-columns: 1fr;
        max-width: 90vw;
    }
    
    .lightbox-images {
        height: 400px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .logo-img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .showcase-hero {
        height: 50vh;
        min-height: 400px;
        margin-top: 55px;
    }
    
    .showcase-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .showcase-hero .hero-content p {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .filter-controls {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .lightbox-content {
        margin: 2rem;
        max-height: 95vh;
    }
    
    .lightbox-info {
        padding: 1.5rem;
    }
    
    .lightbox-info h3 {
        font-size: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-content p {
        font-size: 1.1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .showcase-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .showcase-hero .hero-content p {
        font-size: 0.95rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .project-info {
        padding: 1.5rem;
    }
    
    .project-info h3 {
        font-size: 1.25rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .lightbox-images {
        height: 300px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
}