
/* public/css/styles.css - Page-Specific Component Styles */

/* ====================================
   HERO SECTION
   ==================================== */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* ====================================
   STATS SECTION
   ==================================== */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color, #2ecc71) 0%, var(--secondary-color, #27ae60) 100%);
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius, 0.5rem);
    padding: 2rem;
    text-align: center;
    color: white;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* ====================================
   FEATURES SECTION
   ==================================== */
.features-section {
    padding: 5rem 0;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius, 0.5rem);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color, #2ecc71);
}

/* ====================================
   GALLERY SECTION
   ==================================== */
.gallery-section {
    padding: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius, 0.5rem);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ====================================
   PROCESS SECTION
   ==================================== */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color, #2ecc71), var(--secondary-color, #27ae60));
}

.process-step {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 50px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color, #2ecc71);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.step-content {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius, 0.5rem);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* ====================================
   CONTACT SECTION
   ==================================== */
.contact-info {
    background: white;
    border-radius: var(--border-radius, 0.5rem);
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-color, #2ecc71);
    transition: all 0.3s ease;
}

.contact-info:hover .contact-icon {
    background: var(--primary-color, #2ecc71);
    color: white;
    transform: scale(1.1);
}

/* ====================================
   BLOG SECTION
   ==================================== */
.blog-card {
    background: white;
    border-radius: var(--border-radius, 0.5rem);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

/* ====================================
   TESTIMONIAL SECTION
   ==================================== */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius, 0.5rem);
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(46, 204, 113, 0.1);
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

/* ====================================
   RESPONSIVE STYLES
   ==================================== */
@media (min-width: 992px) {
    .process-timeline::before {
        left: 50%;
        margin-left: -1px;
    }
    
    .process-step:nth-child(odd) {
        padding-left: 0;
        padding-right: 50%;
    }
    
    .process-step:nth-child(even) {
        padding-left: 50%;
        padding-right: 0;
    }
    
    .process-step:nth-child(odd) .step-number {
        left: auto;
        right: -20px;
    }
    
    .process-step:nth-child(even) .step-number {
        left: -20px;
    }
    
    .step-content {
        max-width: 90%;
    }
    
    .process-step:nth-child(odd) .step-content {
        margin-left: auto;
        text-align: left;
    }
    
    .process-step:nth-child(even) .step-content {
        margin-right: auto;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .process-step {
        padding-left: 50px;
    }
    
    .step-number {
        left: 0;
    }
}

/* ====================================
   PRINT STYLES
   ==================================== */
@media print {
    .hero-section,
    .stats-section,
    .features-section,
    .gallery-section,
    .process-timeline,
    .contact-info,
    .blog-card,
    .testimonial-card {
        page-break-inside: avoid;
    }
    
    .gallery-item img {
        max-width: 100%;
        height: auto;
    }
}

