/* Carousel Styles (Bootstrap 5) */
.carousel img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

#myCarousel {
    background-color: #000;
}

#myCarousel .carousel-item {
    text-align: center;
    background-color: #000;
}

#myCarousel .carousel-item img {
    max-height: 85vh;
    width: 100%;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.75);
    padding: 15px 25px;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.carousel-caption h3 {
    color: #cc0000;
    font-size: 1.6em;
    margin-bottom: 4px;
    font-weight: 400;
    letter-spacing: 2px;
}

.carousel-caption p {
    color: #cccccc;
    font-size: 0.95em;
    font-style: italic;
    margin-bottom: 0;
    text-decoration: none;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.6;
}

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

/* Wrapper and Container */
.wrapper {
    min-height: 100vh;
}

/* Box Styling */
.box {
    border-top: 2px solid #cc0000;
    padding: 20px 0;
}

.box h4 {
    color: #cc0000;
    font-size: 1.5em;
    margin-bottom: 20px;
}

/* Collection Piece Cards - dark theme */
.box-shadow {
    background-color: #1c1c1b !important;
    border: 1px solid #2a2a2a !important;
    border-color: #2a2a2a !important;
    margin-bottom: 20px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.box-shadow:hover {
    border-color: #cc0000 !important;
}

.box-shadow img {
    width: 100%;
    display: block;
}

.box-texto {
    padding: 12px 15px;
}

.box-texto p {
    color: #cccccc;
    margin-bottom: 0;
}

.textofoto {
    font-style: italic;
    font-size: 0.9em;
    color: #cccccc;
    margin-bottom: 0;
}

/* Press Page - dark themed cards */
.list-group-item {
    background-color: #1c1c1b !important;
    border: 1px solid #2a2a2a;
    color: #ffffff;
    transition: border-color 0.3s;
}

.list-group-item:hover,
.list-group-item:focus {
    background-color: #222222 !important;
    border-color: #cc0000;
    color: #ffffff;
}

.list-group-item h5 {
    color: #ffffff;
    font-size: 0.95em;
    line-height: 1.5;
}

.list-group-item .thumbnail {
    width: 100%;
    height: auto;
    margin-top: 10px;
    border: none;
    padding: 0;
}

/* About page */
.about-img {
    max-width: 100%;
    height: auto;
}

/* Collection Grid (collection.html) */
.hovereffect {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px;
}

.hovereffect img {
    display: block;
    width: 100%;
    transition: all 0.4s ease-in;
}

.hovereffect:hover img {
    filter: grayscale(1) blur(3px);
    transform: scale(1.1);
}

.hovereffect h2 {
    text-transform: uppercase;
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

/* Collection grid links */
.click, .click h4 {
    color: #ffffff;
    text-decoration: none;
}

.click:hover h4 {
    color: #cc0000;
}

/* Headings for dark theme */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}

h2 {
    color: #999999;
    font-size: 1.8em;
    letter-spacing: 3px;
    font-weight: 300;
    margin-bottom: 30px;
}

/* Body text for dark theme */
body {
    background-color: #1c1c1b;
    color: #ffffff;
}

p {
    color: #ffffff;
}

a {
    color: #cc0000;
}

a:hover {
    color: #ff1a1a;
}

/* Container spacing */
.container {
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Accessibility Improvements */
a:focus,
button:focus {
    outline: 2px solid #cc0000;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-caption h3 {
        font-size: 1.2em;
        letter-spacing: 1px;
    }
    .carousel-caption p {
        font-size: 0.85em;
    }
    .carousel img {
        max-height: 60vh;
    }
    h2 {
        font-size: 1.4em;
    }
}
