/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #1a365d;
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 3rem;
    margin: 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.title-pug-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
    vertical-align: middle;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Navigation Styles */
.tab-navigation {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.tabs {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
}

.tabs li {
    margin: 0;
}

.tab-link {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    border-radius: 8px 8px 0 0;
    margin: 0 2px;
    background: rgba(255, 255, 255, 0.1);
}

.tab-link:hover {
    color: #ff6b6b;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
}

.tab-link.active {
    color: #1a365d;
    border-bottom-color: #ff6b6b;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Main Content Styles */
main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.tab-content {
    display: none;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

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

.tab-content h2 {
    color: #ff6b6b;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 3px solid #ff6b6b;
    padding-bottom: 0.5rem;
}

.tab-content h3 {
    color: #1a365d;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem 0;
}

.tab-content h4 {
    color: #ff6b6b;
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem 0;
}

/* Content Grid Layout */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.text-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.text-content li {
    margin-bottom: 0.5rem;
}

.text-content li strong {
    color: #ff6b6b;
}

/* Image Placeholder Styles */
.image-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pug-image {
    text-align: center;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.placeholder-image {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-caption {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Care Sections */
.care-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.care-section {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.care-section h3 {
    margin-top: 0;
    color: #2d3436;
}

.care-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

/* Health Content */
:root {
    --primary-color: #1a365d;
    --secondary-color: #ff6b6b;
    --accent-color: #ff8a80;
    --text-color: #1a365d;
    --light-bg: #fff5f5;
    --card-bg: white;
    --border-color: #ff8a80;
}

.health-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.health-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 5px solid #ff6b6b;
}

.health-issue {
    background: white;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
}

.health-issue h4 {
    color: #e74c3c;
    margin-top: 0;
}

/* Breeds Content */
.breeds-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.breed-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.color-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.pug-photo {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    margin: 0 auto 1rem auto;
    border: 3px solid #ddd;
    overflow: hidden;
    position: relative;
}

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

.pug-photo:hover img {
    transform: scale(1.1);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    font-size: 2rem;
    color: #2d3436;
    text-align: center;
    border-radius: 12px;
}

.related-breeds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.breed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.breed-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.breed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #ff8a80;
}

.breed-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    border: 3px solid #ff8a80;
    overflow: hidden;
    position: relative;
}

.breed-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.breed-card h4 {
    color: #1a365d;
    margin: 0.5rem 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.fact-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 0.5rem;
}

/* Fun Facts Grid */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.fact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(255, 127, 127, 0.1);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ffd1dc;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 127, 127, 0.2);
}

.fact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.fact-card h3 {
    color: #ff6b6b;
    margin: 0.5rem 0 1rem 0;
}

/* Training Content */
.training-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.training-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.training-section, .commands-section, .behavior-section, .socialization-section, .problem-solving-section, .mental-stimulation-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #ff6b6b;
}

.training-grid, .commands-grid, .behavior-grid, .socialization-grid, .problem-grid, .mental-stimulation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.training-card, .command-card, .behavior-card, .socialization-card, .problem-card, .stimulation-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.training-card:hover, .command-card:hover, .behavior-card:hover, .socialization-card:hover, .problem-card:hover, .stimulation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #ff6b6b;
}

.training-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.training-card h4, .command-card h4, .behavior-card h4, .socialization-card h4, .problem-card h4, .stimulation-card h4, .breed-card h4, .fact-card h4 {
    color: #1a365d;
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.behavior-card.positive {
    border-left: 4px solid #00b894;
}

.behavior-card.challenging {
    border-left: 4px solid #e17055;
}

.behavior-card.positive h4 {
    color: #00b894;
}

.behavior-card.challenging h4 {
    color: #e17055;
}

.socialization-content {
    margin-top: 1rem;
}

/* History & Cultural Content */
.history-section, .cultural-significance-section, .secret-societies-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #ff6b6b;
    margin-bottom: 2rem;
}

.history-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.history-card, .cultural-card, .secret-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.history-card:hover, .cultural-card:hover, .secret-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #ff6b6b;
}

.history-card h4, .cultural-card h4, .secret-card h4 {
    color: #1a365d;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

.secrets-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

/* Celebrities Content */
.celebrities-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.celebrities-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.celebrity-section, .movies-section, .social-media-section, .fun-celebrity-facts {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #ff6b6b;
}

.celebrity-grid, .movie-grid, .influencer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.celebrity-card, .movie-card, .influencer-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.celebrity-card:hover, .movie-card:hover, .influencer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #ff6b6b;
}

.celebrity-icon, .movie-poster, .influencer-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.celebrity-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    border: 3px solid #ff6b6b;
    overflow: hidden;
    position: relative;
}

.celebrity-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.celebrity-photo:hover img {
    transform: scale(1.1);
}

.celebrity-card h4, .movie-card h4, .influencer-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.movie-card {
    text-align: left;
}

.movie-poster {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 1rem;
    width: 120px;
    height: 180px;
    margin: 0 auto 1rem auto;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #ddd;
    position: relative;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-poster:hover img {
    transform: scale(1.05);
}

.poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5722 100%);
    color: white;
    font-size: 3rem;
}

.movie-quote {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    padding: 0.8rem;
    border-radius: 8px;
    font-style: italic;
    margin-top: 1rem;
    border-left: 4px solid #ff6b6b;
    color: #2d3436;
}

.celebrity-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.celebrity-fact {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.celebrity-fact:hover {
    transform: translateY(-5px);
}

.celebrity-fact h4 {
    color: #1a365d;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Author Content */
.author-content {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.author-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.author-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.author-info h3 {
    color: #ff6b6b;
    margin: 0.5rem 0;
}

.author-title {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.disclaimer h4 {
    color: #856404;
    margin-top: 0;
}

.disclaimer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.fun-note {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    font-style: italic;
}

.creation-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.creation-info h4 {
    color: #ff6b6b;
    margin-top: 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Non-Official Colors Styling */
.non-official-colors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.color-description {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #ff8a80;
}

.color-description:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #ff6b6b;
}

.color-description h4 {
    color: #1a365d;
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-link {
        text-align: center;
        border-bottom: none;
        border-right: 3px solid transparent;
    }
    
    .tab-link.active {
        border-right-color: #ff6b6b;
        border-bottom: none;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .tab-content h2 {
        font-size: 2rem;
    }
    
    .care-sections {
        grid-template-columns: 1fr;
    }
    
    .color-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .celebrity-grid, .movie-grid, .influencer-grid {
        grid-template-columns: 1fr;
    }
    
    .celebrity-facts-grid {
        grid-template-columns: 1fr;
    }
    
    .training-grid, .commands-grid, .behavior-grid, .socialization-grid, .problem-grid, .mental-stimulation-grid {
        grid-template-columns: 1fr;
    }
    
    .history-content, .cultural-grid, .secrets-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .tab-content h2 {
        font-size: 1.5rem;
    }
    
    .color-grid {
        grid-template-columns: 1fr;
    }
}
