/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Playfair Display', serif;
    background-color: #ffffff;
    color: #212529;
    margin: 0;
    line-height: 1.6;
}

/* Hero and Navigation */
.hero {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 2rem;
    text-align: center;
}

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

.logo img {
    height: 60px;
    width: auto;
    vertical-align: middle;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: #212529;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #007bff;
}

.hero-content {
    max-width: 800px;
    margin: 4rem auto 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #212529;
}

.hero-content p {
    font-size: 1.2rem;
    color: #6c757d;
}

/* Apps Gallery */
.apps-gallery {
    padding: 4rem 2rem;
    background-color: #ffffff;
    max-width: 1200px; /* Constrain gallery width */
    margin-left: auto;   /* Center the gallery */
    margin-right: auto;  /* Center the gallery */
}

.apps-gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #212529;
}

.app-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
    background: #fff;
    padding: 2rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.layout-reversed .app-description {
    order: 2;
}

.app-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.app-logo {
    height: 50px;
    margin-bottom: 0;
}

.app-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    color: #00833F;
    letter-spacing: -1px;
}

.app-description p {
    margin-bottom: 2rem;
    color: #6c757d;
}

.app-store-buttons {
    display: flex;
    gap: 1rem; /* Space between buttons */
}

.btn-store {
    border: 2px solid #212529;
    padding: 1rem 2rem;
    color: #212529;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    flex-grow: 1; /* Make buttons take equal space */
    transition: background-color 0.3s, color 0.3s;
}

.btn-store:hover {
    background-color: #212529;
    color: #fff;
}


.app-collage {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.collage-main {
    width: 100%;
    border-radius: 8px;
}

.collage-secondary {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.collage-secondary img {
    width: 100%;
    border-radius: 8px;
}

/* Footer */
.footer {
    background: #ffffff;
    color: #6c757d;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #e9ecef;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #007bff;
}


/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .app-item {
        grid-template-columns: 1fr;
    }

    .layout-reversed .app-description {
        order: 0; /* Revert order for mobile */
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}
