* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    position: relative;
}

.nav-links a:hover {
    color: #f0f8ff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav-links a.active {
    background: rgba(255, 255, 255, 0.2);
    color: #f0f8ff;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: white;
    color: #667eea;
    border-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lang-btn.active:hover {
    background: #f8fafc;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.hero-content {
    flex: 1;
    padding: 0 2rem;
}

.location-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    color: #6c7983;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

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

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

.vienna-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 1rem;
    color: #6c7983;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
}

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

.services-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #6c7983;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
}

.service-card:active {
    transform: translateY(-3px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

.service-card p {
    color: #6c7983;
    line-height: 1.6;
}

.featured-service {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f2ff 100%);
}

/* Pet Gallery */
.pet-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem auto; /* Center the gallery */
    justify-items: center; /* Center the grid items */
    max-width: 640px; /* Constrain total gallery width */
    width: 100%;
}

/* Additional image constraints for server compatibility */
.pet-gallery {
    overflow: hidden; /* Prevent any overflow issues */
}

.pet-gallery * {
    box-sizing: border-box;
}

.pet-photo {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    max-width: 300px; /* Maximum width constraint */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin: 0 auto; /* Center the images */
}

.pet-photo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.pet-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    display: block;
    max-width: none; /* Override any global max-width */
}

.pet-photo:hover img {
    transform: scale(1.05);
}

.pet-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 1rem 0.5rem 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* How It Works Steps - Compact Version */
.how-it-works {
    margin-top: 2rem;
}

.how-it-works h4 {
    color: #4a5568;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.step-mini {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
}

.step-mini .step-number {
    background: #667eea;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 0.8rem;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.step-mini p {
    margin: 0;
    color: #6c7983;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.pricing-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

.pricing-card {
    background: white;
    color: #333;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    cursor: pointer;
}

.pricing-card:active {
    transform: translateY(-8px);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.pricing-card.featured h3 {
    color: white;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 2rem;
}

.pricing-card.featured .price {
    color: white;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #6c7983;
}

.pricing-card.featured .price span {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
    list-style: none;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    color: #6c7983;
}

.pricing-card.featured .pricing-features li {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.pricing-card.featured .pricing-features li::before {
    color: white;
}

.pricing-note {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.pricing-note p {
    margin: 0;
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

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

.about-text h2 {
    font-size: 2.5rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #6c7983;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #4a5568;
}

.feature-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.about-image {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.owner-pets h3 {
    color: #4a5568;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.owner-pets p {
    color: #6c7983;
    margin-bottom: 1.5rem;
}

.cats-emoji {
    font-size: 3rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #4a5568;
    color: white;
    text-align: center;
}

.contact-item {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 10px;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    opacity: 0.8;
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .pet-gallery {
        gap: 1.2rem;
        max-width: 520px;
    }
    
    .pet-photo {
        height: 220px;
        max-width: 250px;
    }
    
    .steps-grid {
        gap: 0.8rem;
    }
}

/* Mobile Responsive */
/* Mobile Navigation Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle .hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    pointer-events: none;
}

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

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

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

/* Mobile devices and tablets */
@media (max-width: 1024px) {
    .nav {
        justify-content: flex-start;
        gap: 15px;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        background: rgba(0, 0, 0, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.3);
        order: -1;
        flex-shrink: 0;
    }
    
    .logo {
        order: 0;
    }
    
    .nav-links {
        order: 1;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        gap: 1rem;
    }
    
    .language-switcher {
        order: 2;
        margin-left: auto;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 15px 20px;
        text-align: center;
        border-radius: 10px;
        width: 100%;
    }
    
    .language-switcher {
        margin-left: 0;
    }
}

/* Specific mobile devices */
@media (max-width: 480px) {
    .nav {
        justify-content: flex-start;
        gap: 10px;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        background: rgba(0, 0, 0, 0.2);
        border: 2px solid white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        order: -1;
        flex-shrink: 0;
    }
    
    .mobile-menu-toggle .hamburger {
        background: white;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }
    
    .logo {
        order: 0;
    }
    
    .language-switcher {
        order: 2;
        margin-left: auto;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .nav {
        justify-content: flex-start;
        gap: 15px;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        background: rgba(0, 0, 0, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.5);
        order: -1;
        flex-shrink: 0;
    }
    
    .logo {
        order: 0;
    }
    
    .language-switcher {
        order: 2;
        margin-left: auto;
    }
}

/* Fallback for all mobile devices */
@media screen and (max-device-width: 1024px) {
    .nav {
        justify-content: flex-start;
        gap: 15px;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        background: rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        order: -1;
        flex-shrink: 0;
    }
    
    .logo {
        order: 0;
    }
    
    .language-switcher {
        order: 2;
        margin-left: auto;
    }
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .pet-illustration {
        font-size: 5rem;
        margin-top: 2rem;
    }
    
    .location-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }
    
    .vienna-note {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
        margin-top: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pet-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 300px;
        margin: 2rem auto;
    }
    
    .pet-photo {
        height: 280px; /* Slightly taller for mobile */
        max-width: 280px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .services h2,
    .pricing h2,
    .about-text h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .service-card,
    .pricing-card,
    .about-image {
        padding: 1.5rem;
    }
}