/*
Theme Name: Imagine
Theme URI: https://example.com/imagine
Author: Your Name
Author URI: https://example.com
Description: A minimalist block-based WordPress theme with limited blocks.
Version: 1.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: imagine
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');


/* General Reset */
body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    background-color: #fff;
    color: #333;
}

body, .navbar, .btn, h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
}

.navbar{
    font-weight: 700;
    font-size: 16px;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #222;
}

p {
    line-height: 1.6;
    font-size: 16px;
}

/* Block Styles */
.wp-block-paragraph {
    margin-bottom: 20px;
}

.wp-block-heading {
    margin-top: 20px;
    margin-bottom: 10px;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.wp-block-list {
    padding-left: 20px;
}

.wp-block-media-text {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


.wp-block-quote {
    border-left: 4px solid lightblue;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    font-style: italic;
    color: #555;
}


.content p,
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6,
.content ul,
.content ol
{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5px;
    padding-right: 5px;
}

.content p {
    font-size: 18px;
}


/* Ensure Navbar Accommodates Logo */
.navbar-brand img {
    height: 153px;
    width: auto; /* Adjust width proportionally */
}

/* Adjust Navbar Height */
.navbar {
    min-height: 153px; /* Same height as logo */
    align-items: center;
    background-color: #ffffff;
}

/* Navbar Links */
.navbar-nav .nav-link {
    position: relative;
    padding: 15px 20px; /* Adjust padding for spacing */
}

/* Hover & Active State: Light-Blue Underline */
.navbar-nav .nav-link::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background-color: lightblue;
    position: absolute;
    bottom: -6px;
    left: 0;
   opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
    opacity: 1; /* Show underline on hover/active */
}

/* Show Dropdown on Hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Menu Styling */
.dropdown-menu {
    background-color: #ffffff; /* White background */
    border: none; /* No border */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Slight shadow */
    padding: 0; /* Remove default padding */
    border-radius: 0px !important;
    border: none !important;
}

/* Dropdown Items */
.dropdown-menu .dropdown-item {
    padding: 10px 15px;
    color: #333; /* Dark text */
}

.dropdown-menu .dropdown-item:hover {
    background-color: rgba(173, 216, 230, 0.3); /* Light-blue hover effect */
}


/* Business Categories */

.category-grid {
    margin: 0 auto;
    max-width: 1200px;
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); */
    grid-template-columns: repeat(2, 1fr);
    @media (min-width: 768px) {
        grid-template-columns: repeat(4, minmax(125px, 250px));
    };
    gap: 20px;
}
.category-item {
    text-align: center;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
}
.category-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.category-item h3 {
    margin: 10px 0 5px;
}

span.required {
    color: red;
    font-weight: bold;
}

span.subdued {
    font-size: 0.8em;
}

.festival2025 p {
    /* horizontal line */
    border-top: 1px solid #ddd;
}

/* Default styling for mobile */
.mobiletextarea {
    width: 95%;
    height: 100px;
}

/* Desktop styling (min-width 768px is a common breakpoint) */
@media (min-width: 768px) {
    .mobiletextarea {
        width: 700px;
    }
}

.mobiletextfield {
    width: 95%;
}

@media (min-width: 768px) {
    .mobiletextfield {
        width: 700px;
    }
}