/* 通用样式 */
body {
    font-size: 14px;
    line-height: 1.6;
}

/* 图片展示区域样式 */
.photo-gallery {
    margin: 30px 0;
}

.photo-item {
    margin-bottom: 20px;
    height: 100%;
}

.photo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.03);
}

.container {
    max-width: 1140px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 3px solid #0066cc;
    padding-bottom: 12px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    padding-left: 2ch;
}

.more-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

/* Banner样式 */
.banner {
    width: 100%;
    margin-bottom: 30px;
}

.banner img {
    width: 100%;
    height: auto; 
    object-fit: cover;
}

/* Store Locator样式 */
.store-locator {
    padding: 30px 0;
}

.store-image {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
}

.store-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.store-image:hover img {
    transform: scale(1.05);
}

/* Products Center样式 */
.products-center {
    padding: 30px 0;
    background-color: #f8f9fa;
}

.products-center-header {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.products-center-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 0;
}

.product-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.product-filters .btn {
    margin: 0 5px;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 12px;
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
    color: #495057;
    transition: all 0.3s ease;
}

.product-filters .btn:hover {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

.product-filters .btn.active {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

.product-item {
    margin-bottom: 20px;
    margin: 10px;
    padding: 15px;
    text-align: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.product-item:hover img {
    transform: scale(1.05);
}

/* About page image hover effect */
.position-relative img {
    transition: all 0.3s ease;
}

.position-relative:hover img {
    filter: brightness(0.8);
}

.position-relative a:hover img {
    filter: brightness(0.8);
}

.view-info {
    display: inline-block;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

.view-info:hover {
    color: #0066cc;
}

/* Newsletter样式 */
.newsletter {
    padding: 30px 0;
    background-color: #f0f0f0;
    color: #333;
}

.newsletter .container {
    max-width: 1140px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 6px;
}

.newsletter-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-content h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.newsletter-form .form-control {
    height: 40px;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    border: 1px solid #ccc;
}

.newsletter-form .btn {
    height: 40px;
    background-color: #0066cc;
    border: none;
    font-weight: 500;
    font-size: 14px;
    width: 100%;
    color: white;
}

.newsletter-form .btn:hover {
    background-color: #005bb8;
}

/* 导航栏样式 */
.navbar {
    background-color: #095add !important;
    padding: 10px 0;
    margin-bottom: 0 !important;
}

.navbar-brand {
    color: white !important;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 8px 15px !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* 下拉菜单样式 */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 10px 0;
    z-index: 1000;
}

/* 添加下拉箭头 */
.nav-item.dropdown .nav-link::after {
    content: "";
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 5px solid white;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .nav-link::after {
    transform: rotate(180deg);
}

.dropdown-item {
    color: #333 !important;
    padding: 8px 20px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0066cc !important;
}

.nav-item:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.social-icons a {
    color: white;
    margin-left: 15px;
    font-size: 16px;
}

.social-icons a:hover {
    color: rgba(255, 255, 255, 0.8);
}

 

/* 粉丝照片页面样式 */
.header-section {
    margin-bottom: 40px;
}

.header-section .bg-primary {
    background-color: #1e88e5 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-section h2 {
    font-size: 28px;
    color: white;
    margin-bottom: 15px;
}

.header-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

/* 分页样式 */
.pagination .page-item .page-link {
    color: #1e88e5;
    border: 1px solid #dee2e6;
    margin: 0 5px;
    border-radius: 4px;
}

.pagination .page-item.active .page-link {
    background-color: #1e88e5;
    border-color: #1e88e5;
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
}

.photos-gallery {
    margin: 30px 0;
}

.photo-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.photo-img-container {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.photo-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-img-container:hover img {
    transform: scale(1.05);
}

.photo-info {
    padding: 15px;
}

.photo-info h5 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.photo-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.photo-info small {
    font-size: 12px;
    color: #999;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .store-image {
        margin-bottom: 15px;
    }
    
    .newsletter-content {
        padding: 20px 0;
    }
    
    .newsletter-form .btn {
        margin-top: 10px;
    }

    .newsletter img {
        max-height: 200px;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 18px;
    }
    
    .product-filters .btn {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .newsletter-content h3 {
        font-size: 16px;
    }

    .newsletter img {
        max-height: 180px;
    }

    .photo-item img {
        height: 150px;
    }
}