/*
Theme Name: Zoo Directory FR/BL
Description: A custom WordPress theme for Zoo directory website
Version: 1.0.0
Author: Claude Code
*/

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header Styles */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 50px;
    width: auto;
}

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

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

.main-nav a:hover {
    color: #2063e9;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 400px;
    background: linear-gradient(rgba(233, 30, 99, 0.7), rgba(233, 30, 99, 0.7)), url('assets/hero-section.png') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section:nth-child(even) {
    background-color: #f8f9fa;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.section h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #333;
}

/* Dropdown Styles */
.search-dropdowns {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.dropdown-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dropdown-group label {
    font-weight: 600;
    color: #555;
}

.dropdown-group select {
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 200px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.dropdown-group select:hover,
.dropdown-group select:focus {
    border-color: #2063e9;
    outline: none;
}

/* Card Styles */
.cards-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.cards-grid.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.cards-grid.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.cards-grid.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    margin-bottom: 0.75rem;
    color: #333;
    font-size: 1.25rem;
    text-align: left;
}

.card h4 {
    margin-bottom: 0.75rem;
    color: #2063e9;
    font-size: 1.1rem;
}

.card p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.card a {
    text-decoration: none;
    color: inherit;
}

/* Rating Stars */
.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.rating-value {
    font-weight: 600;
    color: #333;
}

/* Work Hours */
.work-hours {
    margin-bottom: 1rem;
}

.work-day {
    padding: 0.25rem 0;
    display: flex;
    justify-content: space-between;
}

/* Attributes */
.attributes {
    margin-bottom: 1.5rem;
}

.attribute-category {
    margin-bottom: 1rem;
}

.attribute-category ul {
    list-style: none;
    padding-left: 1rem;
}

.attribute-category li {
    padding: 0.25rem 0;
    position: relative;
}

.attribute-category li::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* Place Topics */
.place-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.topic-tag {
    background: #2063e9;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

/* Contact Info */
.contact-info {
    margin-bottom: 1rem;
}

.contact-item {
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #2063e9;
    text-decoration: none;
}

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

/* Post Content */
.post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.post-image {
    margin-bottom: 2rem;
    text-align: center;
}

.post-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.post-details {
    max-width: 800px;
    margin: 0 auto;
}

.detail-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.detail-section h2 {
    color: #2063e9;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: left;
}

/* Navigation Links */
.nav-link {
    display: inline-block;
    background: #2063e9;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background: #c2185b;
    color: white;
}

/* Breadcrumbs */
.breadcrumbs {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumbs a {
    color: #2063e9;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #666;
}

/* Footer */
footer {
    background: #333;
    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 {
    margin-bottom: 1rem;
    color: #2063e9;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

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

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

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #2063e9;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .search-dropdowns {
        flex-direction: column;
        align-items: center;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .cards-grid.grid-2,
    .cards-grid.grid-3,
    .cards-grid.grid-4 {
        grid-template-columns: 1fr;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .section h3 {
        font-size: 1.5rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .detail-section {
        padding: 1rem;
    }
}