﻿@font-face {
    font-family: 'Alexandria';
    src: url('/fonts/Alexandria-Regular.woff2') format('woff2'), 
         url('/fonts/Alexandria-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Alexandria';
    src: url('/fonts/Alexandria-Bold.woff2') format('woff2'), 
         url('/fonts/Alexandria-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Parallax container */
.parallax-wrapper {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Background layer */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140vh; /* slightly larger for smooth movement */
    background: url('/images/hero.gif') center/cover no-repeat;
    will-change: transform;
    z-index: 0;
}

/* Foreground content */
.hero-content {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
    z-index: 2;
}

.btn-main {
    margin-top: 20px;
    padding: 12px 28px;
    background: #f1c40f;
    color: #000;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}
.btn-demo {
    margin-top: 20px;
    padding: 12px 28px;
    color: #000;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}
.section_header {
    color: #545454;
    font-family: 'Alexandria';
    font-weight: 700;
}
.section_header.about, .section_text.about {
    text-align: center;
}
.section_text {
    color: #8E9597;
    font-family: 'Alexandria';
}
.container {
    width: 85%;
    margin: 80px auto;
}

/*.features {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.feature {
    width: 30%;
}
.projects .project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    background: #eee;
    padding: 40px;
    text-align: center;
    border-radius: 6px;
}
*/
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Alexandria';
}

@media(max-aspect-ratio: 1/1) {
    .footer {
        text-align: left;
        font-size: 0.75rem;
        font-family: 'Alexandria';
    }
    .parallax-wrapper {
        position: relative;
        height: 100vh;
        overflow: hidden;
    }

    /* Background layer */
    .parallax-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 130vh; /* slightly larger for smooth movement */
        background: url('/images/hero.gif') center/cover no-repeat;
        will-change: transform;
        z-index: 0;
    }
        
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        align-items: center;
    }

    .hero-buttons .btn,
    .hero-buttons .btn-main {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem; /* space between buttons */
    margin-top: 2rem;
}
.alt-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
}
.alt-section.alt-last {
    margin-bottom: 70px;
}
.alt-section.reverse {
    flex-direction: row-reverse;
}
.alt-aliceblue {
    background-color: aliceblue;
}

.alt-lightcoral {
    background-color: lightcoral;
}
.alt-blanchedalmond {
    background-color: blanchedalmond;
}
.alt-tint {
    background-color: #F7F4EF;
}

.alt-orangered {
    background-color: lightcyan;
}
.alt-blue, .alt-blue .section_text {
    background-color: cadetblue;
    color: whitesmoke;
}
.alt-green {
    background-color: lightgrey;
}
.alt-lightcoral, .alt-lightcoral .section_text {
    background-color: lightcoral;
    color: whitesmoke;
}

.alt-image {
    flex: 1;
}

.alt-image img {
    width: 100%;
    padding:15px;
    border-radius: 10px;
    object-fit: cover;
    /*box-shadow: 0 10px 25px rgba(0,0,0,0.15);*/
}

.alt-text, .alt-text-dense {
    flex: 1;
}
.reverse .alt-text, .reverse .alt-text-dense {
    margin-left: 50px;
}
.alt-text h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}
.alt-text-dense h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 2rem;
}
.alt-text p {
    margin-bottom: 20px;
    line-height: 1.6;
}
.alt-text-dense p {
    margin-bottom: 10px;
    margin-right: 10px;
    line-height: 1.6;
}
.alt-text ul {
    padding-left: 20px;
}

.alt-text li {
    margin-bottom: 10px;
}

@media (max-aspect-ratio: 1/1) {
    .alt-section,
    .alt-section.reverse {
        flex-direction: column;
        text-align: center;
    }

    .alt-text ul {
        text-align: left;
    }
    .alt-text-dense p, .alt-text-dense li,
    .alt-text p, .alt-text li {
        margin-bottom: 10px;
        margin-right: 20px;
        margin-left: 20px;
        line-height: 1.6;
        text-align: left;
    }
    .reverse .alt-text, .reverse .alt-text-dense {
        margin-left: 0px;

    }
}
.hero-overlay {
    font-family: 'Alexandria';
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    background: rgba(0,0,0,0.1);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}
.services {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin: 4rem 0;
}

.service-item {
    flex: 1;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Mobile stacking */
@media (max-aspect-ratio: 1/1) {
    .services {
        flex-direction: column;
    }
}


.contact-section {
    text-align: center;
    margin: 80px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 16px;
    color: #777;
    margin-bottom: 50px;
}

/* Your existing contact-top styles remain the same */

.contact-top {
    justify-content: center;
    display: flex;
    text-align: center;
    gap: 40px;
}

.contact-block h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.separator {
    display: block;
    width: 40px;
    height: 2px;
    background: #f1d204; /* Illdy yellow */
    margin: 0 auto 20px;
}

.contact-block p {
    margin: 0;
    font-size: 16px;
    color: #555;
}

.contact-block a {
    color: #555;
    text-decoration: none;
}

    .contact-block a:hover {
        color: #000;
    }
.contact-block-group {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin: 2rem 0;
}

/* Mobile stacking */
@media (max-aspect-ratio: 1/1) {
    .contact-top {
        flex-direction: column;
        gap: 50px;
    }
    .contact-block-group {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

