/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Tablet Landscape and Below */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .welcome-content {
        grid-template-columns: 1fr;
    }
    
    .welcome-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .breeding-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cat-details-container {
        grid-template-columns: 1fr;
    }
    
    .cat-gallery-col {
        position: relative;
        top: 0;
    }
    
    .cats-grid-detailed {
        grid-template-columns: 1fr;
    }
}

/* Tablet Portrait and Below */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 100px);
        background-color: white;
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 30px 20px;
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin-bottom: 20px;
    }
    
    .nav-menu li a {
        font-size: 16px;
        display: block;
        padding: 10px 0;
    }
    
    /* Hero */
    .hero {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* Grids */
    .cats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .why-ragdoll-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-grid-large {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    /* Welcome Features */
    .welcome-features {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Contact Form */
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Cat Details */
    .cat-main-image {
        height: 350px;
    }
    
    .cat-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cat-specs {
        grid-template-columns: 1fr;
    }
    
    /* Filter */
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    /* CTA */
    .cta-buttons {
        flex-direction: column;
    }
    
    /* Lightbox Controls */
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
    }
    
    /* Info Box */
    .info-box {
        flex-direction: column;
        text-align: center;
    }
    
    /* Pagination */
    .pagination {
        flex-wrap: wrap;
    }
    
    /* Our Values */
    .our-values {
        padding: 40px 20px;
    }
    
    /* Adoption Process */
    .adoption-process {
        padding: 40px 20px;
    }
    
    /* CTA Box */
    .cta-box {
        padding: 40px 20px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.7rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.7rem;
    }
    
    /* Top Bar */
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-info a {
        margin: 0;
    }
    
    /* Logo */
    .logo img {
        height: 50px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    /* Hero */
    .hero {
        height: 350px;
    }
    
    .hero-content h1 {
        font-size: 1.7rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 15px;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item-large {
        height: 280px;
    }
    
    /* Cat Card */
    .cat-image {
        height: 220px;
    }
    
    .cat-main-image {
        height: 300px;
    }
    
    .cat-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    /* Price */
    .price {
        font-size: 1.3rem;
    }
    
    .price-value {
        font-size: 2.5rem;
    }
    
    /* Back to Top */
    #back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    /* Footer */
    .footer-top {
        padding: 40px 0;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    /* Social Buttons */
    .social-buttons {
        flex-direction: column;
    }
    
    /* Lightbox */
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
    }
    
    /* Cat Details */
    .cat-header-info h2 {
        font-size: 2rem;
    }
    
    .cat-footer-detailed {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Cats Grid Detailed */
    .cats-grid-detailed {
        grid-template-columns: 1fr;
    }
    
    /* Section Padding */
    section {
        padding: 40px 0;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    /* Why Item */
    .why-item {
        padding: 20px;
    }
}

/* Tablet and Mobile Landscape */
@media (max-width: 1000px) and (orientation: landscape) {
    .hero {
        height: 350px;
    }
    
    .cat-main-image {
        height: 400px;
    }
}

/* Very Small Mobile (320px) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 15px;
    }
    
    .cat-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-value {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .main-header,
    .hero,
    .cta-section,
    .main-footer,
    #back-to-top,
    .mobile-menu-toggle,
    .alert,
    .btn {
        display: none !important;
    }
    
    .main-content {
        padding: 0;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    .cat-card,
    .content-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: #000;
    }
    
    img {
        max-width: 100%;
        page-break-inside: avoid;
    }
    
    .container {
        max-width: 100%;
    }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Kann später für Dark Mode verwendet werden */
}