:root {
            --primary: #7f0000;
            --primary-dark: #8d3f3f;
            --primary-light: #3b82f6;
            --accent: #06b6d4;
            --accent-dark: #0891b2;
            --bg-black: #0f0f0f;
            --bg-gray: #1a1a1a;
            --bg-card: #1f1f2e;
            --text-white: #ffffff;
            --text-gray: #a1a1aa;
            --text-light: #d4d4d8;
            --border: #2d2d3d;
            --success: #10b981;
            --warning: #f59e0b;
        }

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

        body {
            background: var(--bg-black);
            color: var(--text-white);
            line-height: 1.7;
            min-height: 100vh;
            font-family: "Playfair Display", serif;
            font-optical-sizing: auto;
            font-weight: 400;
            font-style: normal;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(15, 15, 15, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border);
            padding: 1rem 0;
            z-index: 1000;
        }

        nav .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-white);
            letter-spacing: -0.5px;
        }

        .logo img {
            width: 40px;
            height: 40px;
            object-fit: contain;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-links a {
            color: var(--text-light);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.2s ease;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        /* Container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .hero {
            padding: 8rem 1rem;
            background: url('https://imrs.madebydanny.uk?url=https://public-cdn.madebydanny.uk/jtf-media/media/RSD/banner.png');
            background-size: cover;
            background-position: center;
            background-attachment: scroll;
        
            /* Center content */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
        
            margin-top: 64px;
            position: relative;
        
            /* Full viewport height */
            min-height: calc(100vh - 64px);
        }


        .hero h1 {
            font-size: clamp(4.5rem, 8vw, 7rem);
        }

        .hero .subtitle {
            font-size: clamp(2rem, 4vw, 3rem);
        }

        .hero .tagline {
            font-size: 1.4rem;
            color: var(--text-light);
            margin-bottom: 2.5rem;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.875rem 2rem;
            background: var(--primary);
            color: white;
            font-weight: 600;
            font-size: 1rem;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.2s ease;
            border: 1px solid transparent;
        }

        .cta-button:hover {
            background: #8d3f3f;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px #8d3f3f;
        }

        .cta-button:active {
            transform: translateY(0);
        }

        /* Section Styling - Full Height */
        section {
            min-height: 100vh;
            padding: 5rem 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .section-title {
            font-size: clamp(4.5rem, 8vw, 7rem);
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 0.5rem;
            text-align: center;
            letter-spacing: -0.5px;
        }

        .section-subtitle {
            text-align: center;
            color: white;
            font-size: clamp(2rem, 4vw, 3rem);
            margin-bottom: 3rem;
        }

        /* About Section */
        #about {
            background: url('https://imrs.madebydanny.uk?url=https://public-cdn.madebydanny.uk/jtf-media/media/RSD/about.png');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
        }

        .about-content {
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
        }

        .about-content p {
            font-size: 1.1rem;
            color: white;
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .stat-card {
            text-align: center;
            padding: 2rem;
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid var(--border);
            border-radius: 12px;
            transition: all 0.2s ease;
        }

        .stat-card:hover {
            border-color: var(--primary);
            box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
            transform: translateY(-4px);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: #c97575;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            color: white;
            font-size: 0.95rem;
        }

        /* Subdivisions Grid */
        #subdivisions {
            background: url('https://imrs.madebydanny.uk?url=https://public-cdn.madebydanny.uk/jtf-media/media/RSD/about.png');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
        }

        .subdivisions-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .subdivision-card {
            background: rgba(0, 0, 0, 0.7);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 2rem;
            transition: all 0.2s ease;
        }

        .subdivision-card a {
            color: #8d3f3f;
            text-decoration: none;
        }

        .subdivision-card a:hover {
            text-decoration: underline;
            color: white;

        }

        .subdivision-card:hover {
            box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
            transform: translateY(-4px);
            border-color: var(--primary);
            background: rgba(0, 0, 0, 5);

        }

        .subdivision-card:hover p {
            color: var(--text-light);
        }

        .subdivision-card h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 0.75rem;
        }

        .subdivision-card .badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            background: black;
            color: White;
            font-size: 0.8rem;
            font-weight: 600;
            border-radius: 20px;
            margin-bottom: 1rem;
        }

        .subdivision-card p {
            color: var(--text-gray);
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        .subdivision-card ul {
            list-style: none;
            padding-left: 0;
        }

        .subdivision-card ul li {
            color: var(--text-gray);
            padding: 0.5rem 0;
            padding-left: 1.5rem;
            position: relative;
            font-size: 0.95rem;
        }

        .subdivision-card ul li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--primary);
            font-weight: bold;
        }

        /* Quick Links */
        #links {
            background: var(--bg-gray);
        }

        .quick-links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 1.5rem;
            margin-top: 3rem;
        }

        .quick-link {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 2rem;
            text-align: center;
            text-decoration: none;
            color: var(--text-white);
            transition: all 0.2s ease;
        }

        .quick-link:hover {
            border-color: var(--primary);
            box-shadow: 0 6px 24px rgba(37, 99, 235, 0.2);
            transform: translateY(-3px);
        }

        .quick-link .icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .quick-link h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-white);
        }

        .quick-link p {
            color: var(--text-gray);
            font-size: 0.9rem;
        }

        /* Media Gallery */
        #media {
            background: var(--bg-black);
        }

        .media-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .media-item {
            position: relative;
            aspect-ratio: 16/9;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .media-item:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 30px rgba(37, 99, 235, 0.2);
            border-color: var(--primary);
        }

        .media-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg-card);
            font-size: 3rem;
            color: var(--text-gray);
        }

        .media-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1rem;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        .media-item:hover .media-caption {
            opacity: 1;
        }

        /* Footer */
        footer {
            background: var(--bg-gray);
            border-top: 1px solid var(--border);
            padding: 3rem 0 2rem;
            margin-top: 0;
            text-align: center;
        }

        footer .footer-content {
            margin-bottom: 2rem;
        }

        footer h3 {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 0.5rem;
        }

        footer p {
            color: var(--text-gray);
            margin-bottom: 0.25rem;
            font-size: 0.95rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-top: 1.5rem;
        }

        .footer-links a {
            color: var(--text-gray);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.2s ease;
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .copyright {
            color: var(--text-gray);
            font-size: 0.85rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .hero .subtitle {
                font-size: 1.25rem;
            }

            .nav-links {
                gap: 1rem;
                flex-wrap: wrap;
            }

            .subdivisions-grid,
            .quick-links-grid,
            .media-gallery,
            .stats-grid {
                grid-template-columns: 1fr;
            }

            .section-title {
                font-size: 2rem;
            }
            
            /* Allow sections to be smaller on mobile if content doesn't fill */
            section {
                min-height: auto;
                padding: 4rem 0;
            }
        }