/* Modern Professional Design */
:root {
    --primary-color: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --secondary-color: #10B981;
    --secondary-dark: #059669;
    --secondary-light: #6EE7B7;
    --accent-color: #F59E0B;
    --accent-dark: #D97706;
    --accent-light: #FCD34D;
    --text-color: #1F2937;
    --light-text: #6B7280;
    --lightest-text: #9CA3AF;
    --background: #F9FAFB;
    --light-bg: #F3F4F6;
    --white: #FFFFFF;
    --card-bg: #FFFFFF;
    --border-color: #E5E7EB;
    --success-color: #10B981;
    --error-color: #EF4444;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 40px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 120px;
    color: var(--white);
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Generator Sections */
.generator-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

.section-header p {
    color: var(--light-text);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.generator-container {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.generator-illustration {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    height: 120px;
    align-items: center;
}

.illustration-img {
    max-width: 180px;
    height: auto;
    border-radius: 8px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s ease;
    object-fit: contain;
    margin: 0 auto;
    animation: walkAndSit 6s ease-in-out infinite;
}

@keyframes walkAndSit {
    0% {
        transform: translateX(-10px) translateY(0);
    }
    20% {
        transform: translateX(10px) translateY(0);
    }
    25% {
        transform: translateX(10px) translateY(0);
    }
    30% {
        transform: translateX(10px) translateY(5px) scale(0.95);
    }
    50% {
        transform: translateX(10px) translateY(5px) scale(0.95);
    }
    60% {
        transform: translateX(10px) translateY(0) scale(1);
    }
    70% {
        transform: translateX(-10px) translateY(0);
    }
    80% {
        transform: translateX(-10px) translateY(5px) scale(0.95);
    }
    90% {
        transform: translateX(-10px) translateY(5px) scale(0.95);
    }
    100% {
        transform: translateX(-10px) translateY(0) scale(1);
    }
}

.dog-generator .illustration-img {
    max-width: 150px;
}

.cat-generator .illustration-img {
    max-width: 150px;
}

.generator-container:hover .illustration-img {
    animation-play-state: paused;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-group label {
    font-weight: 500;
    color: var(--text-color);
}

.option-group select,
.option-group input {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: var(--white);
}

.option-group select:focus,
.option-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.2);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.2);
}

.generate-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Results Section */
.results {
    background-color: var(--light-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.results:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.results-header h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    position: relative;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.copy-all-btn,
.download-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.copy-all-btn i,
.download-btn i {
    font-size: 0.9rem;
}

.copy-all-btn:hover,
.download-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.name-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.name-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.name-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-color);
}

.name-card span {
    font-size: 1.1rem;
    font-weight: 500;
}

.copy-btn {
    padding: 6px 12px;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.copy-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.copy-btn.copied {
    background-color: var(--success-color);
}

/* Success Message */
.success-message {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
}

.success-message small {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    font-weight: normal;
    color: #5a8755;
}

/* Error Message */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-color);
    transition: color 0.3s;
    z-index: 1001;
}

.mobile-menu-btn:hover,
.mobile-menu-btn.active {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        right: -100%; /* Start off-screen */
        width: 80%;   /* Make it wider */
        max-width: 300px;
        height: calc(100vh - 70px);
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 999;
        padding: 20px;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0; /* Slide in from right */
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul li {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        display: block;
        padding: 5px 0;
        font-size: 16px;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    /* Add active state styling for mobile */
    .main-nav a.active {
        color: var(--primary-color);
        font-weight: 600;
    }
    
    /* Ensure content doesn't shift when menu opens */
    body.no-scroll {
        overflow: hidden;
    }
    
    /* Additional mobile styles */
    .options {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .action-buttons {
        width: 100%;
    }
    
    .action-buttons button {
        flex: 1;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--white);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    animation: slideIn 0.3s ease-out;
    z-index: 2000;
    border-left: 4px solid var(--primary-color);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Features Popup */
.features-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    position: relative;
    animation: popIn 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes popIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-header .close-popup {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-header .close-popup:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

/* Style for features popup close button */
.features-popup .close-popup {
    position: absolute;
    right: 15px;
    top: 10px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #333;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.features-popup .close-popup:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.popup-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.popup-names {
    max-height: 300px;
    overflow-y: auto;
    margin: 20px 0;
    padding: 15px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--background);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    animation: pulse 6s infinite alternate;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.about-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--light-text);
    font-size: 1.05rem;
}

.about-text ul {
    list-style: none;
    margin: 20px 0;
}

.about-text li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.about-text li i {
    color: var(--success-color);
    margin-top: 4px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-color);
}

.testimonial:nth-child(2) {
    border-top-color: var(--secondary-color);
}

.testimonial:nth-child(3) {
    border-top-color: var(--accent-color);
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-image {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.testimonial-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
    transition: transform 0.3s;
}

.testimonial:hover .testimonial-image img {
    transform: scale(1.1);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--light-text);
    line-height: 1.7;
    position: relative;
    padding: 0 10px;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-light);
    position: absolute;
}

.testimonial-content p::before {
    top: -5px;
    left: -5px;
}

.testimonial-content p::after {
    bottom: -15px;
    right: -5px;
}

.testimonial-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.testimonial-content span {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--background);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s;
}

.info-item:hover {
    transform: translateX(5px);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item p {
    color: var(--light-text);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s;
}

.social-links a:hover::before {
    transform: translateY(0);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

/* Footer Styles */
.site-footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 160px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-description {
    margin-top: 15px;
}

.footer-description p {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    max-width: 300px;
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

/* Mobile Responsiveness for Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-logo {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-description p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-logo-text {
        font-size: 24px;
    }
    
    .footer-description p {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-links ul li {
        margin-bottom: 10px;
    }
    
    .footer-bottom {
        padding-top: 15px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-logo-text {
        font-size: 20px;
    }
    
    .footer-logo p {
        font-size: 12px;
    }
    
    .footer-description p {
        font-size: 12px;
    }
    
    .footer-links h3 {
        font-size: 14px;
    }
    
    .footer-links ul li a {
        font-size: 13px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
}

/* Generator Flex Container - New */
.generator-flex-container {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.dog-generator, .cat-generator {
    flex: 1;
    min-width: 0; /* This prevents flex items from overflowing */
}

.generator-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.generator-header h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 0;
}

.generator-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.dog-generator .generator-icon {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
}

.cat-generator .generator-icon {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
}

.dog-generator .illustration-img {
    max-width: 200px;
}

.cat-generator .illustration-img {
    max-width: 200px;
}

.dog-generator .name-card:hover {
    border-left-color: var(--primary-color);
}

.cat-generator .name-card:hover {
    border-left-color: var(--secondary-color);
}

/* Responsive adjustments for the generators */
@media (max-width: 992px) {
    .generator-flex-container {
        flex-direction: column;
    }
    
    .dog-generator, .cat-generator {
        width: 100%;
    }
}

/* Tab Navigation Styles */
.tabs-container {
    margin-bottom: 30px;
}

.tab-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.tab-btn {
    padding: 15px 30px;
    background-color: var(--light-bg);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn:hover {
    background-color: var(--border-color);
    transform: translateY(-2px);
}

.tab-btn.active[data-tab="dog-generator"] {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.tab-btn.active[data-tab="cat-generator"] {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.generator-tabs {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-panel.active {
    display: block;
}

#dog-generator .copy-btn,
#dog-generator .copy-all-btn,
#dog-generator .download-btn {
    background-color: var(--primary-color);
}

#dog-generator .copy-btn:hover,
#dog-generator .copy-all-btn:hover,
#dog-generator .download-btn:hover {
    background-color: var(--primary-dark);
}

#cat-generator .copy-btn,
#cat-generator .copy-all-btn,
#cat-generator .download-btn {
    background-color: var(--secondary-color);
}

#cat-generator .copy-btn:hover,
#cat-generator .copy-all-btn:hover,
#cat-generator .download-btn:hover {
    background-color: var(--secondary-dark);
}

#dog-generator .name-card:hover {
    border-left-color: var(--primary-color);
}

#cat-generator .name-card:hover {
    border-left-color: var(--secondary-color);
}

@media (max-width: 576px) {
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Updated Blog Section for full articles */
.blog-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.full-article {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s, box-shadow 0.3s;
}

.full-article:hover {
    box-shadow: var(--shadow-lg);
}

.full-article + .full-article {
    margin-top: 80px;
    padding-top: 60px;
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.full-article h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 700;
}

.article-subtitle {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 20px;
    font-weight: 500;
}

#cat-name-article h1, 
#cat-name-article .article-subtitle {
    color: var(--secondary-color);
}

#dog-name-article h1, 
#dog-name-article .article-subtitle {
    color: var(--primary-color);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    justify-content: center;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: var(--primary-color);
}

#cat-name-article .article-meta i {
    color: var(--secondary-color);
}

.article-illustration {
    display: flex;
    justify-content: center;
    margin: 40px auto;
    max-width: 300px;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.article-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s ease;
}

.full-article:hover .article-image {
    transform: scale(1.05);
}

.full-article h2 {
    font-size: 1.9rem;
    margin: 50px 0 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 10px;
}

#dog-name-article h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

#cat-name-article h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
}

.full-article h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--text-color);
    position: relative;
    padding-left: 15px;
}

.full-article h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--primary-light);
    border-radius: 4px;
}

#cat-name-article h3::before {
    background-color: var(--secondary-light);
}

.full-article p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.feature-list {
    margin: 30px 0;
}

.feature-item {
    background-color: var(--light-bg);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

#cat-name-article .feature-item {
    border-left-color: var(--secondary-color);
}

.feature-item h3 {
    padding-left: 0;
    margin-top: 0;
}

.feature-item h3::before {
    display: none;
}

.article-callout {
    background-color: rgba(79, 70, 229, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

#cat-name-article .article-callout {
    background-color: rgba(16, 185, 129, 0.05);
    border-left-color: var(--secondary-color);
}

.article-callout h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

#cat-name-article .article-callout h4 {
    color: var(--secondary-color);
}

.full-article blockquote {
    padding: 25px 35px;
    background-color: var(--light-bg);
    border-left: 5px solid var(--primary-color);
    margin: 35px 0;
    border-radius: 8px;
    font-style: italic;
    position: relative;
    box-shadow: var(--shadow-sm);
}

#cat-name-article blockquote {
    border-left-color: var(--secondary-color);
}

.full-article blockquote::before,
.full-article blockquote::after {
    content: "\201C";
    font-size: 4rem;
    font-family: serif;
    position: absolute;
    opacity: 0.15;
}

.full-article blockquote::before {
    top: -10px;
    left: 10px;
}

.full-article blockquote::after {
    content: "\201D";
    bottom: -40px;
    right: 10px;
}

.article-cta {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0 30px;
}

.article-cta p {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.article-cta .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.article-nav {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.article-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px 25px;
    border-radius: 50px;
}

.article-nav-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

#dog-name-article .article-nav-link {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

#dog-name-article .article-nav-link:hover {
    background-color: var(--primary-color);
    color: white;
}

#cat-name-article .article-nav-link {
    background-color: var(--secondary-light);
    color: var(--secondary-color);
}

#cat-name-article .article-nav-link:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Responsive styles for articles */
@media (max-width: 992px) {
    .full-article {
        padding: 30px;
    }
    
    .full-article h1 {
        font-size: 2.2rem;
    }
    
    .article-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .full-article {
        padding: 20px;
    }
    
    .full-article h1 {
        font-size: 1.8rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .full-article h2 {
        font-size: 1.5rem;
    }
    
    .full-article h3 {
        font-size: 1.3rem;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .article-callout {
        padding: 15px;
    }
    
    .article-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-nav-link {
        width: 100%;
        justify-content: center;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.faq-question {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 600;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Media Queries for Blog and FAQ */
@media (max-width: 992px) {
    .blog-posts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .full-article {
        padding: 30px;
    }
    
    .full-article h1 {
        font-size: 2.2rem;
    }
    
    .article-header-img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .blog-posts {
        grid-template-columns: 1fr;
    }
    
    .article-content {
        margin: 0 20px;
        max-width: 100%;
    }
    
    .full-article {
        padding: 20px;
    }
    
    .full-article h1 {
        font-size: 1.8rem;
    }
    
    .full-article h2 {
        font-size: 1.5rem;
    }
    
    .full-article h3 {
        font-size: 1.3rem;
    }
    
    .article-header-img {
        height: 220px;
    }
    
    .article-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-nav-link {
        width: 100%;
        justify-content: center;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}

/* Logo Styles */
.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo a {
    text-decoration: none;
}

.logo-text i {
    margin-right: 8px;
    font-size: 28px;
    color: var(--primary-color);
}

.logo-text:hover {
    transform: scale(1.05);
    color: var(--primary-dark);
}

.footer-logo-text {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
}

.footer-logo-text i {
    color: var(--secondary-light);
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    /* Header Styles */
    .site-header {
        padding: 10px 0;
    }
    
    .header-content {
        padding: 5px 0;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-text i {
        font-size: 22px;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Generator Section */
    .generator-section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .generator-container {
        padding: 20px;
    }
    
    .options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .option-group label {
        margin-bottom: 5px;
    }
    
    /* Results Section */
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .action-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .name-cards {
        grid-template-columns: 1fr;
    }
    
    /* Blog Section */
    .blog-section {
        padding: 40px 0;
    }
    
    .blog-articles {
        flex-direction: column;
        gap: 30px;
    }
    
    .blog-article {
        width: 100%;
    }
    
    /* Full Article */
    .full-article {
        padding: 20px;
    }
    
    .article-header h1 {
        font-size: 24px;
    }
    
    .article-subtitle {
        font-size: 16px;
    }
    
    /* About Section */
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        width: 100%;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo, .footer-links {
        width: 100%;
    }
    
    .footer-description p {
        margin: 0 auto;
    }
    
    /* Popups */
    .popup-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .popup-header h2 {
        font-size: 20px;
    }
    
    .popup-body {
        padding: 15px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    /* Button Styles */
    .btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    /* Generator Tabs */
    .tab-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .tab-btn {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    /* Name Cards */
    .name-card {
        padding: 12px;
    }
    
    /* FAQ Section */
    .faq-question h3 {
        font-size: 16px;
        padding-right: 30px;
    }
    
    /* Testimonials */
    .testimonial {
        flex-direction: column;
    }
    
    .testimonial-image {
        width: 80px;
        height: 80px;
        margin: 0 auto 15px;
    }
    
    .testimonial-content {
        text-align: center;
    }
} 