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

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}


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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* On wide screens, position logo closer to left edge */
@media (min-width: 1200px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .nav-container {
        max-width: 100%;
        padding: 0 2rem;
        margin: 0;
    }
    
    .nav-logo {
        margin-left: 0;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 0;
}

.nav-logo .logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.nav-logo .logo-img:hover {
    transform: scale(1.05);
}

.nav-logo h2 {
    color: #e11d48;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-link:hover {
    color: #e11d48;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #e11d48;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 24px;
    height: 2.5px;
    background: linear-gradient(90deg, #e11d48 0%, #ec4899 100%);
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(236, 72, 153, 0.2);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fce7f3 0%, #f9a8d4 50%, #ec4899 100%);
    color: #831843;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    max-width: 800px;
    z-index: 2;
    position: relative;
    text-align: center;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
    margin-top: 0;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
    margin-top: 2rem;
}

.pet-illustration {
    font-size: 8rem;
    animation: float 3s ease-in-out infinite;
}

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

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.2);
}

.btn-primary {
    background: #e11d48;
    color: white;
}

.btn-primary:hover {
    background: #be185d;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #e11d48;
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #fce7f3;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.2);
    border-color: #f9a8d4;
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e11d48;
}

/* Product Images */
.product-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f9a8d4;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.2);
    transition: all 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.product-image:hover {
    transform: scale(1.05);
    border-color: #e11d48;
    box-shadow: 0 12px 35px rgba(236, 72, 153, 0.3);
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
    overflow-x: hidden;
    width: 100%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.about p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo-img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.2);
    transition: all 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.about-logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(236, 72, 153, 0.3);
}

.stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
    animation: fadeInUp 0.6s ease forwards;
}

.stat h3 {
    font-size: 2rem;
    color: #e11d48;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #64748b;
    font-weight: 500;
}

/* Product Specifications Styles */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.spec-item {
    background: #fdf2f8;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #e11d48;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.1);
    position: relative;
    height: 450px;
    display: flex;
    flex-direction: column;
}

.spec-image {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.spec-product-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #f9a8d4;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.15);
    transition: all 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    flex-shrink: 0;
    cursor: pointer;
}

.spec-product-image:hover {
    transform: scale(1.05);
    border-color: #e11d48;
    box-shadow: 0 12px 35px rgba(236, 72, 153, 0.4);
}

.spec-item h4 {
    color: #e11d48;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.spec-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 0.5rem;
}

.spec-item p {
    margin-bottom: 0.5rem;
    color: #64748b;
    line-height: 1.5;
}

.spec-item strong {
    color: #1e293b;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease forwards;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: #e11d48;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #64748b;
}

.contact-item a {
    color: #e11d48;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #be185d;
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.1);
    border: 1px solid #fce7f3;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e11d48;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #e11d48;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e11d48;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Image Modal/Lightbox Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    transition: all 0.3s ease;
}

.close {
    position: absolute;
    top: 10px;
    right: 30px;
    color: #f1f1f1;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #e11d48;
    text-decoration: none;
}

.modal-caption {
    color: white;
    font-size: 1.2rem;
    margin-top: 15px;
    font-weight: 500;
}

/* Message Styles */
.success-message {
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

.error-message {
    background: #ef4444;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdf2f8;
}

::-webkit-scrollbar-thumb {
    background: #f9a8d4;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ec4899;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        overflow: visible !important;
        z-index: 10001;
        position: relative;
    }
    
    .nav-container {
        padding: 0 15px;
        overflow: visible !important;
        position: relative;
    }
    
    .nav-logo {
        margin-left: 0;
        flex-shrink: 0;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 28px;
        height: 28px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        flex-shrink: 0;
        z-index: 10000;
        position: relative;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .hamburger:hover {
        transform: scale(1.05);
    }
    
    .nav-menu {
        position: absolute !important;
        left: 0 !important;
        top: 100% !important;
        flex-direction: column !important;
        background: linear-gradient(135deg, #ffffff 0%, #fdf2f8 100%) !important;
        width: 100% !important;
        height: auto !important;
        text-align: center !important;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out !important;
        box-shadow: 0 8px 32px rgba(236, 72, 153, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        padding: 0.75rem 0 !important;
        z-index: 9999 !important;
        display: flex !important;
        list-style: none !important;
        gap: 0 !important;
        border-radius: 0 0 16px 16px;
        border: 1px solid rgba(236, 72, 153, 0.1);
        backdrop-filter: blur(10px);
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .nav-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
        background: linear-gradient(135deg, #fce7f3 0%, #fdf2f8 100%) !important;
    }
    
    
    .nav-menu li {
        margin: 0;
        list-style: none;
        opacity: 0;
        transition: opacity 0.2s ease-in-out;
    }
    
    .nav-menu.active li {
        opacity: 1;
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.2s; }
    
    .nav-link {
        font-size: 1rem;
        font-weight: 500;
        padding: 0.75rem 1.5rem;
        display: block;
        color: #374151;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(236, 72, 153, 0.08);
        position: relative;
        overflow: hidden;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        height: 100%;
        background: linear-gradient(90deg, #fce7f3 0%, #fdf2f8 100%);
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
    }
    
    .nav-link:hover {
        color: #e11d48;
    }
    
    .nav-link:hover::before {
        width: 100%;
    }
    
    .nav-logo .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 50px;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .pet-illustration {
        font-size: 5rem;
        margin-top: 2rem;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .about p {
        font-size: 1rem;
        text-align: center;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat {
        flex: 1;
        min-width: 120px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        width: 100px;
        height: 100px;
    }
    
    .spec-product-image {
        width: 150px;
        height: 120px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .spec-item {
        height: auto;
        min-height: 350px;
        padding: 1rem;
    }
    
    .spec-content {
        justify-content: flex-start !important;
        gap: 0.5rem;
    }
    
    .spec-item h4 {
        text-align: center;
        margin-bottom: 0.75rem;
    }
    
    .spec-item p {
        text-align: left;
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .spec-item strong {
        color: #e11d48;
        font-weight: 600;
    }
    
    .spec-product-image {
        width: 180px;
        height: 135px;
    }
    
    .spec-product-image:active {
        transform: scale(0.95);
    }
    
    .modal-content {
        width: 95%;
        padding: 10px;
    }
    
    /* Mobile form improvements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 18px;
    }
    
    .form-group select {
        font-weight: 500;
        background-color: #ffffff;
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 20px;
        padding-right: 40px;
    }
    
    .close {
        top: 5px;
        right: 20px;
        font-size: 30px;
    }
    
    .about-logo-img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .about {
        padding: 40px 0;
    }
    
    .about h2 {
        font-size: 1.8rem;
    }
    
    .about p {
        font-size: 0.95rem;
    }
    
    .about-logo-img {
        width: 180px;
        height: 180px;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat {
        min-width: auto;
    }
}