/**
 * Simple Real Estate Guides Styles
 */

/* Hero Section */
.guides-hero {
    background: linear-gradient(135deg, #07396a 0%, #d99513 100%);
    color: white;
    padding: 60px 0;
}

.guides-hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.guides-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.guides-hero .hero-description {
    font-size: 1rem;
    opacity: 0.8;
}

.guides-hero .hero-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Section Titles */
.section-title {
    color: #07396a;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
}

/* Featured Guides */
.featured-guides {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* PDF Preview Styles */
.pdf-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    border-radius: 8px;
    color: white;
    text-align: center;
}

.pdf-preview i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.pdf-preview span {
    font-size: 1.1rem;
    font-weight: 600;
}

.pdf-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    border-radius: 6px;
    color: white;
    text-align: center;
}

.pdf-thumb i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.pdf-thumb span {
    font-size: 0.8rem;
    font-weight: 600;
}

.guide-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.guide-card.featured {
    border: 2px solid #d99513;
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #d99513;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

.guide-image {
    height: 200px;
    overflow: hidden;
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.guide-card:hover .guide-image img {
    transform: scale(1.05);
}

.guide-content {
    padding: 1.5rem;
}

.guide-category {
    color: #d99513;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.guide-content h3 {
    color: #07396a;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.guide-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Categories Section */
.guides-categories {
    padding: 60px 0;
}

.category-section {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #07396a;
}

.category-info {
    display: flex;
    align-items: center;
}

.category-info i {
    font-size: 2.5rem;
    color: #07396a;
    margin-right: 1rem;
}

.category-info h2 {
    color: #07396a;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-info p {
    color: #666;
    margin-bottom: 0;
}

.guide-count span {
    background: #07396a;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

/* Guide Items */
.guide-item {
    display: flex;
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.guide-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.guide-thumb {
    width: 100px;
    height: 80px;
    margin-right: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.guide-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-info {
    flex: 1;
}

.guide-info h4 {
    color: #07396a;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.guide-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #07396a, #d99513);
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(7, 57, 106, 0.3);
}

.btn-outline-primary {
    border: 2px solid #07396a;
    color: #07396a;
    padding: 6px 18px;
    border-radius: 6px;
    font-weight: 500;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #07396a;
    color: white;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 10px;
}

.modal-header {
    background: linear-gradient(135deg, #07396a, #d99513);
    color: white;
    border-radius: 10px 10px 0 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.guide-full-content {
    line-height: 1.7;
}

.guide-full-content .guide-image img {
    border-radius: 8px;
}

.guide-meta .badge {
    font-size: 0.9rem;
    padding: 6px 12px;
}

.guide-text {
    color: #333;
    font-size: 1rem;
}

/* Breadcrumb */
.breadcrumb-nav {
    background-color: #f8f9fa;
    padding: 1rem 0;
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #d99513;
}

.breadcrumb-item a {
    color: #07396a;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .guides-hero {
        padding: 40px 0;
        text-align: center;
    }
    
    .guides-hero h1 {
        font-size: 2rem;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .category-info {
        flex-direction: column;
        margin-bottom: 1rem;
    }
    
    .category-info i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .guide-item {
        flex-direction: column;
        text-align: center;
    }
    
    .guide-thumb {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .guides-hero h1 {
        font-size: 1.8rem;
    }
    
    .guide-content {
        padding: 1rem;
    }
    
    .guide-item {
        padding: 1rem;
    }
}