/* Dog Profile Styles */

/* Header Navigation */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

header .logo {
    margin: 0;
}

header .logo h1 {
    margin: 0;
}

header .logo a {
    display: inline-block;
    transition: transform 0.3s ease;
}

header .logo a:hover {
    transform: scale(1.05);
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
    padding: 5px 0;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #59c9b3;
    transition: width 0.3s;
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
    width: 100%;
}

header nav ul li a.active {
    color: #59c9b3;
    font-weight: 600;
}

.back-nav {
    background: #f8f9fa;
    padding: 15px 0;
}

.back-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #764ba2;
}

.dog-profile {
    padding: 60px 20px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

/* Photo Section */
.photo-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-photo {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin-bottom: 20px;
}

/* Video Section */
.video-section {
    margin: 30px 0;
}

.video-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    background: #f8f9fa;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.video-note {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

.video-note em {
    font-style: italic;
}

.status-badge {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
}

.status-badge.available {
    background: #d4edda;
    color: #155724;
    border: 2px solid #28a745;
}

/* Details Section */
.details-section h1 {
    font-size: 42px;
    color: #333;
    margin-bottom: 5px;
}

.breed {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
}

.quick-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.fact {
    display: flex;
    flex-direction: column;
}

.fact-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.fact-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Sections */
.personality-section,
.story-section,
.requirements-section,
.health-section {
    margin-bottom: 35px;
}

.details-section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b35;
}

.traits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trait {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.story-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.requirements-section ul,
.health-section ul {
    list-style: none;
    padding: 0;
}

.requirements-section li,
.health-section li {
    padding: 8px 0;
    color: #555;
    font-size: 16px;
}

/* CTA Buttons */
.cta-section {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-apply {
    background: linear-gradient(135deg, #ff6b35 0%, #f7971e 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-browse {
    background: white;
    color: #667eea;
    padding: 18px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    border: 2px solid #667eea;
    transition: all 0.3s;
}

.btn-browse:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

/* Adoption Process Section */
.adoption-process {
    background: #f8f9fa;
    padding: 60px 20px;
}

.adoption-process h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #333;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.process-step {
    text-align: center;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.process-step h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.process-step p {
    font-size: 14px;
    color: #666;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.contact-cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    background: white;
    color: #667eea;
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 968px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .photo-section {
        position: relative;
        top: 0;
    }

    .main-photo {
        height: 400px;
    }

    .quick-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .details-section h1 {
        font-size: 32px;
    }

    .cta-section {
        flex-direction: column;
    }

    .btn-apply,
    .btn-browse {
        width: 100%;
        text-align: center;
    }

    .contact-options {
        flex-direction: column;
    }

    .contact-btn {
        width: 100%;
    }
}

/* Enhanced Tablet Responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .main-photo {
        height: 400px;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .video-container video {
        border-radius: 10px;
    }

    .main-photo {
        height: 350px;
    }

    .details-section h1 {
        font-size: 2rem;
    }

    .traits {
        gap: 8px;
    }

    .trait {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-options {
        flex-direction: column;
        gap: 15px;
    }

    .contact-btn {
        width: 100%;
        padding: 15px;
    }
}

/* Small Phone Enhancements */
@media (max-width: 480px) {
    .main-photo {
        height: 280px;
    }

    .details-section h1 {
        font-size: 1.8rem;
    }

    .quick-facts {
        grid-template-columns: 1fr;
    }

    .btn-apply,
    .btn-browse {
        padding: 15px 30px;
        font-size: 1rem;
    }
}
