/* VetCare Plus Demo Styles */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #6B7280;
    background-color: #FFFFFF;
}

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

/* Portfolio Navigation */
.portfolio-nav {
    background: #4356d6;
    color: white;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.portfolio-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.8;
}

.demo-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Typography */
h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #1F2937;
}

h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: #1F2937;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    color: #374151;
}

h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #374151;
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #6B7280;
}

/* Buttons */
.primary-btn {
    background: #FF1493;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(255,20,147,0.2);
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background: #DC143C;
    box-shadow: 0 4px 8px rgba(220,20,60,0.3);
    transform: translateY(-1px);
}

.primary-btn:active {
    background: #C71585;
    transform: translateY(0);
}

.secondary-btn {
    background: #00C853;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: #00A040;
    box-shadow: 0 4px 8px rgba(0,200,83,0.3);
}

.outline-btn {
    background: transparent;
    color: #FF1493;
    border: 2px solid #FF1493;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.outline-btn:hover {
    background: #FF1493;
    color: #FFFFFF;
}

/* Header */
.header {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 44px; /* Account for portfolio nav */
    z-index: 1000;
    transition: transform 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #FF1493;
}

.logo i {
    margin-right: 8px;
    font-size: 28px;
}

.nav-desktop {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #FF1493;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #FF1493;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-btn, .mobile-menu-btn {
    background: none;
    border: none;
    color: #6B7280;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.search-btn:hover, .mobile-menu-btn:hover {
    color: #FF1493;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background: #FFFFFF;
    border-top: 1px solid #E5E7EB;
    padding: 20px 0;
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
}

/* Hero Section */
.hero {
    background: #FFFFFF;
    min-height: 600px;
    padding: 120px 0 80px 0; /* Extra top padding for fixed navs */
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 24px;
}

.hero-text p {
    margin-bottom: 32px;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-placeholder {
    width: 400px;
    height: 300px;
    background: #F9FAFB;
    border: 2px dashed #E5E7EB;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
}

.hero-placeholder i {
    font-size: 64px;
    margin-bottom: 16px;
    color: #FF1493;
}

/* Services Section */
.services {
    background: #F9FAFB;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: #FF1493;
}

.service-icon {
    background: #FEE2E2;
    border-radius: 12px;
    padding: 16px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon i {
    font-size: 32px;
    color: #FF1493;
}

.service-card h3 {
    margin-bottom: 16px;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #FFFFFF;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-text > p {
    margin-bottom: 32px;
    font-size: 18px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature i {
    font-size: 24px;
    color: #FF1493;
    margin-top: 4px;
}

.feature h4 {
    margin-bottom: 8px;
}

.about-placeholder {
    width: 400px;
    height: 300px;
    background: #F9FAFB;
    border: 2px dashed #E5E7EB;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    margin: 0 auto;
}

.about-placeholder i {
    font-size: 64px;
    margin-bottom: 16px;
    color: #FF1493;
}

/* Portfolio Section */
.portfolio {
    background: #F9FAFB;
    padding: 80px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.portfolio-item {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.portfolio-image {
    height: 200px;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #9CA3AF;
}

.portfolio-placeholder i {
    font-size: 48px;
    margin-bottom: 8px;
    color: #FF1493;
}

.portfolio-content {
    padding: 20px;
}

.portfolio-content h3 {
    margin-bottom: 12px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #FFFFFF;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    margin-bottom: 32px;
    font-size: 18px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item i {
    font-size: 20px;
    color: #FF1493;
    margin-top: 4px;
}

.contact-item h4 {
    margin-bottom: 8px;
}

/* Form Styles */
.contact-form {
    background: #F9FAFB;
    padding: 32px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #FF1493;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,20,147,0.1);
}

/* Footer */
.footer {
    background: #0F172A;
    color: #9CA3AF;
    padding: 64px 0 24px;
    border-top: 1px solid #1E293B;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.footer-logo i {
    margin-right: 8px;
    color: #FF1493;
}

.footer-section p {
    margin-bottom: 24px;
}

.footer-section h4 {
    color: #FFFFFF;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #9CA3AF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FF1493;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #FFFFFF;
    background: #FF1493;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #DC143C;
    transform: translateY(-2px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.footer-contact i {
    margin-right: 8px;
    color: #FF1493;
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #1E293B;
}

.footer-bottom a {
    color: #FF1493;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #FF1493;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 18px;
}

.scroll-to-top:hover {
    background: #DC143C;
    transform: translateY(-2px);
}

/* Responsive Design - Mobile First */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    
    .portfolio-nav-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .portfolio-nav {
        padding: 15px 0;
    }
    
    .header {
        top: 74px; /* Adjust for larger portfolio nav */
    }
    
    .hero {
        padding: 150px 0 80px 0;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero-placeholder,
    .about-placeholder {
        width: 100%;
        max-width: 300px;
        height: 200px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .mobile-menu-btn {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
*:focus {
    outline: 2px solid #FF1493;
    outline-offset: 2px;
}