/* Custom theme overrides for Bootstrap */

/* Carousel Container */
.carousel-container {
    background: var(--ui-card-bg);
    border: var(--ui-border);
    border-radius: var(--ui-radius);
    backdrop-filter: blur(10px);
    overflow: visible;
    padding-bottom: 60px !important;
}

.carousel-inner {
    overflow-x: hidden;
    overflow-y: visible;
    padding-top: 10px;
}

.carousel-item {
    overflow: visible;
}

.carousel-item .row {
    overflow: visible;
}

.carousel-container h2 {
    font-size: 2.5em;
    color: #ffc0cb;
    letter-spacing: 1px;
}

.carousel-container .text-muted,
.carousel-container p.text-muted,
.carousel-container small.text-muted {
    color: #c0c0c0 !important;
}

/* Ensure intro links are visible */
.intro a {
    color: #ffc0cb;
    text-decoration: underline !important;
}

.intro a:hover {
    color: #ff69b4;
}

/* Alert box styling */
.alert-info {
    background: linear-gradient(
        135deg,
        rgba(255, 192, 203, 0.1),
        rgba(192, 192, 192, 0.1)
    );
    border: var(--ui-border);
    border-radius: var(--ui-radius);
    color: #e8e8e8;
    backdrop-filter: blur(10px);
}

.alert-info strong {
    color: #ffc0cb;
}

/* Project Cards */
.project-card {
    background: linear-gradient(
        135deg,
        rgba(192, 192, 192, 0.1),
        rgba(255, 192, 203, 0.1)
    );
    border: var(--ui-border);
    border-radius: var(--ui-radius);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    border-color: #ffc0cb;
    transform: translateY(-5px);
    box-shadow:
        0 10px 40px rgba(255, 192, 203, 0.3),
        0 0 20px rgba(192, 192, 192, 0.2);
    background: linear-gradient(
        135deg,
        rgba(192, 192, 192, 0.15),
        rgba(255, 192, 203, 0.15)
    );
}

.project-card .card-title {
    font-size: 2em;
    margin-bottom: 15px;
    color: #ffc0cb;
    letter-spacing: 1px;
}

.project-card .card-text {
    color: #e8e8e8;
    min-height: 48px;
    font-weight: 300;
}

.project-card a {
    color: #ffc0cb;
    transition: color 0.3s ease;
}

.project-card a:hover {
    color: #ff69b4;
    text-shadow: 0 0 10px rgba(255, 192, 203, 0.5);
}

.project-card small {
    color: #c0c0c0 !important;
}

/* Badge styling */
.badge {
    background: linear-gradient(
        135deg,
        rgba(192, 192, 192, 0.3),
        rgba(255, 192, 203, 0.3)
    ) !important;
    color: #e8e8e8 !important;
    border: 1px solid rgba(192, 192, 192, 0.3);
    font-weight: 300;
    border-radius: var(--ui-radius-pill);
}

/* Carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: none;
    background-image: none;
    width: auto;
    height: auto;
}

.carousel-control-prev-icon::before {
    content: "‹";
    font-size: 40px;
    color: #c0c0c0;
    font-weight: 100;
}

.carousel-control-next-icon::before {
    content: "›";
    font-size: 40px;
    color: #c0c0c0;
    font-weight: 100;
}

/* Spinner */
.spinner-border {
    color: #ffc0cb !important;
}

/* Intro styling */
.intro .lead {
    color: #e8e8e8;
    font-weight: 300;
}

/* Carousel Controls - Minimal Arrows */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    opacity: 0.6;
    background: none;
    border: none;
    transition: all 0.3s ease;
    top: auto;
    bottom: -45px;
}

.carousel-control-prev {
    left: 30%;
    transform: translateX(-50%);
}

.carousel-control-next {
    right: 30%;
    transform: translateX(50%);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev:hover .carousel-control-prev-icon::before,
.carousel-control-next:hover .carousel-control-next-icon::before {
    color: #ffc0cb;
    text-shadow: 0 0 15px rgba(255, 192, 203, 0.6);
}

/* Adjust container - no extra margins needed for minimal arrows */
.carousel-container {
    margin-left: 0;
    margin-right: 0;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: -40px;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background: rgba(192, 192, 192, 0.3);
    border: 2px solid rgba(192, 192, 192, 0.4);
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background: linear-gradient(135deg, #ffc0cb, #ff69b4);
    border-color: #ffc0cb;
    box-shadow:
        0 0 10px rgba(255, 192, 203, 0.5),
        0 0 20px rgba(255, 192, 203, 0.3);
    transform: scale(1.2);
}

.carousel-indicators [data-bs-target]:hover {
    background: rgba(255, 192, 203, 0.5);
    border-color: #ffc0cb;
    transform: scale(1.1);
}
