/* Category Hero Section */
.category-hero {
    background: linear-gradient(135deg, rgba(101, 67, 33, 0.8) 0%, rgba(139, 69, 19, 0.7) 100%), 
                url('../../images/cup-3135071_1280.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0 60px;
    color: white;
    text-align: center;
    margin-bottom: 40px;
}

.hero-title {
    font-family: 'pacificoregular', cursive;
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-family: 'rubiklight', sans-serif;
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 15px 0;
    margin-bottom: 20px;
    font-family: 'rubiklight';
}

.breadcrumb-item a {
    color: #e67e22;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #7e5109;
}

.breadie:hover {
    color: #d35400;
    text-decoration: underline;
}

/* Intro Section */
.intro-section {
    background: rgba(245, 222, 179, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    border-left: 4px solid #e67e22;
}

.intro-text {
    font-family: 'rubiklight';
    font-size: 1.2rem;
    color: #5d4037;
    margin: 0;
    line-height: 1.6;
}

/* Category Cards */
.category-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
    height: 100%;
}

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

.card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.8) 0%, rgba(211, 84, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.category-card:hover .image-overlay {
    opacity: 1;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-icon {
    color: white;
    font-size: 3rem;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1);
}

/* Card Body */
.card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-header {
    margin-bottom: 1.5rem;
}

.category-title-icon {
    font-size: 2.5rem;
    color: #e67e22;
    margin-bottom: 1rem;
    display: block;
}

.category-title {
    font-family: 'rubiklight', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
}

.category-description {
    font-family: 'rubiklight', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Card Footer */
.card-footer {
    background: transparent;
    border: none;
    padding: 0;
    margin-top: auto;
}

/* CTA Button */
.cta3 {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    border: whitesmoke !important;
    border-radius: 25px;
    padding: 12px 30px;
    font-family: 'rubiklight';
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 200px;
}

.cta3:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.4);
    color: white;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

/* Features Section */
.features h2 {
    display: none; /* Hidden since we have hero section now */
}

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

.category-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation for cards */
.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }

/* Responsive Design */
@media (max-width: 992px) {
    .category-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .card-image {
        height: 200px;
    }
    
    .intro-section {
        padding: 20px;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .category-hero {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .category-description {
        font-size: 0.95rem;
    }
}

/* Ensure proper spacing */
.pre {
    padding: 0 15px;
}

/* Remove old styles */
.row:after {
    content: none;
    display: none;
    clear: none;
}

/* Link styles */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: inherit;
}