/* ---------- General ---------- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f6f8;
    color: #333;
}

a {
    text-decoration: none;
}

/* ---------- Navigation Menu ---------- */
.menu {
    background: #e67e22;
    padding: 10px 20px;
    text-align: center;
}

.menu nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.2s;
}

.menu nav a:hover {
    color: #e67e22;
}

/* ---------- Hero Section ---------- */
header .hero {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

header .hero h1 {
    font-size: 2.5em;
    margin: 0;
}

header .hero p {
    font-size: 1.2em;
    margin-top: 10px;
    color: #ecf0f1;
}

/* ---------- Main / App Cards ---------- */
.apps-section {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.app-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
}

.app-card:hover {
    transform: translateY(-5px);
}

.app-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 20px;
}

.app-card h2 {
    margin: 10px 0;
    font-size: 1.4em;
    color: #2c3e50;
}

.app-card p {
    font-size: 1em;
    color: #7f8c8d;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 25px;
    background: #e67e22;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.2s;
}

.btn:hover {
    background: #d35400;
}

/* ---------- Footer ---------- */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 10px;
}

footer a {
    color: #e67e22;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: #d35400;
}

/* ---------- Detail Pages Container ---------- */
.detail-container {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.detail-container img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.detail-container h1, .detail-container h2 {
    color: #2c3e50;
}

.detail-container p {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
}

.detail-container ul {
    margin: 10px 0 20px 20px;
    color: #555;
}

/* ---------- Forms (Contact Page) ---------- */
form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1em;
}

form input[type="submit"] {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

form input[type="submit"]:hover {
    background-color: #d35400;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    header .hero h1 {
        font-size: 2em;
    }

    main {
        gap: 15px;
    }

    .app-card img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    header .hero h1 {
        font-size: 1.6em;
    }

    .app-card img {
        width: 80px;
        height: 80px;
    }
}
