@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@300;400;500;600;700&family=Anton&family=Rajdhani:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box
}

body,
html {
    padding: 0;
    margin: 0
}

body {
    background: #232323;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

.opaque {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-box-shadow:
        0 -100px 80px -40px #232323 inset,
        0 -200px 120px -60px rgba(35, 35, 35, 0.8) inset,
        0 -300px 160px -80px rgba(35, 35, 35, 0.6) inset;
    -moz-box-shadow:
        0 -100px 80px -40px #232323 inset,
        0 -200px 120px -60px rgba(35, 35, 35, 0.8) inset,
        0 -300px 160px -80px rgba(35, 35, 35, 0.6) inset;
    box-shadow:
        0 -100px 80px -40px #232323 inset,
        0 -200px 120px -60px rgba(35, 35, 35, 0.8) inset,
        0 -300px 160px -80px rgba(35, 35, 35, 0.6) inset;
    pointer-events: none;
}

.feature {
    position: fixed;
    top: 0;
    width: 100%;
    padding-top: 60%;
    /* preserves your aspect ratio */
    z-index: 0;
    overflow: hidden;

    /* Your original vignette/shadow */
    -webkit-box-shadow:
        0 -100px 80px -40px #232323 inset,
        0 -200px 120px -60px rgba(35, 35, 35, 0.8) inset,
        0 -300px 160px -80px rgba(35, 35, 35, 0.6) inset;
    box-shadow:
        0 -100px 80px -40px #232323 inset,
        0 -200px 120px -60px rgba(35, 35, 35, 0.8) inset,
        0 -300px 160px -80px rgba(35, 35, 35, 0.6) inset;
}

.feature-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* extra height for zoom scaling */
    object-fit: cover;
    object-position: center;
    transform-origin: center;
    will-change: transform, filter, opacity;
    z-index: -1;
    /* keeps shadows above it */
}


.feature-mobile {
    display: none;
    position: fixed;
    top: 0;
    z-index: 0;
    width: 100%;
    padding-top: 60%;
    background: url(GALLERY/_CHE0074.webp) center center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    -webkit-box-shadow:
        0 -100px 80px -40px #232323 inset,
        0 -200px 120px -60px rgba(35, 35, 35, 0.8) inset,
        0 -300px 160px -80px rgba(35, 35, 35, 0.6) inset;
    -moz-box-shadow:
        0 -100px 80px -40px #232323 inset,
        0 -200px 120px -60px rgba(35, 35, 35, 0.8) inset,
        0 -300px 160px -80px rgba(35, 35, 35, 0.6) inset;
    box-shadow:
        0 -100px 80px -40px #232323 inset,
        0 -200px 120px -60px rgba(35, 35, 35, 0.8) inset,
        0 -300px 160px -80px rgba(35, 35, 35, 0.6) inset;
}

@media(max-width: 600px) {
    .feature {
        display: none;
    }

    .feature-mobile {
        display: block;
    }
}

/* ----------------------- START ------------- */
.content {
    position: relative;
    z-index: 1;
    padding-top: 10%;
    width: 90%;
    margin: 0 auto;
}

.header {
    width: 100%;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    z-index: 10;
    justify-content: space-between;
    align-items: center;
}

.OG_top {
    font-family: 'fantasy';
    font-size: 2.2rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    margin: 0;
}

.OG_top:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4),
        0 0 16px rgba(255, 255, 255, 0.6);
}

.OG_top:active {
    transform: translateY(2px);
    text-shadow: 0 0 4px rgba(255, 0, 0, 0.6),
        0 0 8px rgba(255, 0, 0, 0.8);
}

.header-navbar {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding-right: 10%;
    padding-left: 10%;
}

.header-navbar>ul {
    display: flex;
    align-items: center;
    margin: 0;
}

.header-navbar ul>li {
    text-decoration: none;
    list-style: none;
    margin-left: 20px;
    margin-right: 20px;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.25rem;
}

.OGNEN_INTRO {
    font-family: 'Bebas Neue', cursive;
    font-size: 7rem;
    font-weight: 400;
    letter-spacing: 4px;
    position: relative;
    text-transform: uppercase;
    line-height: 0.9;
    text-align: center;
    margin-bottom: 10px;
}

.OGNEN_INTRO_UNDER {
    text-align: center;
    margin: 0 auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    width: 50%;
    color: rgb(255, 255, 255);
    margin-bottom: 30%;
}

#ABOUT {
    width: 100%;
    margin-top: 20%;
}

.about-title {
    text-align: center;
    display: flex;
    margin-bottom: 10px;
}

.content p {
    font-family: Rajdhani;
    width: 40%;
    text-justify: distribute;
    margin: 0;
    font-weight: 600;
    font-size: 1.2rem;
}

h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 2.2rem;
}

.sect {
    text-align: left;
    font-family: 'Oswald';
    font-size: 3.2rem;
    text-decoration: underline;
}


h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.header-navbar ul li a:hover {
    color: #4a6b8a;
    background: linear-gradient(135deg, rgba(19, 36, 64, 0.2), rgba(74, 107, 138, 0.1));
    box-shadow:
        0 0 15px rgba(19, 36, 64, 0.4),
        0 0 25px rgba(74, 107, 138, 0.3),
        0 0 35px rgba(106, 142, 171, 0.2);
    text-shadow:
        0 0 8px rgba(19, 36, 64, 0.8),
        0 0 16px rgba(74, 107, 138, 0.6);
    transform: translateY(-2px);
}

.header-navbar ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #132440, #4a6b8a, #6a8eab);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.header-navbar ul li a:hover::before {
    width: 100%;
}

.header-navbar ul li a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(19, 36, 64, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: -1;
}

.header-navbar ul li a:hover::after {
    width: 120%;
    height: 120%;
    opacity: 0.6;
}

.header-navbar ul li a:active {
    transform: translateY(0);
    box-shadow:
        0 0 10px rgba(19, 36, 64, 0.6),
        0 0 20px rgba(74, 107, 138, 0.4);
}

.header-navbar ul li {
    transition: transform 0.2s ease;
}

.header-navbar ul li:hover {
    transform: scale(1.05);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.text-center-h {
    margin: 0 auto;
    width: 80%;
    text-align: center;
    text-justify: center;
}

.about-grid>div>p {
    width: 100%;
    justify-content: right;
    margin-bottom: 50px;
}

.about-grid>div>h2 {
    justify-content: center;
}

.video-container iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.footer {
    background: linear-gradient(135deg, #132440, #1a2f47);
    color: #fff;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4a6b8a, transparent);
}

.footer-content {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-family: fantasy;
    font-size: 1.8rem;
    color: #4a6b8a;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.footer-section h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #ab6a6a;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-section ul li a:hover {
    color: #4a6b8a;
    opacity: 1;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: #fff;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(74, 107, 138, 0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-link:hover {
    background: rgba(74, 107, 138, 0.2);
    border-color: #4a6b8a;
    color: #4a6b8a;
    opacity: 1;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(74, 107, 138, 0.2);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom span {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    opacity: 0.7;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-ostaver {
    color: #c76868;
    opacity: 1 !important;
    text-decoration: underline;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s ease;
}

#CONTACT>div>div.footer-content>div:nth-child(1)>p {
    width: 100%;
}


#ostaver:hover {
    color: #ff0000;
    opacity: 1 !important;
    transition: all 0.5s ease;
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.8), 0 0 24px rgba(255, 0, 0, 0.6);
}

@media only screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    #CONTACT>div>div.footer-content>div:nth-child(1)>h3 {
        text-align: center;
    }

    .header {
        display: none;
        position: relative;
        background: #232323;
        padding: 1rem 0;
        text-align: center;
    }

    .header-navbar {
        padding: 0;
        justify-content: center;
    }

    .header-navbar ul {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
        margin: 0;
    }

    .OG_top {
        position: static;
        display: block;
        margin-bottom: 0.5rem;
        font-size: 3rem;
    }

    .content {
        padding-top: 2rem;
    }
}

.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

.fadeOG {
    opacity: 0;
    animation: fader 0.5s ease-out forwards;
}

.fadeOGUNDER {
    opacity: 0;
    animation: fader 0.5s ease-out 0.4s forwards;
}

.fade-header-og {
    opacity: 0;
    animation: fader 0.4s ease-out 0.8s forwards;
}

.fade-header-about {
    opacity: 0;
    animation: faderB 0.4s ease-out 0.9s forwards;
}

.fade-header-records {
    opacity: 0;
    animation: faderB 0.4s ease-out 1s forwards;
}

.fade-header-gallery {
    opacity: 0;
    animation: faderB 0.4s ease-out 1.1s forwards;
}

.fade-header-contact {
    opacity: 0;
    animation: faderB 0.4s ease-out 1.2s forwards;
}

@keyframes fader {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0)
    }
}

@keyframes faderB {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.about-grid>div:nth-child(1) {
    transition-delay: 0.1s;
}

.about-grid>div:nth-child(2) {
    transition-delay: 0.3s;
}

.footer-section:nth-child(1) {
    transition-delay: 0.1s;
}

.footer-section:nth-child(2) {
    transition-delay: 0.2s;
}

.footer-section:nth-child(3) {
    transition-delay: 0.3s;
}

.sect.fade-in-element {
    transform: translateY(50px) scale(0.95);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sect.fade-in-visible {
    transform: translateY(0) scale(1);
}

p.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(2px);
    transition: all 0.6s ease-out;
}

p.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-element {
        transform: none;
        filter: none;
        transition: opacity 0.3s ease;
    }

    .fade-in-visible {
        transform: none;
        filter: none;
    }
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0;
}

.image-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(19, 36, 64, 0.1), rgba(74, 107, 138, 0.05));
    box-shadow:
        0 4px 15px rgba(19, 36, 64, 0.2),
        0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.image-grid-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(19, 36, 64, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.2);
}

.image-grid-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.image-grid-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(19, 36, 64, 0.9));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.image-grid-item:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    color: #4a6b8a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-overlay p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

@media screen and (min-width: 1900px) {
    .OGNEN_INTRO {
        margin-top: 17.5vh;
    }
}

@media (min-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .image-grid-item:nth-child(1) {
        grid-row: span 2;
    }

    .image-grid-item:nth-child(1) img {
        height: 400px;
    }

    .image-grid-item:nth-child(4) {
        grid-column: span 2;
    }

    .image-grid-item:nth-child(4) img {
        height: 200px;
    }

    #CONTACT>div>div.footer-content>div:nth-child(1)>p {
        width: 75%;
    }

    #CONTACT>div>div.footer-content>div:nth-child(1)>h3 {
        text-align: left;
        margin-top: 18px;
    }
}

#GALLERY {
    padding: 2rem 0;
}

#GALLERY .sect {
    margin-bottom: 3rem;
}

@media only screen and (max-width: 1024px) {
    .OGNEN_INTRO {
        font-size: 5rem;
        letter-spacing: 3px;
    }

    .content {
        width: 95%;
        padding-top: 15%;
    }

    .header-navbar {
        padding-right: 5%;
        padding-left: 5%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content p {
        width: 60%;
    }
}

@media only screen and (max-width: 767px) {
    .header-navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .header-navbar ul li {
        margin: 0.25rem 0.5rem;
    }

    .header-navbar ul li a {
        font-size: 1rem;
        padding: 6px 12px;
    }

    .OGNEN_INTRO {
        font-size: 4rem;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }

    .OGNEN_INTRO_UNDER {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .content {
        padding-top: 2rem;
    }

    .content p {
        width: 80%;
        font-size: 1rem;
    }

    .sect {
        font-size: 2.5rem;
    }

    .about-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .image-grid-item img {
        height: 200px;
    }

    /* Reset masonry layout for mobile */
    .image-grid-item:nth-child(1) {
        grid-row: span 1;
    }

    .image-grid-item:nth-child(1) img {
        height: 200px;
    }

    .image-grid-item:nth-child(4) {
        grid-column: span 1;
    }

    .image-grid-item:nth-child(4) img {
        height: 200px;
    }

    .footer-content {
        padding: 0 1rem;
    }
}

@media only screen and (max-width: 480px) {
    .header {
        min-height: auto;
    }

    .header-navbar {
        padding: 0.5rem 2%;
        min-height: auto;
    }

    .header-navbar ul {
        padding: 5px 0;
    }

    .header-navbar ul li a {
        font-size: 0.9rem;
        padding: 4px 8px;
        letter-spacing: 0.5px;
    }

    .OGNEN_INTRO {
        font-size: 2.8rem;
        letter-spacing: 1px;
        line-height: 1;
        margin-bottom: 10px;
    }

    .OGNEN_INTRO_UNDER {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .content {
        width: 90%;
        padding-top: 25%;
    }

    .content p {
        width: 95%;
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: center !important;
    }

    .sect {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .about-title {
        font-size: 1.5rem;
    }

    #ABOUT,
    #RECORDS,
    #GALLERY,
    #CONTACT {
        margin-top: 15%;
    }

    .about-grid {
        gap: 1.5rem;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem 0;
    }

    .image-grid-item img {
        height: 250px;
    }

    .image-overlay {
        padding: 1rem;
    }

    .image-overlay h4 {
        font-size: 1rem;
    }

    .image-overlay p {
        font-size: 0.85rem;
    }

    .footer {
        padding: 2rem 0 1rem 0;
        margin-top: 2rem;
    }

    .footer-content {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.5rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        padding: 0 1rem;
        line-height: 1.4;
    }
}

@media only screen and (max-width: 320px) {
    .OGNEN_INTRO {
        font-size: 2.2rem;
    }

    .header-navbar ul li a {
        font-size: 0.8rem;
        padding: 3px 6px;
    }

    .sect {
        font-size: 1.8rem;
    }

    .content p {
        font-size: 0.9rem;
    }

    .image-grid-item img {
        height: 200px;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }
}

@media only screen and (max-height: 500px) and (orientation: landscape) {
    .content {
        padding-top: 30%;
    }

    .OGNEN_INTRO {
        font-size: 3rem;
        margin-bottom: 5px;
    }

    .OGNEN_INTRO_UNDER {
        font-size: 0.9rem;
    }

    #ABOUT,
    #RECORDS,
    #GALLERY,
    #CONTACT {
        margin-top: 10%;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi) {
    .image-grid-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

.load-more-btn {
    background: transparent;
    color: #fff;
    border: 2px solid #4a6b8a;
    padding: 10px 30px;
    font-size: 1.2rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.load-more-btn:hover {
    background: #4a6b8a;
    color: #fff;
    box-shadow: 0 0 15px rgba(74, 107, 138, 0.4);
}