/* 全局样式 */
:root {
    --primary-color: #FF8C42;
    --secondary-color: #FFB347;
    --background-color: #FFF5E6;
    --text-color: #4A4A4A;
    --border-color: #FFD1A1;
    --accent-color: #FF8C42;
    --accent-color-2: #FFB347;
    --card-bg: #FFFFFF;
    --card-shadow: rgba(255, 140, 66, 0.15);
    --section-bg: #FFF9F0;
    
    /* 字体系统 */
    --title-font: 'Cormorant Garamond', serif;
    --body-font: 'Noto Sans SC', sans-serif;
    --decorative-font: 'Pacifico', cursive;
}

/* 移除自定义鼠标指针 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.4;
    margin: 0;
    padding: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 179, 71, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 140, 66, 0.1) 0%, transparent 20%);
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--title-font);
    font-weight: 600;
    margin-bottom: 0.7rem;
    border: none;
}

/* 装饰性文字 */
.decorative-text {
    font-family: var(--title-font);
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* 复古拍立得相框样式 */
.photo-frame {
    background: white;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: rotate(var(--random-rotation));
    border: 1px solid var(--border-color);
}

/* 狗爪按钮样式 */
.paw-button {
    width: 40px;
    height: 40px;
    background-image: url('../images/paw-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.3s;
}

.paw-button:hover {
    transform: scale(1.1);
}

/* 犬种剪影分隔线 */
.section-divider {
    height: 30px;
    background-image: url('../images/dog-silhouette-pattern.svg');
    background-repeat: repeat-x;
    opacity: 0.3;
}

/* 容器样式 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* 狗狗网格布局 */
.dogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

/* 狗狗卡片样式 */
.dog-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px var(--card-shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 140, 66, 0.3);
    padding: 0.4rem;
    min-height: 100%;
}

.dog-card:hover {
    transform: translateY(-5px);
}

.dog-images {
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.main-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.dog-info {
    padding: 0.8rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: var(--section-bg);
    border-radius: 8px;
}

.dog-info h3 {
    font-family: var(--title-font);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    border-bottom: 2px double var(--primary-color);
    padding-bottom: 2px;
    display: inline-block;
}

/* 移除特定狗狗的下划线样式，因为现在所有狗狗都有下划线 */
#DAYCOMIO-VIOLANTI h3,
#YARA-DAIKOMIO-STAR-ASBAND h3,
#DAYCOMIO-LEVANI h3,
#NOVOYA-VERSIYA-HILLARI h3,
#牛魔王 h3,
#布莱克 h3 {
    border-bottom: 2px double var(--primary-color);
    padding-bottom: 2px;
    display: inline-block;
}

.dog-meta {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-family: var(--body-font);
}

.description-container {
    color: var(--text-color);
    font-size: 0.75rem;
    font-family: var(--body-font);
    line-height: 1.2;
    font-weight: normal;
    margin: 0.2rem 0;
    padding: 0.3rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

.description-container p {
    margin: 0.1rem 0;
}

.awards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.3rem;
}

/* 移除旧的独立样式 */
.pedigree-info,
.pedigree-certificate,
.pedigree-awards,
.awards-content {
    display: none;
}

@media (max-width: 768px) {
    .description-container {
        font-size: 0.65rem;
        line-height: 1.1;
        padding: 0.2rem;
    }
    
    .description-container p {
        margin: 0.05rem 0;
    }
}

/* 父母信息页面样式 */
.parent-details {
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.parent-details h2 {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.parent-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    }

.parent-dog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    position: relative;
}

.parent-dog-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0 0 10px 0;
    padding: 0;
    line-height: 1.4;
    word-break: break-word;
    border-bottom: 2px double var(--primary-color);
    padding-bottom: 2px;
    display: inline-block;
}

.parent-dog-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
}

.parent-dog-meta span {
    display: inline-block;
    white-space: nowrap;
    padding: 0.2rem 0.6rem;
    background: var(--section-bg);
    border-radius: 4px;
    font-size: 0.8rem;
}

.parent-dog-awards {
    margin: 15px 0;
}

.parent-dog-awards h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.parent-dog-awards ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.parent-dog-awards li {
    color: #666;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.parent-dog-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.parent-dog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.parent-dog-content {
    padding: 1.5rem;
}

.parent-dog-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.parent-dog-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.error-message h2 {
    color: #333;
    margin-bottom: 1rem;
}

.back-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: background-color 0.3s;
}

.back-button:hover {
    background: var(--secondary-color);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .dogs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .dogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dogs-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .dog-card {
        padding: 0.3rem;
    }
    
    .dog-images {
        height: 200px;
    }
    
    .dog-info {
        padding: 0.6rem;
        gap: 0.3rem;
    }
    
    .dog-info h3 {
        font-size: 1rem;
    }
    
    .dog-meta {
        font-size: 0.8rem;
    }
    
    .description-container {
        font-size: 0.65rem;
        line-height: 1.1;
        padding: 0.2rem;
    }
    
    .description-container p {
        margin: 0.05rem 0;
    }
    
    .pedigree-info {
        padding: 0.3rem;
        margin-top: 0.3rem;
    }
    
    .pedigree-certificate {
        font-size: 0.75rem;
        padding: 0.1rem;
        margin-bottom: 0.05rem;
    }
    
    .pedigree-awards {
        margin: 0.2rem 0;
        padding: 0.3rem;
    }
    
    .pedigree-awards h4 {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .pedigree-awards li {
        font-size: 0.75rem;
    }
    
    .parents-container {
        margin-top: 1.5rem;
        padding: 0.4rem;
        gap: 0.4rem;
    }
    
    .parent-photo {
        padding: 5px;
    }
    
    .parent-photo img {
        height: 100px;
    }
    
    .parent-photo p {
        font-size: 0.6rem;
        line-height: 1;
        margin: 0.1rem 0;
    }
    
    .parent-dog-image {
        height: 200px;
    }
    
    .parent-dog-image img {
        padding: 0;
    }

    .parent-dog-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
        padding-bottom: 2px;
    }

    .parent-dog-meta {
        font-size: 0.75rem;
        gap: 0.4rem;
        margin-bottom: 0.8rem;
    }
    
    .parent-dog-meta span {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
    
    .parent-dog-awards {
        margin-bottom: 0.5rem;
    }
    
    .parent-dog-awards h4 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
        color: var(--primary-color);
    }
    
    .parent-dog-awards li {
        font-size: 0.7rem;
        padding: 0.15rem 0;
        color: var(--text-color);
        line-height: 1.3;
    }

    .parent-dog-content {
        padding: 0.8rem;
    }

    .parent-dog-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .parent-dog-title {
        font-size: 1.1rem;
        margin-bottom: 6px;
        padding: 0;
        line-height: 1.2;
    }
}

/* 动画效果 */
@keyframes paw-trail {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.5); }
}

/* 暗色模式 */
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #2A2A2A;
        --text-color: #F8F5F0;
        --border-color: #4A4A4A;
    }
    
    body {
        background-color: var(--background-color);
        color: var(--text-color);
    }
    
    .dog-card {
        background: #333;
    }
}

/* 父母照片容器 */
.parents-container {
    display: flex;
    gap: 0.6rem;
    padding: 0.6rem;
    background: var(--section-bg);
    margin-top: 2.5rem;
    border: 2px solid rgba(255, 140, 66, 0.2);
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.parents-container::before {
    content: "父母亲";
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
    background: var(--background-color);
    padding: 0 10px;
    border-radius: 4px;
}

.parent-photo {
    flex: 1;
    padding: 10px;
    text-align: center;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.parent-photo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.parent-photo img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 0.2rem;
    border: 1px solid var(--border-color);
}

.parent-photo p {
    font-size: 0.8rem;
    line-height: 1.2;
    margin: 0.2rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .parent-photo p {
        font-size: 0.6rem;
        line-height: 1;
        padding: 0.1rem;
    }
    
    .parent-photo {
        padding: 5px;
    }
}

.hero {
    background-color: var(--section-bg);
    padding: 2rem 0;
    margin-bottom: 1rem;
}

.slider {
    position: relative;
    width: 100%;
}

.slide {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.slogan {
    text-align: center;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.wheat-frame {
    position: relative;
    display: inline-block;
    padding: 1.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.wheat-frame::before,
.wheat-frame::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,10 C60,10 70,15 70,25 C70,35 60,40 50,40 C40,40 30,35 30,25 C30,15 40,10 50,10 Z" fill="rgba(255,215,0,0.3)"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

.wheat-frame::before {
    top: -20px;
    left: -20px;
    transform: rotate(-15deg);
}

.wheat-frame::after {
    bottom: -20px;
    right: -20px;
    transform: rotate(165deg);
}

.slogan h1 {
    font-family: var(--title-font);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.slogan p {
    font-family: var(--body-font);
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0;
}

.logo img {
    height: 100px;
    width: auto;
    margin: 0;
}

.logo .decorative-text {
    font-family: var(--decorative-font);
    font-size: 2.2rem;
    margin: 0;
    line-height: 1;
    padding: 0;
    border: none;
    text-decoration: none;
    color: var(--primary-color);
}

/* 光影回廊网格布局 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding: 0.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    aspect-ratio: 1 / 1;
    opacity: 1;
    transform: rotate(var(--random-rotation)) translate(var(--random-x), var(--random-y));
    padding: 0;
    background: none;
    border: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    display: block;
    margin: 0 auto;
}

.gallery-item:hover {
    transform: rotate(0) translate(0, -3px);
    opacity: 1;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

/* 社交媒体区域样式 */
.social-platforms {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
}

.social-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-card span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* 二维码弹窗样式 */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.qr-content {
    position: relative;
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    width: 300px;
    border-radius: 10px;
    text-align: center;
}

.qr-content img {
    width: 100%;
    max-width: 250px;
    margin: 10px 0;
}

.close {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--primary-color);
}

/* 导航栏样式 */
.navbar {
    background-color: var(--card-bg);
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0;
}

.logo img {
    height: 60px;
    width: auto;
    margin: 0;
}

.logo .decorative-text {
    font-family: var(--decorative-font);
    font-size: 1.8rem;
    margin: 0;
    line-height: 1;
    padding: 0;
    border: none;
    text-decoration: none;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--title-font);
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 媒体查询 */
@media (max-width: 768px) {
    /* 导航栏响应式 */
    .navbar {
        padding: 0.3rem 0;
    }
    
    .navbar .container {
        flex-direction: column;
        gap: 0.3rem;
        padding: 0 1rem;
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .logo img {
        height: 45px;
    }
    
    .logo .decorative-text {
        font-size: 1.3rem;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    /* 社交媒体响应式 */
    .social-platforms {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .social-card {
        flex: 0 0 auto;
        width: auto;
        margin-bottom: 0;
    }
    
    .social-card img {
        width: 40px;
        height: 40px;
        margin-bottom: 0.3rem;
    }
    
    .social-card span {
        font-size: 0.8rem;
    }
    
    /* 光影回廊响应式 */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 0.4rem;
        padding: 0.4rem;
    }
    
    .gallery-item {
        padding: 0;
        border-radius: 10px;
        overflow: hidden;
    }
    
    .gallery-item img {
        border-radius: 10px;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    /* 标题响应式 */
    .breeding-plan h2,
    .dogs-showcase h2,
    .honors-gallery h2,
    .social-media h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    /* 其他响应式样式 */
    .slogan h1 {
        font-size: 1.4rem;
    }
    
    .slogan p {
        font-size: 0.7rem;
        line-height: 1.2;
    }
}

/* 大图查看样式 */
.photo-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.photo-content {
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.main-photo {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* 繁殖计划样式 */
.breeding-plan {
    padding: 1.5rem 0;
    background-color: var(--section-bg);
}

.breeding-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 140, 66, 0.3);
    border-radius: 12px;
    padding: 1rem;
    background: var(--card-bg);
}

.breeding-photos {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.breeding-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.breeding-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
}

.breeding-info p {
    width: 45%;
    text-align: center;
    margin: 0;
    padding: 0.5rem;
    background: var(--section-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.breeding-info p:nth-child(2) {
    color: var(--primary-color);
    font-weight: 600;
}

.breeding-info p:nth-child(3) {
    color: #666;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .breeding-photo {
        max-width: 100%;
        aspect-ratio: 1;
        height: auto;
    }
    
    .breeding-photo-container {
        width: 80%;
    }
}

/* 繁殖计划中的父母链接样式 */
.parent-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.parent-link:hover {
    color: #666;
}

/* 狗狗详情页样式 */
.dog-details-container {
    padding: 3rem 0;
    background-color: var(--background-color);
}

.dog-details-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px var(--card-shadow);
    margin-bottom: 2rem;
}

.dog-details-card .dog-images {
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
    position: relative;
}

.dog-details-card .main-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dog-details-card .main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.dog-details-card .dog-info {
    padding: 2rem;
}

.dog-details-card h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.dog-details-card .description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 1.5rem 0;
}

.back-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .dog-details-card .dog-images {
        height: 300px;
    }
    
    .dog-details-card .dog-info {
        padding: 1.5rem;
    }
    
    .dog-details-card h2 {
        font-size: 1.5rem;
    }
}

.honors-gallery {
    padding: 1.5rem 0;
    background-color: var(--light-bg);
}



/* 标题容器样式 */
.breeding-plan,
.dogs-showcase,
.honors-gallery,
.social-media {
    text-align: center;
    padding: 1rem 0;
}

/* 狗狗展示区样式 */
.dogs-showcase {
    padding: 1.5rem 0;
}

/* 光影回廊样式 */
.honors-gallery {
    padding: 1.5rem 0;
    background-color: var(--light-bg);
}

/* 社交媒体区域样式 */
.social-media {
    padding: 1.5rem 0;
}

@media (max-width: 768px) {
    .core-services h2,
    .breeding-plan h2,
    .dogs-showcase h2,
    .honors-gallery h2,
    .social-media h2 {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
    
    .breeding-plan,
    .dogs-showcase,
    .honors-gallery,
    .social-media {
        padding: 0.8rem 0;
    }
    
    .logo .decorative-text {
        font-size: 1.3rem;
    }
    
    .slogan h1 {
        font-size: 1.4rem;
    }
    
    .slogan p {
        font-size: 0.7rem;
        line-height: 1.2;
    }
}

/* 统一所有狗狗卡片照片样式 */
.dog-images img,
.main-image img,
.parent-photo img,
.parent-dog-image img,
.gallery-item img {
    border-radius: 8px;
    object-fit: cover;
    border: none;
}

/* 主照片样式 */
.main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* 父母照片样式 */
.parent-photo img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.2rem;
}

/* 父母信息卡片照片样式 */
.parent-dog-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* 光影回廊照片样式 */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.breeding-photo-container {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.breeding-photo-info {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0.8rem;
    background: var(--section-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.breeding-photo-info a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    display: inline-block;
    margin: 0.1rem 0;
    font-size: 0.7rem;
}

.breeding-photo-info a:first-of-type {
    margin-top: 0.2rem;
}

.breeding-photo-info a:last-of-type {
    margin-bottom: 0.2rem;
}

@media (max-width: 768px) {
    .breeding-photo-info {
        font-size: 0.65rem;
        line-height: 1.1;
        padding: 0.6rem;
    }
    
    .breeding-photo-info a {
        font-size: 0.6rem;
        margin: 0.1rem 0;
    }
    
    .breeding-photo-info a:first-of-type {
        margin-top: 0.2rem;
    }
    
    .breeding-photo-info a:last-of-type {
        margin-bottom: 0.2rem;
    }
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #999;
    margin: 0.5rem 0 0 0;
    text-align: center;
}

.parent-awards {
    font-size: 0.7rem;
    color: var(--text-color);
    margin: 0.2rem 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .parent-awards {
        font-size: 0.6rem;
        -webkit-line-clamp: 2;
    }
    
    .parent-photo {
        padding: 5px;
    }
    
    .parent-photo img {
        height: 100px;
    }
    
    .parent-photo p {
        font-size: 0.6rem;
        line-height: 1;
        margin: 0.1rem 0;
    }
}

/* 祖系血谱按钮样式 */
.pedigree-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.pedigree-button:hover,
.pedigree-button:active {
    transform: scale(1.05);
    background-color: var(--secondary-color);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    animation: none;
}

@media (max-width: 768px) {
    .parent-dog-card {
        position: relative;
        padding-bottom: 100px;
        margin: 10px;
        padding: 15px;
    }
    
    .pedigree-button {
        width: 70px;
        height: 70px;
        bottom: 15px;
        right: 15px;
        font-size: 0.85rem;
        z-index: 10;
        background-color: var(--primary-color);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .parent-dog-awards {
        margin-bottom: 0.5rem;
    }
    
    .parent-dog-awards h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
        color: var(--primary-color);
    }
    
    .parent-dog-awards li {
        font-size: 0.8rem;
        padding: 0.2rem 0;
        color: var(--text-color);
        line-height: 1.4;
    }

    .parent-dog-content {
        padding: 0.8rem;
    }

    .parent-dog-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .parent-dog-meta {
        font-size: 0.75rem;
        gap: 0.4rem;
        margin-bottom: 0.8rem;
    }
    
    .parent-dog-meta span {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
}

/* 移动端样式 */
@media screen and (max-width: 768px) {
    .parent-dog-card {
        margin: 10px;
        padding: 15px;
    }

    .parent-dog-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
        padding: 0;
        line-height: 1.3;
    }

    .parent-dog-meta {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .parent-dog-awards h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .parent-dog-awards li {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .pedigree-button {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
} 

/* 通用标题样式 - 应用到所有主要标题 */
.core-services h2,
.breeding-plan h2,
.dogs-showcase h2,
.honors-gallery h2,
.social-media h2 {
    text-align: center;
    font-family: var(--title-font);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    position: relative;
}

.core-services h2::after,
.breeding-plan h2::after,
.dogs-showcase h2::after,
.honors-gallery h2::after,
.social-media h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* 核心服务区域样式 */
.core-services {
    background: var(--section-bg);
    padding: 3rem 0;
    margin: 2rem 0;
}

.services-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--card-shadow);
    border: 1px solid rgba(255, 140, 66, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.25);
}

.service-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 10px rgba(255, 140, 66, 0.3);
}

.service-text h3 {
    font-family: var(--title-font);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px double var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.service-text p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-color);
    font-family: var(--body-font);
    text-align: justify;
    text-indent: 2em; /* 首行缩进2个字的位置 */
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.detail-item {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-color);
    font-family: var(--body-font);
    padding-left: 0.5rem;
    border-left: 3px solid var(--secondary-color);
    background: rgba(255, 179, 71, 0.05);
    padding: 0.8rem;
    border-radius: 0 8px 8px 0;
}

.detail-item strong {
    color: var(--primary-color);
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .core-services {
        padding: 2rem 0;
        margin: 1rem 0;
    }
    
    .core-services h2 {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
    
    .services-content {
        gap: 1.5rem;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        margin: 0 auto;
    }
    
    .service-text h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .service-text p {
        font-size: 0.8rem;
        text-align: left;
    }
    
    .detail-item {
        font-size: 0.75rem;
        padding: 0.6rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .service-item {
        padding: 1rem;
    }
    
    .service-text h3 {
        font-size: 1.1rem;
    }
    
    .service-text p {
        font-size: 0.75rem;
    }
    
    .detail-item {
        font-size: 0.7rem;
        padding: 0.5rem;
    }
} 