/* Custom CSS for DK vom Schradenwald Website */

:root {
    --primary-color: #2c5530;
    --secondary-color: #8b4513;
    --accent-color: #d2691e;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --text-dark: #333;
    --text-light: #666;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
	max-width: 100%;
	overflow-x: hidden;
}

section {
	max-width: 100%;
	overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1e3d22;
    border-color: #1e3d22;
    transform: translateY(-2px);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.8), rgba(139, 69, 19, 0.8)),
                url('https://images.pexels.com/photos/551628/pexels-photo-551628.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 0 40px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    line-height: 1.1;
}

.hero-content .lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: inline-block;
    font-size: 2rem;
    text-decoration: none;
    animation: bounce 2s infinite;
}

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

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

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.95) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-link {
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

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

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Züchterin Section */
.zuchterin-image img {
    transition: transform 0.3s ease;
}

.zuchterin-image:hover img {
    transform: scale(1.02);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 85, 48, 0.25);
}

/* Contact Info */
.contact-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.2rem;
    width: 30px;
}

/* Sections */
section {
    padding: 80px 0;
}

.display-5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding: 100px 20px 60px 20px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-content .lead {
        font-size: 1.1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-buttons .btn {
        margin-bottom: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .zuchterin-content {
        margin-top: 2rem;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .display-5 {
        font-size: 2rem !important;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 15px 40px 15px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem !important;
    }
    
    .hero-content .lead {
        font-size: 1rem !important;
    }
    
    .hero-buttons .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .contact-item {
        font-size: 1rem;
    }
    
    .stammbaum-dog {
        min-width: 120px;
        padding: 0.8rem;
        margin: 0.3rem;
    }
    
    .welpe-card {
        padding: 1rem;
    }
}

/* Stammbaum Styles */
.stammbaum-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.stammbaum-generation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.stammbaum-dog {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 1rem;
    margin: 0.5rem;
    text-align: center;
    min-width: 150px;
    transition: transform 0.3s ease;
}

.stammbaum-dog:hover {
    transform: scale(1.05);
}

.stammbaum-dog h6 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stammbaum-dog small {
    color: var(--text-light);
}

/* Zertifikate Grid */
.zertifikate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.zertifikat-item {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.zertifikat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.zertifikat-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Welpen Grid */
.welpen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.welpe-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.welpe-card:hover {
    transform: translateY(-5px);
}

.welpe-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.welpe-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.welpe-status.verfugbar {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.welpe-status.reserviert {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.welpe-status.vermittelt {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}