/* Hodegos Apps — shared styles.
   Palette and type follow the main Hodegos Solutions site: gold #fed136 on #222. */

* { box-sizing: border-box; }

body {
    margin: 0;
    background-color: #fff;
    color: #1f2933;
    font-family: "Roboto Slab", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.75;
}

h1, h2, h3, h4 {
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

a { color: #cd9f01; }
a:hover, a:focus { color: #fec503; }

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

/* Navigation */

.navbar {
    background-color: #222;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.navbar .brand { display: flex; align-items: center; }
.navbar .brand img { height: 38px; width: auto; }

.navbar nav a {
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    color: #fff;
    text-decoration: none;
    margin-left: 25px;
}

.navbar nav a:first-child { margin-left: 0; }
.navbar nav a:hover, .navbar nav a:focus { color: #fed136; }

/* Hero */

.hero {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 70px 0 80px;
}

.hero h1 {
    font-size: 46px;
    line-height: 1.1;
    margin: 0 0 20px;
}

.hero .lead {
    font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: italic;
    font-size: 20px;
    color: #ccc;
    margin: 0 auto;
    max-width: 640px;
}

/* Buttons */

.btn {
    display: inline-block;
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 15px;
    color: #222;
    background-color: #fed136;
    border-radius: 3px;
    padding: 15px 34px;
    text-decoration: none;
    margin: 8px 6px 0;
}

.btn:hover, .btn:focus { background-color: #fec503; color: #222; }

.btn-ghost {
    background-color: transparent;
    color: #fed136;
    border: 2px solid #fed136;
    padding: 13px 32px;
}

.btn-ghost:hover, .btn-ghost:focus { background-color: #fed136; color: #222; }

/* Sections */

section { padding: 70px 0; }
section.alt { background-color: #f7f7f7; }

.section-heading {
    font-size: 34px;
    text-align: center;
    margin: 0 0 12px;
}

.section-subheading {
    font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: italic;
    text-transform: none;
    font-weight: 400;
    font-size: 17px;
    color: #777;
    text-align: center;
    margin: 0 auto 50px;
    max-width: 680px;
}

/* App cards (index) */

.app-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.app-card {
    flex: 1 1 320px;
    max-width: 420px;
    border: 1px solid #e4e7eb;
    border-radius: 4px;
    padding: 35px 30px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    transition: border-color .3s, transform .3s, box-shadow .3s;
}

.app-card:hover, .app-card:focus {
    border-color: #fed136;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    color: inherit;
    outline: none;
}

.app-card .app-icon {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fed136;
    color: #222;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 34px;
}

/* When a real launcher icon exists, use it in place of the monogram tile. */
.app-card img.app-icon {
    display: block;
    border-radius: 20px;          /* ~22%, matching Android's squircle mask */
    background: none;
    object-fit: cover;
}

.app-card h3 { font-size: 22px; margin: 0 0 12px; }
.app-card p { color: #777; font-size: 15px; margin: 0; }

.app-card .platform {
    display: block;
    margin-top: 20px;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    color: #999;
}

/* Feature list */

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 30px;
}

.feature { flex: 1 1 280px; }

.feature h4 {
    font-size: 17px;
    text-transform: none;
    margin: 0 0 10px;
}

.feature h4::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background-color: #fed136;
    margin-right: 10px;
    vertical-align: middle;
}

.feature p { color: #777; font-size: 15px; margin: 0; }

/* Screenshot strip */

.shots {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.shots img {
    width: 240px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #e4e7eb;
}

/* Footer */

footer {
    background-color: #222;
    color: #999;
    padding: 35px 0;
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 25px;
    align-items: center;
    justify-content: space-between;
}

footer a { color: #fed136; text-decoration: none; }
footer a:hover { color: #fec503; text-decoration: underline; }

footer nav a { margin-left: 20px; }
footer nav a:first-child { margin-left: 0; }

@media (max-width: 767px) {
    .hero { padding: 50px 0 55px; }
    .hero h1 { font-size: 32px; }
    .hero .lead { font-size: 17px; }
    section { padding: 50px 0; }
    .section-heading { font-size: 27px; }
    footer .container { justify-content: center; text-align: center; }
}
