@font-face {
    font-family: "Dalek";
    src: url("fonts/Dalek.ttf") format("truetype");
}

/* ===== CONFIG ===== */
:root {
    --gold: #e0b84f;
    --silver: #c0c0c0;

    --banner-height: 30vh;
    --banner-min-height: 220px;

    --bar-height: 12%;

    --nav-size: 22px;

    --social-size: 28px;
    --social-gap: 12px;
}

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

body {
    background: #000;
    font-family: Arial, sans-serif;
    color: #000;
}

/* ===== HEADINGS ===== */
h1,
h2 {
    font-family: "Dalek", Arial, sans-serif;
    color: #000;
    letter-spacing: 2px;
    text-shadow:
        1px 1px 2px rgba(0,0,0,0.5),
        0 0 6px rgba(224, 184, 79, 0.3);
}

h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

h2 {
    margin-top: 25px;
    margin-bottom: 10px;
}

p,
ul {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ===== LAYOUT ===== */
.page-wrapper {
    padding: 40px 20px 5px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    min-height: 88vh;

    box-shadow:
        0 -2px 0 var(--gold),
        0 2px 0 var(--gold);
}

/* ===== BANNER ===== */
.top-image {
    position: relative;
    height: var(--banner-height);
    min-height: var(--banner-min-height);

    background-image:
        url("images/logos/ddlogo.png"),
        url("images/logos/decimus.png"),
        url("images/logos/movie.png");

    background-repeat: no-repeat, no-repeat, no-repeat;

    background-position:
        left 20px center,
        right 75px bottom -34px,
        center center;

    background-size:
        auto 65%,
        auto 110%,
        cover;
}

/* ===== DDLOGO TOOLTIP HOTSPOT ===== */
.ddlogo-tooltip {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
    height: 65%;
    display: block;
    background: transparent;
    z-index: 4;
    cursor: default;
}

/* ===== BLACK BAR ===== */
.top-image::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: var(--bar-height);
    background: black;

    box-shadow:
        0 -2px 0 var(--gold),
        0 2px 0 var(--gold);

    z-index: 1;
}

/* ===== SOCIAL ===== */
.social-bar {
    position: absolute;
    top: 12px;
    left: 20px;
    display: flex;
    gap: var(--social-gap);
    z-index: 5;
}

.social-bar img {
    width: var(--social-size);
    height: var(--social-size);
    filter: brightness(0) invert(1);
    transition: transform 0.2s, filter 0.2s;
}

.social-bar a:hover img {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(74%) sepia(41%) saturate(400%);
}

/* ===== NAV ===== */
.nav-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: var(--bar-height);

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;

    z-index: 2;
}

.nav-bar a {
    font-family: "Dalek", Arial, sans-serif;
    font-size: var(--nav-size);
    color: var(--gold);
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-bar a:visited {
    color: var(--gold);
}

.nav-bar a:hover {
    color: var(--silver);
}

.nav-bar a.active {
    color: var(--silver);
    text-shadow: 0 0 6px rgba(192, 192, 192, 0.6);
}

/* ===== CONTENT ===== */
.content {
    min-height: 45vh;
    padding: 50px;
}

.content ul {
    padding-left: 20px;
}

/* ===== GALLERY ===== */
.gallery-section {
    margin-top: 40px;
}

.gallery-section:first-of-type {
    margin-top: 25px;
}

.gallery-section h2 {
    margin-bottom: 8px;
}

.gallery-section-intro {
    margin-bottom: 18px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    background: #111;
    border: 2px solid var(--gold);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(224, 184, 79, 0.2);
}

.gallery-item img,
.gallery-item video {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center center;
    background: #000;
}

.gallery-caption {
    padding: 14px 14px 16px;
    color: #f3f3f3;
    font-size: 14px;
    line-height: 1.5;
    min-height: 72px;
}

/* ===== GALLERY PAGE ONLY OVERRIDES ===== */
body.gallery-page .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

body.gallery-page .gallery-item img,
body.gallery-page .gallery-item video {
    height: 320px;
}

/* gallery image position helpers */
body.gallery-page .gallery-item.pos-top img,
body.gallery-page .gallery-item.pos-top video {
    object-position: center top;
}

body.gallery-page .gallery-item.pos-upper img,
body.gallery-page .gallery-item.pos-upper video {
    object-position: center 25%;
}

body.gallery-page .gallery-item.pos-center img,
body.gallery-page .gallery-item.pos-center video {
    object-position: center center;
}

body.gallery-page .gallery-item.pos-lower img,
body.gallery-page .gallery-item.pos-lower video {
    object-position: center 75%;
}

body.gallery-page .gallery-item.pos-bottom img,
body.gallery-page .gallery-item.pos-bottom video {
    object-position: center bottom;
}

/* ===== ABOUT ===== */
.about-layout {
    display: flex;
    align-items: stretch;
    gap: 30px;
    margin-bottom: 25px;
}

.about-text {
    flex: 1;
}

.about-image-box {
    flex: 0 0 380px;
    display: flex;
    align-self: stretch;
    position: relative;
}

.about-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    border: 2px solid var(--gold);
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(224, 184, 79, 0.2);
    background: #000;
}

.about-image:hover {
    box-shadow: 0 0 14px rgba(224, 184, 79, 0.35);
}

/* ===== ABOUT HISTORY ===== */
.about-history-section {
    display: block;
}

.about-history-image-box {
    float: right;
    width: 230px;
	margin: 6px 0 12px 30px;
}

.about-history-image {
    display: block;
    width: 250px;
    height: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.about-history-section p {
    margin-top: 0;
    margin-bottom: 18px;
}

.about-history-section::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 700px) {
    .about-history-image-box {
        float: none;
        width: 100%;
        max-width: 230px;
        margin: 0 auto 20px;
    }
}

/* ===== EVENTS ===== */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.event-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-left: 8px;
}

.event-logo {
    width: 140px;
    height: 140px;
    flex: 0 0 140px;
    border: 2px solid var(--gold);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    margin-top: 8px;
    box-shadow: 0 0 10px rgba(224, 184, 79, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-logo a {
    display: block;
    width: 100%;
    height: 100%;
}

.event-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* only clickable event logos animate */
.event-logo.clickable:hover {
    transform: scale(1.05);
    box-shadow: 0 0 14px rgba(224, 184, 79, 0.45);
}

.event-details {
    flex: 1;
}

.event-details h2 {
    margin-top: 0;
}

.event-title {
    display: inline-block;
    background: linear-gradient(to bottom, #111, #000);
    color: var(--gold);
    padding: 6px 16px 8px;
    border: 2px solid var(--gold);
    border-radius: 22px;
    font-family: "Dalek", Arial, sans-serif;
    letter-spacing: 2px;
    margin-bottom: 8px;
    box-shadow:
        0 0 8px rgba(224, 184, 79, 0.35),
        inset 0 0 6px rgba(224, 184, 79, 0.15);
    transition: all 0.25s ease;
}

.event-details .event-date,
.event-details .event-location,
.event-details .event-description {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 6px;
}

.event-details .event-icon {
    flex: 0 0 26px;      /* wider fixed column */
    width: 26px;
    text-align: center;
    font-size: 18px;
    line-height: 1.4;
    margin-top: 2px;     /* aligns icon with first text line */
}

.event-details .event-line-text {
    flex: 1;
    min-width: 0;
}

.event-details .map-link {
    text-decoration: none;
}
.event-actions {
    margin-top: 12px;
}

.event-more-button {
    display: inline-block;
    background: #111;
    color: #fff;
    border: 2px solid #d4a017;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    text-decoration: none;
}

.event-more-button:visited {
    color: #fff;
}

.event-more-button:hover {
    background: #222;
    color: #fff;
}
/* ===== EVENT DETAIL PAGE ===== */
.event-page-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 25px;
}

.event-page-main {
    flex: 1;
}

.event-page-image-box {
    flex: 0 0 360px;
}

.event-page-image {
    display: block;
    width: 100%;
    border: 2px solid var(--gold);
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(224, 184, 79, 0.2);
    background: #000;
}

.event-meta {
    margin: 20px 0 24px;
    padding: 18px;
    background: #111;
    border: 2px solid var(--gold);
    border-radius: 12px;
    color: #f3f3f3;
    box-shadow: 0 0 10px rgba(224, 184, 79, 0.2);
}

.event-meta p {
    margin-bottom: 10px;
    color: #f3f3f3;
}

.event-meta strong {
    color: var(--gold);
}

.event-back-link {
    margin-top: 30px;
}

@media (max-width: 900px) {
    .event-page-layout {
        flex-direction: column;
    }

    .event-page-image-box {
        flex: 1 1 auto;
        width: 100%;
        max-width: 500px;
    }
}
/* ===== PREVIOUS EVENTS ===== */
.previous-events-section {
    margin-top: 40px;
}

.previous-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.previous-event-item {
    background: #111;
    border: 2px solid var(--gold);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(224, 184, 79, 0.2);
    display: flex;
    flex-direction: column;
}

.previous-event-item img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.previous-event-caption {
    padding: 10px 12px 14px;
    color: #f3f3f3;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    min-height: 68px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Title (top line) */
.previous-event-caption .caption-title {
    font-weight: bold;
    display: block;
}

/* Date (bottom line) */
.previous-event-caption .caption-date {
    margin-top: 2px;
    display: block;
}
/* ===== EVENT DETAIL PAGE ACTIONS ===== */
.event-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    align-items: center;
}

.event-page-actions .button-link.button-link-secondary {
    background: #111;
    color: #fff;
    border: 2px solid #d4a017;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    font-weight: normal;
    text-decoration: none;
}

.event-page-actions .button-link.button-link-secondary:hover {
    background: #222;
    color: #fff;
}

/* ===== HIRE ===== */
.hire-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 25px;
}
.hire-card {
    background: #111;
    color: #fff;
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(224, 184, 79, 0.2);
}

.hire-card h2 {
    color: var(--gold);
    margin-top: 0;
}

.hire-card p,
.hire-card li {
    color: #f3f3f3;
}

.hire-card a {
    color: var(--gold);
    text-decoration: underline;
}

.hire-card a:visited {
    color: var(--gold);
}

.hire-card a:hover {
    color: var(--silver);
}

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
    margin-top: 30px;
}

.contact-card {
    max-width: 720px;
    background: #111;
    color: #fff;
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(224, 184, 79, 0.2);
}

.contact-card h2 {
    color: var(--gold);
    margin-top: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row label {
    color: var(--gold);
    font-weight: bold;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    color: #fff;
    background: #1b1b1b;
    border: 1px solid var(--gold);
    border-radius: 8px;
    outline: none;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: #bbb;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--silver);
    box-shadow: 0 0 0 2px rgba(192, 192, 192, 0.2);
}

.form-row textarea {
    resize: vertical;
    min-height: 140px;
}

.form-hint {
    color: #d8d8d8;
    font-size: 13px;
    line-height: 1.4;
}

.form-actions {
    margin-top: 6px;
}

.form-actions button {
    background: var(--gold);
    color: #000;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.form-actions button:hover {
    background: var(--silver);
    transform: translateY(-1px);
}

.form-status {
    min-height: 22px;
    margin-top: 6px;
    margin-bottom: 0;
    color: var(--gold);
    font-weight: bold;
}

.form-status-success {
    color: #7fe08a;
}

.form-status-error,
.form-error {
    color: #ff9b9b;
}

.form-error {
    font-size: 13px;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ===== MAP LINK ===== */
.map-link {
    text-decoration: none;
    margin-right: 6px;
    display: inline-block;
    line-height: 1;
}

.map-link:hover {
    transform: scale(1.15);
    cursor: pointer;
}

/* ===== FOOTER ===== */
.site-footer {
    text-align: center;
    margin-top: 14px;
    padding: 0 0 14px;
}

.site-footer p {
    margin: 0;
    font-family: "Dalek", Arial, sans-serif;
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.gallery-page .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .previous-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-layout {
        flex-direction: column;
    }

    .about-image-box {
        flex: 1 1 auto;
        width: 100%;
        max-width: 500px;
    }

    .about-image {
        height: auto;
    }
}

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

    body.gallery-page .gallery-grid {
        grid-template-columns: 1fr;
    }

    body.gallery-page .gallery-item img,
    body.gallery-page .gallery-item video {
        height: 240px;
    }

    .gallery-caption {
        min-height: auto;
    }

    .content {
        padding: 30px 20px;
    }

    .nav-bar {
        gap: 20px;
        flex-wrap: wrap;
    }

    .nav-bar a {
        font-size: 18px;
    }

    .event-logo {
        width: 74px;
        height: 74px;
        flex: 0 0 74px;
    }

    .previous-events-grid {
        grid-template-columns: 1fr;
    }

    .previous-event-item img {
        height: 170px;
    }

    .previous-event-caption {
        min-height: auto;
    }

    .contact-card {
        padding: 16px;
    }
}

/* ===== HOME ===== */
.hero-panel {
    max-width: 760px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.button-link {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--gold);
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.button-link:hover {
    background: var(--silver);
}

.button-link-secondary {
    background: #111;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.button-link-secondary:hover {
    color: #000;
}

/* ====== SHARE ===== */
.event-share {
    margin-top: 12px;
}

.share-event-btn {
    background: #111;
    color: #fff;
    border: 2px solid #d4a017;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
}

.share-event-btn:hover {
    background: #222;
}
/* Hide share button for specific events */
.event-card.no-share .event-share {
    display: none;
}

/* ====== GLOBAL ===== */

/* Global link style (match Hire page) */
.content a {
    color: var(--gold);
    text-decoration: underline;
}

.content a:visited {
    color: var(--gold);
}

.content a:hover {
    color: var(--silver);
}

/* ====== SOCIAL FEEDS ===== */

/* ====== FACEBOOK HOME ===== */
.facebook-follow-box {
    margin-top: 40px;
    padding: 20px;
    background: #111;
    border: 2px solid #d4a017;
    border-radius: 16px;
    text-align: center;
}

.facebook-follow-box h3 {
    color: #d4a017;
}

.facebook-button {
    display: inline-block;
    margin-top: 12px;
    background: #111;
    color: #fff;
    border: 2px solid #d4a017;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
}

.facebook-button:hover {
    background: #222;
}