:root {
    --accent: #c20000;
    --text-color: #222;
    --bg-color: #fff;
    --ca-red: #d8000a;
    --ca-blue: #2c7fd1;
}
body {
    font-family: Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    margin: 0;
}
header {
    border-bottom: 1px solid #eee;
    padding: 10px;
}
a { color: var(--accent); }
form { max-width: 400px; margin: 20px auto; }
input[type=text] { width: 100%; padding: 10px; font-size: 1.2em; }
.error { color: red; }
.gallery { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery img { max-width: 100%; height: auto; }

/* PhotoMatch */
#pm-container { display: flex; gap: 20px; }
.pm-left { width: 40%; max-height: 80vh; overflow-y: auto; }
.pm-right { flex: 1; display: flex; flex-wrap: wrap; gap: 10px; max-height: 80vh; overflow-y: auto; }
.pm-folder { border: 1px solid #ccc; padding: 5px; margin-bottom: 10px; }
.pm-folder .pm-thumbs img { width: 40px; height: auto; margin-right: 4px; }
.pm-photo { width: 120px; border: 1px solid #ccc; padding: 3px; }
.pm-photo img { width: 100%; height: auto; display: block; }
.pm-folder .pm-sub { font-size: 0.8em; color: #666; }
.pm-photo .pm-date { font-size: 0.8em; text-align: center; margin-top: 4px; }
.pm-photo.selected { outline: 3px solid var(--accent); }

/* Main site navigation */
/* Main site navigation */
.ca-navbar {
    background-color: var(--ca-blue);          /* blue bar */
    border-bottom: 6px solid var(--ca-red);    /* red stripe under it */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.ca-logo {
    height: 74px;
    width: auto;
}

/* Brand text if you decide to show it next to logo */
.ca-brand-text {
    color: #fff;
    line-height: 1.2;
}

.ca-brand-name {
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 1rem;
}

.ca-brand-tagline {
    font-size: 0.92rem;
    font-weight: 600;
    color: #f9f9f9;
    letter-spacing: 0.01em;
}

/* Nav links */
.ca-nav-list {
    align-items: center;
    gap: 0.25rem;
}

.ca-nav-list .nav-link {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.75rem 0.9rem;
    text-transform: uppercase;
}

.ca-nav-list .nav-link:hover,
.ca-nav-list .nav-link:focus {
    color: var(--ca-red);
}

.ca-nav-list .nav-link.active {
    color: var(--ca-red);
}

/* Toggler button (mobile) */
.ca-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
}

.ca-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Social icons */
.ca-social {
    align-items: center;
}

.ca-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 999px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ca-social-link:hover,
.ca-social-link:focus {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.ca-social-icon {
    height: 28px;
    width: 28px;
    display: block;
}

/* Desktop tweaks */
@media (min-width: 992px) {
    .ca-nav-list {
        flex-direction: row;
        gap: 0.75rem;
    }

    .ca-brand-tagline {
        font-size: 0.85rem;
    }
}

/* Mobile spacing around collapsed menu */
@media (max-width: 991.98px) {
    .ca-navbar .navbar-collapse {
        background-color: var(--ca-blue);
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }

    .ca-nav-list .nav-link {
        padding: 0.55rem 0.75rem;
    }
}


@media (max-width: 991.98px) {
    .ca-brand-tagline {
        font-size: 0.85rem;
    }

    .ca-nav-list .nav-link {
        padding: 0.55rem 0.75rem;
    }

    .ca-navbar .navbar-collapse {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }
}

/* Homepage redesign */
:root {
    --home-blue: #2b72de;
    --home-light-blue: #f3f7ff;
    --home-red: #e62127;
    --home-dark: #111111;
    --home-gray: #555555;
    --home-card-radius: 14px;
    --home-max-width: 1200px;
}

.ca-top-bar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--home-blue);
    color: #fff;
    height: 70px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

.ca-top-bar::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 10px;
    background: var(--home-red);
    z-index: 0;
}

.ca-top-bar-inner {
    max-width: var(--home-max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 30px;
    padding-top: 40px;
}

.ca-nav-row {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.ca-nav-row::-webkit-scrollbar { display: none; }

.ca-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
}

.ca-brand-logo {
    height: 64px;
    width: auto;
}

.ca-nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 6px 0;
}

.ca-nav-link:hover,
.ca-nav-link:focus,
.ca-nav-link.active {
    color: var(--home-red);
}

.ca-nav-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ca-nav-icon img {
    width: 22px;
    height: 22px;
    display: block;
}

@media (max-width: 700px) {
    .ca-top-bar {
        height: 70px;
    }

    .ca-top-bar-inner {
        padding: 0 12px;
        padding-top: 40px;
    }

    .ca-nav-row {
        gap: 16px;
    }

    .ca-nav-links {
        gap: 16px;
        font-size: 11px;
    }
}

.home-main {
    padding: 0;
    margin: 0;
    max-width: 100%;
}

.home-page {
    min-height: 100vh;
    background: #ffffff;
}

.home-hero {
    max-width: var(--home-max-width);
    margin: 0 auto;
    padding: 28px 20px 40px;
    position: relative;
}

.home-hero::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 60%;
    width: 100vw;
    height: 10px;
    background: var(--home-red);
    z-index: 0;
}

.home-hero-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.home-hero-logo img {
    max-width: 260px;
    height: auto;
    display: block;
    animation: fadeIn 2s ease forwards;
    opacity: 0;
}

.home-hero-heading {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--home-dark);
    animation: fadeIn 2s ease forwards;
    animation-delay: 2s;
    opacity: 0;
}

.home-hero-sub {
    font-size: 14px;
    color: var(--home-red);
    font-weight: 600;
    animation: fadeIn 2s ease forwards;
    animation-delay: 4s;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.home-feature-row {
    background: var(--home-light-blue);
    margin-top: 24px;
    padding: 24px 0 40px;
}

.home-feature-grid {
    max-width: var(--home-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 0 20px;
}

.home-card {
    background: #ffffff;
    border-radius: var(--home-card-radius);
    padding: 22px 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.home-card-heading {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--home-dark);
}

.home-search-outer {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 0 0 2px #e7ebf5, 0 12px 24px rgba(0,0,0,0.1);
}

.home-search-form {
    background: #f5f7fc;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-search-form input {
    border-radius: 8px;
    border: 1px solid #d1d6e4;
    padding: 10px;
    font-size: 13px;
}

.home-search-form button {
    border: none;
    border-radius: 8px;
    padding: 10px;
    background: #000;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.home-card-media {
    padding: 0;
    overflow: hidden;
}

.home-card-image {
    border-radius: var(--home-card-radius);
    height: 100%;
    min-height: 180px;
    background-size: cover;
    background-position: center;
}

.home-pricing p {
    margin-bottom: 12px;
    color: var(--home-gray);
}

.home-link {
    display: inline-block;
    color: var(--home-blue);
    font-weight: 700;
    text-decoration: none;
    margin-top: 8px;
}

.home-link:hover,
.home-link:focus {
    text-decoration: underline;
}

.home-info {
    max-width: var(--home-max-width);
    margin: 26px auto 40px;
    padding: 0 20px;
    font-size: 14px;
}

.home-info-row {
    display: grid;
    grid-template-columns: 1.3fr 3fr 1.2fr;
    gap: 20px;
    margin-bottom: 32px;
}

.home-info-header {
    grid-column: 1 / 4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-line-left,
.home-line-right {
    height: 2px;
    background: var(--home-red);
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.home-line-left { width: 75px; flex-shrink: 0; }
.home-line-right { flex: 1; }

.home-info-label {
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.home-info-main ul { padding-left: 20px; }
.home-info-main li { margin-bottom: 8px; }

.home-event-list { padding-left: 20px; margin-bottom: 0; }
.home-event-list li { margin-bottom: 8px; }

@media (max-width: 980px) {
    .home-hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 700px) {
    .home-hero {
        padding-top: 5px !important;
    }

    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-info-row {
        grid-template-columns: 1fr;
    }

    .home-info-main,
    .home-info-note {
        grid-column: 1 / 2;
    }
}
