:root {
    --macomb-blue: #0047ba;
    --macomb-blue-dark: #002f6c;
    --macomb-blue-deep: #001f49;
    --macomb-blue-soft: #eaf2ff;
    --macomb-accent: #7ea6e0;
    --macomb-accent-soft: #eef4ff;
    --macomb-silver: #e5e7eb;
    --macomb-gray: #4b5563;
    --macomb-gray-dark: #1f2937;
    --macomb-white: #ffffff;
    --macomb-black: #111827;
    --macomb-border: #d1d5db;
    --macomb-shadow: 0 18px 45px rgba(17, 24, 39, 0.14);
    --macomb-shadow-soft: 0 10px 25px rgba(17, 24, 39, 0.1);
    --page-width: min(1180px, 92%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--macomb-black);
    background:
        linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
        radial-gradient(circle at top left, rgba(0, 71, 186, 0.18), transparent 34%),
        radial-gradient(circle at top right, rgba(126, 166, 224, 0.18), transparent 32%),
        linear-gradient(135deg, #f8fafc 0%, #eaf2ff 48%, #ffffff 100%);
    line-height: 1.65;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

p {
    font-size: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 4px solid var(--macomb-accent);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(14px);
}

.site-header::before {
    content: "Photo Club";
    display: block;
    background:
        linear-gradient(90deg, var(--macomb-blue-deep), var(--macomb-blue), var(--macomb-accent));
    color: var(--macomb-white);
    text-align: center;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 10px;
}

.header-inner {
    width: var(--page-width);
    margin: 0 auto;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    position: relative;
    padding: 8px 12px 8px 0;
    border-radius: 10px;
    text-decoration: none;
    color: var(--macomb-blue-dark);
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.25s ease;
}

.logo::before {
    content: "LL";
    width: 50px;
    height: 50px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    color: var(--macomb-white);
    background:
        linear-gradient(135deg, var(--macomb-blue), var(--macomb-blue-deep));
    border: 3px solid var(--macomb-accent);
    font-size: 1rem;
    letter-spacing: 0;
    box-shadow: var(--macomb-shadow-soft);
    transition: 0.25s ease;
}

.logo::after {
    content: "";
    position: absolute;
    left: 62px;
    bottom: 2px;
    width: 0;
    height: 4px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, var(--macomb-blue), var(--macomb-accent));
    transition: 0.25s ease;
}

.logo:hover,
.logo:focus {
    color: var(--macomb-blue);
    background: rgba(0, 71, 186, 0.08);
    transform: translateY(-2px);
}

.logo:hover::before,
.logo:focus::before {
    background:
        linear-gradient(135deg, var(--macomb-blue), var(--macomb-accent));
    transform: rotate(-4deg) scale(1.08);
    box-shadow: 0 12px 25px rgba(0, 71, 186, 0.28);
}

.logo:hover::after,
.logo:focus::after {
    width: 160px;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.main-nav a {
    text-decoration: none;
    font-weight: 900;
    font-size: 0.92rem;
    color: var(--macomb-blue-dark);
    padding: 10px 13px;
    border-radius: 8px;
    transition: 0.24s ease;
    border: 1px solid rgba(0, 71, 186, 0.12);
    background: rgba(255, 255, 255, 0.58);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--macomb-white);
    background:
        linear-gradient(135deg, rgba(0, 71, 186, 0.94), rgba(0, 47, 108, 0.9), rgba(126, 166, 224, 0.75));
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 24px rgba(0, 71, 186, 0.28);
    transform: translateY(-2px);
}

.hero {
    width: var(--page-width);
    margin: 34px auto 0;
    min-height: 590px;
    display: grid;
    align-items: center;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(90deg, rgba(0, 31, 73, 0.96), rgba(0, 71, 186, 0.78), rgba(126, 166, 224, 0.25)),
        url("../images/city.jpg") center / cover no-repeat;
    box-shadow: var(--macomb-shadow);
    border-bottom: 8px solid var(--macomb-accent);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.22), transparent 24%),
        radial-gradient(circle at 15% 85%, rgba(126, 166, 224, 0.25), transparent 22%);
}

.hero::after {
    content: "Photo Club Showcase";
    position: absolute;
    right: 30px;
    bottom: 30px;
    color: var(--macomb-white);
    background:
        linear-gradient(135deg, rgba(0, 71, 186, 0.92), rgba(126, 166, 224, 0.88));
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    box-shadow: 0 12px 25px rgba(17, 24, 39, 0.18);
}

.hero-content {
    position: relative;
    width: min(760px, 92%);
    padding: 56px;
    color: var(--macomb-white);
}

.eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 8px 14px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--macomb-blue-dark);
    border: 1px solid rgba(255, 255, 255, 0.45);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

h1,
h2,
h3 {
    line-height: 1.15;
}

h1 {
    margin: 0 0 20px;
    font-size: clamp(2.4rem, 6vw, 5rem);
    letter-spacing: -0.07em;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    letter-spacing: -0.05em;
    margin-top: 0;
    color: var(--macomb-blue-dark);
}

h3 {
    margin-top: 0;
    font-size: 1.28rem;
    color: var(--macomb-blue-dark);
}

.hero h1,
.hero h2,
.hero h3 {
    color: var(--macomb-white);
}

.hero-text {
    font-size: 1.08rem;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button,
button {
    display: inline-block;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-weight: 900;
    padding: 14px 22px;
    border-radius: 8px;
    transition: 0.24s ease;
}

.button.primary,
button {
    color: var(--macomb-white);
    background:
        linear-gradient(135deg, var(--macomb-blue), var(--macomb-blue-dark));
    box-shadow: 0 12px 24px rgba(0, 71, 186, 0.28);
}

.button.secondary {
    color: var(--macomb-white);
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.button:hover,
button:hover {
    transform: translateY(-3px);
    background:
        linear-gradient(135deg, rgba(0, 71, 186, 0.94), rgba(0, 47, 108, 0.88), rgba(126, 166, 224, 0.75));
    box-shadow: 0 18px 32px rgba(0, 71, 186, 0.24);
}

.button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.content-section,
.share-section {
    width: var(--page-width);
    margin: 34px auto;
    padding: 36px;
    border-radius: 0;
    background: var(--macomb-white);
    border: 1px solid var(--macomb-border);
    box-shadow: var(--macomb-shadow-soft);
}

.content-section {
    border-top: 6px solid var(--macomb-blue);
}

.share-section {
    text-align: center;
    background:
        linear-gradient(135deg, var(--macomb-blue-soft), var(--macomb-white));
    border-top: 6px solid var(--macomb-accent);
}

.two-column {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 30px;
    align-items: start;
}

.info-card,
.form-card,
.glass-card {
    background: var(--macomb-blue-soft);
    border: 1px solid rgba(0, 71, 186, 0.14);
    border-radius: 0;
    padding: 26px;
    box-shadow: var(--macomb-shadow-soft);
}

.info-card {
    border-left: 8px solid var(--macomb-accent);
}

.form-card {
    border-top: 8px solid var(--macomb-blue);
}

.pretty-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pretty-list li {
    margin: 12px 0;
    padding-left: 34px;
    position: relative;
    font-weight: 700;
}

.pretty-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--macomb-white);
    background:
        linear-gradient(135deg, var(--macomb-blue), var(--macomb-accent));
    font-size: 0.86rem;
    font-weight: 900;
}

.email-note {
    margin-bottom: 0;
    padding-top: 18px;
    font-weight: 700;
}

.email-note a {
    color: var(--macomb-blue);
    font-weight: 900;
}

.share-buttons {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.page-hero {
    width: var(--page-width);
    margin: 34px auto 0;
    color: var(--macomb-white);
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(0, 31, 73, 0.96), rgba(0, 71, 186, 0.78)),
        url("../images/nature.jpg") center / cover no-repeat;
    box-shadow: var(--macomb-shadow);
    border-bottom: 8px solid var(--macomb-accent);
}

.small-hero {
    padding: 64px 40px;
}

.small-hero h1 {
    color: var(--macomb-white);
}

.small-hero p {
    max-width: 760px;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.92);
}

.rule-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.glass-card {
    background: var(--macomb-white);
    border-top: 6px solid var(--macomb-blue);
    transition: 0.25s ease;
}

.glass-card:nth-child(even) {
    border-top-color: var(--macomb-accent);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--macomb-shadow);
}

.category-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: center;
    margin: 0 0 30px;
    padding: 22px;
    border-radius: 0;
    background: var(--macomb-white);
    border: 1px solid var(--macomb-border);
    border-left: 8px solid var(--macomb-blue);
    box-shadow: var(--macomb-shadow-soft);
}

.category-card:nth-child(even) {
    border-left-color: var(--macomb-accent);
}

.category-card.reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.category-card.reverse img {
    order: 2;
}

.category-card img,
.vote-card img,
.gallery-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: var(--macomb-shadow-soft);
    border: 5px solid var(--macomb-white);
    outline: 1px solid var(--macomb-border);
}

form {
    display: grid;
    gap: 14px;
}

label {
    font-weight: 900;
    color: var(--macomb-blue-dark);
}

input,
select,
textarea {
    width: 100%;
    font: inherit;
    border: 1px solid var(--macomb-border);
    border-radius: 5px;
    padding: 13px 14px;
    background: var(--macomb-white);
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(0, 71, 186, 0.2);
    border-color: var(--macomb-blue);
}

.small-text {
    color: var(--macomb-gray);
    font-size: 0.94rem;
    margin: 0;
}

.vote-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 30px 0;
}

.vote-card,
.gallery-card {
    margin: 0;
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 0;
    background: var(--macomb-white);
    border: 1px solid var(--macomb-border);
    border-top: 7px solid var(--macomb-blue);
    box-shadow: var(--macomb-shadow-soft);
    transition: 0.25s ease;
}

.vote-card:nth-child(even),
.gallery-card:nth-child(even) {
    border-top-color: var(--macomb-accent);
}

.vote-card:hover,
.gallery-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--macomb-shadow);
}

.vote-title,
.gallery-card strong {
    display: block;
    font-size: 1.22rem;
    font-weight: 900;
    color: var(--macomb-blue-dark);
}

.vote-category,
.gallery-card span {
    display: block;
    color: var(--macomb-gray);
    font-weight: 800;
}

.vote-card input {
    width: auto;
    transform: scale(1.3);
    accent-color: var(--macomb-blue);
}

.centered-form {
    max-width: 720px;
    margin: 0 auto;
}

.chat-box {
    overflow: hidden;
    border-radius: 0;
    border: 1px solid var(--macomb-border);
    border-top: 8px solid var(--macomb-blue);
    box-shadow: var(--macomb-shadow-soft);
    background: var(--macomb-white);
    padding: 20px;
}

.chat-frame {
    width: 100%;
    height: 560px;
    border: 0;
    display: block;
}

.chat-backup {
    padding: 16px;
    text-align: center;
}

.chat-backup a {
    color: var(--macomb-blue);
    font-weight: 900;
}

/* Macomb-style footer */

.site-footer {
    width: 100%;
    margin: 44px 0 0;
    padding: 0;
    color: var(--macomb-white);
    background: var(--macomb-blue-deep);
}

.footer-school {
    background:
        linear-gradient(135deg, rgba(0, 31, 73, 0.98), rgba(0, 71, 186, 0.95)),
        radial-gradient(circle at top right, rgba(126, 166, 224, 0.25), transparent 35%);
    border-top: 8px solid var(--macomb-accent);
}

.footer-school-inner {
    width: var(--page-width);
    margin: 0 auto;
    padding: 42px 0 30px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-brand-block h2,
.footer-column h3 {
    color: var(--macomb-white);
}

.footer-brand-block h2 {
    margin: 0 0 12px;
    font-size: 1.8rem;
    letter-spacing: -0.04em;
}

.footer-brand-block p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.78);
}

.footer-badge {
    display: inline-block;
    background:
        linear-gradient(135deg, var(--macomb-accent), rgba(255, 255, 255, 0.18));
    color: var(--macomb-white);
    font-weight: 900;
    padding: 8px 12px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.76rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.footer-column h3 {
    margin: 0 0 14px;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 8px;
}

.footer-column p,
.footer-column a {
    color: rgba(255, 255, 255, 0.78);
}

.footer-column p {
    margin: 0 0 8px;
}

.footer-column a {
    display: block;
    text-decoration: none;
    font-weight: 700;
    margin: 8px 0;
    padding: 6px 8px;
    border-radius: 6px;
    transition: 0.22s ease;
}

.footer-column a:hover {
    color: var(--macomb-white);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(126, 166, 224, 0.35), rgba(0, 71, 186, 0.45));
    transform: translateX(4px);
}

.footer-project-links a {
    color: rgba(255, 255, 255, 0.78);
}

.footer-bottom-bar {
    background: rgba(0, 0, 0, 0.24);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
    width: var(--page-width);
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.footer-bottom-inner p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
}

.footer-bottom-inner a {
    color: var(--macomb-white);
    text-decoration: none;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner a:hover {
    background:
        linear-gradient(135deg, rgba(0, 71, 186, 0.78), rgba(126, 166, 224, 0.62));
}

/* Extra visual polish */

.content-section h2::after,
.share-section h2::after {
    content: "";
    display: block;
    width: 76px;
    height: 4px;
    margin-top: 12px;
    background:
        linear-gradient(90deg, var(--macomb-blue), var(--macomb-accent));
}

.share-section h2::after {
    margin-left: auto;
    margin-right: auto;
}

.info-card:hover,
.form-card:hover,
.category-card:hover {
    box-shadow: var(--macomb-shadow);
}

input[type="radio"] {
    cursor: pointer;
}

::selection {
    background: var(--macomb-blue);
    color: var(--macomb-white);
}

@media (max-width: 1050px) {
    .footer-school-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 920px) {
    .header-inner,
    .two-column,
    .category-card,
    .category-card.reverse {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        padding: 18px 0;
    }

    .main-nav {
        justify-content: center;
    }

    .rule-grid,
    .vote-grid,
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .category-card.reverse img {
        order: 0;
    }

    .hero {
        min-height: 520px;
    }
}

@media (max-width: 720px) {
    .footer-school-inner {
        grid-template-columns: 1fr;
        padding: 34px 0 24px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .site-header::before {
        font-size: 0.74rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo::before {
        width: 42px;
        height: 42px;
        font-size: 0.82rem;
    }

    .hero-content {
        padding: 34px 24px;
    }

    .hero::after {
        display: none;
    }

    .content-section,
    .share-section,
    .small-hero {
        padding: 26px 20px;
    }

    .rule-grid,
    .vote-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .main-nav a {
        font-size: 0.86rem;
        padding: 8px 10px;
    }

    .category-card img,
    .vote-card img,
    .gallery-card img {
        height: 230px;
    }
}