/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Offset for sticky header when navigating to in-page anchors */
section[id] {
    scroll-margin-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
}

.logo img {
    display: block; /* Removes inline image spacing */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #4CAF50;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: #fff;
}

.services h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: #f4f4f4;
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.about p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.app-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    gap: 1rem;
    padding: 1rem;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.app-card__media img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}

.app-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.app-card__title a {
    color: #333;
    text-decoration: none;
}

.app-card:hover,
.app-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    border-color: rgba(0,0,0,0.15);
}

/* Keep placeholder cards non-clickable look */
.app-card--placeholder {
    cursor: default;
    opacity: 1;
}
.app-card--placeholder:hover,
.app-card--placeholder:focus-visible {
    transform: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.06);
}

/* Center and improve readability of the placeholder card title */
.app-card--placeholder .app-card__body {
    text-align: center;
}
.app-card--placeholder .app-card__title {
    color: #666;
}

.app-card__meta {
    color: #666;
    font-size: 0.9rem;
}

/* Three-up grid on larger screens */
@media (min-width: 992px) {
    .apps-grid {
        grid-template-columns: repeat(2, minmax(280px, 360px));
        justify-content: center;
    }
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: #fff;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.contact p {
    text-align: center;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

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

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

