:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --item-width: 280px;
    --item-height: 400px;
    --carrossel-primary: #3498db;
    --carrossel-secondary: #2980b9;
    --carrossel-shadow: 0 10px 20px rgba(0,0,0,0.2);
    --item-width: 280px;        /* Largura dos itens */
    --item-height: 400px;       /* Altura dos itens */
    --gap: 30px;                /* Espaço entre itens */
    --primary-color: #3498db;   /* Cor primária (setas/pontos) */
    --transition-duration: 0.6s; /* Tempo das animações */
    --gap: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 180vh;
    background-color: #f5f5f5;
}

header {
    text-align: center;
    padding: 30px 0;
    width: 100%;
}

.carrossel-container * {
    box-sizing: border-box;
}

[data-theme="dark"] {
    --carrossel-primary: #4fc3f7;
    --carrossel-secondary: #0288d1;
    --carrossel-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.carrossel-container {
    width: 100%;
    max-width: 1300px;
    margin: 50px auto;
    margin-left: 5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider {
    position: relative;
    width: 100%;
    height: calc(var(--item-height) + 100px);
    perspective: 1000px;
    overflow: hidden;
}

.item {
    position: absolute;
    width: var(--item-width);
    height: var(--item-height);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    transition: all var(--transition-duration) cubic-bezier(0.16, 1, 0.3, 1);
}

.item:active {
    cursor: grabbing;
}

.controls-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

.arrow-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: rgb(255, 255, 255);
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.arrow-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.pagination {
    display: flex;
    gap: 10px;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Defina suas img aqui */
#item1 { background-image: url(../src/img/slider/Port1.svg); }
#item2 { background-image: url(../src/img/slider/Port2.svg); }
#item3 { background-image: url(../src/img/slider/Port3.svg); }
#item4 { background-image: url(../src/img/slider/Port4.svg); }
#item5 { background-image: url(../src/img/slider/Port5.png); }
#item6 { background-image: url(../src/img/slider/Port6.png); }
#item7 { background-image: url(../src/img/slider/Port7.svg); }
#item8 { background-image: url(../src/img/slider/Port8.png); }
#item9 { background-image: url(../src/img/slider/Port9.png); }
#item10 { background-image: url(../src/img/slider/Port10.png); }
#item11 { background-image: url(../src/img/slider/Port11.png); }
#item12 { background-image: url(../src/img/slider/Port12.svg); }
#item13 { background-image: url(../src/img/slider/Port13.png); }
#item14 { background-image: url(../src/img/slider/Port14.jpg); }
#item15 { background-image: url(../src/img/slider/Port15.png); }

/* Responsivo */
@media (max-width: 768px) {
    :root {
        --item-width: 220px;
        --item-height: 320px;
        --gap: 20px;
    }
    
    .slider {
        height: calc(var(--item-height) + 80px);
    }
    
    .arrow-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}