/* Themed Typography Page Specific Styles */

/* Design Cards Specific Styling */
.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 0 !important;
    height: 320px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

/* SVG placeholder styling */
.svg-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

.svg-placeholder svg {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 !important;
    padding: 0 !important;
}

/* Design 1: Nature Theme */
.design-1 {
    width: 100%;
    height: 100%;
}

.nature-container {
    display: flex;
    flex-direction: column;
    background-color: #f5f9f0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.nature-image {
    height: 60%;
    background-position: center;
    position: relative;
}

.nature-text {
    padding: 1.5rem;
    background-color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 40%;
}

.nature-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2E7D32;
    margin-bottom: 0.5rem;
}

.nature-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.2;
}

/* Design 2: Futuristic Theme */
.design-2 {
    width: 100%;
    height: 100%;
}

.future-container {
    display: flex;
    flex-direction: column;
    background-color: #0A0E17;
    overflow: hidden;
    height: 100%;
}

.future-image {
    height: 60%;
    position: relative;
}

.future-text {
    padding: 1.5rem;
    background-color: #0D1B2A;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 40%;
}

.future-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
}

.future-text .future-highlight {
    color: #00BCD4;
}

.future-text .future-line {
    width: 50px;
    height: 2px;
    background-color: #00BCD4;
    margin: 0 auto 0.8rem;
}

.future-text p {
    font-size: 1rem;
    color: #B0BEC5;
    line-height: 1.2;
}

/* Design 3: Vintage Theme */
.design-3 {
    width: 100%;
    height: 100%;
}

.vintage-container {
    display: flex;
    flex-direction: column;
    background-color: #F5F3E6;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.vintage-frame {
    height: 60%;
    padding: 10px;
    background-color: #DAC9A6;
    position: relative;
}

.vintage-image {
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid #A98467;
}

.vintage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(218, 201, 166, 0.1), rgba(218, 201, 166, 0.3));
    mix-blend-mode: multiply;
    opacity: 0.8;
}

.vintage-text {
    padding: 1.5rem;
    background-color: #F5F3E6;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.vintage-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #684E27;
    margin-bottom: 0.5rem;
    text-align: center;
}

.vintage-text p {
    font-size: 1rem;
    color: #6B705C;
    line-height: 1.2;
    text-align: center;
    margin: 0 auto;
    max-width: 90%;
}

.vintage-container:hover .vintage-image {
    filter: sepia(60%);
}

/* Design 4: Minimalist Theme */
.design-4 {
    width: 100%;
    height: 100%;
}

.minimalist-container {
    display: flex;
    flex-direction: column;
    background-color: #F8F8F8;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.minimalist-image {
    height: 60%;
    position: relative;
}

.minimalist-text {
    padding: 1.5rem;
    background-color: #F8F8F8;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 40%;
    border-top: 1px solid #E0E0E0;
}

.minimalist-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.minimalist-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.2;
    font-weight: 300;
    font-family: 'Lato', sans-serif;
    max-width: 90%;
    margin: 0 auto;
}

/* Design 5: Food & Culinary Theme */
.design-5 {
    width: 100%;
    height: 100%;
}

.food-container {
    display: flex;
    flex-direction: column;
    background-color: #FFF;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    border-radius: 0 0 8px 8px;
}

.food-image {
    height: 60%;
    position: relative;
    overflow: hidden;
    background-color: #FFF8E1;
}

.food-text {
    padding: 1.5rem;
    background-color: #FFF;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 40%;
    position: relative;
    z-index: 1;
}

.food-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FF5722;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.food-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #D84315;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.food-text p {
    font-size: 1rem;
    color: #5D4037;
    line-height: 1.2;
    font-family: 'Nunito', sans-serif;
}

/* Design 6: Travel & Adventure Theme */
.design-6 {
    width: 100%;
    height: 100%;
}

.travel-container {
    display: flex;
    flex-direction: column;
    background-color: #E3F2FD;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    border-radius: 0 0 8px 8px;
}

.travel-image {
    height: 60%;
    position: relative;
    overflow: hidden;
    background-color: #BBdefb;
    border-bottom: 2px dashed #64B5F6;
}

.travel-text {
    padding: 1.5rem;
    background-color: #FFF;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 40%;
}

.travel-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1565C0;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    margin: 0 auto 0.8rem;
}

.travel-path {
    width: 40px;
    height: 2px;
    background-color: #64B5F6;
    margin: 0 auto 0.8rem;
    position: relative;
}

.travel-text p {
    font-size: 1rem;
    color: #546E7A;
    line-height: 1.2;
    font-family: 'Nunito', sans-serif;
    max-width: 90%;
    margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 767px) {
    /* 只保留设计卡片相关的响应式样式，避免覆盖导航样式 */
    .card-content {
        height: 350px;
    }
    .page-title {
        font-size: 1.8rem;
    }
    .nature-container,
    .future-container,
    .vintage-container,
    .food-container,
    .travel-container,
    .festival-container,
    .sport-container {
        overflow: hidden !important;
    }

    .nature-image, .future-image, .vintage-frame, .vintage-image,
    .minimalist-image, .food-image, .travel-image {
        height: 200px !important;
    }

    .svg-placeholder, .svg-placeholder svg {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}
