.growup-masterpieces-project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.05), rgba(0,0,0,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.growup-masterpieces-project-placeholder i {
    font-size: 48px;
    color: rgba(0,0,0,0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide navigation if only one slide */
.swiper-wrapper:only-child {
    margin-right: 0;
}

.swiper-slide:only-child {
    margin-right: 0 !important;
}

/* Hide navigation if no slides */
.swiper:empty {
    display: none;
}

/* Ensure proper spacing when no projects */
.growup-masterpieces-projects-grid:empty {
    display: none;
}

/* Elementor editor specific styles */
.elementor-editor-active .growup-masterpieces-project-card {
    min-height: 400px;
}

.elementor-editor-active .growup-masterpieces-project-placeholder {
    background: rgba(0,0,0,0.05);
    border: 2px dashed rgba(0,0,0,0.1);
}

.elementor-editor-active .growup-masterpieces-project-placeholder i {
    font-size: 32px;
    opacity: 0.3;
}

.growup-masterpieces-section {
    padding: 80px 0;
}

.growup-masterpieces-section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.growup-masterpieces-section-title h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.growup-masterpieces-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #c41e3a;
    border-radius: 2px;
}

.growup-masterpieces-intro-section {
    margin-bottom: 0px !important;
    padding: 0 var(--content-padding, 20px);
}

.growup-masterpieces-intro-content {
    max-width: var(--content-width, 1200px);
    margin: 0 auto;
}

.growup-masterpieces-intro-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.growup-masterpieces-intro-title {
    font-size: 2em;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.growup-masterpieces-intro-text {
    color: var(--text-color, #666);
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 0.95em;
}

.growup-masterpieces-explore-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color, #c41e3a);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.growup-masterpieces-explore-btn:hover {
    background-color: var(--accent-color-hover, #a01830);
    color: #fff;
}

.growup-masterpieces-projects-grid {
    position: relative;
    margin-top: 40px;
    padding: 20px 0;
    overflow: hidden;
}

.swiper {
    width: 100%;
    padding: 0 40px;
    margin: 0 auto;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
}

.swiper-slide {
    width: auto;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
}

.growup-masterpieces-project-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.growup-masterpieces-project-card {
    width: 100%;
    max-width: 416px;
    height: 566px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: #000;
}

.growup-masterpieces-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.growup-masterpieces-project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 30px;
    background: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.growup-masterpieces-project-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.growup-masterpieces-project-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.growup-masterpieces-project-info p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    display: none;
}

.growup-masterpieces-view-project {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: #fff;
    display: none;
    align-items: center;
    gap: 8px;
}

/* Hover Effects */
.growup-masterpieces-project-card:hover .growup-masterpieces-project-info {
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.growup-masterpieces-project-card:hover .growup-masterpieces-project-info h3 {
    transform: translateY(-60px);
}

.growup-masterpieces-project-card:hover .growup-masterpieces-project-info p,
.growup-masterpieces-project-card:hover .growup-masterpieces-view-project {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.growup-masterpieces-project-card:hover img {
    transform: scale(1.1);
}

/* Remove duplicate hover effects */
.growup-masterpieces-project-link:hover .growup-masterpieces-project-card {
    transform: translateY(0);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.growup-masterpieces-project-link:hover .growup-masterpieces-project-info {
    transform: translateY(0);
}

.growup-masterpieces-project-link:hover .growup-masterpieces-project-card img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.growup-masterpieces-project-link:focus {
    outline: none;
}

.growup-masterpieces-project-link:focus .growup-masterpieces-project-card {
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.3);
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    color: #c41e3a;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #fff;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: #d42444;
}

.swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(196, 30, 58, 0.2);
    opacity: 1;
    margin: 0 5px;
}

.swiper-pagination-bullet-active {
    background: #c41e3a;
    transform: scale(1.2);
}

@media (max-width: 1024px) {
    .growup-masterpieces-intro-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .growup-masterpieces-intro-section {
        padding: 30px;
        margin-bottom: 40px;
    }

    .growup-masterpieces-section-title h2 {
        font-size: 28px;
    }

    .growup-masterpieces-intro-title {
        font-size: 1.75em;
    }

    .growup-masterpieces-intro-text {
        font-size: 0.9em;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }

    .growup-masterpieces-intro-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .growup-masterpieces-projects-grid {
        padding: 20px;
    }
    
    .swiper {
        padding: 0 20px;
    }
    
    .growup-masterpieces-project-card {
        height: 450px;
    }
}

.growup-masterpieces-project-card *,
.growup-masterpieces-project-info * {
    box-sizing: border-box;
}

/* Navigation container */
.growup-masterpieces-nav-container {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
    z-index: 100;
    padding: 0 20px;
}

/* Custom arrow styles */
.growup-masterpieces-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(56, 56, 56, 0.95);
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.growup-masterpieces-nav-btn:before {
    content: '';
    width: 10px;
    height: 10px;
    border-style: solid;
    border-width: 3px 3px 0 0;
    border-color: white;
    display: inline-block;
    transition: all 0.3s ease;
}

.growup-masterpieces-nav-btn:hover {
    background: var(--e-global-color-primary, #B51D25);
    box-shadow: 0 5px 20px rgba(181, 29, 37, 0.4);
    opacity: 1;
    transform: translateY(-2px);
}

.growup-masterpieces-nav-btn:active {
    transform: translateY(0);
}

.growup-masterpieces-prev-btn:before {
    transform: rotate(-135deg);
    margin-left: 5px;
}

.growup-masterpieces-next-btn:before {
    transform: rotate(45deg);
    margin-right: 5px;
}

.growup-masterpieces-nav-btn-hidden {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}

/* Responsive styles */
@media (max-width: 768px) {
    .growup-masterpieces-nav-btn {
        width: 45px;
        height: 45px;
    }
    
    .growup-masterpieces-nav-container {
        margin-top: 25px;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .growup-masterpieces-nav-btn {
        width: 40px;
        height: 40px;
    }

    .growup-masterpieces-nav-btn:before {
        width: 8px;
        height: 8px;
        border-width: 2px 2px 0 0;
    }
    
    .growup-masterpieces-nav-container {
        margin-top: 20px;
        gap: 10px;
    }
} 

