﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

:root {
    --color-dip: #333333;
    --font-hee: 'Helvetica Neue', Arial, sans-serif;
    --font-rob: 'Roboto', Arial, sans-serif;
    --color-pfont: #666666;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

* {
    box-sizing: border-box;
}

.MainSection {
    width: 100vh;
    height: 100%;
}

.HomeIntro {
    width: 100%
}
.avatar {
    max-width: 300px;
    max-height: 500px;
}

.p_120 {
    padding-top: 120px;
    padding-bottom: 120px;
}

.p_50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.p_10 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.col-lg-6 {
    padding-top: 5px;
    padding-bottom: 5px;
    vertical-align: middle;
    align-self: center;
}

.IntroContent {
    text-align: center;
    color: var(--color-dip);
}
 
.name {
    margin-top: 0px;
    font-size: 48px;
    font-weight: bold;
    font-family: var(--font-hee);
    line-height: 54px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.tag {
    color: var(--color-pfont);
    font-family: var(--font-rob);
    max-width: 680px;
    font-size: 14px;
    line-height: 26px;
    margin: 0px auto 45px;
}

.cloud {
    display: inline;
    list-style-type: none;
    width: 400px;
    list-style: none;
}

li {
    list-style: none;
    display: inline;
    }

.tag4 {
    font-size: 4em;
}

/* Camera Collection Styles */
.camera-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.camera-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.camera-info {
    padding: 1rem;
    background-color: white;
    flex-grow: 1;
}

.camera-manufacturer {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.camera-model {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
}

.camera-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.camera-image-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    color: #6c757d;
}

.camera-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.camera-info-overlay {
    padding: 1rem;
    background-color: white;
}

.camera-info-overlay h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.manufacturer-section {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Popover Styles */
.popover-camera-info {
    width: 100%;
}

.popover-camera-info .carousel {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.popover-camera-info .carousel-item img {
    width: 100%;
    /* max-height set dynamically by JavaScript */
    object-fit: contain;
    background-color: #f8f9fa;
}

.popover-camera-info .carousel-control-prev,
.popover-camera-info .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

.popover-camera-info .carousel-control-prev {
    left: 10px;
}

.popover-camera-info .carousel-control-next {
    right: 10px;
}

.popover-camera-info .carousel-control-prev:hover,
.popover-camera-info .carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.popover-camera-info .carousel-control-prev-icon,
.popover-camera-info .carousel-control-next-icon {
    display: none;
}

.popover-camera-info .carousel-indicators {
    margin-bottom: 5px;
}

.popover-camera-info .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 3px;
}

/* Camera popover size is set dynamically by JavaScript based on window dimensions */

.camera-popover .popover-body {
    padding: 15px;
    /* Height and overflow set dynamically by JavaScript */
}

/* Reduce line spacing in popover content */
.popover-camera-info .camera-details p {
    margin: 0;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.popover-camera-info .camera-details p:last-child {
    margin-bottom: 0;
}

.popover-camera-info .camera-details {
    margin-top: 0.5rem;
}

.tag1_25 {
    font-size: 1.25em;
}

.tag1_5 {
    font-size: 1.5em;
}

.tag1_75 {
    font-size: 1.75em;
}

.tag2 {
    font-size: 2em;
}