/*
Theme Name: DrumSound Events
Theme URI: https://drumsound.co.za/
Author: DrumSound Events
Author URI: https://drumsound.co.za/
Description: Custom WordPress theme for DrumSound Events.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: drumsound
*/

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

:root {
    --ds-orange: #F6A200;
    --ds-teal: #1794A9;
    --ds-yellow: #F6A200;
    --ds-red: #E52321;
    --ds-red-dark: #AF2930;
    --ds-black: #111111;
    --ds-dark: #222222;
    --ds-white: #ffffff;
    --ds-light: #f6f6f6;
    --ds-grey: #555555;
    --ds-border: #e5e5e5;

    --ds-container: 1200px;
}


/* ==========================================================================
   RESET
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--ds-white);
    color: var(--ds-dark);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;
    line-height: 1.7;
}

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

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* ==========================================================================
   WORDPRESS
   ========================================================================== */

.wp-site-blocks {
    padding: 0;
}

.wp-block {
    max-width: none;
}


/* ==========================================================================
   MAIN CONTAINER
   ========================================================================== */

.ds-container {
    width: min(
        calc(100% - 40px),
        var(--ds-container)
    );

    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================================
   SECTIONS
   ========================================================================== */

.ds-section {
    width: 100%;
    padding: 90px 0;
}

.ds-section--light {
    background: var(--ds-light);
}


/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--ds-black);
    line-height: 1.2;
}

p {
    margin-top: 0;
    margin-bottom: 20px;
}

.ds-section-title {
    max-width: 900px;

    margin: 0 auto 55px;

    text-align: center;
}

.ds-section-title h2 {
    margin: 0 0 20px;

    color: var(--ds-teal);

    font-size: clamp(34px, 4vw, 50px);

    font-weight: 800;

    line-height: 1.15;
}

.ds-section-title p {
    max-width: 800px;

    margin: 0 auto;

    color: var(--ds-grey);

    font-size: 17px;

    line-height: 1.75;
}


/* ==========================================================================
   HEADER
   ========================================================================== */

.ds-header {
    position: relative;

    z-index: 9999;

    width: 100%;

    margin: 0;
    padding: 0;

    background: var(--ds-orange);

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.12);
}

.ds-header-inner {
    width: min(
        calc(100% - 40px),
        var(--ds-container)
    );

    min-height: 100px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* ==========================================================================
   LOGO
   ========================================================================== */

.ds-logo {
    display: flex;

    align-items: center;

    flex-shrink: 0;

    color: var(--ds-white);

    text-decoration: none;
}

.ds-logo img {
    width: auto;
    max-width: 240px;
    max-height: 85px;

    object-fit: contain;
}

.ds-logo .custom-logo-link {
    display: flex;
    align-items: center;
}


/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.ds-nav {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 4px;
}

.ds-nav a {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 44px;

    padding: 10px 13px;

    color: var(--ds-white) !important;

    background: transparent;

    border: 2px solid transparent;

    border-radius: 5px;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.2;

    text-decoration: none !important;

    white-space: nowrap;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.ds-nav a:hover {
    background: rgba(255,255,255,.15);

    border-color: rgba(255,255,255,.8);

    color: var(--ds-white) !important;
}

.ds-nav .current-menu-item > a,
.ds-nav a[aria-current="page"] {
    border-color: var(--ds-teal);
}

.ds-nav .ds-quote {
    margin-left: 8px;

    padding-left: 20px;
    padding-right: 20px;

    background: var(--ds-red);

    border-color: var(--ds-red);

    color: var(--ds-white) !important;
}

.ds-nav .ds-quote:hover {
    background: var(--ds-red-dark);

    border-color: var(--ds-red-dark);

    transform: translateY(-1px);
}


/* ==========================================================================
   MOBILE MENU BUTTON
   ========================================================================== */

.ds-menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    padding: 7px;

    background: transparent;

    border: 2px solid var(--ds-white);

    border-radius: 5px;

    cursor: pointer;
}

.ds-menu-toggle span {
    display: block;

    width: 100%;
    height: 3px;

    margin: 5px 0;

    background: var(--ds-white);

    border-radius: 2px;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.ds-hero {
    width: 100%;

    min-height: 620px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            135deg,
            #111111 0%,
            #242424 48%,
            var(--ds-teal) 100%
        );

    color: var(--ds-white);
}

.ds-hero-content {
    width: min(
        calc(100% - 40px),
        var(--ds-container)
    );

    margin: 0 auto;

    padding: 100px 0;
}

.ds-hero-eyebrow {
    margin: 0 0 20px;

    color: var(--ds-white);

    font-size: 15px;

    font-weight: 700;

    line-height: 1.5;

    letter-spacing: 1.5px;
}

.ds-hero h1 {
    max-width: 900px;

    margin: 0 0 30px;

    color: var(--ds-white) !important;

    font-size: clamp(44px, 6vw, 76px);

    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -1px;
}

.ds-hero-content > p:not(.ds-hero-eyebrow) {
    max-width: 760px;

    margin: 0 0 30px;

    color: rgba(255,255,255,.94);

    font-size: 18px;

    line-height: 1.7;
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.ds-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    padding: 14px 28px;

    background: var(--ds-red);

    border: 2px solid var(--ds-red);

    border-radius: 5px;

    color: var(--ds-white) !important;

    font-size: 15px;

    font-weight: 700;

    line-height: 1.2;

    text-decoration: none !important;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.ds-button:hover {
    background: var(--ds-red-dark);

    border-color: var(--ds-red-dark);

    color: var(--ds-white) !important;

    transform: translateY(-2px);
}

.ds-button--teal {
    background: var(--ds-teal);

    border-color: var(--ds-teal);
}

.ds-button--teal:hover {
    background: #116F7D;

    border-color: #116F7D;
}

.ds-hero-buttons {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 12px;

    margin-top: 30px;
}


/* ==========================================================================
   ACTIVITY CARDS
   ========================================================================== */

.ds-home-activities {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 30px;

    align-items: stretch;
}

.ds-card {
    min-width: 0;

    height: 100%;

    padding: 35px;

    display: flex;

    flex-direction: column;

    background: var(--ds-white);

    border: 1px solid var(--ds-border);

    border-radius: 8px;

    box-shadow:
        0 8px 30px rgba(0,0,0,.08);

    line-height: 1.7;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.ds-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.12);
}

.ds-card h3 {
    margin: 0 0 18px;

    color: var(--ds-black);

    font-size: 28px;

    font-weight: 700;

    line-height: 1.2;
}

.ds-card p {
    margin: 0 0 22px;

    color: var(--ds-grey);

    font-size: 15px;

    line-height: 1.75;
}

.ds-text-link {
    display: inline-block;

    margin-top: auto;

    padding-top: 10px;

    color: var(--ds-red);

    font-size: 14px;

    font-weight: 700;

    line-height: 1.5;

    text-decoration: none;
}

.ds-text-link:hover {
    color: var(--ds-red-dark);

    text-decoration: none;
}


/* ==========================================================================
   CTA
   ========================================================================== */

.ds-home-cta {
    background:
        linear-gradient(
            135deg,
            var(--ds-teal),
            #116F7D
        );

    color: var(--ds-white);

    text-align: center;
}

.ds-home-cta-inner {
    max-width: 850px;

    margin: 0 auto;
}

.ds-home-cta h2 {
    margin: 0 0 20px;

    color: var(--ds-white) !important;

    font-size: clamp(36px, 5vw, 54px);

    font-weight: 800;

    line-height: 1.15;
}

.ds-home-cta p {
    max-width: 700px;

    margin: 0 auto 30px;

    color: rgba(255,255,255,.92);

    font-size: 17px;

    line-height: 1.75;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.ds-footer {
    width: 100%;

    margin: 0;

    padding: 70px 0 30px;

    background: var(--ds-black);

    color: var(--ds-white);

    line-height: 1.7;
}

.ds-footer-inner {
    width: min(
        calc(100% - 40px),
        var(--ds-container)
    );

    margin: 0 auto;
}

.ds-footer-content {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 50px;
}

.ds-footer h3,
.ds-footer h4 {
    margin: 0 0 20px;

    color: var(--ds-white);

    font-size: 24px;

    font-weight: 700;

    line-height: 1.2;
}

.ds-footer p {
    margin: 0 0 18px;

    color: rgba(255,255,255,.8);

    font-size: 15px;

    line-height: 1.75;
}

.ds-footer-links {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 9px;
}

.ds-footer-links a,
.ds-footer-contact a {
    display: inline-block;

    color: rgba(255,255,255,.85);

    font-size: 15px;

    font-weight: 500;

    line-height: 1.5;

    text-decoration: none;
}

.ds-footer-links a:hover,
.ds-footer-contact a:hover {
    color: var(--ds-orange);

    text-decoration: none;
}

.ds-footer-bottom {
    padding-top: 25px;

    border-top:
        1px solid rgba(255,255,255,.15);

    text-align: center;
}

.ds-footer-bottom p {
    margin: 0;

    color: rgba(255,255,255,.6);

    font-size: 13px;

    line-height: 1.6;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media screen and (max-width: 1100px) {

    .ds-header-inner {
        gap: 15px;
    }

    .ds-nav a {
        padding-left: 9px;
        padding-right: 9px;

        font-size: 13px;
    }

    .ds-logo img {
        max-width: 210px;
    }
}


@media screen and (max-width: 900px) {

    .ds-menu-toggle {
        display: block;
    }

    .ds-nav {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 15px 20px 20px;

        background: var(--ds-orange);

        box-shadow:
            0 8px 15px rgba(0,0,0,.15);
    }

    .ds-nav.is-open {
        display: flex;
    }

    .ds-nav a {
        width: 100%;

        justify-content: center;

        padding: 14px;

        font-size: 15px;
    }

    .ds-nav .ds-quote {
        margin-left: 0;
    }

    .ds-header-inner {
        min-height: 90px;
    }

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

    .ds-footer-content {
        grid-template-columns: 1fr;

        gap: 35px;
    }
}


@media screen and (max-width: 600px) {

    .ds-container {
        width: calc(100% - 30px);
    }

    .ds-section {
        padding: 65px 0;
    }

    .ds-hero {
        min-height: auto;
    }

    .ds-hero-content {
        padding: 75px 0;
    }

    .ds-hero h1 {
        font-size: clamp(38px, 11vw, 58px);

        line-height: 1.08;

        letter-spacing: -.5px;
    }

    .ds-hero-content > p:not(.ds-hero-eyebrow) {
        font-size: 16px;

        line-height: 1.7;
    }

    .ds-hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .ds-hero-buttons .ds-button {
        width: 100%;
    }

    .ds-card {
        padding: 30px;
    }

    .ds-card h3 {
        font-size: 26px;
    }

    .ds-card p {
        font-size: 15px;

        line-height: 1.75;
    }

    .ds-footer {
        padding: 55px 0 25px;
    }

    .ds-footer-content {
        gap: 30px;

        padding-bottom: 35px;
    }
}