/* YorkMix Vouchers - Custom Responsive CSS Framework */

/* ==================== RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Font Family Definitions */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Semi Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.logo {
    font-family: 'Barlow Semi Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
}

.business-name, .business-title {
    font-family: 'Barlow Semi Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

.btn, button {
    font-family: 'Barlow Semi Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: 500;
}

img {
    max-width: 100%;
    height: auto;
}

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

button {
    border: none;
    cursor: pointer;
}

/* ==================== CUSTOM GRID SYSTEM ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col {
    flex: 1;
    padding: 0 10px;
}

/* Column system */
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; padding: 0 10px; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; padding: 0 10px; }
.col-3 { flex: 0 0 25%; max-width: 25%; padding: 0 10px; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; padding: 0 10px; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; padding: 0 10px; }
.col-6 { flex: 0 0 50%; max-width: 50%; padding: 0 10px; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; padding: 0 10px; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; padding: 0 10px; }
.col-9 { flex: 0 0 75%; max-width: 75%; padding: 0 10px; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; padding: 0 10px; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; padding: 0 10px; }
.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 10px; }

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
/* Mobile First - Base styles above apply to mobile */

/* Tablet styles */
@media (min-width: 768px) {
    .container { padding: 0 30px; }
    
    .tablet-col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .tablet-col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .tablet-col-3 { flex: 0 0 25%; max-width: 25%; }
    .tablet-col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .tablet-col-6 { flex: 0 0 50%; max-width: 50%; }
    .tablet-col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .tablet-col-12 { flex: 0 0 100%; max-width: 100%; }
    
    .tablet-hide { display: none; }
    .tablet-show { display: block; }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .container { padding: 0 40px; }
    
    .desktop-col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .desktop-col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .desktop-col-3 { flex: 0 0 25%; max-width: 25%; }
    .desktop-col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .desktop-col-6 { flex: 0 0 50%; max-width: 50%; }
    .desktop-col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .desktop-col-9 { flex: 0 0 75%; max-width: 75%; }
    .desktop-col-12 { flex: 0 0 100%; max-width: 100%; }
    
    .desktop-hide { display: none; }
    .desktop-show { display: block; }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.mobile-hide { display: none; }
.mobile-show { display: block; }

@media (min-width: 768px) {
    .mobile-hide { display: block; }
    .mobile-show { display: none; }
}

/* ==================== HEADER ==================== */
.header {
    background: #ff6b35;
    color: white
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.nav-menu {
    display: none;
    list-style: none;
}

.logo img
{
height: 60px;
margin-bottom: -10px;
}


.nav-menu li {
    display: inline-block;
    margin-left: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: white;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: yellow;
}

@media (min-width: 768px) {
    .nav-menu {
        display: block;
    }
}

/* ==================== SEARCH & FILTERS ==================== */
.search-filters {
    background: #fff;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.search-bar {
    display: flex;
    margin-bottom: 1.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 25px 0 0 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #ff6b35;
}

.search-button {
    padding: 0.75rem 1.5rem;
    background: #ff6b35;
    color: white;
    border-radius: 0 25px 25px 0;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background: #e55a2b;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

/* ==================== BUSINESS CARDS ==================== */
.business-grid {
    padding: 2rem 0;
}

.business-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    cursor: pointer;
}

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

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

.business-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.business-card-content {
    padding: 1.5rem;
}

.business-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.business-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.business-category {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ==================== BUSINESS DETAIL PAGE ==================== */
.business-hero {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.business-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 2rem;
}

.business-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.business-info {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.contact-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 25px;
    color: #333;
    transition: background-color 0.3s ease;
}

.contact-link:hover {
    background: #ff6b35;
    color: white;
}

.contact-link i {
    margin-right: 0.5rem;
}

.map-container {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin: 2rem 0;
}

/* ==================== OFFERS SECTION ==================== */
.offers-section {
    margin: 3rem 0;
}

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

.offer-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-2px);
}

.offer-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.offer-price {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.offer-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.offer-restrictions {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.offer-restrictions h4 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.offer-restrictions p {
    color: #666;
    font-size: 0.9rem;
}

.download-button {
    display: inline-flex;
    align-items: center;
    background: #28a745;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-button:hover {
    background: #218838;
    transform: translateY(-2px);
}

.download-button i {
    margin-right: 0.5rem;
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 767px) {
    .business-card-image {
        height: 150px;
    }
    
    .business-hero {
        height: 200px;
    }
    
    .business-title {
        font-size: 1.8rem;
    }
    
    .business-hero-overlay {
        padding: 1rem;
    }
    
    .contact-links {
        justify-content: center;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .search-bar {
        flex-direction: column;
    }
    
    .search-input {
        border-radius: 25px;
        margin-bottom: 1rem;
    }
    
    .search-button {
        border-radius: 25px;
    }
}

@media (min-width: 768px) {
    .business-grid .row {
        display: flex;
        flex-wrap: wrap;
    }
}

/* ==================== LOADING & STATES ==================== */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ==================== CUSTOM COMPONENTS ==================== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-primary {
    background: #ff6b35;
    color: white;
}

.badge-secondary {
    background: #6c757d;
    color: white;
}

.badge-success {
    background: #28a745;
    color: white;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #ff6b35;
    color: white;
}

.btn-primary:hover {
    background: #e55a2b;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}