/* Watch Image Carousel Styles */

.watch-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    width: 400px;
    height: 400px; /* Fixed dimensions for circular display */
    margin: 0 auto; /* Center the circular frame */
}

/* Three Column Watch Display Layout */
.watch-display-new {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 20px 0;
}

.watch-column {
    flex: 1;
    min-height: 400px;
}

.carousel-column {
    flex: 1.2; /* Slightly larger for the carousel */
}

.features-column {
    flex: 1;
    padding: 20px;
    background: rgba(248, 248, 248, 0.7);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.specifications-column {
    flex: 1;
    padding: 20px;
    background: rgba(245, 245, 245, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.features-column h3,
.specifications-column h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #e1e1e1;
    padding-bottom: 10px;
}

.watch-summary {
    font-weight: 600;
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

/* Expandable Specifications Sections */
.spec-section {
    margin-bottom: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.spec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background: #fafafa;
    border-bottom: 1px solid #e1e1e1;
    transition: all 0.3s ease;
}

.spec-header:hover {
    background: #f0f0f0;
}

.spec-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.expand-icon {
    font-size: 20px;
    font-weight: bold;
    color: #666;
    transition: transform 0.3s ease;
}

.spec-header.active .expand-icon {
    transform: rotate(45deg);
}

.spec-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
}

.spec-content.active {
    max-height: 300px; /* Adjust based on content */
}

.spec-content ul {
    margin: 0;
    padding: 20px;
    list-style: none;
}

.spec-content li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #555;
}

.spec-content li:last-child {
    border-bottom: none;
}

.spec-content li:before {
    content: "•";
    color: #666;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Ensures entire image fits within container */
    display: block;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Carousel Dots/Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(204, 204, 204, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #333;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: #666;
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 1024px) {
    .watch-display-new {
        flex-direction: column;
        gap: 20px;
    }
    
    .watch-column,
    .carousel-column {
        flex: none;
        width: 100%;
    }
    
    .watch-carousel {
        width: 350px;
        height: 350px; /* Maintain circular shape */
    }
}

@media (max-width: 768px) {
    .watch-carousel {
        width: 300px;
        height: 300px; /* Maintain circular shape for tablets */
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
    
    .watch-display-new {
        gap: 15px;
    }
    
    .features-column,
    .specifications-column {
        padding: 15px;
    }
    
    .features-column h3,
    .specifications-column h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .watch-carousel {
        width: 250px;
        height: 250px; /* Maintain circular shape for mobile */
    }
    
    .carousel-nav {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
    
    .watch-display-new {
        gap: 10px;
        margin: 10px 0;
    }
    
    .features-column,
    .specifications-column {
        padding: 12px;
    }
    
    .features-column h3,
    .specifications-column h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .spec-header {
        padding: 12px 15px;
    }
    
    .spec-header h4 {
        font-size: 14px;
    }
    
    .spec-content ul {
        padding: 15px;
    }
    
    .spec-content li {
        font-size: 13px;
    }
}
