/* Base Resets & Background Image */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    /* Replace with your preferred background photo path */
    background: linear-gradient(rgba(18, 12, 34, 0.75), rgba(18, 12, 34, 0.85)), 
                url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=1920') no-repeat center center fixed;
    background-size: cover;
    color: #f3f4f6;
    padding: 20px;
    min-height: 100vh;
}

/* Glassmorphism Card Style Helper */
.card, header, .highlighted-bar, footer {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Header */
   .main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-image: linear-gradient(to right, #ff007f, #7f00ff) 1;
}

   .logo {
    font-weight: bold;
    font-size: 1.4rem;
    color: #00f0ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a {
    color: #f3f4f6;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff007f;
}

/* Highlighted Links Bar */
.highlighted-bar {
    margin-bottom: 25px;
    padding: 12px 20px;
}

.scroller {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}

.hl-link {
    color: #afb3ff;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s, color 0.2s;
}

.hl-link:hover {
    color: #00f0ff;
    transform: translateY(-1px);
}

/* Main Layout for BIG SCREENS */
@media (min-width: 769px) {
    .content-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 25px;
    }

    .left-column {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

/* Card Specific Styling */
.media-block {
    background: rgba(255, 0, 127, 0.15);
    border: 1px solid rgba(255, 0, 127, 0.3);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.media-block h3 {
    color: #ff007f;
    margin-bottom: 5px;
}

.subtext {
    opacity: 0.7;
    font-size: 0.9rem;
}

.description-block-left {
    min-height: 150px;
}

.description-block-main {
    background: rgba(127, 0, 255, 0.1);
    border: 1px solid rgba(127, 0, 255, 0.2);
}

.content-grid h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

/* Footer layout for BIG SCREENS */
footer.main-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 25px;
}

.footer-section h4 {
    color: #00f0ff;
    margin-bottom: 10px;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: #fff;
}

.icons-row {
    display: flex;
    gap: 15px;
    font-size: 1.3rem;
    cursor: pointer;
}

/* SMALL SCREEN OVERRIDES (Blocks arranging from up to down - NOT flex) */
@media (max-width: 768px) {
    /* Break all containers out to standard block display */
    .content-grid, 
    .left-column,
    footer.main-footer {
        display: block !important;
    }

    /* Force standard block element spacing stacking downwards */
    .media-block, 
    .description-block-left, 
    .description-block-main,
    .footer-section {
        display: block !important;
        width: 100%;
        margin-bottom: 20px;
    }
    
    /* Clear the bottom margin from the last item inside footer */
    .footer-section:last-child {
        margin-bottom: 0;
    }
}

.photo-container {
    padding: 0; /* Removes padding so the image goes edge-to-edge if desired */
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.responsive-media {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps aspect ratio while filling the block */
    display: block;
}

.logo a {
    display: block;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 4px;        /* Adjust this height to match your logo asset */
    width: 4px;         /* Maintains aspect ratio automatically */
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius:8px ;
}
