
CSS
/* ==========================================================================
   Adur Model Car Club Custom Styles (T4 Framework + Purity IV)
   Target: fixed-width, page shadow, logo overlap, and specific content text
========================================================================== */

/* 1. Body and Overall Page Shadow
   Targeting .t4-wrapper to center the site and add the main shadow.
   Added a very soft, multi-layered shadow for depth. */
.t4-wrapper {
    max-width: 1200px; /* Fixed maximum width */
    margin: 2rem auto; /* Center with top/bottom padding */
    width: 95%;        /* Relative width on smaller screens */
    box-shadow: 
        0 1px 3px rgba(0,0,0,0.06), 
        0 6px 12px rgba(0,0,0,0.1), 
        0 20px 40px rgba(0,0,0,0.15); /* Main deep shadow */
    background: #fff;  /* Solid background for the shadow to work against */
    border-radius: 4px; /* Optional slight rounding for a cleaner look */
    overflow: hidden; /* Contains elements and shadow */
    transition: width 0.3s ease; /* Smooth transition for responsiveness */
}

/* 2. Logo Overlap (Hero/Slideshow Section)
   Targeting the logo container and moving it down to overlap.
   Ensure your logo image itself is large enough and has a transparent background. */
.t4-header {
    background: transparent !important; /* Make header background clear to see through */
    position: relative; /* Ensure it stays in flow but allows relative moving */
    z-index: 101;       /* Ensure it's above the hero */
}

/* Adjust the logo position down to overlap the hero section */
.t4-logo {
    position: relative;
    top: 35px; /* Adjust this value to control how much it overlaps */
    padding-left: 15px; /* Match mock-up alignment */
}

/* Keep the menu at the top of the white box */
.t4-megamenu {
    padding-top: 15px; /* Alignment */
}

/* 3. General Styling Tweaks to Match Mock-up
   ========================================================================== */

/* Make the dark weekend section full-width inside the wrapper and fix background colors */
#t4-section-weekend, .section-weekend-wrapper {
    background-color: #1a2a44; /* Dark blue background */
    color: #fff;
    padding: 3rem 0;
    margin-left: calc(-5vw); /* Extend background past the wrapper container for full-bleed look */
    margin-right: calc(-5vw);
    padding-left: calc(5vw); /* Pull content back in */
    padding-right: calc(5vw);
}

.t4-main-body, .t4-main-wrapper {
    background: #fff;
}

/* Clean up hero section text placement and buttons */
.t4-section-hero .hero-content {
    padding-top: 150px; /* Leave space for the overlapping header and logo */
}

.t4-section-hero h1.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.t4-section-hero .hero-desc {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Fix grid block images to be cover/centered */
.t4-section-grid .t4-block-img {
    background-size: cover;
    background-position: center;
}

/* Simple fix to place text in grid blocks as shown */
.t4-section-grid .t4-block-title {
    padding: 10px;
}

/* Ensure track images fit */
.track-types-section img {
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Center all track text */
.track-types-section div {
    text-align: center;
    font-weight: 600;
}

/* 4. Three-Column Action Cards */
.action-card {
    position: relative;
    border-radius: 4px;
    text-align: center;
    color: #fff;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-size: cover;
    background-position: center;
    margin-bottom: 40px; /* Crucial: leaves space for the overlapping button */
}

/* Dark overlay for text readability */
.action-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    z-index: 1;
}

.action-card-content {
    position: relative;
    z-index: 2; /* Keeps text above the dark overlay */
}

.action-card h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.action-card p {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* The Overlapping Button */
.action-card .btn-primary {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%); /* Pulls the button down exactly half its height */
    background-color: #0d47a1; 
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    z-index: 3;
    white-space: nowrap;
}

/* ==========================================================================
   Adur Model Car Club Custom Styles (T4 Framework + Purity IV)
   Target: fixed-width, page shadow, logo overlap, and specific content layouts
========================================================================== */

/* 1. Body and Overall Page Shadow
-------------------------------------------------------------------------- */
body {
    background-color: #e5e7eb; /* Light grey background so the white page pops */
}

.t4-wrapper {
    max-width: 1200px; /* Fixed maximum width */
    margin: 2rem auto; /* Center with top/bottom padding */
    width: 95%;        /* Relative width on smaller screens */
    box-shadow: 
        0 1px 3px rgba(0,0,0,0.06), 
        0 6px 12px rgba(0,0,0,0.1), 
        0 20px 40px rgba(0,0,0,0.15); /* Main deep shadow */
    background: #fff;  /* Solid background for the shadow to work against */
    border-radius: 4px; /* Optional slight rounding for a cleaner look */
    /* Note: Do NOT use overflow: hidden here, or it will cut off dropdown menus and overlapping elements */
    position: relative;
}

/* 2. Header and Logo Overlap
-------------------------------------------------------------------------- */
.t4-header {
    background: #ffffff !important; 
    position: relative; 
    z-index: 101;       /* Ensure it's above the hero */
    padding: 10px 0;
    border-bottom: none;
}

/* Adjust the logo position down to overlap the hero section */
.t4-logo {
    position: relative;
    z-index: 102;
}

.t4-logo img {
    position: absolute;
    top: -20px; /* Pull it slightly up into the header */
    max-width: 130px; /* Adjust based on your actual logo size */
    background: #fff;
    border-radius: 50%; /* If your logo is circular and needs a background */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 3. Hero Section
-------------------------------------------------------------------------- */
.t4-section-hero {
    position: relative;
    text-align: center;
    color: #fff;
    padding: 100px 20px 80px;
    background-size: cover;
    background-position: center;
    margin-top: 0;
}

.t4-section-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    color: #fff;
}

.hero-desc {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* 4. Three-Column Action Cards (Race Events, Membership, Shop)
-------------------------------------------------------------------------- */
.action-cards-section {
    padding: 40px 20px;
}

.action-card {
    position: relative;
    border-radius: 4px;
    text-align: center;
    color: #fff;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-size: cover;
    background-position: center;
    margin-bottom: 30px; /* Crucial: leaves space for the overlapping button */
}

/* Dark overlay for text readability */
.action-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    z-index: 1;
}

.action-card-content {
    position: relative;
    z-index: 2; /* Keeps text above the dark overlay */
}

.action-card h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.action-card p {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* The Overlapping Button */
.action-card .btn-primary {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%); /* Pulls the button down exactly half its height */
    background-color: #0d47a1; 
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    z-index: 3;
    white-space: nowrap;
}

.action-card .btn-primary:hover {
    background-color: #002171;
}

/* 5. Weekend Schedule Section
-------------------------------------------------------------------------- */
.t4-section-weekend {
    background-color: #1a2a44 !important; /* Dark blue background, forced */
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;
}

.t4-section-weekend h2 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lines next to the title */
.t4-section-weekend h2::before,
.t4-section-weekend h2::after {
    content: '';
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
    flex-grow: 1;
    max-width: 150px;
    margin: 0 20px;
}

.t4-section-weekend ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.t4-section-weekend li {
    margin-bottom: 0.5rem;
} 

/* 6. Track Grid (Bottom)
-------------------------------------------------------------------------- */
.track-types-section {
    padding: 40px 20px;
}

.track-item {
    text-align: center;
    margin-bottom: 20px;
}

.track-item img {
    border-radius: 4px;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.track-item h4 {
    font-weight: 700;
    color: #333;
}

/* 7. Footer / Lower Section
-------------------------------------------------------------------------- */
#t4-footer {
    background-color: #f8f9fa;
    padding: 40px 20px;
    border-top: 1px solid #eaeaea;
}

.footer-social-title, .footer-login-title {
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
}
custom.css
Displaying custom.css.