﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #1a1a1a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

.recent-project {
    position: relative;
    padding: 10px 0;
    background-color: #1a1a1a;
}


.instagram-icon {
    background-color: transparent;
    border: 2px solid #9c6a33;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.3s ease;
}

    .instagram-icon:hover {
        background-color: rgba(156, 106, 51, 0.3);
    }

    .instagram-icon svg {
        fill: #9c6a33;
        width: 30px;
        height: 30px;
    }

/* Carousel Styles */
.carousel-wrapper {
    width: 100%;
    background-color: #1a1a1a;
    padding: 0px 0;
    position: relative;
    overflow: hidden;
}

    .carousel-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 40px;
        background: linear-gradient(to bottom, #1a1a1a, transparent);
        z-index: 1;
    }

    .carousel-wrapper::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40px;
        background: linear-gradient(to top, #1a1a1a, transparent);
        z-index: 1;
    }

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    padding: 20px 0;
    width: 100%;
    margin: 0 auto;
    max-width: 1400px;
}

.slide-item {
    flex: 0 0 25%;
    padding: 0 10px;
    position: relative;
    transition: all 0.3s ease;
    transform-origin: center center;
}

    .slide-item:hover {
        transform: scale(1.05);
        z-index: 2;
    }

@media (max-width: 1200px) {
    .slide-item {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 992px) {
    .slide-item {
        flex: 0 0 50%;
    }
}

@media (max-width: 576px) {
    .slide-item {
        flex: 0 0 80%;
    }
}

.slide-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.slide-item:hover img {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.pro-link {
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    color: #fff;
    text-decoration: none;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.slide-item:hover .pro-link {
    opacity: 1;
}

.pro-info {
    text-align: center;
    padding: 20px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.slide-item:hover .pro-info {
    transform: translateY(0);
}

.pro-title {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #9c6a33;
}

.pro-cat-name {
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    max-width: 280px;
    margin: 0 auto;
}


.carousel-nav {
    position: relative;
    height: 0;
    margin: 0;
}

.carousel-button {
    background: #000000; 
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
    position: absolute;
    top: -170px;
}

.prev-button {
    left: 20px; 
}

.next-button {
    right: 20px; 
}

.carousel-button:hover {
    background: #333333; 
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.carousel-button:focus {
    outline: none;
}

.image-container {
    width: 100%;
    height: 300px; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .image-container img {
        width: 100%;
        height: auto;
        object-fit: cover; 
    }
