/* Custom Wine Cellars Page Specific Styles */

/* Hero Section */
.custom-cellars-hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-features .feature-item {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--text-dark);
}

.hero-features .feature-item i {
    font-size: 1.2rem;
}

/* Modulo Series Section */
.modulo-series {
    background-color: #ffffff;
}

.modulo-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.modulo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.modulo-icon {
    width: 60px;
    height: 60px;
    background: rgba(218, 161, 76, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modulo-icon i {
    font-size: 1.8rem;
}

.modulo-specs .spec-item {
    font-size: 0.9rem;
    color: var(--text-light);
}

.modulo-specs .spec-item strong {
    color: var(--text-dark);
}

.modulo-features .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

/* Custom Solutions Section */
.custom-solutions {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.solution-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.solution-icon {
    display: inline-block;
    padding: 1rem;
    border-radius: 50%;
    background: rgba(218, 161, 76, 0.1);
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    padding-left: 1.5rem;
}

.solution-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.solution-features li:last-child {
    border-bottom: none;
}

/* Design Process Section */
.design-process {
    background-color: #ffffff;
}

.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.process-step {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 2;
}

.step-content h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Featured Projects Section */
.featured-projects {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.project-specs .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b98b4e 100%);
    color: white;
}

.cta-section .main-heading {
    color: white !important;
}

.cta-section .paragraph {
    color: rgba(255,255,255,0.9) !important;
}

.btn-outline-primary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 991px) {
    .custom-cellars-hero-section {
        padding: 60px 0;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .cta-section .text-lg-end {
        text-align: center !important;
        margin-top: 2rem;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .process-step {
        padding-left: 60px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .main-heading {
        font-size: 2rem !important;
    }
    
    .modulo-card {
        margin-bottom: 1rem;
    }
    
    .solution-card {
        margin-bottom: 1rem;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
    
    .project-image img {
        height: 180px;
    }
    
    .process-timeline::before {
        left: 15px;
    }
    
    .process-step {
        padding-left: 50px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .custom-cellars-hero-section {
        padding: 40px 0;
    }
    
    .hero-features .feature-item {
        justify-content: center;
    }
    
    .modulo-header {
        flex-direction: column;
        text-align: center;
    }
    
    .modulo-icon {
        margin-bottom: 1rem;
    }
    
    .solution-features li {
        font-size: 0.9rem;
    }
    
    .project-specs .badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b98b4e;
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Modulo Card Hover Effects */
.modulo-card:hover .modulo-icon {
    background: rgba(218, 161, 76, 0.2);
    transform: scale(1.1);
}

.modulo-features .badge {
    transition: all 0.3s ease;
}

.modulo-features .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Solution Card Icon Animations */
.solution-card:hover .solution-icon {
    background: rgba(218, 161, 76, 0.2);
    transform: scale(1.1);
}

/* Process Timeline Animations */
.process-step {
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(218, 161, 76, 0.3);
}

/* Project Card Animations */
.project-card:hover .project-content h5 {
    color: var(--primary-color);
}

.project-specs .badge {
    transition: all 0.3s ease;
}

.project-specs .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Button Hover Effects */
.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 161, 76, 0.3);
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Timeline Animation */
.process-step {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered Animation for Process Steps */
.process-step:nth-child(1) { transition-delay: 0.1s; }
.process-step:nth-child(2) { transition-delay: 0.2s; }
.process-step:nth-child(3) { transition-delay: 0.3s; }
.process-step:nth-child(4) { transition-delay: 0.4s; }
.process-step:nth-child(5) { transition-delay: 0.5s; } 