@import url('https://use.typekit.net/mor2viq.css');

/* Font Classes */
.font-corundum {
    font-family: "corundum-text", serif;
}

.font-brother {
    font-family: "brother-1816-printed", sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #ffffff;
    font-family: 'Georgia', serif;
    color: #1a1a1a;
}

p {
    font-size: 1.2em;
    line-height: 1.4em;
    font-weight: 300;
    background-color: rgba(255, 255, 255, 0.92);
    padding: 5px 20px;
}

p + p {
    text-indent: 1.5em;
    padding-top: 0px !important;
}

h1{
    font-size: 2em;
    font-weight: 700;
    color: #000000;
    letter-spacing: -1px;
}

/* Scroll Container */
.scroll-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    perspective: 1000px;
}

/* Layer System */
.layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-layer {
    z-index: 1;
    /* opacity: 1; */
}

.middle-layer {
    z-index: 50;
    width: 500vw;
    height: 100vh;
    display: grid;
    grid-template-rows: 1fr 3fr 1fr;
    grid-template-columns: repeat(20, 25vw);
    grid-auto-flow: column;
    gap: 0;
    position: fixed;
    top: 0;
    left: 0;
    overflow: visible;
    transform: translateX(0);
    padding-left: 0;
    padding-top: 30px;
    padding-bottom: 30px;

}
.middle-layer>* {
   align-content: flex-start;
}

.foreground-layer {
    z-index: 100;
    pointer-events: none;
}

/* Background Elements */
.bg-element {
    position: absolute;
    border-radius: 20px;
}

.bg-1 {
    width: 400px;
    height: 100vh;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background-image: url(./img/pillar.png);
    background-size: cover;
    top: 10%;
    left: 5%;
    opacity: 0.5 !important;
}

.bg-2 {
    width: 200vh;
    height: 100vh;
    background-image: url(./img/readme.svg);
    background-size: cover;
    top: 0%;
    left: -40%;
    opacity: 0.4 !important;
}

.bg-3 {
    width: 400px;
    height: 100vh;
    background-image: url(./img/pillar.png);
    background-size: cover;
    left: 20%;
    opacity: 0.7 !important;
}
.bg-4 {
    width: 400px;
    height: 100vh;
    background-image: url(./img/pillar.png);
    background-size: cover;
    top: 30%;
    left: -40%;
    opacity: 0.5 !important;
}

/* Content Styling */
.content-section {
    grid-row: 2;
    display: flex;
    flex-direction: column;
    padding: 40px;
    gap: 60px;
    width: 100%;
    height: 100%;
}

.logo-section {
    grid-row: 2;
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 25vw;
    min-height: 100%;
    box-sizing: border-box;
}

.logo-image {
    max-width: 100%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.main-header {
    text-align: center;
    margin-bottom: 80px;
}

.main-header h1 {
    font-size: 2em;
    font-weight: 700;
    color: #000000;
    letter-spacing: -1px;
    margin-bottom: 10px;
    text-shadow: none;
}

.tagline {
    font-size: 1.3rem;
    color: #333333;
    font-weight: 300;
    font-style: italic;
}

.report-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
}

.text-section {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.text-section:hover {
    opacity: 1;
}
.img-fit{
    width: 100%;
    height: 100%;
    object-fit: fill;
}
/* Typography Hierarchy */
.subheader {
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.paragraph {
    font-size: 1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 25px;
    text-align: justify;
}

.caption {
    font-size: 0.85rem;
    color: #555555;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.5px;
    margin-top: 15px;
}

/* Foreground Image */
.fg-image {
    position: absolute;
    left: 60vw;
    top: 10%;
    
    z-index: 101;
}

.fg-image img {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

.fg-image-2 {
    left: 380vw;
    top: 0%;
    transform: rotate(180deg);
}

/* Scrollbar Styling */
.middle-layer::-webkit-scrollbar {
    height: 8px;
}

.middle-layer::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.middle-layer::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.middle-layer::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .middle-layer {
        grid-template-columns: repeat(10, 40vw);
    }

    .main-header h1 {
        font-size: 2.5rem;
    }

    .subheader {
        font-size: 1.5rem;
    }

    .paragraph {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .content-section {
        padding: 40px 20px;
    }

    .bg-element {
        width: 200px !important;
        height: 200px !important;
    }
}
