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

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

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

.logo {
    font-size: 512px;   /* Make it very big for export */
    font-weight: 700;
    line-height: 1;     /* Important: removes extra vertical space */
}

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

/*.navbar.scrolled {*/
/*    background: rgba(255, 255, 255, 0.98);*/
/*}*/

/*.nav-container {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    padding: 1rem 2rem;*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*}*/

/*.nav-logo h2 {*/
/*    color: #6a11cb;*/
/*    margin: 0;*/
/*}*/

/*.nav-links {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 2rem;*/
/*}*/

/*.nav-links a {*/
/*    text-decoration: none;*/
    /*color: #6a11cb;  purple - consolidated from the later override */
/*    font-weight: 500;*/
/*    transition: color 0.3s ease;*/
/*}*/

/*.nav-links a:hover {*/
/*    color: #5a0db5;*/
/*}*/

/*.nav-cta {*/
/*    background: #6a11cb;*/
   /* color: white !important; /* consolidated from later override 
/*    border: none;*/
/*    padding: 0.5rem 1.5rem;*/
/*    border-radius: 5px;*/
/*    cursor: pointer;*/
/*    font-weight: 500;*/
/*    transition: background 0.3s ease;*/
/*}*/

/*.nav-cta:hover {*/
/*    background: #5a0db5;*/
/*}*/

/* Hamburger */
/*.menu-toggle {*/
/*    display: none;*/
/*    font-size: 1.8rem;*/
/*    cursor: pointer;*/
/*    color: #6a11cb;*/
/*}*/

/* Hero Section with Background Image */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)),
                url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 2rem 60px;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.cta-btn.primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,107,107,0.3);
}

.cta-btn.secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
    background: white;
    color: #6a11cb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.2);
}

/* Compact Category Navigation Section */
.category-navigation {
    padding: 40px 2rem;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: visible;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 200px;
    background: #f8f9fa;
}

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

.category-image {
    width: 100%;
    height: 120px;
    position: relative;
}

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

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

.category-content {
    padding: 1rem;
    text-align: center;
}

.category-badge {
    background: #6a11cb;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* CONSOLIDATED: this rule was previously duplicated (once here, once
   further down) with identical values. Merged into one definition. */
.category-card h3 {
    font-size: 1rem;
    margin: 0;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    white-space: normal;
}

.category-card p {
    display: none; /* Hide description to save space */
}

.category-link {
    display: none; /* Hide link to save space */
}

/* Template Section */
.template-section {
    padding: 60px 2rem;
    background: #f8f9fa;
}

.template-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 300px 150px;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.template-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.template-card.large {
    grid-row: 1 / span 2;
}

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

.template-image {
    width: 100%;
    height: 100%;
    position: relative;
}

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

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

.template-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.template-content {
    color: white;
    width: 100%;
}

.template-badge {
    background: #ff6b6b;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.template-card.large h2 {
    font-size: 1.6rem;
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
}

.template-card h3 {
    font-size: 1.1rem;
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
}

.template-content p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    line-height: 1.3;
    font-size: 0.9rem;
}

.template-link {
    font-weight: 600;
    font-size: 0.85rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.template-card:hover .template-link {
    opacity: 1;
}

/* Trust Section */
.trust-section {
    padding: 60px 2rem;
    background: white;
}

.trust-content h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.trust-item .trust-number {
    font-size: 2rem;
    font-weight: bold;
    color: #6a11cb;
    margin-bottom: 0.3rem;
}

.trust-item p {
    color: #666;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 2rem 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    color: #999;
    font-size: 0.9rem;
}

/* Mobile Navbar */
/*@media (max-width: 768px) {*/
/*    .menu-toggle {*/
/*        display: block;*/
/*    }*/

/*    .nav-links {*/
/*        position: absolute;*/
/*        top: 100%;*/
/*        right: 0;*/
/*        background: white;*/
/*        width: 100%;*/
/*        flex-direction: column;*/
/*        align-items: center;*/
/*        gap: 1rem;*/
/*        padding: 1.5rem 0;*/
/*        display: none;*/
/*        box-shadow: 0 5px 15px rgba(0,0,0,0.1);*/
/*    }*/

/*    .nav-links.active {*/
/*        display: flex !important;*/
/*    }*/

/*    .nav-links a {*/
/*        color: #6a11cb;*/
/*        font-size: 1.1rem;*/
/*    }*/
/*}*/

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 40vh;          /* smaller hero on mobile */
        padding: 80px 1rem 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        display: none;             /* hidden on mobile by design */
    }

    .hero-cta {
        display: none;             /* hidden on mobile by design */
    }

    /* FIXED: category cards previously had a fixed height (180px) with
       a fixed-height image (100px), leaving too little room for the
       badge + heading text. Combined with overflow:hidden on
       .category-card, long titles like "Places You Can't Miss in Kenya"
       were being clipped instead of wrapping. Switching to height:auto
       with a min-height lets the card grow to fit its content. */
    .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

     .category-card {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.category-image {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-card h3 {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}
    .template-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }

    .template-card.large {
        grid-row: auto;
        height: 250px;
    }

    .template-card {
        height: 150px;
    }

    /*.nav-links {*/
    /*    display: none;*/
    /*}*/

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .category-navigation {
        padding: 30px 1rem;
    }

    .category-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
}

    .template-section {
        padding: 40px 1rem;
    }

    .trust-section {
        padding: 40px 1rem;
    }
}

@media (max-width: 360px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}
